envoy.config.core.v3.SocketAddress
Example
Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working
code.
local types = import 'types.libsonnet';
types.envoy.config.core.v3.SocketAddress
.withAddress('string')
.withIpv4Compat(false)
.withNamedPort('string')
.withPortValue(1)
.withProtocol(types.envoy.config.core.v3.SocketAddress.Protocol.TCP)
.withResolverName('string')
._validate()
Nested Enums
Fields
Name |
Type |
One-of group |
Required |
Constraints |
address |
string
|
|
|
{"String_":{"WellKnown":null,"min_len":1}}
|
ipv4_compat |
bool
|
|
|
|
named_port |
string
|
port_specifier |
|
|
port_value |
uint32
|
port_specifier |
|
{"Uint32":{"lte":65535}}
|
protocol |
envoy.config.core.v3.SocketAddress.Protocol
|
|
|
{"Enum":{"defined_only":true}}
|
resolver_name |
string
|
|
|
|