corev3

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 28 Imported by: 1,170

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SocketAddress_Protocol_name = map[int32]string{
		0: "TCP",
		1: "UDP",
	}
	SocketAddress_Protocol_value = map[string]int32{
		"TCP": 0,
		"UDP": 1,
	}
)

Enum value maps for SocketAddress_Protocol.

View Source
var (
	RoutingPriority_name = map[int32]string{
		0: "DEFAULT",
		1: "HIGH",
	}
	RoutingPriority_value = map[string]int32{
		"DEFAULT": 0,
		"HIGH":    1,
	}
)

Enum value maps for RoutingPriority.

View Source
var (
	RequestMethod_name = map[int32]string{
		0: "METHOD_UNSPECIFIED",
		1: "GET",
		2: "HEAD",
		3: "POST",
		4: "PUT",
		5: "DELETE",
		6: "CONNECT",
		7: "OPTIONS",
		8: "TRACE",
		9: "PATCH",
	}
	RequestMethod_value = map[string]int32{
		"METHOD_UNSPECIFIED": 0,
		"GET":                1,
		"HEAD":               2,
		"POST":               3,
		"PUT":                4,
		"DELETE":             5,
		"CONNECT":            6,
		"OPTIONS":            7,
		"TRACE":              8,
		"PATCH":              9,
	}
)

Enum value maps for RequestMethod.

View Source
var (
	TrafficDirection_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "INBOUND",
		2: "OUTBOUND",
	}
	TrafficDirection_value = map[string]int32{
		"UNSPECIFIED": 0,
		"INBOUND":     1,
		"OUTBOUND":    2,
	}
)

Enum value maps for TrafficDirection.

View Source
var (
	HeaderValueOption_HeaderAppendAction_name = map[int32]string{
		0: "APPEND_IF_EXISTS_OR_ADD",
		1: "ADD_IF_ABSENT",
		2: "OVERWRITE_IF_EXISTS_OR_ADD",
		3: "OVERWRITE_IF_EXISTS",
	}
	HeaderValueOption_HeaderAppendAction_value = map[string]int32{
		"APPEND_IF_EXISTS_OR_ADD":    0,
		"ADD_IF_ABSENT":              1,
		"OVERWRITE_IF_EXISTS_OR_ADD": 2,
		"OVERWRITE_IF_EXISTS":        3,
	}
)

Enum value maps for HeaderValueOption_HeaderAppendAction.

View Source
var (
	ApiVersion_name = map[int32]string{
		0: "AUTO",
		1: "V2",
		2: "V3",
	}
	ApiVersion_value = map[string]int32{
		"AUTO": 0,
		"V2":   1,
		"V3":   2,
	}
)

Enum value maps for ApiVersion.

View Source
var (
	ApiConfigSource_ApiType_name = map[int32]string{
		0: "DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE",
		1: "REST",
		2: "GRPC",
		3: "DELTA_GRPC",
		5: "AGGREGATED_GRPC",
		6: "AGGREGATED_DELTA_GRPC",
	}
	ApiConfigSource_ApiType_value = map[string]int32{
		"DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE": 0,
		"REST":                                  1,
		"GRPC":                                  2,
		"DELTA_GRPC":                            3,
		"AGGREGATED_GRPC":                       5,
		"AGGREGATED_DELTA_GRPC":                 6,
	}
)

Enum value maps for ApiConfigSource_ApiType.

View Source
var (
	HealthStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "HEALTHY",
		2: "UNHEALTHY",
		3: "DRAINING",
		4: "TIMEOUT",
		5: "DEGRADED",
	}
	HealthStatus_value = map[string]int32{
		"UNKNOWN":   0,
		"HEALTHY":   1,
		"UNHEALTHY": 2,
		"DRAINING":  3,
		"TIMEOUT":   4,
		"DEGRADED":  5,
	}
)

Enum value maps for HealthStatus.

View Source
var (
	HttpProtocolOptions_HeadersWithUnderscoresAction_name = map[int32]string{
		0: "ALLOW",
		1: "REJECT_REQUEST",
		2: "DROP_HEADER",
	}
	HttpProtocolOptions_HeadersWithUnderscoresAction_value = map[string]int32{
		"ALLOW":          0,
		"REJECT_REQUEST": 1,
		"DROP_HEADER":    2,
	}
)

Enum value maps for HttpProtocolOptions_HeadersWithUnderscoresAction.

View Source
var (
	ProxyProtocolPassThroughTLVs_PassTLVsMatchType_name = map[int32]string{
		0: "INCLUDE_ALL",
		1: "INCLUDE",
	}
	ProxyProtocolPassThroughTLVs_PassTLVsMatchType_value = map[string]int32{
		"INCLUDE_ALL": 0,
		"INCLUDE":     1,
	}
)

Enum value maps for ProxyProtocolPassThroughTLVs_PassTLVsMatchType.

View Source
var (
	ProxyProtocolConfig_Version_name = map[int32]string{
		0: "V1",
		1: "V2",
	}
	ProxyProtocolConfig_Version_value = map[string]int32{
		"V1": 0,
		"V2": 1,
	}
)

Enum value maps for ProxyProtocolConfig_Version.

View Source
var (
	SocketOption_SocketState_name = map[int32]string{
		0: "STATE_PREBIND",
		1: "STATE_BOUND",
		2: "STATE_LISTENING",
	}
	SocketOption_SocketState_value = map[string]int32{
		"STATE_PREBIND":   0,
		"STATE_BOUND":     1,
		"STATE_LISTENING": 2,
	}
)

Enum value maps for SocketOption_SocketState.

View Source
var File_envoy_config_core_v3_address_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_backoff_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_base_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_config_source_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_event_service_config_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_extension_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_grpc_method_list_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_grpc_service_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_health_check_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_http_service_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_http_uri_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_protocol_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_proxy_protocol_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_resolver_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_socket_option_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_substitution_format_string_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_core_v3_udp_socket_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Address

type Address struct {

	// Types that are assignable to Address:
	//
	//	*Address_SocketAddress
	//	*Address_Pipe
	//	*Address_EnvoyInternalAddress
	Address isAddress_Address `protobuf_oneof:"address"`
	// contains filtered or unexported fields
}

Addresses specify either a logical or physical address and port, which are used to tell Envoy where to bind/listen, connect to upstream and find management servers.

func (*Address) Descriptor deprecated

func (*Address) Descriptor() ([]byte, []int)

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddress

func (m *Address) GetAddress() isAddress_Address

func (*Address) GetEnvoyInternalAddress added in v0.9.7

func (x *Address) GetEnvoyInternalAddress() *EnvoyInternalAddress

func (*Address) GetPipe

func (x *Address) GetPipe() *Pipe

func (*Address) GetSocketAddress

func (x *Address) GetSocketAddress() *SocketAddress

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect added in v0.9.6

func (x *Address) ProtoReflect() protoreflect.Message

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

func (*Address) Validate

func (m *Address) Validate() error

Validate checks the field values on Address with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Address) ValidateAll added in v0.10.0

func (m *Address) ValidateAll() error

ValidateAll checks the field values on Address with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddressMultiError, or nil if none found.

type AddressMultiError added in v0.10.0

type AddressMultiError []error

AddressMultiError is an error wrapping multiple validation errors returned by Address.ValidateAll() if the designated constraints aren't met.

func (AddressMultiError) AllErrors added in v0.10.0

func (m AddressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddressMultiError) Error added in v0.10.0

func (m AddressMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AddressValidationError

type AddressValidationError struct {
	// contains filtered or unexported fields
}

AddressValidationError is the validation error returned by Address.Validate if the designated constraints aren't met.

func (AddressValidationError) Cause

func (e AddressValidationError) Cause() error

Cause function returns cause value.

func (AddressValidationError) Error

func (e AddressValidationError) Error() string

Error satisfies the builtin error interface

func (AddressValidationError) ErrorName

func (e AddressValidationError) ErrorName() string

ErrorName returns error name.

func (AddressValidationError) Field

func (e AddressValidationError) Field() string

Field function returns field value.

func (AddressValidationError) Key

func (e AddressValidationError) Key() bool

Key function returns key value.

func (AddressValidationError) Reason

func (e AddressValidationError) Reason() string

Reason function returns reason value.

type Address_EnvoyInternalAddress added in v0.9.7

type Address_EnvoyInternalAddress struct {
	// Specifies a user-space address handled by :ref:`internal listeners
	// <envoy_v3_api_field_config.listener.v3.Listener.internal_listener>`.
	EnvoyInternalAddress *EnvoyInternalAddress `protobuf:"bytes,3,opt,name=envoy_internal_address,json=envoyInternalAddress,proto3,oneof"`
}

type Address_Pipe

type Address_Pipe struct {
	Pipe *Pipe `protobuf:"bytes,2,opt,name=pipe,proto3,oneof"`
}

type Address_SocketAddress

type Address_SocketAddress struct {
	SocketAddress *SocketAddress `protobuf:"bytes,1,opt,name=socket_address,json=socketAddress,proto3,oneof"`
}

type AggregatedConfigSource

type AggregatedConfigSource struct {
	// contains filtered or unexported fields
}

Aggregated Discovery Service (ADS) options. This is currently empty, but when set in :ref:`ConfigSource <envoy_v3_api_msg_config.core.v3.ConfigSource>` can be used to specify that ADS is to be used.

func (*AggregatedConfigSource) Descriptor deprecated

func (*AggregatedConfigSource) Descriptor() ([]byte, []int)

Deprecated: Use AggregatedConfigSource.ProtoReflect.Descriptor instead.

func (*AggregatedConfigSource) ProtoMessage

func (*AggregatedConfigSource) ProtoMessage()

func (*AggregatedConfigSource) ProtoReflect added in v0.9.6

func (x *AggregatedConfigSource) ProtoReflect() protoreflect.Message

func (*AggregatedConfigSource) Reset

func (x *AggregatedConfigSource) Reset()

func (*AggregatedConfigSource) String

func (x *AggregatedConfigSource) String() string

func (*AggregatedConfigSource) Validate

func (m *AggregatedConfigSource) Validate() error

Validate checks the field values on AggregatedConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AggregatedConfigSource) ValidateAll added in v0.10.0

func (m *AggregatedConfigSource) ValidateAll() error

ValidateAll checks the field values on AggregatedConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AggregatedConfigSourceMultiError, or nil if none found.

type AggregatedConfigSourceMultiError added in v0.10.0

type AggregatedConfigSourceMultiError []error

AggregatedConfigSourceMultiError is an error wrapping multiple validation errors returned by AggregatedConfigSource.ValidateAll() if the designated constraints aren't met.

func (AggregatedConfigSourceMultiError) AllErrors added in v0.10.0

func (m AggregatedConfigSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AggregatedConfigSourceMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type AggregatedConfigSourceValidationError

type AggregatedConfigSourceValidationError struct {
	// contains filtered or unexported fields
}

AggregatedConfigSourceValidationError is the validation error returned by AggregatedConfigSource.Validate if the designated constraints aren't met.

func (AggregatedConfigSourceValidationError) Cause

Cause function returns cause value.

func (AggregatedConfigSourceValidationError) Error

Error satisfies the builtin error interface

func (AggregatedConfigSourceValidationError) ErrorName

ErrorName returns error name.

func (AggregatedConfigSourceValidationError) Field

Field function returns field value.

func (AggregatedConfigSourceValidationError) Key

Key function returns key value.

func (AggregatedConfigSourceValidationError) Reason

Reason function returns reason value.

type AlternateProtocolsCacheOptions added in v0.9.9

type AlternateProtocolsCacheOptions struct {

	// The name of the cache. Multiple named caches allow independent alternate protocols cache
	// configurations to operate within a single Envoy process using different configurations. All
	// alternate protocols cache options with the same name *must* be equal in all fields when
	// referenced from different configuration components. Configuration will fail to load if this is
	// not the case.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The maximum number of entries that the cache will hold. If not specified defaults to 1024.
	//
	// .. note:
	//
	//	The implementation is approximate and enforced independently on each worker thread, thus
	//	it is possible for the maximum entries in the cache to go slightly above the configured
	//	value depending on timing. This is similar to how other circuit breakers work.
	MaxEntries *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty"`
	// Allows configuring a persistent
	// :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush
	// alternate protocols entries to disk.
	// This function is currently only supported if concurrency is 1
	// Cached entries will take precedence over pre-populated entries below.
	KeyValueStoreConfig *TypedExtensionConfig `protobuf:"bytes,3,opt,name=key_value_store_config,json=keyValueStoreConfig,proto3" json:"key_value_store_config,omitempty"`
	// Allows pre-populating the cache with entries, as described above.
	PrepopulatedEntries []*AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry `protobuf:"bytes,4,rep,name=prepopulated_entries,json=prepopulatedEntries,proto3" json:"prepopulated_entries,omitempty"`
	// Optional list of hostnames suffixes for which Alt-Svc entries can be shared. For example, if
	// this list contained the value “.c.example.com“, then an Alt-Svc entry for “foo.c.example.com“
	// could be shared with “bar.c.example.com“ but would not be shared with “baz.example.com“. On
	// the other hand, if the list contained the value “.example.com“ then all three hosts could share
	// Alt-Svc entries. Each entry must start with “.“. If a hostname matches multiple suffixes, the
	// first listed suffix will be used.
	//
	// Since lookup in this list is O(n), it is recommended that the number of suffixes be limited.
	// [#not-implemented-hide:]
	CanonicalSuffixes []string `protobuf:"bytes,5,rep,name=canonical_suffixes,json=canonicalSuffixes,proto3" json:"canonical_suffixes,omitempty"`
	// contains filtered or unexported fields
}

Configures the alternate protocols cache which tracks alternate protocols that can be used to make an HTTP connection to an origin server. See https://tools.ietf.org/html/rfc7838 for HTTP Alternative Services and https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-svcb-https-04 for the "HTTPS" DNS resource record. [#next-free-field: 6]

func (*AlternateProtocolsCacheOptions) Descriptor deprecated added in v0.9.9

func (*AlternateProtocolsCacheOptions) Descriptor() ([]byte, []int)

Deprecated: Use AlternateProtocolsCacheOptions.ProtoReflect.Descriptor instead.

func (*AlternateProtocolsCacheOptions) GetCanonicalSuffixes added in v0.11.0

func (x *AlternateProtocolsCacheOptions) GetCanonicalSuffixes() []string

func (*AlternateProtocolsCacheOptions) GetKeyValueStoreConfig added in v0.10.0

func (x *AlternateProtocolsCacheOptions) GetKeyValueStoreConfig() *TypedExtensionConfig

func (*AlternateProtocolsCacheOptions) GetMaxEntries added in v0.9.9

func (*AlternateProtocolsCacheOptions) GetName added in v0.9.9

func (*AlternateProtocolsCacheOptions) GetPrepopulatedEntries added in v0.10.2

func (*AlternateProtocolsCacheOptions) ProtoMessage added in v0.9.9

func (*AlternateProtocolsCacheOptions) ProtoMessage()

func (*AlternateProtocolsCacheOptions) ProtoReflect added in v0.9.9

func (*AlternateProtocolsCacheOptions) Reset added in v0.9.9

func (x *AlternateProtocolsCacheOptions) Reset()

func (*AlternateProtocolsCacheOptions) String added in v0.9.9

func (*AlternateProtocolsCacheOptions) Validate added in v0.9.9

func (m *AlternateProtocolsCacheOptions) Validate() error

Validate checks the field values on AlternateProtocolsCacheOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AlternateProtocolsCacheOptions) ValidateAll added in v0.10.0

func (m *AlternateProtocolsCacheOptions) ValidateAll() error

ValidateAll checks the field values on AlternateProtocolsCacheOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AlternateProtocolsCacheOptionsMultiError, or nil if none found.

type AlternateProtocolsCacheOptionsMultiError added in v0.10.0

type AlternateProtocolsCacheOptionsMultiError []error

AlternateProtocolsCacheOptionsMultiError is an error wrapping multiple validation errors returned by AlternateProtocolsCacheOptions.ValidateAll() if the designated constraints aren't met.

func (AlternateProtocolsCacheOptionsMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (AlternateProtocolsCacheOptionsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type AlternateProtocolsCacheOptionsValidationError added in v0.9.9

type AlternateProtocolsCacheOptionsValidationError struct {
	// contains filtered or unexported fields
}

AlternateProtocolsCacheOptionsValidationError is the validation error returned by AlternateProtocolsCacheOptions.Validate if the designated constraints aren't met.

func (AlternateProtocolsCacheOptionsValidationError) Cause added in v0.9.9

Cause function returns cause value.

func (AlternateProtocolsCacheOptionsValidationError) Error added in v0.9.9

Error satisfies the builtin error interface

func (AlternateProtocolsCacheOptionsValidationError) ErrorName added in v0.9.9

ErrorName returns error name.

func (AlternateProtocolsCacheOptionsValidationError) Field added in v0.9.9

Field function returns field value.

func (AlternateProtocolsCacheOptionsValidationError) Key added in v0.9.9

Key function returns key value.

func (AlternateProtocolsCacheOptionsValidationError) Reason added in v0.9.9

Reason function returns reason value.

type AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry added in v0.10.2

type AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry struct {

	// The host name for the alternate protocol entry.
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// The port for the alternate protocol entry.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

Allows pre-populating the cache with HTTP/3 alternate protocols entries with a 7 day lifetime. This will cause Envoy to attempt HTTP/3 to those upstreams, even if the upstreams have not advertised HTTP/3 support. These entries will be overwritten by alt-svc response headers or cached values. As with regular cached entries, if the origin response would result in clearing an existing alternate protocol cache entry, pre-populated entries will also be cleared. Adding a cache entry with hostname=foo.com port=123 is the equivalent of getting response headers alt-svc: h3=:"123"; ma=86400" in a response to a request to foo.com:123

func (*AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry) Descriptor deprecated added in v0.10.2

Deprecated: Use AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry.ProtoReflect.Descriptor instead.

func (*AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry) GetHostname added in v0.10.2

func (*AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry) GetPort added in v0.10.2

func (*AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry) ProtoMessage added in v0.10.2

func (*AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry) ProtoReflect added in v0.10.2

func (*AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry) Reset added in v0.10.2

func (*AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry) String added in v0.10.2

func (*AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry) Validate added in v0.10.2

Validate checks the field values on AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry) ValidateAll added in v0.10.2

ValidateAll checks the field values on AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryMultiError, or nil if none found.

type AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryMultiError added in v0.10.2

type AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryMultiError []error

AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryMultiError is an error wrapping multiple validation errors returned by AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry.ValidateAll() if the designated constraints aren't met.

func (AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryMultiError) AllErrors added in v0.10.2

AllErrors returns a list of validation violation errors.

func (AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryMultiError) Error added in v0.10.2

Error returns a concatenation of all the error messages it wraps.

type AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryValidationError added in v0.10.2

type AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryValidationError struct {
	// contains filtered or unexported fields
}

AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryValidationError is the validation error returned by AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry.Validate if the designated constraints aren't met.

func (AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryValidationError) Cause added in v0.10.2

Cause function returns cause value.

func (AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryValidationError) Error added in v0.10.2

Error satisfies the builtin error interface

func (AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryValidationError) ErrorName added in v0.10.2

ErrorName returns error name.

func (AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryValidationError) Field added in v0.10.2

Field function returns field value.

func (AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryValidationError) Key added in v0.10.2

Key function returns key value.

func (AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntryValidationError) Reason added in v0.10.2

Reason function returns reason value.

type ApiConfigSource

type ApiConfigSource struct {

	// API type (gRPC, REST, delta gRPC)
	ApiType ApiConfigSource_ApiType `` /* 133-byte string literal not displayed */
	// API version for xDS transport protocol. This describes the xDS gRPC/REST
	// endpoint and version of [Delta]DiscoveryRequest/Response used on the wire.
	TransportApiVersion ApiVersion `` /* 158-byte string literal not displayed */
	// Cluster names should be used only with REST. If > 1
	// cluster is defined, clusters will be cycled through if any kind of failure
	// occurs.
	//
	// .. note::
	//
	//	The cluster with name “cluster_name“ must be statically defined and its
	//	type must not be “EDS“.
	ClusterNames []string `protobuf:"bytes,2,rep,name=cluster_names,json=clusterNames,proto3" json:"cluster_names,omitempty"`
	// Multiple gRPC services be provided for GRPC. If > 1 cluster is defined,
	// services will be cycled through if any kind of failure occurs.
	GrpcServices []*GrpcService `protobuf:"bytes,4,rep,name=grpc_services,json=grpcServices,proto3" json:"grpc_services,omitempty"`
	// For REST APIs, the delay between successive polls.
	RefreshDelay *duration.Duration `protobuf:"bytes,3,opt,name=refresh_delay,json=refreshDelay,proto3" json:"refresh_delay,omitempty"`
	// For REST APIs, the request timeout. If not set, a default value of 1s will be used.
	RequestTimeout *duration.Duration `protobuf:"bytes,5,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"`
	// For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be
	// rate limited.
	RateLimitSettings *RateLimitSettings `protobuf:"bytes,6,opt,name=rate_limit_settings,json=rateLimitSettings,proto3" json:"rate_limit_settings,omitempty"`
	// Skip the node identifier in subsequent discovery requests for streaming gRPC config types.
	SetNodeOnFirstMessageOnly bool `` /* 145-byte string literal not displayed */
	// A list of config validators that will be executed when a new update is
	// received from the ApiConfigSource. Note that each validator handles a
	// specific xDS service type, and only the validators corresponding to the
	// type url (in “:ref: DiscoveryResponse“ or “:ref: DeltaDiscoveryResponse“)
	// will be invoked.
	// If the validator returns false or throws an exception, the config will be rejected by
	// the client, and a NACK will be sent.
	// [#extension-category: envoy.config.validators]
	ConfigValidators []*TypedExtensionConfig `protobuf:"bytes,9,rep,name=config_validators,json=configValidators,proto3" json:"config_validators,omitempty"`
	// contains filtered or unexported fields
}

API configuration source. This identifies the API type and cluster that Envoy will use to fetch an xDS API. [#next-free-field: 10]

func (*ApiConfigSource) Descriptor deprecated

func (*ApiConfigSource) Descriptor() ([]byte, []int)

Deprecated: Use ApiConfigSource.ProtoReflect.Descriptor instead.

func (*ApiConfigSource) GetApiType

func (x *ApiConfigSource) GetApiType() ApiConfigSource_ApiType

func (*ApiConfigSource) GetClusterNames

func (x *ApiConfigSource) GetClusterNames() []string

func (*ApiConfigSource) GetConfigValidators added in v0.10.2

func (x *ApiConfigSource) GetConfigValidators() []*TypedExtensionConfig

func (*ApiConfigSource) GetGrpcServices

func (x *ApiConfigSource) GetGrpcServices() []*GrpcService

func (*ApiConfigSource) GetRateLimitSettings

func (x *ApiConfigSource) GetRateLimitSettings() *RateLimitSettings

func (*ApiConfigSource) GetRefreshDelay

func (x *ApiConfigSource) GetRefreshDelay() *duration.Duration

func (*ApiConfigSource) GetRequestTimeout

func (x *ApiConfigSource) GetRequestTimeout() *duration.Duration

func (*ApiConfigSource) GetSetNodeOnFirstMessageOnly

func (x *ApiConfigSource) GetSetNodeOnFirstMessageOnly() bool

func (*ApiConfigSource) GetTransportApiVersion

func (x *ApiConfigSource) GetTransportApiVersion() ApiVersion

func (*ApiConfigSource) ProtoMessage

func (*ApiConfigSource) ProtoMessage()

func (*ApiConfigSource) ProtoReflect added in v0.9.6

func (x *ApiConfigSource) ProtoReflect() protoreflect.Message

func (*ApiConfigSource) Reset

func (x *ApiConfigSource) Reset()

func (*ApiConfigSource) String

func (x *ApiConfigSource) String() string

func (*ApiConfigSource) Validate

func (m *ApiConfigSource) Validate() error

Validate checks the field values on ApiConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ApiConfigSource) ValidateAll added in v0.10.0

func (m *ApiConfigSource) ValidateAll() error

ValidateAll checks the field values on ApiConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApiConfigSourceMultiError, or nil if none found.

type ApiConfigSourceMultiError added in v0.10.0

type ApiConfigSourceMultiError []error

ApiConfigSourceMultiError is an error wrapping multiple validation errors returned by ApiConfigSource.ValidateAll() if the designated constraints aren't met.

func (ApiConfigSourceMultiError) AllErrors added in v0.10.0

func (m ApiConfigSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApiConfigSourceMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type ApiConfigSourceValidationError

type ApiConfigSourceValidationError struct {
	// contains filtered or unexported fields
}

ApiConfigSourceValidationError is the validation error returned by ApiConfigSource.Validate if the designated constraints aren't met.

func (ApiConfigSourceValidationError) Cause

Cause function returns cause value.

func (ApiConfigSourceValidationError) Error

Error satisfies the builtin error interface

func (ApiConfigSourceValidationError) ErrorName

func (e ApiConfigSourceValidationError) ErrorName() string

ErrorName returns error name.

func (ApiConfigSourceValidationError) Field

Field function returns field value.

func (ApiConfigSourceValidationError) Key

Key function returns key value.

func (ApiConfigSourceValidationError) Reason

Reason function returns reason value.

type ApiConfigSource_ApiType

type ApiConfigSource_ApiType int32

APIs may be fetched via either REST or gRPC.

const (
	// Ideally this would be 'reserved 0' but one can't reserve the default
	// value. Instead we throw an exception if this is ever used.
	//
	// Deprecated: Marked as deprecated in envoy/config/core/v3/config_source.proto.
	ApiConfigSource_DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE ApiConfigSource_ApiType = 0
	// REST-JSON v2 API. The `canonical JSON encoding
	// <https://developers.google.com/protocol-buffers/docs/proto3#json>`_ for
	// the v2 protos is used.
	ApiConfigSource_REST ApiConfigSource_ApiType = 1
	// SotW gRPC service.
	ApiConfigSource_GRPC ApiConfigSource_ApiType = 2
	// Using the delta xDS gRPC service, i.e. DeltaDiscovery{Request,Response}
	// rather than Discovery{Request,Response}. Rather than sending Envoy the entire state
	// with every update, the xDS server only sends what has changed since the last update.
	ApiConfigSource_DELTA_GRPC ApiConfigSource_ApiType = 3
	// SotW xDS gRPC with ADS. All resources which resolve to this configuration source will be
	// multiplexed on a single connection to an ADS endpoint.
	// [#not-implemented-hide:]
	ApiConfigSource_AGGREGATED_GRPC ApiConfigSource_ApiType = 5
	// Delta xDS gRPC with ADS. All resources which resolve to this configuration source will be
	// multiplexed on a single connection to an ADS endpoint.
	// [#not-implemented-hide:]
	ApiConfigSource_AGGREGATED_DELTA_GRPC ApiConfigSource_ApiType = 6
)

func (ApiConfigSource_ApiType) Descriptor added in v0.9.6

func (ApiConfigSource_ApiType) Enum added in v0.9.6

func (ApiConfigSource_ApiType) EnumDescriptor deprecated

func (ApiConfigSource_ApiType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApiConfigSource_ApiType.Descriptor instead.

func (ApiConfigSource_ApiType) Number added in v0.9.6

func (ApiConfigSource_ApiType) String

func (x ApiConfigSource_ApiType) String() string

func (ApiConfigSource_ApiType) Type added in v0.9.6

type ApiVersion

type ApiVersion int32

xDS API and non-xDS services version. This is used to describe both resource and transport protocol versions (in distinct configuration fields).

const (
	// When not specified, we assume v2, to ease migration to Envoy's stable API
	// versioning. If a client does not support v2 (e.g. due to deprecation), this
	// is an invalid value.
	//
	// Deprecated: Marked as deprecated in envoy/config/core/v3/config_source.proto.
	ApiVersion_AUTO ApiVersion = 0
	// Use xDS v2 API.
	//
	// Deprecated: Marked as deprecated in envoy/config/core/v3/config_source.proto.
	ApiVersion_V2 ApiVersion = 1
	// Use xDS v3 API.
	ApiVersion_V3 ApiVersion = 2
)

func (ApiVersion) Descriptor added in v0.9.6

func (ApiVersion) Descriptor() protoreflect.EnumDescriptor

func (ApiVersion) Enum added in v0.9.6

func (x ApiVersion) Enum() *ApiVersion

func (ApiVersion) EnumDescriptor deprecated

func (ApiVersion) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApiVersion.Descriptor instead.

func (ApiVersion) Number added in v0.9.6

func (x ApiVersion) Number() protoreflect.EnumNumber

func (ApiVersion) String

func (x ApiVersion) String() string

func (ApiVersion) Type added in v0.9.6

type AsyncDataSource

type AsyncDataSource struct {

	// Types that are assignable to Specifier:
	//
	//	*AsyncDataSource_Local
	//	*AsyncDataSource_Remote
	Specifier isAsyncDataSource_Specifier `protobuf_oneof:"specifier"`
	// contains filtered or unexported fields
}

Async data source which support async data fetch.

func (*AsyncDataSource) Descriptor deprecated

func (*AsyncDataSource) Descriptor() ([]byte, []int)

Deprecated: Use AsyncDataSource.ProtoReflect.Descriptor instead.

func (*AsyncDataSource) GetLocal

func (x *AsyncDataSource) GetLocal() *DataSource

func (*AsyncDataSource) GetRemote

func (x *AsyncDataSource) GetRemote() *RemoteDataSource

func (*AsyncDataSource) GetSpecifier

func (m *AsyncDataSource) GetSpecifier() isAsyncDataSource_Specifier

func (*AsyncDataSource) ProtoMessage

func (*AsyncDataSource) ProtoMessage()

func (*AsyncDataSource) ProtoReflect added in v0.9.6

func (x *AsyncDataSource) ProtoReflect() protoreflect.Message

func (*AsyncDataSource) Reset

func (x *AsyncDataSource) Reset()

func (*AsyncDataSource) String

func (x *AsyncDataSource) String() string

func (*AsyncDataSource) Validate

func (m *AsyncDataSource) Validate() error

Validate checks the field values on AsyncDataSource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AsyncDataSource) ValidateAll added in v0.10.0

func (m *AsyncDataSource) ValidateAll() error

ValidateAll checks the field values on AsyncDataSource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AsyncDataSourceMultiError, or nil if none found.

type AsyncDataSourceMultiError added in v0.10.0

type AsyncDataSourceMultiError []error

AsyncDataSourceMultiError is an error wrapping multiple validation errors returned by AsyncDataSource.ValidateAll() if the designated constraints aren't met.

func (AsyncDataSourceMultiError) AllErrors added in v0.10.0

func (m AsyncDataSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AsyncDataSourceMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type AsyncDataSourceValidationError

type AsyncDataSourceValidationError struct {
	// contains filtered or unexported fields
}

AsyncDataSourceValidationError is the validation error returned by AsyncDataSource.Validate if the designated constraints aren't met.

func (AsyncDataSourceValidationError) Cause

Cause function returns cause value.

func (AsyncDataSourceValidationError) Error

Error satisfies the builtin error interface

func (AsyncDataSourceValidationError) ErrorName

func (e AsyncDataSourceValidationError) ErrorName() string

ErrorName returns error name.

func (AsyncDataSourceValidationError) Field

Field function returns field value.

func (AsyncDataSourceValidationError) Key

Key function returns key value.

func (AsyncDataSourceValidationError) Reason

Reason function returns reason value.

type AsyncDataSource_Local

type AsyncDataSource_Local struct {
	// Local async data source.
	Local *DataSource `protobuf:"bytes,1,opt,name=local,proto3,oneof"`
}

type AsyncDataSource_Remote

type AsyncDataSource_Remote struct {
	// Remote async data source.
	Remote *RemoteDataSource `protobuf:"bytes,2,opt,name=remote,proto3,oneof"`
}

type BackoffStrategy added in v0.9.5

type BackoffStrategy struct {

	// The base interval to be used for the next back off computation. It should
	// be greater than zero and less than or equal to :ref:`max_interval
	// <envoy_v3_api_field_config.core.v3.BackoffStrategy.max_interval>`.
	BaseInterval *duration.Duration `protobuf:"bytes,1,opt,name=base_interval,json=baseInterval,proto3" json:"base_interval,omitempty"`
	// Specifies the maximum interval between retries. This parameter is optional,
	// but must be greater than or equal to the :ref:`base_interval
	// <envoy_v3_api_field_config.core.v3.BackoffStrategy.base_interval>` if set. The default
	// is 10 times the :ref:`base_interval
	// <envoy_v3_api_field_config.core.v3.BackoffStrategy.base_interval>`.
	MaxInterval *duration.Duration `protobuf:"bytes,2,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"`
	// contains filtered or unexported fields
}

Configuration defining a jittered exponential back off strategy.

func (*BackoffStrategy) Descriptor deprecated added in v0.9.5

func (*BackoffStrategy) Descriptor() ([]byte, []int)

Deprecated: Use BackoffStrategy.ProtoReflect.Descriptor instead.

func (*BackoffStrategy) GetBaseInterval added in v0.9.5

func (x *BackoffStrategy) GetBaseInterval() *duration.Duration

func (*BackoffStrategy) GetMaxInterval added in v0.9.5

func (x *BackoffStrategy) GetMaxInterval() *duration.Duration

func (*BackoffStrategy) ProtoMessage added in v0.9.5

func (*BackoffStrategy) ProtoMessage()

func (*BackoffStrategy) ProtoReflect added in v0.9.6

func (x *BackoffStrategy) ProtoReflect() protoreflect.Message

func (*BackoffStrategy) Reset added in v0.9.5

func (x *BackoffStrategy) Reset()

func (*BackoffStrategy) String added in v0.9.5

func (x *BackoffStrategy) String() string

func (*BackoffStrategy) Validate added in v0.9.5

func (m *BackoffStrategy) Validate() error

Validate checks the field values on BackoffStrategy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BackoffStrategy) ValidateAll added in v0.10.0

func (m *BackoffStrategy) ValidateAll() error

ValidateAll checks the field values on BackoffStrategy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BackoffStrategyMultiError, or nil if none found.

type BackoffStrategyMultiError added in v0.10.0

type BackoffStrategyMultiError []error

BackoffStrategyMultiError is an error wrapping multiple validation errors returned by BackoffStrategy.ValidateAll() if the designated constraints aren't met.

func (BackoffStrategyMultiError) AllErrors added in v0.10.0

func (m BackoffStrategyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BackoffStrategyMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type BackoffStrategyValidationError added in v0.9.5

type BackoffStrategyValidationError struct {
	// contains filtered or unexported fields
}

BackoffStrategyValidationError is the validation error returned by BackoffStrategy.Validate if the designated constraints aren't met.

func (BackoffStrategyValidationError) Cause added in v0.9.5

Cause function returns cause value.

func (BackoffStrategyValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (BackoffStrategyValidationError) ErrorName added in v0.9.5

func (e BackoffStrategyValidationError) ErrorName() string

ErrorName returns error name.

func (BackoffStrategyValidationError) Field added in v0.9.5

Field function returns field value.

func (BackoffStrategyValidationError) Key added in v0.9.5

Key function returns key value.

func (BackoffStrategyValidationError) Reason added in v0.9.5

Reason function returns reason value.

type BindConfig

type BindConfig struct {

	// The address to bind to when creating a socket.
	SourceAddress *SocketAddress `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	// Whether to set the “IP_FREEBIND“ option when creating the socket. When this
	// flag is set to true, allows the :ref:`source_address
	// <envoy_v3_api_field_config.core.v3.BindConfig.source_address>` to be an IP address
	// that is not configured on the system running Envoy. When this flag is set
	// to false, the option “IP_FREEBIND“ is disabled on the socket. When this
	// flag is not set (default), the socket is not modified, i.e. the option is
	// neither enabled nor disabled.
	Freebind *wrappers.BoolValue `protobuf:"bytes,2,opt,name=freebind,proto3" json:"freebind,omitempty"`
	// Additional socket options that may not be present in Envoy source code or
	// precompiled binaries.
	SocketOptions []*SocketOption `protobuf:"bytes,3,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"`
	// Extra source addresses appended to the address specified in the “source_address“
	// field. This enables to specify multiple source addresses.
	// The source address selection is determined by :ref:`local_address_selector
	// <envoy_v3_api_field_config.core.v3.BindConfig.local_address_selector>`.
	ExtraSourceAddresses []*ExtraSourceAddress `protobuf:"bytes,5,rep,name=extra_source_addresses,json=extraSourceAddresses,proto3" json:"extra_source_addresses,omitempty"`
	// Deprecated by
	// :ref:`extra_source_addresses <envoy_v3_api_field_config.core.v3.BindConfig.extra_source_addresses>`
	//
	// Deprecated: Marked as deprecated in envoy/config/core/v3/address.proto.
	AdditionalSourceAddresses []*SocketAddress `` /* 138-byte string literal not displayed */
	// Custom local address selector to override the default (i.e.
	// :ref:`DefaultLocalAddressSelector
	// <envoy_v3_api_msg_config.upstream.local_address_selector.v3.DefaultLocalAddressSelector>`).
	// [#extension-category: envoy.upstream.local_address_selector]
	LocalAddressSelector *TypedExtensionConfig `protobuf:"bytes,6,opt,name=local_address_selector,json=localAddressSelector,proto3" json:"local_address_selector,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 7]

func (*BindConfig) Descriptor deprecated

func (*BindConfig) Descriptor() ([]byte, []int)

Deprecated: Use BindConfig.ProtoReflect.Descriptor instead.

func (*BindConfig) GetAdditionalSourceAddresses deprecated added in v0.11.0

func (x *BindConfig) GetAdditionalSourceAddresses() []*SocketAddress

Deprecated: Marked as deprecated in envoy/config/core/v3/address.proto.

func (*BindConfig) GetExtraSourceAddresses added in v0.11.0

func (x *BindConfig) GetExtraSourceAddresses() []*ExtraSourceAddress

func (*BindConfig) GetFreebind

func (x *BindConfig) GetFreebind() *wrappers.BoolValue

func (*BindConfig) GetLocalAddressSelector added in v0.12.0

func (x *BindConfig) GetLocalAddressSelector() *TypedExtensionConfig

func (*BindConfig) GetSocketOptions

func (x *BindConfig) GetSocketOptions() []*SocketOption

func (*BindConfig) GetSourceAddress

func (x *BindConfig) GetSourceAddress() *SocketAddress

func (*BindConfig) ProtoMessage

func (*BindConfig) ProtoMessage()

func (*BindConfig) ProtoReflect added in v0.9.6

func (x *BindConfig) ProtoReflect() protoreflect.Message

func (*BindConfig) Reset

func (x *BindConfig) Reset()

func (*BindConfig) String

func (x *BindConfig) String() string

func (*BindConfig) Validate

func (m *BindConfig) Validate() error

Validate checks the field values on BindConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BindConfig) ValidateAll added in v0.10.0

func (m *BindConfig) ValidateAll() error

ValidateAll checks the field values on BindConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BindConfigMultiError, or nil if none found.

type BindConfigMultiError added in v0.10.0

type BindConfigMultiError []error

BindConfigMultiError is an error wrapping multiple validation errors returned by BindConfig.ValidateAll() if the designated constraints aren't met.

func (BindConfigMultiError) AllErrors added in v0.10.0

func (m BindConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BindConfigMultiError) Error added in v0.10.0

func (m BindConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BindConfigValidationError

type BindConfigValidationError struct {
	// contains filtered or unexported fields
}

BindConfigValidationError is the validation error returned by BindConfig.Validate if the designated constraints aren't met.

func (BindConfigValidationError) Cause

func (e BindConfigValidationError) Cause() error

Cause function returns cause value.

func (BindConfigValidationError) Error

Error satisfies the builtin error interface

func (BindConfigValidationError) ErrorName

func (e BindConfigValidationError) ErrorName() string

ErrorName returns error name.

func (BindConfigValidationError) Field

Field function returns field value.

func (BindConfigValidationError) Key

Key function returns key value.

func (BindConfigValidationError) Reason

func (e BindConfigValidationError) Reason() string

Reason function returns reason value.

type BuildVersion

type BuildVersion struct {

	// SemVer version of extension.
	Version *v3.SemanticVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Free-form build information.
	// Envoy defines several well known keys in the source/common/version/version.h file
	Metadata *_struct.Struct `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

BuildVersion combines SemVer version of extension with free-form build information (i.e. 'alpha', 'private-build') as a set of strings.

func (*BuildVersion) Descriptor deprecated

func (*BuildVersion) Descriptor() ([]byte, []int)

Deprecated: Use BuildVersion.ProtoReflect.Descriptor instead.

func (*BuildVersion) GetMetadata

func (x *BuildVersion) GetMetadata() *_struct.Struct

func (*BuildVersion) GetVersion

func (x *BuildVersion) GetVersion() *v3.SemanticVersion

func (*BuildVersion) ProtoMessage

func (*BuildVersion) ProtoMessage()

func (*BuildVersion) ProtoReflect added in v0.9.6

func (x *BuildVersion) ProtoReflect() protoreflect.Message

func (*BuildVersion) Reset

func (x *BuildVersion) Reset()

func (*BuildVersion) String

func (x *BuildVersion) String() string

func (*BuildVersion) Validate

func (m *BuildVersion) Validate() error

Validate checks the field values on BuildVersion with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BuildVersion) ValidateAll added in v0.10.0

func (m *BuildVersion) ValidateAll() error

ValidateAll checks the field values on BuildVersion with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BuildVersionMultiError, or nil if none found.

type BuildVersionMultiError added in v0.10.0

type BuildVersionMultiError []error

BuildVersionMultiError is an error wrapping multiple validation errors returned by BuildVersion.ValidateAll() if the designated constraints aren't met.

func (BuildVersionMultiError) AllErrors added in v0.10.0

func (m BuildVersionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BuildVersionMultiError) Error added in v0.10.0

func (m BuildVersionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BuildVersionValidationError

type BuildVersionValidationError struct {
	// contains filtered or unexported fields
}

BuildVersionValidationError is the validation error returned by BuildVersion.Validate if the designated constraints aren't met.

func (BuildVersionValidationError) Cause

Cause function returns cause value.

func (BuildVersionValidationError) Error

Error satisfies the builtin error interface

func (BuildVersionValidationError) ErrorName

func (e BuildVersionValidationError) ErrorName() string

ErrorName returns error name.

func (BuildVersionValidationError) Field

Field function returns field value.

func (BuildVersionValidationError) Key

Key function returns key value.

func (BuildVersionValidationError) Reason

Reason function returns reason value.

type CidrRange

type CidrRange struct {

	// IPv4 or IPv6 address, e.g. “192.0.0.0“ or “2001:db8::“.
	AddressPrefix string `protobuf:"bytes,1,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"`
	// Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
	PrefixLen *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"`
	// contains filtered or unexported fields
}

CidrRange specifies an IP Address and a prefix length to construct the subnet mask for a `CIDR <https://tools.ietf.org/html/rfc4632>`_ range.

func (*CidrRange) Descriptor deprecated

func (*CidrRange) Descriptor() ([]byte, []int)

Deprecated: Use CidrRange.ProtoReflect.Descriptor instead.

func (*CidrRange) GetAddressPrefix

func (x *CidrRange) GetAddressPrefix() string

func (*CidrRange) GetPrefixLen

func (x *CidrRange) GetPrefixLen() *wrappers.UInt32Value

func (*CidrRange) ProtoMessage

func (*CidrRange) ProtoMessage()

func (*CidrRange) ProtoReflect added in v0.9.6

func (x *CidrRange) ProtoReflect() protoreflect.Message

func (*CidrRange) Reset

func (x *CidrRange) Reset()

func (*CidrRange) String

func (x *CidrRange) String() string

func (*CidrRange) Validate

func (m *CidrRange) Validate() error

Validate checks the field values on CidrRange with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CidrRange) ValidateAll added in v0.10.0

func (m *CidrRange) ValidateAll() error

ValidateAll checks the field values on CidrRange with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CidrRangeMultiError, or nil if none found.

type CidrRangeMultiError added in v0.10.0

type CidrRangeMultiError []error

CidrRangeMultiError is an error wrapping multiple validation errors returned by CidrRange.ValidateAll() if the designated constraints aren't met.

func (CidrRangeMultiError) AllErrors added in v0.10.0

func (m CidrRangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CidrRangeMultiError) Error added in v0.10.0

func (m CidrRangeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CidrRangeValidationError

type CidrRangeValidationError struct {
	// contains filtered or unexported fields
}

CidrRangeValidationError is the validation error returned by CidrRange.Validate if the designated constraints aren't met.

func (CidrRangeValidationError) Cause

func (e CidrRangeValidationError) Cause() error

Cause function returns cause value.

func (CidrRangeValidationError) Error

func (e CidrRangeValidationError) Error() string

Error satisfies the builtin error interface

func (CidrRangeValidationError) ErrorName

func (e CidrRangeValidationError) ErrorName() string

ErrorName returns error name.

func (CidrRangeValidationError) Field

func (e CidrRangeValidationError) Field() string

Field function returns field value.

func (CidrRangeValidationError) Key

Key function returns key value.

func (CidrRangeValidationError) Reason

func (e CidrRangeValidationError) Reason() string

Reason function returns reason value.

type ConfigSource

type ConfigSource struct {

	// Authorities that this config source may be used for. An authority specified in a xdstp:// URL
	// is resolved to a “ConfigSource“ prior to configuration fetch. This field provides the
	// association between authority name and configuration source.
	// [#not-implemented-hide:]
	Authorities []*v3.Authority `protobuf:"bytes,7,rep,name=authorities,proto3" json:"authorities,omitempty"`
	// Types that are assignable to ConfigSourceSpecifier:
	//
	//	*ConfigSource_Path
	//	*ConfigSource_PathConfigSource
	//	*ConfigSource_ApiConfigSource
	//	*ConfigSource_Ads
	//	*ConfigSource_Self
	ConfigSourceSpecifier isConfigSource_ConfigSourceSpecifier `protobuf_oneof:"config_source_specifier"`
	// When this timeout is specified, Envoy will wait no longer than the specified time for first
	// config response on this xDS subscription during the :ref:`initialization process
	// <arch_overview_initialization>`. After reaching the timeout, Envoy will move to the next
	// initialization phase, even if the first config is not delivered yet. The timer is activated
	// when the xDS API subscription starts, and is disarmed on first config update or on error. 0
	// means no timeout - Envoy will wait indefinitely for the first xDS config (unless another
	// timeout applies). The default is 15s.
	InitialFetchTimeout *duration.Duration `protobuf:"bytes,4,opt,name=initial_fetch_timeout,json=initialFetchTimeout,proto3" json:"initial_fetch_timeout,omitempty"`
	// API version for xDS resources. This implies the type URLs that the client
	// will request for resources and the resource type that the client will in
	// turn expect to be delivered.
	ResourceApiVersion ApiVersion `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for :ref:`listeners <config_listeners>`, :ref:`clusters <config_cluster_manager>`, :ref:`routes <envoy_v3_api_msg_config.route.v3.RouteConfiguration>`, :ref:`endpoints <arch_overview_service_discovery>` etc. may either be sourced from the filesystem or from an xDS API source. Filesystem configs are watched with inotify for updates. [#next-free-field: 9]

func (*ConfigSource) Descriptor deprecated

func (*ConfigSource) Descriptor() ([]byte, []int)

Deprecated: Use ConfigSource.ProtoReflect.Descriptor instead.

func (*ConfigSource) GetAds

func (x *ConfigSource) GetAds() *AggregatedConfigSource

func (*ConfigSource) GetApiConfigSource

func (x *ConfigSource) GetApiConfigSource() *ApiConfigSource

func (*ConfigSource) GetAuthorities added in v0.9.6

func (x *ConfigSource) GetAuthorities() []*v3.Authority

func (*ConfigSource) GetConfigSourceSpecifier

func (m *ConfigSource) GetConfigSourceSpecifier() isConfigSource_ConfigSourceSpecifier

func (*ConfigSource) GetInitialFetchTimeout

func (x *ConfigSource) GetInitialFetchTimeout() *duration.Duration

func (*ConfigSource) GetPath deprecated

func (x *ConfigSource) GetPath() string

Deprecated: Marked as deprecated in envoy/config/core/v3/config_source.proto.

func (*ConfigSource) GetPathConfigSource added in v0.10.2

func (x *ConfigSource) GetPathConfigSource() *PathConfigSource

func (*ConfigSource) GetResourceApiVersion

func (x *ConfigSource) GetResourceApiVersion() ApiVersion

func (*ConfigSource) GetSelf

func (x *ConfigSource) GetSelf() *SelfConfigSource

func (*ConfigSource) ProtoMessage

func (*ConfigSource) ProtoMessage()

func (*ConfigSource) ProtoReflect added in v0.9.6

func (x *ConfigSource) ProtoReflect() protoreflect.Message

func (*ConfigSource) Reset

func (x *ConfigSource) Reset()

func (*ConfigSource) String

func (x *ConfigSource) String() string

func (*ConfigSource) Validate

func (m *ConfigSource) Validate() error

Validate checks the field values on ConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConfigSource) ValidateAll added in v0.10.0

func (m *ConfigSource) ValidateAll() error

ValidateAll checks the field values on ConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigSourceMultiError, or nil if none found.

type ConfigSourceMultiError added in v0.10.0

type ConfigSourceMultiError []error

ConfigSourceMultiError is an error wrapping multiple validation errors returned by ConfigSource.ValidateAll() if the designated constraints aren't met.

func (ConfigSourceMultiError) AllErrors added in v0.10.0

func (m ConfigSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigSourceMultiError) Error added in v0.10.0

func (m ConfigSourceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConfigSourceValidationError

type ConfigSourceValidationError struct {
	// contains filtered or unexported fields
}

ConfigSourceValidationError is the validation error returned by ConfigSource.Validate if the designated constraints aren't met.

func (ConfigSourceValidationError) Cause

Cause function returns cause value.

func (ConfigSourceValidationError) Error

Error satisfies the builtin error interface

func (ConfigSourceValidationError) ErrorName

func (e ConfigSourceValidationError) ErrorName() string

ErrorName returns error name.

func (ConfigSourceValidationError) Field

Field function returns field value.

func (ConfigSourceValidationError) Key

Key function returns key value.

func (ConfigSourceValidationError) Reason

Reason function returns reason value.

type ConfigSource_Ads

type ConfigSource_Ads struct {
	// When set, ADS will be used to fetch resources. The ADS API configuration
	// source in the bootstrap configuration is used.
	Ads *AggregatedConfigSource `protobuf:"bytes,3,opt,name=ads,proto3,oneof"`
}

type ConfigSource_ApiConfigSource

type ConfigSource_ApiConfigSource struct {
	// API configuration source.
	ApiConfigSource *ApiConfigSource `protobuf:"bytes,2,opt,name=api_config_source,json=apiConfigSource,proto3,oneof"`
}

type ConfigSource_Path

type ConfigSource_Path struct {
	// Deprecated in favor of “path_config_source“. Use that field instead.
	//
	// Deprecated: Marked as deprecated in envoy/config/core/v3/config_source.proto.
	Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
}

type ConfigSource_PathConfigSource added in v0.10.2

type ConfigSource_PathConfigSource struct {
	// Local filesystem path configuration source.
	PathConfigSource *PathConfigSource `protobuf:"bytes,8,opt,name=path_config_source,json=pathConfigSource,proto3,oneof"`
}

type ConfigSource_Self

type ConfigSource_Self struct {
	// [#not-implemented-hide:]
	// When set, the client will access the resources from the same server it got the
	// ConfigSource from, although not necessarily from the same stream. This is similar to the
	// :ref:`ads<envoy_v3_api_field.ConfigSource.ads>` field, except that the client may use a
	// different stream to the same server. As a result, this field can be used for things
	// like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.)
	// LDS to RDS on the same server without requiring the management server to know its name
	// or required credentials.
	// [#next-major-version: In xDS v3, consider replacing the ads field with this one, since
	// this field can implicitly mean to use the same stream in the case where the ConfigSource
	// is provided via ADS and the specified data can also be obtained via ADS.]
	Self *SelfConfigSource `protobuf:"bytes,5,opt,name=self,proto3,oneof"`
}

type ControlPlane

type ControlPlane struct {

	// An opaque control plane identifier that uniquely identifies an instance
	// of control plane. This can be used to identify which control plane instance,
	// the Envoy is connected to.
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// contains filtered or unexported fields
}

Identifies a specific ControlPlane instance that Envoy is connected to.

func (*ControlPlane) Descriptor deprecated

func (*ControlPlane) Descriptor() ([]byte, []int)

Deprecated: Use ControlPlane.ProtoReflect.Descriptor instead.

func (*ControlPlane) GetIdentifier

func (x *ControlPlane) GetIdentifier() string

func (*ControlPlane) ProtoMessage

func (*ControlPlane) ProtoMessage()

func (*ControlPlane) ProtoReflect added in v0.9.6

func (x *ControlPlane) ProtoReflect() protoreflect.Message

func (*ControlPlane) Reset

func (x *ControlPlane) Reset()

func (*ControlPlane) String

func (x *ControlPlane) String() string

func (*ControlPlane) Validate

func (m *ControlPlane) Validate() error

Validate checks the field values on ControlPlane with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ControlPlane) ValidateAll added in v0.10.0

func (m *ControlPlane) ValidateAll() error

ValidateAll checks the field values on ControlPlane with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ControlPlaneMultiError, or nil if none found.

type ControlPlaneMultiError added in v0.10.0

type ControlPlaneMultiError []error

ControlPlaneMultiError is an error wrapping multiple validation errors returned by ControlPlane.ValidateAll() if the designated constraints aren't met.

func (ControlPlaneMultiError) AllErrors added in v0.10.0

func (m ControlPlaneMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ControlPlaneMultiError) Error added in v0.10.0

func (m ControlPlaneMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ControlPlaneValidationError

type ControlPlaneValidationError struct {
	// contains filtered or unexported fields
}

ControlPlaneValidationError is the validation error returned by ControlPlane.Validate if the designated constraints aren't met.

func (ControlPlaneValidationError) Cause

Cause function returns cause value.

func (ControlPlaneValidationError) Error

Error satisfies the builtin error interface

func (ControlPlaneValidationError) ErrorName

func (e ControlPlaneValidationError) ErrorName() string

ErrorName returns error name.

func (ControlPlaneValidationError) Field

Field function returns field value.

func (ControlPlaneValidationError) Key

Key function returns key value.

func (ControlPlaneValidationError) Reason

Reason function returns reason value.

type DataSource

type DataSource struct {

	// Types that are assignable to Specifier:
	//
	//	*DataSource_Filename
	//	*DataSource_InlineBytes
	//	*DataSource_InlineString
	//	*DataSource_EnvironmentVariable
	Specifier isDataSource_Specifier `protobuf_oneof:"specifier"`
	// contains filtered or unexported fields
}

Data source consisting of a file, an inline value, or an environment variable.

func (*DataSource) Descriptor deprecated

func (*DataSource) Descriptor() ([]byte, []int)

Deprecated: Use DataSource.ProtoReflect.Descriptor instead.

func (*DataSource) GetEnvironmentVariable added in v0.10.0

func (x *DataSource) GetEnvironmentVariable() string

func (*DataSource) GetFilename

func (x *DataSource) GetFilename() string

func (*DataSource) GetInlineBytes

func (x *DataSource) GetInlineBytes() []byte

func (*DataSource) GetInlineString

func (x *DataSource) GetInlineString() string

func (*DataSource) GetSpecifier

func (m *DataSource) GetSpecifier() isDataSource_Specifier

func (*DataSource) ProtoMessage

func (*DataSource) ProtoMessage()

func (*DataSource) ProtoReflect added in v0.9.6

func (x *DataSource) ProtoReflect() protoreflect.Message

func (*DataSource) Reset

func (x *DataSource) Reset()

func (*DataSource) String

func (x *DataSource) String() string

func (*DataSource) Validate

func (m *DataSource) Validate() error

Validate checks the field values on DataSource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DataSource) ValidateAll added in v0.10.0

func (m *DataSource) ValidateAll() error

ValidateAll checks the field values on DataSource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DataSourceMultiError, or nil if none found.

type DataSourceMultiError added in v0.10.0

type DataSourceMultiError []error

DataSourceMultiError is an error wrapping multiple validation errors returned by DataSource.ValidateAll() if the designated constraints aren't met.

func (DataSourceMultiError) AllErrors added in v0.10.0

func (m DataSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataSourceMultiError) Error added in v0.10.0

func (m DataSourceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DataSourceValidationError

type DataSourceValidationError struct {
	// contains filtered or unexported fields
}

DataSourceValidationError is the validation error returned by DataSource.Validate if the designated constraints aren't met.

func (DataSourceValidationError) Cause

func (e DataSourceValidationError) Cause() error

Cause function returns cause value.

func (DataSourceValidationError) Error

Error satisfies the builtin error interface

func (DataSourceValidationError) ErrorName

func (e DataSourceValidationError) ErrorName() string

ErrorName returns error name.

func (DataSourceValidationError) Field

Field function returns field value.

func (DataSourceValidationError) Key

Key function returns key value.

func (DataSourceValidationError) Reason

func (e DataSourceValidationError) Reason() string

Reason function returns reason value.

type DataSource_EnvironmentVariable added in v0.10.0

type DataSource_EnvironmentVariable struct {
	// Environment variable data source.
	EnvironmentVariable string `protobuf:"bytes,4,opt,name=environment_variable,json=environmentVariable,proto3,oneof"`
}

type DataSource_Filename

type DataSource_Filename struct {
	// Local filesystem data source.
	Filename string `protobuf:"bytes,1,opt,name=filename,proto3,oneof"`
}

type DataSource_InlineBytes

type DataSource_InlineBytes struct {
	// Bytes inlined in the configuration.
	InlineBytes []byte `protobuf:"bytes,2,opt,name=inline_bytes,json=inlineBytes,proto3,oneof"`
}

type DataSource_InlineString

type DataSource_InlineString struct {
	// String inlined in the configuration.
	InlineString string `protobuf:"bytes,3,opt,name=inline_string,json=inlineString,proto3,oneof"`
}

type DnsResolutionConfig added in v0.10.0

type DnsResolutionConfig struct {

	// A list of dns resolver addresses. If specified, the DNS client library will perform resolution
	// via the underlying DNS resolvers. Otherwise, the default system resolvers
	// (e.g., /etc/resolv.conf) will be used.
	Resolvers []*Address `protobuf:"bytes,1,rep,name=resolvers,proto3" json:"resolvers,omitempty"`
	// Configuration of DNS resolver option flags which control the behavior of the DNS resolver.
	DnsResolverOptions *DnsResolverOptions `protobuf:"bytes,2,opt,name=dns_resolver_options,json=dnsResolverOptions,proto3" json:"dns_resolver_options,omitempty"`
	// contains filtered or unexported fields
}

DNS resolution configuration which includes the underlying dns resolver addresses and options.

func (*DnsResolutionConfig) Descriptor deprecated added in v0.10.0

func (*DnsResolutionConfig) Descriptor() ([]byte, []int)

Deprecated: Use DnsResolutionConfig.ProtoReflect.Descriptor instead.

func (*DnsResolutionConfig) GetDnsResolverOptions added in v0.10.0

func (x *DnsResolutionConfig) GetDnsResolverOptions() *DnsResolverOptions

func (*DnsResolutionConfig) GetResolvers added in v0.10.0

func (x *DnsResolutionConfig) GetResolvers() []*Address

func (*DnsResolutionConfig) ProtoMessage added in v0.10.0

func (*DnsResolutionConfig) ProtoMessage()

func (*DnsResolutionConfig) ProtoReflect added in v0.10.0

func (x *DnsResolutionConfig) ProtoReflect() protoreflect.Message

func (*DnsResolutionConfig) Reset added in v0.10.0

func (x *DnsResolutionConfig) Reset()

func (*DnsResolutionConfig) String added in v0.10.0

func (x *DnsResolutionConfig) String() string

func (*DnsResolutionConfig) Validate added in v0.10.0

func (m *DnsResolutionConfig) Validate() error

Validate checks the field values on DnsResolutionConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DnsResolutionConfig) ValidateAll added in v0.10.0

func (m *DnsResolutionConfig) ValidateAll() error

ValidateAll checks the field values on DnsResolutionConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DnsResolutionConfigMultiError, or nil if none found.

type DnsResolutionConfigMultiError added in v0.10.0

type DnsResolutionConfigMultiError []error

DnsResolutionConfigMultiError is an error wrapping multiple validation errors returned by DnsResolutionConfig.ValidateAll() if the designated constraints aren't met.

func (DnsResolutionConfigMultiError) AllErrors added in v0.10.0

func (m DnsResolutionConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DnsResolutionConfigMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type DnsResolutionConfigValidationError added in v0.10.0

type DnsResolutionConfigValidationError struct {
	// contains filtered or unexported fields
}

DnsResolutionConfigValidationError is the validation error returned by DnsResolutionConfig.Validate if the designated constraints aren't met.

func (DnsResolutionConfigValidationError) Cause added in v0.10.0

Cause function returns cause value.

func (DnsResolutionConfigValidationError) Error added in v0.10.0

Error satisfies the builtin error interface

func (DnsResolutionConfigValidationError) ErrorName added in v0.10.0

ErrorName returns error name.

func (DnsResolutionConfigValidationError) Field added in v0.10.0

Field function returns field value.

func (DnsResolutionConfigValidationError) Key added in v0.10.0

Key function returns key value.

func (DnsResolutionConfigValidationError) Reason added in v0.10.0

Reason function returns reason value.

type DnsResolverOptions added in v0.10.0

type DnsResolverOptions struct {

	// Use TCP for all DNS queries instead of the default protocol UDP.
	UseTcpForDnsLookups bool `protobuf:"varint,1,opt,name=use_tcp_for_dns_lookups,json=useTcpForDnsLookups,proto3" json:"use_tcp_for_dns_lookups,omitempty"`
	// Do not use the default search domains; only query hostnames as-is or as aliases.
	NoDefaultSearchDomain bool `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration of DNS resolver option flags which control the behavior of the DNS resolver.

func (*DnsResolverOptions) Descriptor deprecated added in v0.10.0

func (*DnsResolverOptions) Descriptor() ([]byte, []int)

Deprecated: Use DnsResolverOptions.ProtoReflect.Descriptor instead.

func (*DnsResolverOptions) GetNoDefaultSearchDomain added in v0.10.0

func (x *DnsResolverOptions) GetNoDefaultSearchDomain() bool

func (*DnsResolverOptions) GetUseTcpForDnsLookups added in v0.10.0

func (x *DnsResolverOptions) GetUseTcpForDnsLookups() bool

func (*DnsResolverOptions) ProtoMessage added in v0.10.0

func (*DnsResolverOptions) ProtoMessage()

func (*DnsResolverOptions) ProtoReflect added in v0.10.0

func (x *DnsResolverOptions) ProtoReflect() protoreflect.Message

func (*DnsResolverOptions) Reset added in v0.10.0

func (x *DnsResolverOptions) Reset()

func (*DnsResolverOptions) String added in v0.10.0

func (x *DnsResolverOptions) String() string

func (*DnsResolverOptions) Validate added in v0.10.0

func (m *DnsResolverOptions) Validate() error

Validate checks the field values on DnsResolverOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DnsResolverOptions) ValidateAll added in v0.10.0

func (m *DnsResolverOptions) ValidateAll() error

ValidateAll checks the field values on DnsResolverOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DnsResolverOptionsMultiError, or nil if none found.

type DnsResolverOptionsMultiError added in v0.10.0

type DnsResolverOptionsMultiError []error

DnsResolverOptionsMultiError is an error wrapping multiple validation errors returned by DnsResolverOptions.ValidateAll() if the designated constraints aren't met.

func (DnsResolverOptionsMultiError) AllErrors added in v0.10.0

func (m DnsResolverOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DnsResolverOptionsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type DnsResolverOptionsValidationError added in v0.10.0

type DnsResolverOptionsValidationError struct {
	// contains filtered or unexported fields
}

DnsResolverOptionsValidationError is the validation error returned by DnsResolverOptions.Validate if the designated constraints aren't met.

func (DnsResolverOptionsValidationError) Cause added in v0.10.0

Cause function returns cause value.

func (DnsResolverOptionsValidationError) Error added in v0.10.0

Error satisfies the builtin error interface

func (DnsResolverOptionsValidationError) ErrorName added in v0.10.0

ErrorName returns error name.

func (DnsResolverOptionsValidationError) Field added in v0.10.0

Field function returns field value.

func (DnsResolverOptionsValidationError) Key added in v0.10.0

Key function returns key value.

func (DnsResolverOptionsValidationError) Reason added in v0.10.0

Reason function returns reason value.

type EnvoyInternalAddress added in v0.9.7

type EnvoyInternalAddress struct {

	// Types that are assignable to AddressNameSpecifier:
	//
	//	*EnvoyInternalAddress_ServerListenerName
	AddressNameSpecifier isEnvoyInternalAddress_AddressNameSpecifier `protobuf_oneof:"address_name_specifier"`
	// Specifies an endpoint identifier to distinguish between multiple endpoints for the same internal listener in a
	// single upstream pool. Only used in the upstream addresses for tracking changes to individual endpoints. This, for
	// example, may be set to the final destination IP for the target internal listener.
	EndpointId string `protobuf:"bytes,2,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"`
	// contains filtered or unexported fields
}

The address represents an envoy internal listener. [#comment: TODO(asraa): When address available, remove workaround from test/server/server_fuzz_test.cc:30.]

func (*EnvoyInternalAddress) Descriptor deprecated added in v0.9.7

func (*EnvoyInternalAddress) Descriptor() ([]byte, []int)

Deprecated: Use EnvoyInternalAddress.ProtoReflect.Descriptor instead.

func (*EnvoyInternalAddress) GetAddressNameSpecifier added in v0.9.7

func (m *EnvoyInternalAddress) GetAddressNameSpecifier() isEnvoyInternalAddress_AddressNameSpecifier

func (*EnvoyInternalAddress) GetEndpointId added in v0.11.0

func (x *EnvoyInternalAddress) GetEndpointId() string

func (*EnvoyInternalAddress) GetServerListenerName added in v0.9.7

func (x *EnvoyInternalAddress) GetServerListenerName() string

func (*EnvoyInternalAddress) ProtoMessage added in v0.9.7

func (*EnvoyInternalAddress) ProtoMessage()

func (*EnvoyInternalAddress) ProtoReflect added in v0.9.7

func (x *EnvoyInternalAddress) ProtoReflect() protoreflect.Message

func (*EnvoyInternalAddress) Reset added in v0.9.7

func (x *EnvoyInternalAddress) Reset()

func (*EnvoyInternalAddress) String added in v0.9.7

func (x *EnvoyInternalAddress) String() string

func (*EnvoyInternalAddress) Validate added in v0.9.7

func (m *EnvoyInternalAddress) Validate() error

Validate checks the field values on EnvoyInternalAddress with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EnvoyInternalAddress) ValidateAll added in v0.10.0

func (m *EnvoyInternalAddress) ValidateAll() error

ValidateAll checks the field values on EnvoyInternalAddress with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnvoyInternalAddressMultiError, or nil if none found.

type EnvoyInternalAddressMultiError added in v0.10.0

type EnvoyInternalAddressMultiError []error

EnvoyInternalAddressMultiError is an error wrapping multiple validation errors returned by EnvoyInternalAddress.ValidateAll() if the designated constraints aren't met.

func (EnvoyInternalAddressMultiError) AllErrors added in v0.10.0

func (m EnvoyInternalAddressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EnvoyInternalAddressMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type EnvoyInternalAddressValidationError added in v0.9.7

type EnvoyInternalAddressValidationError struct {
	// contains filtered or unexported fields
}

EnvoyInternalAddressValidationError is the validation error returned by EnvoyInternalAddress.Validate if the designated constraints aren't met.

func (EnvoyInternalAddressValidationError) Cause added in v0.9.7

Cause function returns cause value.

func (EnvoyInternalAddressValidationError) Error added in v0.9.7

Error satisfies the builtin error interface

func (EnvoyInternalAddressValidationError) ErrorName added in v0.9.7

ErrorName returns error name.

func (EnvoyInternalAddressValidationError) Field added in v0.9.7

Field function returns field value.

func (EnvoyInternalAddressValidationError) Key added in v0.9.7

Key function returns key value.

func (EnvoyInternalAddressValidationError) Reason added in v0.9.7

Reason function returns reason value.

type EnvoyInternalAddress_ServerListenerName added in v0.9.7

type EnvoyInternalAddress_ServerListenerName struct {
	// Specifies the :ref:`name <envoy_v3_api_field_config.listener.v3.Listener.name>` of the
	// internal listener.
	ServerListenerName string `protobuf:"bytes,1,opt,name=server_listener_name,json=serverListenerName,proto3,oneof"`
}

type EventServiceConfig added in v0.9.5

type EventServiceConfig struct {

	// Types that are assignable to ConfigSourceSpecifier:
	//
	//	*EventServiceConfig_GrpcService
	ConfigSourceSpecifier isEventServiceConfig_ConfigSourceSpecifier `protobuf_oneof:"config_source_specifier"`
	// contains filtered or unexported fields
}

[#not-implemented-hide:] Configuration of the event reporting service endpoint.

func (*EventServiceConfig) Descriptor deprecated added in v0.9.5

func (*EventServiceConfig) Descriptor() ([]byte, []int)

Deprecated: Use EventServiceConfig.ProtoReflect.Descriptor instead.

func (*EventServiceConfig) GetConfigSourceSpecifier added in v0.9.5

func (m *EventServiceConfig) GetConfigSourceSpecifier() isEventServiceConfig_ConfigSourceSpecifier

func (*EventServiceConfig) GetGrpcService added in v0.9.5

func (x *EventServiceConfig) GetGrpcService() *GrpcService

func (*EventServiceConfig) ProtoMessage added in v0.9.5

func (*EventServiceConfig) ProtoMessage()

func (*EventServiceConfig) ProtoReflect added in v0.9.6

func (x *EventServiceConfig) ProtoReflect() protoreflect.Message

func (*EventServiceConfig) Reset added in v0.9.5

func (x *EventServiceConfig) Reset()

func (*EventServiceConfig) String added in v0.9.5

func (x *EventServiceConfig) String() string

func (*EventServiceConfig) Validate added in v0.9.5

func (m *EventServiceConfig) Validate() error

Validate checks the field values on EventServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EventServiceConfig) ValidateAll added in v0.10.0

func (m *EventServiceConfig) ValidateAll() error

ValidateAll checks the field values on EventServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EventServiceConfigMultiError, or nil if none found.

type EventServiceConfigMultiError added in v0.10.0

type EventServiceConfigMultiError []error

EventServiceConfigMultiError is an error wrapping multiple validation errors returned by EventServiceConfig.ValidateAll() if the designated constraints aren't met.

func (EventServiceConfigMultiError) AllErrors added in v0.10.0

func (m EventServiceConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EventServiceConfigMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type EventServiceConfigValidationError added in v0.9.5

type EventServiceConfigValidationError struct {
	// contains filtered or unexported fields
}

EventServiceConfigValidationError is the validation error returned by EventServiceConfig.Validate if the designated constraints aren't met.

func (EventServiceConfigValidationError) Cause added in v0.9.5

Cause function returns cause value.

func (EventServiceConfigValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (EventServiceConfigValidationError) ErrorName added in v0.9.5

ErrorName returns error name.

func (EventServiceConfigValidationError) Field added in v0.9.5

Field function returns field value.

func (EventServiceConfigValidationError) Key added in v0.9.5

Key function returns key value.

func (EventServiceConfigValidationError) Reason added in v0.9.5

Reason function returns reason value.

type EventServiceConfig_GrpcService added in v0.9.5

type EventServiceConfig_GrpcService struct {
	// Specifies the gRPC service that hosts the event reporting service.
	GrpcService *GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3,oneof"`
}

type Extension

type Extension struct {

	// This is the name of the Envoy filter as specified in the Envoy
	// configuration, e.g. envoy.filters.http.router, com.acme.widget.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Category of the extension.
	// Extension category names use reverse DNS notation. For instance "envoy.filters.listener"
	// for Envoy's built-in listener filters or "com.acme.filters.http" for HTTP filters from
	// acme.com vendor.
	// [#comment:TODO(yanavlasov): Link to the doc with existing envoy category names.]
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// [#not-implemented-hide:] Type descriptor of extension configuration proto.
	// [#comment:TODO(yanavlasov): Link to the doc with existing configuration protos.]
	// [#comment:TODO(yanavlasov): Add tests when PR #9391 lands.]
	//
	// Deprecated: Marked as deprecated in envoy/config/core/v3/base.proto.
	TypeDescriptor string `protobuf:"bytes,3,opt,name=type_descriptor,json=typeDescriptor,proto3" json:"type_descriptor,omitempty"`
	// The version is a property of the extension and maintained independently
	// of other extensions and the Envoy API.
	// This field is not set when extension did not provide version information.
	Version *BuildVersion `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// Indicates that the extension is present but was disabled via dynamic configuration.
	Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Type URLs of extension configuration protos.
	TypeUrls []string `protobuf:"bytes,6,rep,name=type_urls,json=typeUrls,proto3" json:"type_urls,omitempty"`
	// contains filtered or unexported fields
}

Version and identification for an Envoy extension. [#next-free-field: 7]

func (*Extension) Descriptor deprecated

func (*Extension) Descriptor() ([]byte, []int)

Deprecated: Use Extension.ProtoReflect.Descriptor instead.

func (*Extension) GetCategory

func (x *Extension) GetCategory() string

func (*Extension) GetDisabled

func (x *Extension) GetDisabled() bool

func (*Extension) GetName

func (x *Extension) GetName() string

func (*Extension) GetTypeDescriptor deprecated

func (x *Extension) GetTypeDescriptor() string

Deprecated: Marked as deprecated in envoy/config/core/v3/base.proto.

func (*Extension) GetTypeUrls added in v0.10.2

func (x *Extension) GetTypeUrls() []string

func (*Extension) GetVersion

func (x *Extension) GetVersion() *BuildVersion

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) ProtoReflect added in v0.9.6

func (x *Extension) ProtoReflect() protoreflect.Message

func (*Extension) Reset

func (x *Extension) Reset()

func (*Extension) String

func (x *Extension) String() string

func (*Extension) Validate

func (m *Extension) Validate() error

Validate checks the field values on Extension with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Extension) ValidateAll added in v0.10.0

func (m *Extension) ValidateAll() error

ValidateAll checks the field values on Extension with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExtensionMultiError, or nil if none found.

type ExtensionConfigSource added in v0.9.7

type ExtensionConfigSource struct {
	ConfigSource *ConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
	// Optional default configuration to use as the initial configuration if
	// there is a failure to receive the initial extension configuration or if
	// “apply_default_config_without_warming“ flag is set.
	DefaultConfig *any1.Any `protobuf:"bytes,2,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// Use the default config as the initial configuration without warming and
	// waiting for the first discovery response. Requires the default configuration
	// to be supplied.
	ApplyDefaultConfigWithoutWarming bool `` /* 164-byte string literal not displayed */
	// A set of permitted extension type URLs. Extension configuration updates are rejected
	// if they do not match any type URL in the set.
	TypeUrls []string `protobuf:"bytes,4,rep,name=type_urls,json=typeUrls,proto3" json:"type_urls,omitempty"`
	// contains filtered or unexported fields
}

Configuration source specifier for a late-bound extension configuration. The parent resource is warmed until all the initial extension configurations are received, unless the flag to apply the default configuration is set. Subsequent extension updates are atomic on a per-worker basis. Once an extension configuration is applied to a request or a connection, it remains constant for the duration of processing. If the initial delivery of the extension configuration fails, due to a timeout for example, the optional default configuration is applied. Without a default configuration, the extension is disabled, until an extension configuration is received. The behavior of a disabled extension depends on the context. For example, a filter chain with a disabled extension filter rejects all incoming streams.

func (*ExtensionConfigSource) Descriptor deprecated added in v0.9.7

func (*ExtensionConfigSource) Descriptor() ([]byte, []int)

Deprecated: Use ExtensionConfigSource.ProtoReflect.Descriptor instead.

func (*ExtensionConfigSource) GetApplyDefaultConfigWithoutWarming added in v0.9.7

func (x *ExtensionConfigSource) GetApplyDefaultConfigWithoutWarming() bool

func (*ExtensionConfigSource) GetConfigSource added in v0.9.7

func (x *ExtensionConfigSource) GetConfigSource() *ConfigSource

func (*ExtensionConfigSource) GetDefaultConfig added in v0.9.7

func (x *ExtensionConfigSource) GetDefaultConfig() *any1.Any

func (*ExtensionConfigSource) GetTypeUrls added in v0.9.7

func (x *ExtensionConfigSource) GetTypeUrls() []string

func (*ExtensionConfigSource) ProtoMessage added in v0.9.7

func (*ExtensionConfigSource) ProtoMessage()

func (*ExtensionConfigSource) ProtoReflect added in v0.9.7

func (x *ExtensionConfigSource) ProtoReflect() protoreflect.Message

func (*ExtensionConfigSource) Reset added in v0.9.7

func (x *ExtensionConfigSource) Reset()

func (*ExtensionConfigSource) String added in v0.9.7

func (x *ExtensionConfigSource) String() string

func (*ExtensionConfigSource) Validate added in v0.9.7

func (m *ExtensionConfigSource) Validate() error

Validate checks the field values on ExtensionConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ExtensionConfigSource) ValidateAll added in v0.10.0

func (m *ExtensionConfigSource) ValidateAll() error

ValidateAll checks the field values on ExtensionConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExtensionConfigSourceMultiError, or nil if none found.

type ExtensionConfigSourceMultiError added in v0.10.0

type ExtensionConfigSourceMultiError []error

ExtensionConfigSourceMultiError is an error wrapping multiple validation errors returned by ExtensionConfigSource.ValidateAll() if the designated constraints aren't met.

func (ExtensionConfigSourceMultiError) AllErrors added in v0.10.0

func (m ExtensionConfigSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtensionConfigSourceMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type ExtensionConfigSourceValidationError added in v0.9.7

type ExtensionConfigSourceValidationError struct {
	// contains filtered or unexported fields
}

ExtensionConfigSourceValidationError is the validation error returned by ExtensionConfigSource.Validate if the designated constraints aren't met.

func (ExtensionConfigSourceValidationError) Cause added in v0.9.7

Cause function returns cause value.

func (ExtensionConfigSourceValidationError) Error added in v0.9.7

Error satisfies the builtin error interface

func (ExtensionConfigSourceValidationError) ErrorName added in v0.9.7

ErrorName returns error name.

func (ExtensionConfigSourceValidationError) Field added in v0.9.7

Field function returns field value.

func (ExtensionConfigSourceValidationError) Key added in v0.9.7

Key function returns key value.

func (ExtensionConfigSourceValidationError) Reason added in v0.9.7

Reason function returns reason value.

type ExtensionMultiError added in v0.10.0

type ExtensionMultiError []error

ExtensionMultiError is an error wrapping multiple validation errors returned by Extension.ValidateAll() if the designated constraints aren't met.

func (ExtensionMultiError) AllErrors added in v0.10.0

func (m ExtensionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtensionMultiError) Error added in v0.10.0

func (m ExtensionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ExtensionValidationError

type ExtensionValidationError struct {
	// contains filtered or unexported fields
}

ExtensionValidationError is the validation error returned by Extension.Validate if the designated constraints aren't met.

func (ExtensionValidationError) Cause

func (e ExtensionValidationError) Cause() error

Cause function returns cause value.

func (ExtensionValidationError) Error

func (e ExtensionValidationError) Error() string

Error satisfies the builtin error interface

func (ExtensionValidationError) ErrorName

func (e ExtensionValidationError) ErrorName() string

ErrorName returns error name.

func (ExtensionValidationError) Field

func (e ExtensionValidationError) Field() string

Field function returns field value.

func (ExtensionValidationError) Key

Key function returns key value.

func (ExtensionValidationError) Reason

func (e ExtensionValidationError) Reason() string

Reason function returns reason value.

type ExtraSourceAddress added in v0.11.0

type ExtraSourceAddress struct {

	// The additional address to bind.
	Address *SocketAddress `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Additional socket options that may not be present in Envoy source code or
	// precompiled binaries. If specified, this will override the
	// :ref:`socket_options <envoy_v3_api_field_config.core.v3.BindConfig.socket_options>`
	// in the BindConfig. If specified with no
	// :ref:`socket_options <envoy_v3_api_field_config.core.v3.SocketOptionsOverride.socket_options>`
	// or an empty list of :ref:`socket_options <envoy_v3_api_field_config.core.v3.SocketOptionsOverride.socket_options>`,
	// it means no socket option will apply.
	SocketOptions *SocketOptionsOverride `protobuf:"bytes,2,opt,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtraSourceAddress) Descriptor deprecated added in v0.11.0

func (*ExtraSourceAddress) Descriptor() ([]byte, []int)

Deprecated: Use ExtraSourceAddress.ProtoReflect.Descriptor instead.

func (*ExtraSourceAddress) GetAddress added in v0.11.0

func (x *ExtraSourceAddress) GetAddress() *SocketAddress

func (*ExtraSourceAddress) GetSocketOptions added in v0.11.0

func (x *ExtraSourceAddress) GetSocketOptions() *SocketOptionsOverride

func (*ExtraSourceAddress) ProtoMessage added in v0.11.0

func (*ExtraSourceAddress) ProtoMessage()

func (*ExtraSourceAddress) ProtoReflect added in v0.11.0

func (x *ExtraSourceAddress) ProtoReflect() protoreflect.Message

func (*ExtraSourceAddress) Reset added in v0.11.0

func (x *ExtraSourceAddress) Reset()

func (*ExtraSourceAddress) String added in v0.11.0

func (x *ExtraSourceAddress) String() string

func (*ExtraSourceAddress) Validate added in v0.11.0

func (m *ExtraSourceAddress) Validate() error

Validate checks the field values on ExtraSourceAddress with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ExtraSourceAddress) ValidateAll added in v0.11.0

func (m *ExtraSourceAddress) ValidateAll() error

ValidateAll checks the field values on ExtraSourceAddress with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExtraSourceAddressMultiError, or nil if none found.

type ExtraSourceAddressMultiError added in v0.11.0

type ExtraSourceAddressMultiError []error

ExtraSourceAddressMultiError is an error wrapping multiple validation errors returned by ExtraSourceAddress.ValidateAll() if the designated constraints aren't met.

func (ExtraSourceAddressMultiError) AllErrors added in v0.11.0

func (m ExtraSourceAddressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtraSourceAddressMultiError) Error added in v0.11.0

Error returns a concatenation of all the error messages it wraps.

type ExtraSourceAddressValidationError added in v0.11.0

type ExtraSourceAddressValidationError struct {
	// contains filtered or unexported fields
}

ExtraSourceAddressValidationError is the validation error returned by ExtraSourceAddress.Validate if the designated constraints aren't met.

func (ExtraSourceAddressValidationError) Cause added in v0.11.0

Cause function returns cause value.

func (ExtraSourceAddressValidationError) Error added in v0.11.0

Error satisfies the builtin error interface

func (ExtraSourceAddressValidationError) ErrorName added in v0.11.0

ErrorName returns error name.

func (ExtraSourceAddressValidationError) Field added in v0.11.0

Field function returns field value.

func (ExtraSourceAddressValidationError) Key added in v0.11.0

Key function returns key value.

func (ExtraSourceAddressValidationError) Reason added in v0.11.0

Reason function returns reason value.

type GrpcMethodList added in v0.9.5

type GrpcMethodList struct {
	Services []*GrpcMethodList_Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

A list of gRPC methods which can be used as an allowlist, for example.

func (*GrpcMethodList) Descriptor deprecated added in v0.9.5

func (*GrpcMethodList) Descriptor() ([]byte, []int)

Deprecated: Use GrpcMethodList.ProtoReflect.Descriptor instead.

func (*GrpcMethodList) GetServices added in v0.9.5

func (x *GrpcMethodList) GetServices() []*GrpcMethodList_Service

func (*GrpcMethodList) ProtoMessage added in v0.9.5

func (*GrpcMethodList) ProtoMessage()

func (*GrpcMethodList) ProtoReflect added in v0.9.6

func (x *GrpcMethodList) ProtoReflect() protoreflect.Message

func (*GrpcMethodList) Reset added in v0.9.5

func (x *GrpcMethodList) Reset()

func (*GrpcMethodList) String added in v0.9.5

func (x *GrpcMethodList) String() string

func (*GrpcMethodList) Validate added in v0.9.5

func (m *GrpcMethodList) Validate() error

Validate checks the field values on GrpcMethodList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcMethodList) ValidateAll added in v0.10.0

func (m *GrpcMethodList) ValidateAll() error

ValidateAll checks the field values on GrpcMethodList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcMethodListMultiError, or nil if none found.

type GrpcMethodListMultiError added in v0.10.0

type GrpcMethodListMultiError []error

GrpcMethodListMultiError is an error wrapping multiple validation errors returned by GrpcMethodList.ValidateAll() if the designated constraints aren't met.

func (GrpcMethodListMultiError) AllErrors added in v0.10.0

func (m GrpcMethodListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrpcMethodListMultiError) Error added in v0.10.0

func (m GrpcMethodListMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GrpcMethodListValidationError added in v0.9.5

type GrpcMethodListValidationError struct {
	// contains filtered or unexported fields
}

GrpcMethodListValidationError is the validation error returned by GrpcMethodList.Validate if the designated constraints aren't met.

func (GrpcMethodListValidationError) Cause added in v0.9.5

Cause function returns cause value.

func (GrpcMethodListValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (GrpcMethodListValidationError) ErrorName added in v0.9.5

func (e GrpcMethodListValidationError) ErrorName() string

ErrorName returns error name.

func (GrpcMethodListValidationError) Field added in v0.9.5

Field function returns field value.

func (GrpcMethodListValidationError) Key added in v0.9.5

Key function returns key value.

func (GrpcMethodListValidationError) Reason added in v0.9.5

Reason function returns reason value.

type GrpcMethodList_Service added in v0.9.5

type GrpcMethodList_Service struct {

	// The name of the gRPC service.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The names of the gRPC methods in this service.
	MethodNames []string `protobuf:"bytes,2,rep,name=method_names,json=methodNames,proto3" json:"method_names,omitempty"`
	// contains filtered or unexported fields
}

func (*GrpcMethodList_Service) Descriptor deprecated added in v0.9.5

func (*GrpcMethodList_Service) Descriptor() ([]byte, []int)

Deprecated: Use GrpcMethodList_Service.ProtoReflect.Descriptor instead.

func (*GrpcMethodList_Service) GetMethodNames added in v0.9.5

func (x *GrpcMethodList_Service) GetMethodNames() []string

func (*GrpcMethodList_Service) GetName added in v0.9.5

func (x *GrpcMethodList_Service) GetName() string

func (*GrpcMethodList_Service) ProtoMessage added in v0.9.5

func (*GrpcMethodList_Service) ProtoMessage()

func (*GrpcMethodList_Service) ProtoReflect added in v0.9.6

func (x *GrpcMethodList_Service) ProtoReflect() protoreflect.Message

func (*GrpcMethodList_Service) Reset added in v0.9.5

func (x *GrpcMethodList_Service) Reset()

func (*GrpcMethodList_Service) String added in v0.9.5

func (x *GrpcMethodList_Service) String() string

func (*GrpcMethodList_Service) Validate added in v0.9.5

func (m *GrpcMethodList_Service) Validate() error

Validate checks the field values on GrpcMethodList_Service with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcMethodList_Service) ValidateAll added in v0.10.0

func (m *GrpcMethodList_Service) ValidateAll() error

ValidateAll checks the field values on GrpcMethodList_Service with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcMethodList_ServiceMultiError, or nil if none found.

type GrpcMethodList_ServiceMultiError added in v0.10.0

type GrpcMethodList_ServiceMultiError []error

GrpcMethodList_ServiceMultiError is an error wrapping multiple validation errors returned by GrpcMethodList_Service.ValidateAll() if the designated constraints aren't met.

func (GrpcMethodList_ServiceMultiError) AllErrors added in v0.10.0

func (m GrpcMethodList_ServiceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrpcMethodList_ServiceMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcMethodList_ServiceValidationError added in v0.9.5

type GrpcMethodList_ServiceValidationError struct {
	// contains filtered or unexported fields
}

GrpcMethodList_ServiceValidationError is the validation error returned by GrpcMethodList_Service.Validate if the designated constraints aren't met.

func (GrpcMethodList_ServiceValidationError) Cause added in v0.9.5

Cause function returns cause value.

func (GrpcMethodList_ServiceValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (GrpcMethodList_ServiceValidationError) ErrorName added in v0.9.5

ErrorName returns error name.

func (GrpcMethodList_ServiceValidationError) Field added in v0.9.5

Field function returns field value.

func (GrpcMethodList_ServiceValidationError) Key added in v0.9.5

Key function returns key value.

func (GrpcMethodList_ServiceValidationError) Reason added in v0.9.5

Reason function returns reason value.

type GrpcProtocolOptions

type GrpcProtocolOptions struct {
	Http2ProtocolOptions *Http2ProtocolOptions `protobuf:"bytes,1,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"`
	// contains filtered or unexported fields
}

[#not-implemented-hide:]

func (*GrpcProtocolOptions) Descriptor deprecated

func (*GrpcProtocolOptions) Descriptor() ([]byte, []int)

Deprecated: Use GrpcProtocolOptions.ProtoReflect.Descriptor instead.

func (*GrpcProtocolOptions) GetHttp2ProtocolOptions

func (x *GrpcProtocolOptions) GetHttp2ProtocolOptions() *Http2ProtocolOptions

func (*GrpcProtocolOptions) ProtoMessage

func (*GrpcProtocolOptions) ProtoMessage()

func (*GrpcProtocolOptions) ProtoReflect added in v0.9.6

func (x *GrpcProtocolOptions) ProtoReflect() protoreflect.Message

func (*GrpcProtocolOptions) Reset

func (x *GrpcProtocolOptions) Reset()

func (*GrpcProtocolOptions) String

func (x *GrpcProtocolOptions) String() string

func (*GrpcProtocolOptions) Validate

func (m *GrpcProtocolOptions) Validate() error

Validate checks the field values on GrpcProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcProtocolOptions) ValidateAll added in v0.10.0

func (m *GrpcProtocolOptions) ValidateAll() error

ValidateAll checks the field values on GrpcProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcProtocolOptionsMultiError, or nil if none found.

type GrpcProtocolOptionsMultiError added in v0.10.0

type GrpcProtocolOptionsMultiError []error

GrpcProtocolOptionsMultiError is an error wrapping multiple validation errors returned by GrpcProtocolOptions.ValidateAll() if the designated constraints aren't met.

func (GrpcProtocolOptionsMultiError) AllErrors added in v0.10.0

func (m GrpcProtocolOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrpcProtocolOptionsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcProtocolOptionsValidationError

type GrpcProtocolOptionsValidationError struct {
	// contains filtered or unexported fields
}

GrpcProtocolOptionsValidationError is the validation error returned by GrpcProtocolOptions.Validate if the designated constraints aren't met.

func (GrpcProtocolOptionsValidationError) Cause

Cause function returns cause value.

func (GrpcProtocolOptionsValidationError) Error

Error satisfies the builtin error interface

func (GrpcProtocolOptionsValidationError) ErrorName

ErrorName returns error name.

func (GrpcProtocolOptionsValidationError) Field

Field function returns field value.

func (GrpcProtocolOptionsValidationError) Key

Key function returns key value.

func (GrpcProtocolOptionsValidationError) Reason

Reason function returns reason value.

type GrpcService

type GrpcService struct {

	// Types that are assignable to TargetSpecifier:
	//
	//	*GrpcService_EnvoyGrpc_
	//	*GrpcService_GoogleGrpc_
	TargetSpecifier isGrpcService_TargetSpecifier `protobuf_oneof:"target_specifier"`
	// The timeout for the gRPC request. This is the timeout for a specific
	// request.
	Timeout *duration.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Additional metadata to include in streams initiated to the GrpcService. This can be used for
	// scenarios in which additional ad hoc authorization headers (e.g. “x-foo-bar: baz-key“) are to
	// be injected. For more information, including details on header value syntax, see the
	// documentation on :ref:`custom request headers
	// <config_http_conn_man_headers_custom_request_headers>`.
	InitialMetadata []*HeaderValue `protobuf:"bytes,5,rep,name=initial_metadata,json=initialMetadata,proto3" json:"initial_metadata,omitempty"`
	// contains filtered or unexported fields
}

gRPC service configuration. This is used by :ref:`ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>` and filter configurations. [#next-free-field: 6]

func (*GrpcService) Descriptor deprecated

func (*GrpcService) Descriptor() ([]byte, []int)

Deprecated: Use GrpcService.ProtoReflect.Descriptor instead.

func (*GrpcService) GetEnvoyGrpc

func (x *GrpcService) GetEnvoyGrpc() *GrpcService_EnvoyGrpc

func (*GrpcService) GetGoogleGrpc

func (x *GrpcService) GetGoogleGrpc() *GrpcService_GoogleGrpc

func (*GrpcService) GetInitialMetadata

func (x *GrpcService) GetInitialMetadata() []*HeaderValue

func (*GrpcService) GetTargetSpecifier

func (m *GrpcService) GetTargetSpecifier() isGrpcService_TargetSpecifier

func (*GrpcService) GetTimeout

func (x *GrpcService) GetTimeout() *duration.Duration

func (*GrpcService) ProtoMessage

func (*GrpcService) ProtoMessage()

func (*GrpcService) ProtoReflect added in v0.9.6

func (x *GrpcService) ProtoReflect() protoreflect.Message

func (*GrpcService) Reset

func (x *GrpcService) Reset()

func (*GrpcService) String

func (x *GrpcService) String() string

func (*GrpcService) Validate

func (m *GrpcService) Validate() error

Validate checks the field values on GrpcService with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService) ValidateAll added in v0.10.0

func (m *GrpcService) ValidateAll() error

ValidateAll checks the field values on GrpcService with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcServiceMultiError, or nil if none found.

type GrpcServiceMultiError added in v0.10.0

type GrpcServiceMultiError []error

GrpcServiceMultiError is an error wrapping multiple validation errors returned by GrpcService.ValidateAll() if the designated constraints aren't met.

func (GrpcServiceMultiError) AllErrors added in v0.10.0

func (m GrpcServiceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrpcServiceMultiError) Error added in v0.10.0

func (m GrpcServiceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GrpcServiceValidationError

type GrpcServiceValidationError struct {
	// contains filtered or unexported fields
}

GrpcServiceValidationError is the validation error returned by GrpcService.Validate if the designated constraints aren't met.

func (GrpcServiceValidationError) Cause

Cause function returns cause value.

func (GrpcServiceValidationError) Error

Error satisfies the builtin error interface

func (GrpcServiceValidationError) ErrorName

func (e GrpcServiceValidationError) ErrorName() string

ErrorName returns error name.

func (GrpcServiceValidationError) Field

Field function returns field value.

func (GrpcServiceValidationError) Key

Key function returns key value.

func (GrpcServiceValidationError) Reason

Reason function returns reason value.

type GrpcService_EnvoyGrpc

type GrpcService_EnvoyGrpc struct {

	// The name of the upstream gRPC cluster. SSL credentials will be supplied
	// in the :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` :ref:`transport_socket
	// <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket>`.
	ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	// The “:authority“ header in the grpc request. If this field is not set, the authority header value will be “cluster_name“.
	// Note that this authority does not override the SNI. The SNI is provided by the transport socket of the cluster.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
	// Indicates the retry policy for re-establishing the gRPC stream
	// This field is optional. If max interval is not provided, it will be set to ten times the provided base interval.
	// Currently only supported for xDS gRPC streams.
	// If not set, xDS gRPC streams default base interval:500ms, maximum interval:30s will be applied.
	RetryPolicy *RetryPolicy `protobuf:"bytes,3,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
	// contains filtered or unexported fields
}

func (*GrpcService_EnvoyGrpc) Descriptor deprecated

func (*GrpcService_EnvoyGrpc) Descriptor() ([]byte, []int)

Deprecated: Use GrpcService_EnvoyGrpc.ProtoReflect.Descriptor instead.

func (*GrpcService_EnvoyGrpc) GetAuthority added in v0.9.7

func (x *GrpcService_EnvoyGrpc) GetAuthority() string

func (*GrpcService_EnvoyGrpc) GetClusterName

func (x *GrpcService_EnvoyGrpc) GetClusterName() string

func (*GrpcService_EnvoyGrpc) GetRetryPolicy added in v0.11.1

func (x *GrpcService_EnvoyGrpc) GetRetryPolicy() *RetryPolicy

func (*GrpcService_EnvoyGrpc) ProtoMessage

func (*GrpcService_EnvoyGrpc) ProtoMessage()

func (*GrpcService_EnvoyGrpc) ProtoReflect added in v0.9.6

func (x *GrpcService_EnvoyGrpc) ProtoReflect() protoreflect.Message

func (*GrpcService_EnvoyGrpc) Reset

func (x *GrpcService_EnvoyGrpc) Reset()

func (*GrpcService_EnvoyGrpc) String

func (x *GrpcService_EnvoyGrpc) String() string

func (*GrpcService_EnvoyGrpc) Validate

func (m *GrpcService_EnvoyGrpc) Validate() error

Validate checks the field values on GrpcService_EnvoyGrpc with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_EnvoyGrpc) ValidateAll added in v0.10.0

func (m *GrpcService_EnvoyGrpc) ValidateAll() error

ValidateAll checks the field values on GrpcService_EnvoyGrpc with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_EnvoyGrpcMultiError, or nil if none found.

type GrpcService_EnvoyGrpcMultiError added in v0.10.0

type GrpcService_EnvoyGrpcMultiError []error

GrpcService_EnvoyGrpcMultiError is an error wrapping multiple validation errors returned by GrpcService_EnvoyGrpc.ValidateAll() if the designated constraints aren't met.

func (GrpcService_EnvoyGrpcMultiError) AllErrors added in v0.10.0

func (m GrpcService_EnvoyGrpcMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrpcService_EnvoyGrpcMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_EnvoyGrpcValidationError

type GrpcService_EnvoyGrpcValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_EnvoyGrpcValidationError is the validation error returned by GrpcService_EnvoyGrpc.Validate if the designated constraints aren't met.

func (GrpcService_EnvoyGrpcValidationError) Cause

Cause function returns cause value.

func (GrpcService_EnvoyGrpcValidationError) Error

Error satisfies the builtin error interface

func (GrpcService_EnvoyGrpcValidationError) ErrorName

ErrorName returns error name.

func (GrpcService_EnvoyGrpcValidationError) Field

Field function returns field value.

func (GrpcService_EnvoyGrpcValidationError) Key

Key function returns key value.

func (GrpcService_EnvoyGrpcValidationError) Reason

Reason function returns reason value.

type GrpcService_EnvoyGrpc_

type GrpcService_EnvoyGrpc_ struct {
	// Envoy's in-built gRPC client.
	// See the :ref:`gRPC services overview <arch_overview_grpc_services>`
	// documentation for discussion on gRPC client selection.
	EnvoyGrpc *GrpcService_EnvoyGrpc `protobuf:"bytes,1,opt,name=envoy_grpc,json=envoyGrpc,proto3,oneof"`
}

type GrpcService_GoogleGrpc

type GrpcService_GoogleGrpc struct {

	// The target URI when using the `Google C++ gRPC client
	// <https://github.com/grpc/grpc>`_. SSL credentials will be supplied in
	// :ref:`channel_credentials <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.channel_credentials>`.
	TargetUri          string                                     `protobuf:"bytes,1,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"`
	ChannelCredentials *GrpcService_GoogleGrpc_ChannelCredentials `protobuf:"bytes,2,opt,name=channel_credentials,json=channelCredentials,proto3" json:"channel_credentials,omitempty"`
	// A set of call credentials that can be composed with `channel credentials
	// <https://grpc.io/docs/guides/auth.html#credential-types>`_.
	CallCredentials []*GrpcService_GoogleGrpc_CallCredentials `protobuf:"bytes,3,rep,name=call_credentials,json=callCredentials,proto3" json:"call_credentials,omitempty"`
	// The human readable prefix to use when emitting statistics for the gRPC
	// service.
	//
	// .. csv-table::
	//
	//	:header: Name, Type, Description
	//	:widths: 1, 1, 2
	//
	//	streams_total, Counter, Total number of streams opened
	//	streams_closed_<gRPC status code>, Counter, Total streams closed with <gRPC status code>
	StatPrefix string `protobuf:"bytes,4,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// The name of the Google gRPC credentials factory to use. This must have been registered with
	// Envoy. If this is empty, a default credentials factory will be used that sets up channel
	// credentials based on other configuration parameters.
	CredentialsFactoryName string `` /* 129-byte string literal not displayed */
	// Additional configuration for site-specific customizations of the Google
	// gRPC library.
	Config *_struct.Struct `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"`
	// How many bytes each stream can buffer internally.
	// If not set an implementation defined default is applied (1MiB).
	PerStreamBufferLimitBytes *wrappers.UInt32Value `` /* 142-byte string literal not displayed */
	// Custom channels args.
	ChannelArgs *GrpcService_GoogleGrpc_ChannelArgs `protobuf:"bytes,8,opt,name=channel_args,json=channelArgs,proto3" json:"channel_args,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 9]

func (*GrpcService_GoogleGrpc) Descriptor deprecated

func (*GrpcService_GoogleGrpc) Descriptor() ([]byte, []int)

Deprecated: Use GrpcService_GoogleGrpc.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc) GetCallCredentials

func (*GrpcService_GoogleGrpc) GetChannelArgs added in v0.9.6

func (*GrpcService_GoogleGrpc) GetChannelCredentials

func (*GrpcService_GoogleGrpc) GetConfig

func (x *GrpcService_GoogleGrpc) GetConfig() *_struct.Struct

func (*GrpcService_GoogleGrpc) GetCredentialsFactoryName

func (x *GrpcService_GoogleGrpc) GetCredentialsFactoryName() string

func (*GrpcService_GoogleGrpc) GetPerStreamBufferLimitBytes added in v0.9.6

func (x *GrpcService_GoogleGrpc) GetPerStreamBufferLimitBytes() *wrappers.UInt32Value

func (*GrpcService_GoogleGrpc) GetStatPrefix

func (x *GrpcService_GoogleGrpc) GetStatPrefix() string

func (*GrpcService_GoogleGrpc) GetTargetUri

func (x *GrpcService_GoogleGrpc) GetTargetUri() string

func (*GrpcService_GoogleGrpc) ProtoMessage

func (*GrpcService_GoogleGrpc) ProtoMessage()

func (*GrpcService_GoogleGrpc) ProtoReflect added in v0.9.6

func (x *GrpcService_GoogleGrpc) ProtoReflect() protoreflect.Message

func (*GrpcService_GoogleGrpc) Reset

func (x *GrpcService_GoogleGrpc) Reset()

func (*GrpcService_GoogleGrpc) String

func (x *GrpcService_GoogleGrpc) String() string

func (*GrpcService_GoogleGrpc) Validate

func (m *GrpcService_GoogleGrpc) Validate() error

Validate checks the field values on GrpcService_GoogleGrpc with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_GoogleGrpc) ValidateAll added in v0.10.0

func (m *GrpcService_GoogleGrpc) ValidateAll() error

ValidateAll checks the field values on GrpcService_GoogleGrpc with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_GoogleGrpcMultiError, or nil if none found.

type GrpcService_GoogleGrpcMultiError added in v0.10.0

type GrpcService_GoogleGrpcMultiError []error

GrpcService_GoogleGrpcMultiError is an error wrapping multiple validation errors returned by GrpcService_GoogleGrpc.ValidateAll() if the designated constraints aren't met.

func (GrpcService_GoogleGrpcMultiError) AllErrors added in v0.10.0

func (m GrpcService_GoogleGrpcMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrpcService_GoogleGrpcMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_GoogleGrpcValidationError

type GrpcService_GoogleGrpcValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_GoogleGrpcValidationError is the validation error returned by GrpcService_GoogleGrpc.Validate if the designated constraints aren't met.

func (GrpcService_GoogleGrpcValidationError) Cause

Cause function returns cause value.

func (GrpcService_GoogleGrpcValidationError) Error

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpcValidationError) ErrorName

ErrorName returns error name.

func (GrpcService_GoogleGrpcValidationError) Field

Field function returns field value.

func (GrpcService_GoogleGrpcValidationError) Key

Key function returns key value.

func (GrpcService_GoogleGrpcValidationError) Reason

Reason function returns reason value.

type GrpcService_GoogleGrpc_

type GrpcService_GoogleGrpc_ struct {
	// `Google C++ gRPC client <https://github.com/grpc/grpc>`_
	// See the :ref:`gRPC services overview <arch_overview_grpc_services>`
	// documentation for discussion on gRPC client selection.
	GoogleGrpc *GrpcService_GoogleGrpc `protobuf:"bytes,2,opt,name=google_grpc,json=googleGrpc,proto3,oneof"`
}

type GrpcService_GoogleGrpc_CallCredentials

type GrpcService_GoogleGrpc_CallCredentials struct {

	// Types that are assignable to CredentialSpecifier:
	//
	//	*GrpcService_GoogleGrpc_CallCredentials_AccessToken
	//	*GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine
	//	*GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken
	//	*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess
	//	*GrpcService_GoogleGrpc_CallCredentials_GoogleIam
	//	*GrpcService_GoogleGrpc_CallCredentials_FromPlugin
	//	*GrpcService_GoogleGrpc_CallCredentials_StsService_
	CredentialSpecifier isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier `protobuf_oneof:"credential_specifier"`
	// contains filtered or unexported fields
}

[#next-free-field: 8]

func (*GrpcService_GoogleGrpc_CallCredentials) Descriptor deprecated

func (*GrpcService_GoogleGrpc_CallCredentials) Descriptor() ([]byte, []int)

Deprecated: Use GrpcService_GoogleGrpc_CallCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_CallCredentials) GetAccessToken

func (x *GrpcService_GoogleGrpc_CallCredentials) GetAccessToken() string

func (*GrpcService_GoogleGrpc_CallCredentials) GetCredentialSpecifier

func (m *GrpcService_GoogleGrpc_CallCredentials) GetCredentialSpecifier() isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier

func (*GrpcService_GoogleGrpc_CallCredentials) GetGoogleComputeEngine

func (x *GrpcService_GoogleGrpc_CallCredentials) GetGoogleComputeEngine() *emptypb.Empty

func (*GrpcService_GoogleGrpc_CallCredentials) GetGoogleIam

func (*GrpcService_GoogleGrpc_CallCredentials) GetGoogleRefreshToken

func (x *GrpcService_GoogleGrpc_CallCredentials) GetGoogleRefreshToken() string

func (*GrpcService_GoogleGrpc_CallCredentials) GetStsService

func (*GrpcService_GoogleGrpc_CallCredentials) ProtoMessage

func (*GrpcService_GoogleGrpc_CallCredentials) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_CallCredentials) Reset

func (*GrpcService_GoogleGrpc_CallCredentials) String

func (*GrpcService_GoogleGrpc_CallCredentials) Validate

Validate checks the field values on GrpcService_GoogleGrpc_CallCredentials with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_GoogleGrpc_CallCredentials) ValidateAll added in v0.10.0

ValidateAll checks the field values on GrpcService_GoogleGrpc_CallCredentials with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_GoogleGrpc_CallCredentialsMultiError, or nil if none found.

type GrpcService_GoogleGrpc_CallCredentialsMultiError added in v0.10.0

type GrpcService_GoogleGrpc_CallCredentialsMultiError []error

GrpcService_GoogleGrpc_CallCredentialsMultiError is an error wrapping multiple validation errors returned by GrpcService_GoogleGrpc_CallCredentials.ValidateAll() if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_CallCredentialsMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (GrpcService_GoogleGrpc_CallCredentialsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_GoogleGrpc_CallCredentialsValidationError

type GrpcService_GoogleGrpc_CallCredentialsValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_GoogleGrpc_CallCredentialsValidationError is the validation error returned by GrpcService_GoogleGrpc_CallCredentials.Validate if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_CallCredentialsValidationError) Cause

Cause function returns cause value.

func (GrpcService_GoogleGrpc_CallCredentialsValidationError) Error

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_CallCredentialsValidationError) ErrorName

ErrorName returns error name.

func (GrpcService_GoogleGrpc_CallCredentialsValidationError) Field

Field function returns field value.

func (GrpcService_GoogleGrpc_CallCredentialsValidationError) Key

Key function returns key value.

func (GrpcService_GoogleGrpc_CallCredentialsValidationError) Reason

Reason function returns reason value.

type GrpcService_GoogleGrpc_CallCredentials_AccessToken

type GrpcService_GoogleGrpc_CallCredentials_AccessToken struct {
	// Access token credentials.
	// https://grpc.io/grpc/cpp/namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d.
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3,oneof"`
}

type GrpcService_GoogleGrpc_CallCredentials_FromPlugin

type GrpcService_GoogleGrpc_CallCredentials_FromPlugin struct {
	// Custom authenticator credentials.
	// https://grpc.io/grpc/cpp/namespacegrpc.html#a823c6a4b19ffc71fb33e90154ee2ad07.
	// https://grpc.io/docs/guides/auth.html#extending-grpc-to-support-other-authentication-mechanisms.
	FromPlugin *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin `protobuf:"bytes,6,opt,name=from_plugin,json=fromPlugin,proto3,oneof"`
}

type GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine

type GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine struct {
	// Google Compute Engine credentials.
	// https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61
	GoogleComputeEngine *emptypb.Empty `protobuf:"bytes,2,opt,name=google_compute_engine,json=googleComputeEngine,proto3,oneof"`
}

type GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials

type GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials struct {
	AuthorizationToken string `protobuf:"bytes,1,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"`
	AuthoritySelector  string `protobuf:"bytes,2,opt,name=authority_selector,json=authoritySelector,proto3" json:"authority_selector,omitempty"`
	// contains filtered or unexported fields
}

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Descriptor deprecated

Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) GetAuthoritySelector

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) GetAuthorizationToken

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) ProtoMessage

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Reset

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) String

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Validate

Validate checks the field values on GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) ValidateAll added in v0.10.0

ValidateAll checks the field values on GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError, or nil if none found.

type GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError added in v0.10.0

type GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError []error

GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError is an error wrapping multiple validation errors returned by GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.ValidateAll() if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError

type GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError is the validation error returned by GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.Validate if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) Cause

Cause function returns cause value.

func (GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) Error

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) ErrorName

ErrorName returns error name.

func (GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) Field

Field function returns field value.

func (GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) Key

Key function returns key value.

func (GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) Reason

Reason function returns reason value.

type GrpcService_GoogleGrpc_CallCredentials_GoogleIam

type GrpcService_GoogleGrpc_CallCredentials_GoogleIam struct {
	// Google IAM credentials.
	// https://grpc.io/grpc/cpp/namespacegrpc.html#a9fc1fc101b41e680d47028166e76f9d0.
	GoogleIam *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials `protobuf:"bytes,5,opt,name=google_iam,json=googleIam,proto3,oneof"`
}

type GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken

type GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken struct {
	// Google refresh token credentials.
	// https://grpc.io/grpc/cpp/namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c.
	GoogleRefreshToken string `protobuf:"bytes,3,opt,name=google_refresh_token,json=googleRefreshToken,proto3,oneof"`
}

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// [#extension-category: envoy.grpc_credentials]
	//
	// Types that are assignable to ConfigType:
	//
	//	*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig
	ConfigType isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Descriptor deprecated

Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetConfigType

func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetConfigType() isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetName

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetTypedConfig

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) ProtoMessage

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Reset

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) String

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Validate

Validate checks the field values on GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) ValidateAll added in v0.10.0

ValidateAll checks the field values on GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError, or nil if none found.

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError added in v0.10.0

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError []error

GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError is an error wrapping multiple validation errors returned by GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.ValidateAll() if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError is the validation error returned by GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.Validate if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) Cause

Cause function returns cause value.

func (GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) Error

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) ErrorName

ErrorName returns error name.

func (GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) Field

Field function returns field value.

func (GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) Key

Key function returns key value.

func (GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) Reason

Reason function returns reason value.

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig struct {
	TypedConfig *any1.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials

type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials struct {
	JsonKey              string `protobuf:"bytes,1,opt,name=json_key,json=jsonKey,proto3" json:"json_key,omitempty"`
	TokenLifetimeSeconds uint64 `protobuf:"varint,2,opt,name=token_lifetime_seconds,json=tokenLifetimeSeconds,proto3" json:"token_lifetime_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Descriptor deprecated

Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) GetJsonKey

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) GetTokenLifetimeSeconds

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) ProtoMessage

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Reset

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) String

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Validate

Validate checks the field values on GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) ValidateAll added in v0.10.0

ValidateAll checks the field values on GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError, or nil if none found.

type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError added in v0.10.0

type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError []error

GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError is an error wrapping multiple validation errors returned by GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.ValidateAll() if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError

type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError is the validation error returned by GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.Validate if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) Cause

Cause function returns cause value.

func (GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) Error

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) ErrorName

ErrorName returns error name.

func (GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) Field

Field function returns field value.

func (GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) Key

Key function returns key value.

func (GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) Reason

Reason function returns reason value.

type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess

type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess struct {
	// Service Account JWT Access credentials.
	// https://grpc.io/grpc/cpp/namespacegrpc.html#a92a9f959d6102461f66ee973d8e9d3aa.
	ServiceAccountJwtAccess *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials `protobuf:"bytes,4,opt,name=service_account_jwt_access,json=serviceAccountJwtAccess,proto3,oneof"`
}

type GrpcService_GoogleGrpc_CallCredentials_StsService

type GrpcService_GoogleGrpc_CallCredentials_StsService struct {

	// URI of the token exchange service that handles token exchange requests.
	// [#comment:TODO(asraa): Add URI validation when implemented. Tracked by
	// https://github.com/bufbuild/protoc-gen-validate/issues/303]
	TokenExchangeServiceUri string `` /* 134-byte string literal not displayed */
	// Location of the target service or resource where the client
	// intends to use the requested security token.
	Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// Logical name of the target service where the client intends to
	// use the requested security token.
	Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"`
	// The desired scope of the requested security token in the
	// context of the service or resource where the token will be used.
	Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	// Type of the requested security token.
	RequestedTokenType string `protobuf:"bytes,5,opt,name=requested_token_type,json=requestedTokenType,proto3" json:"requested_token_type,omitempty"`
	// The path of subject token, a security token that represents the
	// identity of the party on behalf of whom the request is being made.
	SubjectTokenPath string `protobuf:"bytes,6,opt,name=subject_token_path,json=subjectTokenPath,proto3" json:"subject_token_path,omitempty"`
	// Type of the subject token.
	SubjectTokenType string `protobuf:"bytes,7,opt,name=subject_token_type,json=subjectTokenType,proto3" json:"subject_token_type,omitempty"`
	// The path of actor token, a security token that represents the identity
	// of the acting party. The acting party is authorized to use the
	// requested security token and act on behalf of the subject.
	ActorTokenPath string `protobuf:"bytes,8,opt,name=actor_token_path,json=actorTokenPath,proto3" json:"actor_token_path,omitempty"`
	// Type of the actor token.
	ActorTokenType string `protobuf:"bytes,9,opt,name=actor_token_type,json=actorTokenType,proto3" json:"actor_token_type,omitempty"`
	// contains filtered or unexported fields
}

Security token service configuration that allows Google gRPC to fetch security token from an OAuth 2.0 authorization server. See https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 and https://github.com/grpc/grpc/pull/19587. [#next-free-field: 10]

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) Descriptor deprecated

Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_StsService.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetActorTokenPath

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetActorTokenType

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetAudience

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetRequestedTokenType

func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetRequestedTokenType() string

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetResource

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetScope

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetSubjectTokenPath

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetSubjectTokenType

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetTokenExchangeServiceUri

func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetTokenExchangeServiceUri() string

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) ProtoMessage

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) Reset

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) String

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) Validate

Validate checks the field values on GrpcService_GoogleGrpc_CallCredentials_StsService with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) ValidateAll added in v0.10.0

ValidateAll checks the field values on GrpcService_GoogleGrpc_CallCredentials_StsService with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError, or nil if none found.

type GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError added in v0.10.0

type GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError []error

GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError is an error wrapping multiple validation errors returned by GrpcService_GoogleGrpc_CallCredentials_StsService.ValidateAll() if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError

type GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError is the validation error returned by GrpcService_GoogleGrpc_CallCredentials_StsService.Validate if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Cause

Cause function returns cause value.

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Error

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) ErrorName

ErrorName returns error name.

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Field

Field function returns field value.

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Key

Key function returns key value.

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Reason

Reason function returns reason value.

type GrpcService_GoogleGrpc_CallCredentials_StsService_

type GrpcService_GoogleGrpc_CallCredentials_StsService_ struct {
	// Custom security token service which implements OAuth 2.0 token exchange.
	// https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16
	// See https://github.com/grpc/grpc/pull/19587.
	StsService *GrpcService_GoogleGrpc_CallCredentials_StsService `protobuf:"bytes,7,opt,name=sts_service,json=stsService,proto3,oneof"`
}

type GrpcService_GoogleGrpc_ChannelArgs added in v0.9.6

type GrpcService_GoogleGrpc_ChannelArgs struct {

	// See grpc_types.h GRPC_ARG #defines for keys that work here.
	Args map[string]*GrpcService_GoogleGrpc_ChannelArgs_Value `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Channel arguments.

func (*GrpcService_GoogleGrpc_ChannelArgs) Descriptor deprecated added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs) Descriptor() ([]byte, []int)

Deprecated: Use GrpcService_GoogleGrpc_ChannelArgs.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_ChannelArgs) GetArgs added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs) ProtoMessage added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs) ProtoMessage()

func (*GrpcService_GoogleGrpc_ChannelArgs) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs) Reset added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs) String added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs) Validate added in v0.9.6

Validate checks the field values on GrpcService_GoogleGrpc_ChannelArgs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_GoogleGrpc_ChannelArgs) ValidateAll added in v0.10.0

func (m *GrpcService_GoogleGrpc_ChannelArgs) ValidateAll() error

ValidateAll checks the field values on GrpcService_GoogleGrpc_ChannelArgs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_GoogleGrpc_ChannelArgsMultiError, or nil if none found.

type GrpcService_GoogleGrpc_ChannelArgsMultiError added in v0.10.0

type GrpcService_GoogleGrpc_ChannelArgsMultiError []error

GrpcService_GoogleGrpc_ChannelArgsMultiError is an error wrapping multiple validation errors returned by GrpcService_GoogleGrpc_ChannelArgs.ValidateAll() if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_ChannelArgsMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (GrpcService_GoogleGrpc_ChannelArgsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_GoogleGrpc_ChannelArgsValidationError added in v0.9.6

type GrpcService_GoogleGrpc_ChannelArgsValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_GoogleGrpc_ChannelArgsValidationError is the validation error returned by GrpcService_GoogleGrpc_ChannelArgs.Validate if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_ChannelArgsValidationError) Cause added in v0.9.6

Cause function returns cause value.

func (GrpcService_GoogleGrpc_ChannelArgsValidationError) Error added in v0.9.6

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_ChannelArgsValidationError) ErrorName added in v0.9.6

ErrorName returns error name.

func (GrpcService_GoogleGrpc_ChannelArgsValidationError) Field added in v0.9.6

Field function returns field value.

func (GrpcService_GoogleGrpc_ChannelArgsValidationError) Key added in v0.9.6

Key function returns key value.

func (GrpcService_GoogleGrpc_ChannelArgsValidationError) Reason added in v0.9.6

Reason function returns reason value.

type GrpcService_GoogleGrpc_ChannelArgs_Value added in v0.9.6

type GrpcService_GoogleGrpc_ChannelArgs_Value struct {

	// Pointer values are not supported, since they don't make any sense when
	// delivered via the API.
	//
	// Types that are assignable to ValueSpecifier:
	//
	//	*GrpcService_GoogleGrpc_ChannelArgs_Value_StringValue
	//	*GrpcService_GoogleGrpc_ChannelArgs_Value_IntValue
	ValueSpecifier isGrpcService_GoogleGrpc_ChannelArgs_Value_ValueSpecifier `protobuf_oneof:"value_specifier"`
	// contains filtered or unexported fields
}

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) Descriptor deprecated added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) Descriptor() ([]byte, []int)

Deprecated: Use GrpcService_GoogleGrpc_ChannelArgs_Value.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) GetIntValue added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) GetStringValue added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) GetValueSpecifier added in v0.9.6

func (m *GrpcService_GoogleGrpc_ChannelArgs_Value) GetValueSpecifier() isGrpcService_GoogleGrpc_ChannelArgs_Value_ValueSpecifier

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) ProtoMessage added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) Reset added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) String added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) Validate added in v0.9.6

Validate checks the field values on GrpcService_GoogleGrpc_ChannelArgs_Value with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) ValidateAll added in v0.10.0

ValidateAll checks the field values on GrpcService_GoogleGrpc_ChannelArgs_Value with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_GoogleGrpc_ChannelArgs_ValueMultiError, or nil if none found.

type GrpcService_GoogleGrpc_ChannelArgs_ValueMultiError added in v0.10.0

type GrpcService_GoogleGrpc_ChannelArgs_ValueMultiError []error

GrpcService_GoogleGrpc_ChannelArgs_ValueMultiError is an error wrapping multiple validation errors returned by GrpcService_GoogleGrpc_ChannelArgs_Value.ValidateAll() if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_ChannelArgs_ValueMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (GrpcService_GoogleGrpc_ChannelArgs_ValueMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_GoogleGrpc_ChannelArgs_ValueValidationError added in v0.9.6

type GrpcService_GoogleGrpc_ChannelArgs_ValueValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_GoogleGrpc_ChannelArgs_ValueValidationError is the validation error returned by GrpcService_GoogleGrpc_ChannelArgs_Value.Validate if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_ChannelArgs_ValueValidationError) Cause added in v0.9.6

Cause function returns cause value.

func (GrpcService_GoogleGrpc_ChannelArgs_ValueValidationError) Error added in v0.9.6

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_ChannelArgs_ValueValidationError) ErrorName added in v0.9.6

ErrorName returns error name.

func (GrpcService_GoogleGrpc_ChannelArgs_ValueValidationError) Field added in v0.9.6

Field function returns field value.

func (GrpcService_GoogleGrpc_ChannelArgs_ValueValidationError) Key added in v0.9.6

Key function returns key value.

func (GrpcService_GoogleGrpc_ChannelArgs_ValueValidationError) Reason added in v0.9.6

Reason function returns reason value.

type GrpcService_GoogleGrpc_ChannelArgs_Value_IntValue added in v0.9.6

type GrpcService_GoogleGrpc_ChannelArgs_Value_IntValue struct {
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}

type GrpcService_GoogleGrpc_ChannelArgs_Value_StringValue added in v0.9.6

type GrpcService_GoogleGrpc_ChannelArgs_Value_StringValue struct {
	StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type GrpcService_GoogleGrpc_ChannelCredentials

type GrpcService_GoogleGrpc_ChannelCredentials struct {

	// Types that are assignable to CredentialSpecifier:
	//
	//	*GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials
	//	*GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault
	//	*GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials
	CredentialSpecifier isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier `protobuf_oneof:"credential_specifier"`
	// contains filtered or unexported fields
}

See https://grpc.io/docs/guides/auth.html#credential-types to understand Channel and Call credential types.

func (*GrpcService_GoogleGrpc_ChannelCredentials) Descriptor deprecated

func (*GrpcService_GoogleGrpc_ChannelCredentials) Descriptor() ([]byte, []int)

Deprecated: Use GrpcService_GoogleGrpc_ChannelCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_ChannelCredentials) GetCredentialSpecifier

func (m *GrpcService_GoogleGrpc_ChannelCredentials) GetCredentialSpecifier() isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier

func (*GrpcService_GoogleGrpc_ChannelCredentials) GetGoogleDefault

func (*GrpcService_GoogleGrpc_ChannelCredentials) GetLocalCredentials

func (*GrpcService_GoogleGrpc_ChannelCredentials) GetSslCredentials

func (*GrpcService_GoogleGrpc_ChannelCredentials) ProtoMessage

func (*GrpcService_GoogleGrpc_ChannelCredentials) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_ChannelCredentials) Reset

func (*GrpcService_GoogleGrpc_ChannelCredentials) String

func (*GrpcService_GoogleGrpc_ChannelCredentials) Validate

Validate checks the field values on GrpcService_GoogleGrpc_ChannelCredentials with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_GoogleGrpc_ChannelCredentials) ValidateAll added in v0.10.0

ValidateAll checks the field values on GrpcService_GoogleGrpc_ChannelCredentials with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_GoogleGrpc_ChannelCredentialsMultiError, or nil if none found.

type GrpcService_GoogleGrpc_ChannelCredentialsMultiError added in v0.10.0

type GrpcService_GoogleGrpc_ChannelCredentialsMultiError []error

GrpcService_GoogleGrpc_ChannelCredentialsMultiError is an error wrapping multiple validation errors returned by GrpcService_GoogleGrpc_ChannelCredentials.ValidateAll() if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_ChannelCredentialsMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (GrpcService_GoogleGrpc_ChannelCredentialsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_GoogleGrpc_ChannelCredentialsValidationError

type GrpcService_GoogleGrpc_ChannelCredentialsValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_GoogleGrpc_ChannelCredentialsValidationError is the validation error returned by GrpcService_GoogleGrpc_ChannelCredentials.Validate if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_ChannelCredentialsValidationError) Cause

Cause function returns cause value.

func (GrpcService_GoogleGrpc_ChannelCredentialsValidationError) Error

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_ChannelCredentialsValidationError) ErrorName

ErrorName returns error name.

func (GrpcService_GoogleGrpc_ChannelCredentialsValidationError) Field

Field function returns field value.

func (GrpcService_GoogleGrpc_ChannelCredentialsValidationError) Key

Key function returns key value.

func (GrpcService_GoogleGrpc_ChannelCredentialsValidationError) Reason

Reason function returns reason value.

type GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault

type GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault struct {
	// https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61
	GoogleDefault *emptypb.Empty `protobuf:"bytes,2,opt,name=google_default,json=googleDefault,proto3,oneof"`
}

type GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials

type GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials struct {
	LocalCredentials *GrpcService_GoogleGrpc_GoogleLocalCredentials `protobuf:"bytes,3,opt,name=local_credentials,json=localCredentials,proto3,oneof"`
}

type GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials

type GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials struct {
	SslCredentials *GrpcService_GoogleGrpc_SslCredentials `protobuf:"bytes,1,opt,name=ssl_credentials,json=sslCredentials,proto3,oneof"`
}

type GrpcService_GoogleGrpc_GoogleLocalCredentials

type GrpcService_GoogleGrpc_GoogleLocalCredentials struct {
	// contains filtered or unexported fields
}

Local channel credentials. Only UDS is supported for now. See https://github.com/grpc/grpc/pull/15909.

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) Descriptor deprecated

Deprecated: Use GrpcService_GoogleGrpc_GoogleLocalCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) ProtoMessage

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) Reset

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) String

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) Validate

Validate checks the field values on GrpcService_GoogleGrpc_GoogleLocalCredentials with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) ValidateAll added in v0.10.0

ValidateAll checks the field values on GrpcService_GoogleGrpc_GoogleLocalCredentials with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError, or nil if none found.

type GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError added in v0.10.0

type GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError []error

GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError is an error wrapping multiple validation errors returned by GrpcService_GoogleGrpc_GoogleLocalCredentials.ValidateAll() if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError

type GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError is the validation error returned by GrpcService_GoogleGrpc_GoogleLocalCredentials.Validate if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Cause

Cause function returns cause value.

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Error

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) ErrorName

ErrorName returns error name.

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Field

Field function returns field value.

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Key

Key function returns key value.

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Reason

Reason function returns reason value.

type GrpcService_GoogleGrpc_SslCredentials

type GrpcService_GoogleGrpc_SslCredentials struct {

	// PEM encoded server root certificates.
	RootCerts *DataSource `protobuf:"bytes,1,opt,name=root_certs,json=rootCerts,proto3" json:"root_certs,omitempty"`
	// PEM encoded client private key.
	PrivateKey *DataSource `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// PEM encoded client certificate chain.
	CertChain *DataSource `protobuf:"bytes,3,opt,name=cert_chain,json=certChain,proto3" json:"cert_chain,omitempty"`
	// contains filtered or unexported fields
}

See https://grpc.io/grpc/cpp/structgrpc_1_1_ssl_credentials_options.html.

func (*GrpcService_GoogleGrpc_SslCredentials) Descriptor deprecated

func (*GrpcService_GoogleGrpc_SslCredentials) Descriptor() ([]byte, []int)

Deprecated: Use GrpcService_GoogleGrpc_SslCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_SslCredentials) GetCertChain

func (*GrpcService_GoogleGrpc_SslCredentials) GetPrivateKey

func (*GrpcService_GoogleGrpc_SslCredentials) GetRootCerts

func (*GrpcService_GoogleGrpc_SslCredentials) ProtoMessage

func (*GrpcService_GoogleGrpc_SslCredentials) ProtoMessage()

func (*GrpcService_GoogleGrpc_SslCredentials) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_SslCredentials) Reset

func (*GrpcService_GoogleGrpc_SslCredentials) String

func (*GrpcService_GoogleGrpc_SslCredentials) Validate

Validate checks the field values on GrpcService_GoogleGrpc_SslCredentials with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrpcService_GoogleGrpc_SslCredentials) ValidateAll added in v0.10.0

ValidateAll checks the field values on GrpcService_GoogleGrpc_SslCredentials with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcService_GoogleGrpc_SslCredentialsMultiError, or nil if none found.

type GrpcService_GoogleGrpc_SslCredentialsMultiError added in v0.10.0

type GrpcService_GoogleGrpc_SslCredentialsMultiError []error

GrpcService_GoogleGrpc_SslCredentialsMultiError is an error wrapping multiple validation errors returned by GrpcService_GoogleGrpc_SslCredentials.ValidateAll() if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_SslCredentialsMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (GrpcService_GoogleGrpc_SslCredentialsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type GrpcService_GoogleGrpc_SslCredentialsValidationError

type GrpcService_GoogleGrpc_SslCredentialsValidationError struct {
	// contains filtered or unexported fields
}

GrpcService_GoogleGrpc_SslCredentialsValidationError is the validation error returned by GrpcService_GoogleGrpc_SslCredentials.Validate if the designated constraints aren't met.

func (GrpcService_GoogleGrpc_SslCredentialsValidationError) Cause

Cause function returns cause value.

func (GrpcService_GoogleGrpc_SslCredentialsValidationError) Error

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_SslCredentialsValidationError) ErrorName

ErrorName returns error name.

func (GrpcService_GoogleGrpc_SslCredentialsValidationError) Field

Field function returns field value.

func (GrpcService_GoogleGrpc_SslCredentialsValidationError) Key

Key function returns key value.

func (GrpcService_GoogleGrpc_SslCredentialsValidationError) Reason

Reason function returns reason value.

type HeaderMap

type HeaderMap struct {
	Headers []*HeaderValue `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for a set of headers.

func (*HeaderMap) Descriptor deprecated

func (*HeaderMap) Descriptor() ([]byte, []int)

Deprecated: Use HeaderMap.ProtoReflect.Descriptor instead.

func (*HeaderMap) GetHeaders

func (x *HeaderMap) GetHeaders() []*HeaderValue

func (*HeaderMap) ProtoMessage

func (*HeaderMap) ProtoMessage()

func (*HeaderMap) ProtoReflect added in v0.9.6

func (x *HeaderMap) ProtoReflect() protoreflect.Message

func (*HeaderMap) Reset

func (x *HeaderMap) Reset()

func (*HeaderMap) String

func (x *HeaderMap) String() string

func (*HeaderMap) Validate

func (m *HeaderMap) Validate() error

Validate checks the field values on HeaderMap with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HeaderMap) ValidateAll added in v0.10.0

func (m *HeaderMap) ValidateAll() error

ValidateAll checks the field values on HeaderMap with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeaderMapMultiError, or nil if none found.

type HeaderMapMultiError added in v0.10.0

type HeaderMapMultiError []error

HeaderMapMultiError is an error wrapping multiple validation errors returned by HeaderMap.ValidateAll() if the designated constraints aren't met.

func (HeaderMapMultiError) AllErrors added in v0.10.0

func (m HeaderMapMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HeaderMapMultiError) Error added in v0.10.0

func (m HeaderMapMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HeaderMapValidationError

type HeaderMapValidationError struct {
	// contains filtered or unexported fields
}

HeaderMapValidationError is the validation error returned by HeaderMap.Validate if the designated constraints aren't met.

func (HeaderMapValidationError) Cause

func (e HeaderMapValidationError) Cause() error

Cause function returns cause value.

func (HeaderMapValidationError) Error

func (e HeaderMapValidationError) Error() string

Error satisfies the builtin error interface

func (HeaderMapValidationError) ErrorName

func (e HeaderMapValidationError) ErrorName() string

ErrorName returns error name.

func (HeaderMapValidationError) Field

func (e HeaderMapValidationError) Field() string

Field function returns field value.

func (HeaderMapValidationError) Key

Key function returns key value.

func (HeaderMapValidationError) Reason

func (e HeaderMapValidationError) Reason() string

Reason function returns reason value.

type HeaderValue

type HeaderValue struct {

	// Header name.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Header value.
	//
	// The same :ref:`format specifier <config_access_log_format>` as used for
	// :ref:`HTTP access logging <config_access_log>` applies here, however
	// unknown header values are replaced with the empty string instead of “-“.
	// Header value is encoded as string. This does not work for non-utf8 characters.
	// Only one of “value“ or “raw_value“ can be set.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// Header value is encoded as bytes which can support non-utf8 characters.
	// Only one of “value“ or “raw_value“ can be set.
	RawValue []byte `protobuf:"bytes,3,opt,name=raw_value,json=rawValue,proto3" json:"raw_value,omitempty"`
	// contains filtered or unexported fields
}

Header name/value pair.

func (*HeaderValue) Descriptor deprecated

func (*HeaderValue) Descriptor() ([]byte, []int)

Deprecated: Use HeaderValue.ProtoReflect.Descriptor instead.

func (*HeaderValue) GetKey

func (x *HeaderValue) GetKey() string

func (*HeaderValue) GetRawValue added in v0.12.0

func (x *HeaderValue) GetRawValue() []byte

func (*HeaderValue) GetValue

func (x *HeaderValue) GetValue() string

func (*HeaderValue) ProtoMessage

func (*HeaderValue) ProtoMessage()

func (*HeaderValue) ProtoReflect added in v0.9.6

func (x *HeaderValue) ProtoReflect() protoreflect.Message

func (*HeaderValue) Reset

func (x *HeaderValue) Reset()

func (*HeaderValue) String

func (x *HeaderValue) String() string

func (*HeaderValue) Validate

func (m *HeaderValue) Validate() error

Validate checks the field values on HeaderValue with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HeaderValue) ValidateAll added in v0.10.0

func (m *HeaderValue) ValidateAll() error

ValidateAll checks the field values on HeaderValue with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeaderValueMultiError, or nil if none found.

type HeaderValueMultiError added in v0.10.0

type HeaderValueMultiError []error

HeaderValueMultiError is an error wrapping multiple validation errors returned by HeaderValue.ValidateAll() if the designated constraints aren't met.

func (HeaderValueMultiError) AllErrors added in v0.10.0

func (m HeaderValueMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HeaderValueMultiError) Error added in v0.10.0

func (m HeaderValueMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HeaderValueOption

type HeaderValueOption struct {

	// Header name/value pair that this option applies to.
	Header *HeaderValue `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Should the value be appended? If true (default), the value is appended to
	// existing values. Otherwise it replaces any existing values.
	// This field is deprecated and please use
	// :ref:`append_action <envoy_v3_api_field_config.core.v3.HeaderValueOption.append_action>` as replacement.
	//
	// .. note::
	//
	//	The :ref:`external authorization service <envoy_v3_api_msg_service.auth.v3.CheckResponse>` and
	//	:ref:`external processor service <envoy_v3_api_msg_service.ext_proc.v3.ProcessingResponse>` have
	//	default value (“false“) for this field.
	//
	// Deprecated: Marked as deprecated in envoy/config/core/v3/base.proto.
	Append *wrappers.BoolValue `protobuf:"bytes,2,opt,name=append,proto3" json:"append,omitempty"`
	// Describes the action taken to append/overwrite the given value for an existing header
	// or to only add this header if it's absent.
	// Value defaults to :ref:`APPEND_IF_EXISTS_OR_ADD
	// <envoy_v3_api_enum_value_config.core.v3.HeaderValueOption.HeaderAppendAction.APPEND_IF_EXISTS_OR_ADD>`.
	AppendAction HeaderValueOption_HeaderAppendAction `` /* 161-byte string literal not displayed */
	// Is the header value allowed to be empty? If false (default), custom headers with empty values are dropped,
	// otherwise they are added.
	KeepEmptyValue bool `protobuf:"varint,4,opt,name=keep_empty_value,json=keepEmptyValue,proto3" json:"keep_empty_value,omitempty"`
	// contains filtered or unexported fields
}

Header name/value pair plus option to control append behavior.

func (*HeaderValueOption) Descriptor deprecated

func (*HeaderValueOption) Descriptor() ([]byte, []int)

Deprecated: Use HeaderValueOption.ProtoReflect.Descriptor instead.

func (*HeaderValueOption) GetAppend deprecated

func (x *HeaderValueOption) GetAppend() *wrappers.BoolValue

Deprecated: Marked as deprecated in envoy/config/core/v3/base.proto.

func (*HeaderValueOption) GetAppendAction added in v0.10.0

func (*HeaderValueOption) GetHeader

func (x *HeaderValueOption) GetHeader() *HeaderValue

func (*HeaderValueOption) GetKeepEmptyValue added in v0.10.2

func (x *HeaderValueOption) GetKeepEmptyValue() bool

func (*HeaderValueOption) ProtoMessage

func (*HeaderValueOption) ProtoMessage()

func (*HeaderValueOption) ProtoReflect added in v0.9.6

func (x *HeaderValueOption) ProtoReflect() protoreflect.Message

func (*HeaderValueOption) Reset

func (x *HeaderValueOption) Reset()

func (*HeaderValueOption) String

func (x *HeaderValueOption) String() string

func (*HeaderValueOption) Validate

func (m *HeaderValueOption) Validate() error

Validate checks the field values on HeaderValueOption with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HeaderValueOption) ValidateAll added in v0.10.0

func (m *HeaderValueOption) ValidateAll() error

ValidateAll checks the field values on HeaderValueOption with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeaderValueOptionMultiError, or nil if none found.

type HeaderValueOptionMultiError added in v0.10.0

type HeaderValueOptionMultiError []error

HeaderValueOptionMultiError is an error wrapping multiple validation errors returned by HeaderValueOption.ValidateAll() if the designated constraints aren't met.

func (HeaderValueOptionMultiError) AllErrors added in v0.10.0

func (m HeaderValueOptionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HeaderValueOptionMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HeaderValueOptionValidationError

type HeaderValueOptionValidationError struct {
	// contains filtered or unexported fields
}

HeaderValueOptionValidationError is the validation error returned by HeaderValueOption.Validate if the designated constraints aren't met.

func (HeaderValueOptionValidationError) Cause

Cause function returns cause value.

func (HeaderValueOptionValidationError) Error

Error satisfies the builtin error interface

func (HeaderValueOptionValidationError) ErrorName

ErrorName returns error name.

func (HeaderValueOptionValidationError) Field

Field function returns field value.

func (HeaderValueOptionValidationError) Key

Key function returns key value.

func (HeaderValueOptionValidationError) Reason

Reason function returns reason value.

type HeaderValueOption_HeaderAppendAction added in v0.10.0

type HeaderValueOption_HeaderAppendAction int32

Describes the supported actions types for header append action.

const (
	// This action will append the specified value to the existing values if the header
	// already exists. If the header doesn't exist then this will add the header with
	// specified key and value.
	HeaderValueOption_APPEND_IF_EXISTS_OR_ADD HeaderValueOption_HeaderAppendAction = 0
	// This action will add the header if it doesn't already exist. If the header
	// already exists then this will be a no-op.
	HeaderValueOption_ADD_IF_ABSENT HeaderValueOption_HeaderAppendAction = 1
	// This action will overwrite the specified value by discarding any existing values if
	// the header already exists. If the header doesn't exist then this will add the header
	// with specified key and value.
	HeaderValueOption_OVERWRITE_IF_EXISTS_OR_ADD HeaderValueOption_HeaderAppendAction = 2
	// This action will overwrite the specified value by discarding any existing values if
	// the header already exists. If the header doesn't exist then this will be no-op.
	HeaderValueOption_OVERWRITE_IF_EXISTS HeaderValueOption_HeaderAppendAction = 3
)

func (HeaderValueOption_HeaderAppendAction) Descriptor added in v0.10.0

func (HeaderValueOption_HeaderAppendAction) Enum added in v0.10.0

func (HeaderValueOption_HeaderAppendAction) EnumDescriptor deprecated added in v0.10.0

func (HeaderValueOption_HeaderAppendAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use HeaderValueOption_HeaderAppendAction.Descriptor instead.

func (HeaderValueOption_HeaderAppendAction) Number added in v0.10.0

func (HeaderValueOption_HeaderAppendAction) String added in v0.10.0

func (HeaderValueOption_HeaderAppendAction) Type added in v0.10.0

type HeaderValueValidationError

type HeaderValueValidationError struct {
	// contains filtered or unexported fields
}

HeaderValueValidationError is the validation error returned by HeaderValue.Validate if the designated constraints aren't met.

func (HeaderValueValidationError) Cause

Cause function returns cause value.

func (HeaderValueValidationError) Error

Error satisfies the builtin error interface

func (HeaderValueValidationError) ErrorName

func (e HeaderValueValidationError) ErrorName() string

ErrorName returns error name.

func (HeaderValueValidationError) Field

Field function returns field value.

func (HeaderValueValidationError) Key

Key function returns key value.

func (HeaderValueValidationError) Reason

Reason function returns reason value.

type HealthCheck

type HealthCheck struct {

	// The time to wait for a health check response. If the timeout is reached the
	// health check attempt will be considered a failure.
	Timeout *duration.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// The interval between health checks.
	Interval *duration.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	// An optional jitter amount in milliseconds. If specified, Envoy will start health
	// checking after for a random time in ms between 0 and initial_jitter. This only
	// applies to the first health check.
	InitialJitter *duration.Duration `protobuf:"bytes,20,opt,name=initial_jitter,json=initialJitter,proto3" json:"initial_jitter,omitempty"`
	// An optional jitter amount in milliseconds. If specified, during every
	// interval Envoy will add interval_jitter to the wait time.
	IntervalJitter *duration.Duration `protobuf:"bytes,3,opt,name=interval_jitter,json=intervalJitter,proto3" json:"interval_jitter,omitempty"`
	// An optional jitter amount as a percentage of interval_ms. If specified,
	// during every interval Envoy will add “interval_ms“ *
	// “interval_jitter_percent“ / 100 to the wait time.
	//
	// If interval_jitter_ms and interval_jitter_percent are both set, both of
	// them will be used to increase the wait time.
	IntervalJitterPercent uint32 `` /* 128-byte string literal not displayed */
	// The number of unhealthy health checks required before a host is marked
	// unhealthy. Note that for “http“ health checking if a host responds with a code not in
	// :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`
	// or :ref:`retriable_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.retriable_statuses>`,
	// this threshold is ignored and the host is considered immediately unhealthy.
	UnhealthyThreshold *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"`
	// The number of healthy health checks required before a host is marked
	// healthy. Note that during startup, only a single successful health check is
	// required to mark a host healthy.
	HealthyThreshold *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"`
	// [#not-implemented-hide:] Non-serving port for health checking.
	AltPort *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=alt_port,json=altPort,proto3" json:"alt_port,omitempty"`
	// Reuse health check connection between health checks. Default is true.
	ReuseConnection *wrappers.BoolValue `protobuf:"bytes,7,opt,name=reuse_connection,json=reuseConnection,proto3" json:"reuse_connection,omitempty"`
	// Types that are assignable to HealthChecker:
	//
	//	*HealthCheck_HttpHealthCheck_
	//	*HealthCheck_TcpHealthCheck_
	//	*HealthCheck_GrpcHealthCheck_
	//	*HealthCheck_CustomHealthCheck_
	HealthChecker isHealthCheck_HealthChecker `protobuf_oneof:"health_checker"`
	// The "no traffic interval" is a special health check interval that is used when a cluster has
	// never had traffic routed to it. This lower interval allows cluster information to be kept up to
	// date, without sending a potentially large amount of active health checking traffic for no
	// reason. Once a cluster has been used for traffic routing, Envoy will shift back to using the
	// standard health check interval that is defined. Note that this interval takes precedence over
	// any other.
	//
	// The default value for "no traffic interval" is 60 seconds.
	NoTrafficInterval *duration.Duration `protobuf:"bytes,12,opt,name=no_traffic_interval,json=noTrafficInterval,proto3" json:"no_traffic_interval,omitempty"`
	// The "no traffic healthy interval" is a special health check interval that
	// is used for hosts that are currently passing active health checking
	// (including new hosts) when the cluster has received no traffic.
	//
	// This is useful for when we want to send frequent health checks with
	// “no_traffic_interval“ but then revert to lower frequency “no_traffic_healthy_interval“ once
	// a host in the cluster is marked as healthy.
	//
	// Once a cluster has been used for traffic routing, Envoy will shift back to using the
	// standard health check interval that is defined.
	//
	// If no_traffic_healthy_interval is not set, it will default to the
	// no traffic interval and send that interval regardless of health state.
	NoTrafficHealthyInterval *duration.Duration `` /* 138-byte string literal not displayed */
	// The "unhealthy interval" is a health check interval that is used for hosts that are marked as
	// unhealthy. As soon as the host is marked as healthy, Envoy will shift back to using the
	// standard health check interval that is defined.
	//
	// The default value for "unhealthy interval" is the same as "interval".
	UnhealthyInterval *duration.Duration `protobuf:"bytes,14,opt,name=unhealthy_interval,json=unhealthyInterval,proto3" json:"unhealthy_interval,omitempty"`
	// The "unhealthy edge interval" is a special health check interval that is used for the first
	// health check right after a host is marked as unhealthy. For subsequent health checks
	// Envoy will shift back to using either "unhealthy interval" if present or the standard health
	// check interval that is defined.
	//
	// The default value for "unhealthy edge interval" is the same as "unhealthy interval".
	UnhealthyEdgeInterval *duration.Duration `` /* 127-byte string literal not displayed */
	// The "healthy edge interval" is a special health check interval that is used for the first
	// health check right after a host is marked as healthy. For subsequent health checks
	// Envoy will shift back to using the standard health check interval that is defined.
	//
	// The default value for "healthy edge interval" is the same as the default interval.
	HealthyEdgeInterval *duration.Duration `protobuf:"bytes,16,opt,name=healthy_edge_interval,json=healthyEdgeInterval,proto3" json:"healthy_edge_interval,omitempty"`
	// .. attention::
	// This field is deprecated in favor of the extension
	// :ref:`event_logger <envoy_v3_api_field_config.core.v3.HealthCheck.event_logger>` and
	// :ref:`event_log_path <envoy_v3_api_field_extensions.health_check.event_sinks.file.v3.HealthCheckEventFileSink.event_log_path>`
	// in the file sink extension.
	//
	// Specifies the path to the :ref:`health check event log <arch_overview_health_check_logging>`.
	//
	// Deprecated: Marked as deprecated in envoy/config/core/v3/health_check.proto.
	EventLogPath string `protobuf:"bytes,17,opt,name=event_log_path,json=eventLogPath,proto3" json:"event_log_path,omitempty"`
	// A list of event log sinks to process the health check event.
	// [#extension-category: envoy.health_check.event_sinks]
	EventLogger []*TypedExtensionConfig `protobuf:"bytes,25,rep,name=event_logger,json=eventLogger,proto3" json:"event_logger,omitempty"`
	// [#not-implemented-hide:]
	// The gRPC service for the health check event service.
	// If empty, health check events won't be sent to a remote endpoint.
	EventService *EventServiceConfig `protobuf:"bytes,22,opt,name=event_service,json=eventService,proto3" json:"event_service,omitempty"`
	// If set to true, health check failure events will always be logged. If set to false, only the
	// initial health check failure event will be logged.
	// The default value is false.
	AlwaysLogHealthCheckFailures bool `` /* 153-byte string literal not displayed */
	// This allows overriding the cluster TLS settings, just for health check connections.
	TlsOptions *HealthCheck_TlsOptions `protobuf:"bytes,21,opt,name=tls_options,json=tlsOptions,proto3" json:"tls_options,omitempty"`
	// Optional key/value pairs that will be used to match a transport socket from those specified in the cluster's
	// :ref:`tranport socket matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
	// For example, the following match criteria
	//
	// .. code-block:: yaml
	//
	//	transport_socket_match_criteria:
	//	  useMTLS: true
	//
	// Will match the following :ref:`cluster socket match <envoy_v3_api_msg_config.cluster.v3.Cluster.TransportSocketMatch>`
	//
	// .. code-block:: yaml
	//
	//	transport_socket_matches:
	//	- name: "useMTLS"
	//	  match:
	//	    useMTLS: true
	//	  transport_socket:
	//	    name: envoy.transport_sockets.tls
	//	    config: { ... } # tls socket configuration
	//
	// If this field is set, then for health checks it will supersede an entry of “envoy.transport_socket“ in the
	// :ref:`LbEndpoint.Metadata <envoy_v3_api_field_config.endpoint.v3.LbEndpoint.metadata>`.
	// This allows using different transport socket capabilities for health checking versus proxying to the
	// endpoint.
	//
	// If the key/values pairs specified do not match any
	// :ref:`transport socket matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`,
	// the cluster's :ref:`transport socket <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket>`
	// will be used for health check socket configuration.
	TransportSocketMatchCriteria *_struct.Struct `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

[#next-free-field: 26]

func (*HealthCheck) Descriptor deprecated

func (*HealthCheck) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck) GetAltPort

func (x *HealthCheck) GetAltPort() *wrappers.UInt32Value

func (*HealthCheck) GetAlwaysLogHealthCheckFailures

func (x *HealthCheck) GetAlwaysLogHealthCheckFailures() bool

func (*HealthCheck) GetCustomHealthCheck

func (x *HealthCheck) GetCustomHealthCheck() *HealthCheck_CustomHealthCheck

func (*HealthCheck) GetEventLogPath deprecated

func (x *HealthCheck) GetEventLogPath() string

Deprecated: Marked as deprecated in envoy/config/core/v3/health_check.proto.

func (*HealthCheck) GetEventLogger added in v0.11.1

func (x *HealthCheck) GetEventLogger() []*TypedExtensionConfig

func (*HealthCheck) GetEventService added in v0.9.5

func (x *HealthCheck) GetEventService() *EventServiceConfig

func (*HealthCheck) GetGrpcHealthCheck

func (x *HealthCheck) GetGrpcHealthCheck() *HealthCheck_GrpcHealthCheck

func (*HealthCheck) GetHealthChecker

func (m *HealthCheck) GetHealthChecker() isHealthCheck_HealthChecker

func (*HealthCheck) GetHealthyEdgeInterval

func (x *HealthCheck) GetHealthyEdgeInterval() *duration.Duration

func (*HealthCheck) GetHealthyThreshold

func (x *HealthCheck) GetHealthyThreshold() *wrappers.UInt32Value

func (*HealthCheck) GetHttpHealthCheck

func (x *HealthCheck) GetHttpHealthCheck() *HealthCheck_HttpHealthCheck

func (*HealthCheck) GetInitialJitter

func (x *HealthCheck) GetInitialJitter() *duration.Duration

func (*HealthCheck) GetInterval

func (x *HealthCheck) GetInterval() *duration.Duration

func (*HealthCheck) GetIntervalJitter

func (x *HealthCheck) GetIntervalJitter() *duration.Duration

func (*HealthCheck) GetIntervalJitterPercent

func (x *HealthCheck) GetIntervalJitterPercent() uint32

func (*HealthCheck) GetNoTrafficHealthyInterval added in v0.9.8

func (x *HealthCheck) GetNoTrafficHealthyInterval() *duration.Duration

func (*HealthCheck) GetNoTrafficInterval

func (x *HealthCheck) GetNoTrafficInterval() *duration.Duration

func (*HealthCheck) GetReuseConnection

func (x *HealthCheck) GetReuseConnection() *wrappers.BoolValue

func (*HealthCheck) GetTcpHealthCheck

func (x *HealthCheck) GetTcpHealthCheck() *HealthCheck_TcpHealthCheck

func (*HealthCheck) GetTimeout

func (x *HealthCheck) GetTimeout() *duration.Duration

func (*HealthCheck) GetTlsOptions

func (x *HealthCheck) GetTlsOptions() *HealthCheck_TlsOptions

func (*HealthCheck) GetTransportSocketMatchCriteria added in v0.9.6

func (x *HealthCheck) GetTransportSocketMatchCriteria() *_struct.Struct

func (*HealthCheck) GetUnhealthyEdgeInterval

func (x *HealthCheck) GetUnhealthyEdgeInterval() *duration.Duration

func (*HealthCheck) GetUnhealthyInterval

func (x *HealthCheck) GetUnhealthyInterval() *duration.Duration

func (*HealthCheck) GetUnhealthyThreshold

func (x *HealthCheck) GetUnhealthyThreshold() *wrappers.UInt32Value

func (*HealthCheck) ProtoMessage

func (*HealthCheck) ProtoMessage()

func (*HealthCheck) ProtoReflect added in v0.9.6

func (x *HealthCheck) ProtoReflect() protoreflect.Message

func (*HealthCheck) Reset

func (x *HealthCheck) Reset()

func (*HealthCheck) String

func (x *HealthCheck) String() string

func (*HealthCheck) Validate

func (m *HealthCheck) Validate() error

Validate checks the field values on HealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HealthCheck) ValidateAll added in v0.10.0

func (m *HealthCheck) ValidateAll() error

ValidateAll checks the field values on HealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheckMultiError, or nil if none found.

type HealthCheckMultiError added in v0.10.0

type HealthCheckMultiError []error

HealthCheckMultiError is an error wrapping multiple validation errors returned by HealthCheck.ValidateAll() if the designated constraints aren't met.

func (HealthCheckMultiError) AllErrors added in v0.10.0

func (m HealthCheckMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HealthCheckMultiError) Error added in v0.10.0

func (m HealthCheckMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HealthCheckValidationError

type HealthCheckValidationError struct {
	// contains filtered or unexported fields
}

HealthCheckValidationError is the validation error returned by HealthCheck.Validate if the designated constraints aren't met.

func (HealthCheckValidationError) Cause

Cause function returns cause value.

func (HealthCheckValidationError) Error

Error satisfies the builtin error interface

func (HealthCheckValidationError) ErrorName

func (e HealthCheckValidationError) ErrorName() string

ErrorName returns error name.

func (HealthCheckValidationError) Field

Field function returns field value.

func (HealthCheckValidationError) Key

Key function returns key value.

func (HealthCheckValidationError) Reason

Reason function returns reason value.

type HealthCheck_CustomHealthCheck

type HealthCheck_CustomHealthCheck struct {

	// The registered name of the custom health checker.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A custom health checker specific configuration which depends on the custom health checker
	// being instantiated. See :api:`envoy/config/health_checker` for reference.
	// [#extension-category: envoy.health_checkers]
	//
	// Types that are assignable to ConfigType:
	//
	//	*HealthCheck_CustomHealthCheck_TypedConfig
	ConfigType isHealthCheck_CustomHealthCheck_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

Custom health check.

func (*HealthCheck_CustomHealthCheck) Descriptor deprecated

func (*HealthCheck_CustomHealthCheck) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheck_CustomHealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck_CustomHealthCheck) GetConfigType

func (m *HealthCheck_CustomHealthCheck) GetConfigType() isHealthCheck_CustomHealthCheck_ConfigType

func (*HealthCheck_CustomHealthCheck) GetName

func (*HealthCheck_CustomHealthCheck) GetTypedConfig

func (x *HealthCheck_CustomHealthCheck) GetTypedConfig() *any1.Any

func (*HealthCheck_CustomHealthCheck) ProtoMessage

func (*HealthCheck_CustomHealthCheck) ProtoMessage()

func (*HealthCheck_CustomHealthCheck) ProtoReflect added in v0.9.6

func (*HealthCheck_CustomHealthCheck) Reset

func (x *HealthCheck_CustomHealthCheck) Reset()

func (*HealthCheck_CustomHealthCheck) String

func (*HealthCheck_CustomHealthCheck) Validate

func (m *HealthCheck_CustomHealthCheck) Validate() error

Validate checks the field values on HealthCheck_CustomHealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HealthCheck_CustomHealthCheck) ValidateAll added in v0.10.0

func (m *HealthCheck_CustomHealthCheck) ValidateAll() error

ValidateAll checks the field values on HealthCheck_CustomHealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheck_CustomHealthCheckMultiError, or nil if none found.

type HealthCheck_CustomHealthCheckMultiError added in v0.10.0

type HealthCheck_CustomHealthCheckMultiError []error

HealthCheck_CustomHealthCheckMultiError is an error wrapping multiple validation errors returned by HealthCheck_CustomHealthCheck.ValidateAll() if the designated constraints aren't met.

func (HealthCheck_CustomHealthCheckMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (HealthCheck_CustomHealthCheckMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HealthCheck_CustomHealthCheckValidationError

type HealthCheck_CustomHealthCheckValidationError struct {
	// contains filtered or unexported fields
}

HealthCheck_CustomHealthCheckValidationError is the validation error returned by HealthCheck_CustomHealthCheck.Validate if the designated constraints aren't met.

func (HealthCheck_CustomHealthCheckValidationError) Cause

Cause function returns cause value.

func (HealthCheck_CustomHealthCheckValidationError) Error

Error satisfies the builtin error interface

func (HealthCheck_CustomHealthCheckValidationError) ErrorName

ErrorName returns error name.

func (HealthCheck_CustomHealthCheckValidationError) Field

Field function returns field value.

func (HealthCheck_CustomHealthCheckValidationError) Key

Key function returns key value.

func (HealthCheck_CustomHealthCheckValidationError) Reason

Reason function returns reason value.

type HealthCheck_CustomHealthCheck_

type HealthCheck_CustomHealthCheck_ struct {
	// Custom health check.
	CustomHealthCheck *HealthCheck_CustomHealthCheck `protobuf:"bytes,13,opt,name=custom_health_check,json=customHealthCheck,proto3,oneof"`
}

type HealthCheck_CustomHealthCheck_TypedConfig

type HealthCheck_CustomHealthCheck_TypedConfig struct {
	TypedConfig *any1.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type HealthCheck_GrpcHealthCheck

type HealthCheck_GrpcHealthCheck struct {

	// An optional service name parameter which will be sent to gRPC service in
	// `grpc.health.v1.HealthCheckRequest
	// <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_.
	// message. See `gRPC health-checking overview
	// <https://github.com/grpc/grpc/blob/master/doc/health-checking.md>`_ for more information.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// The value of the :authority header in the gRPC health check request. If
	// left empty (default value), the name of the cluster this health check is associated
	// with will be used. The authority header can be customized for a specific endpoint by setting
	// the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
	// Specifies a list of key-value pairs that should be added to the metadata of each GRPC call
	// that is sent to the health checked cluster. For more information, including details on header value syntax,
	// see the documentation on :ref:`custom request headers
	// <config_http_conn_man_headers_custom_request_headers>`.
	InitialMetadata []*HeaderValueOption `protobuf:"bytes,3,rep,name=initial_metadata,json=initialMetadata,proto3" json:"initial_metadata,omitempty"`
	// contains filtered or unexported fields
}

`grpc.health.v1.Health <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto>`_-based healthcheck. See `gRPC doc <https://github.com/grpc/grpc/blob/master/doc/health-checking.md>`_ for details.

func (*HealthCheck_GrpcHealthCheck) Descriptor deprecated

func (*HealthCheck_GrpcHealthCheck) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheck_GrpcHealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck_GrpcHealthCheck) GetAuthority

func (x *HealthCheck_GrpcHealthCheck) GetAuthority() string

func (*HealthCheck_GrpcHealthCheck) GetInitialMetadata added in v0.10.2

func (x *HealthCheck_GrpcHealthCheck) GetInitialMetadata() []*HeaderValueOption

func (*HealthCheck_GrpcHealthCheck) GetServiceName

func (x *HealthCheck_GrpcHealthCheck) GetServiceName() string

func (*HealthCheck_GrpcHealthCheck) ProtoMessage

func (*HealthCheck_GrpcHealthCheck) ProtoMessage()

func (*HealthCheck_GrpcHealthCheck) ProtoReflect added in v0.9.6

func (*HealthCheck_GrpcHealthCheck) Reset

func (x *HealthCheck_GrpcHealthCheck) Reset()

func (*HealthCheck_GrpcHealthCheck) String

func (x *HealthCheck_GrpcHealthCheck) String() string

func (*HealthCheck_GrpcHealthCheck) Validate

func (m *HealthCheck_GrpcHealthCheck) Validate() error

Validate checks the field values on HealthCheck_GrpcHealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HealthCheck_GrpcHealthCheck) ValidateAll added in v0.10.0

func (m *HealthCheck_GrpcHealthCheck) ValidateAll() error

ValidateAll checks the field values on HealthCheck_GrpcHealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheck_GrpcHealthCheckMultiError, or nil if none found.

type HealthCheck_GrpcHealthCheckMultiError added in v0.10.0

type HealthCheck_GrpcHealthCheckMultiError []error

HealthCheck_GrpcHealthCheckMultiError is an error wrapping multiple validation errors returned by HealthCheck_GrpcHealthCheck.ValidateAll() if the designated constraints aren't met.

func (HealthCheck_GrpcHealthCheckMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (HealthCheck_GrpcHealthCheckMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HealthCheck_GrpcHealthCheckValidationError

type HealthCheck_GrpcHealthCheckValidationError struct {
	// contains filtered or unexported fields
}

HealthCheck_GrpcHealthCheckValidationError is the validation error returned by HealthCheck_GrpcHealthCheck.Validate if the designated constraints aren't met.

func (HealthCheck_GrpcHealthCheckValidationError) Cause

Cause function returns cause value.

func (HealthCheck_GrpcHealthCheckValidationError) Error

Error satisfies the builtin error interface

func (HealthCheck_GrpcHealthCheckValidationError) ErrorName

ErrorName returns error name.

func (HealthCheck_GrpcHealthCheckValidationError) Field

Field function returns field value.

func (HealthCheck_GrpcHealthCheckValidationError) Key

Key function returns key value.

func (HealthCheck_GrpcHealthCheckValidationError) Reason

Reason function returns reason value.

type HealthCheck_GrpcHealthCheck_

type HealthCheck_GrpcHealthCheck_ struct {
	// gRPC health check.
	GrpcHealthCheck *HealthCheck_GrpcHealthCheck `protobuf:"bytes,11,opt,name=grpc_health_check,json=grpcHealthCheck,proto3,oneof"`
}

type HealthCheck_HttpHealthCheck

type HealthCheck_HttpHealthCheck struct {

	// The value of the host header in the HTTP health check request. If
	// left empty (default value), the name of the cluster this health check is associated
	// with will be used. The host header can be customized for a specific endpoint by setting the
	// :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Specifies the HTTP path that will be requested during health checking. For example
	// “/healthcheck“.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// [#not-implemented-hide:] HTTP specific payload.
	Send *HealthCheck_Payload `protobuf:"bytes,3,opt,name=send,proto3" json:"send,omitempty"`
	// Specifies a list of HTTP expected responses to match in the first “response_buffer_size“ bytes of the response body.
	// If it is set, both the expected response check and status code determine the health check.
	// When checking the response, “fuzzy” matching is performed such that each payload block must be found,
	// and in the order specified, but not necessarily contiguous.
	//
	// .. note::
	//
	//	It is recommended to set “response_buffer_size“ based on the total Payload size for efficiency.
	//	The default buffer size is 1024 bytes when it is not set.
	Receive []*HealthCheck_Payload `protobuf:"bytes,4,rep,name=receive,proto3" json:"receive,omitempty"`
	// Specifies the size of response buffer in bytes that is used to Payload match.
	// The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
	ResponseBufferSize *wrappers.UInt64Value `protobuf:"bytes,14,opt,name=response_buffer_size,json=responseBufferSize,proto3" json:"response_buffer_size,omitempty"`
	// Specifies a list of HTTP headers that should be added to each request that is sent to the
	// health checked cluster. For more information, including details on header value syntax, see
	// the documentation on :ref:`custom request headers
	// <config_http_conn_man_headers_custom_request_headers>`.
	RequestHeadersToAdd []*HeaderValueOption `protobuf:"bytes,6,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"`
	// Specifies a list of HTTP headers that should be removed from each request that is sent to the
	// health checked cluster.
	RequestHeadersToRemove []string `` /* 131-byte string literal not displayed */
	// Specifies a list of HTTP response statuses considered healthy. If provided, replaces default
	// 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open
	// semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each
	// range are required. Only statuses in the range [100, 600) are allowed.
	ExpectedStatuses []*v3.Int64Range `protobuf:"bytes,9,rep,name=expected_statuses,json=expectedStatuses,proto3" json:"expected_statuses,omitempty"`
	// Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range
	// will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`,
	// but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of
	// :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required.
	// Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`
	// field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will
	// be considered a successful health check. By default all responses not in
	// :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in
	// the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any
	// non-200 response will result in the host being marked unhealthy.
	RetriableStatuses []*v3.Int64Range `protobuf:"bytes,12,rep,name=retriable_statuses,json=retriableStatuses,proto3" json:"retriable_statuses,omitempty"`
	// Use specified application protocol for health checks.
	CodecClientType v3.CodecClientType `` /* 145-byte string literal not displayed */
	// An optional service name parameter which is used to validate the identity of
	// the health checked cluster using a :ref:`StringMatcher
	// <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview
	// <arch_overview_health_checking_identity>` for more information.
	ServiceNameMatcher *v31.StringMatcher `protobuf:"bytes,11,opt,name=service_name_matcher,json=serviceNameMatcher,proto3" json:"service_name_matcher,omitempty"`
	// HTTP Method that will be used for health checking, default is "GET".
	// GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH methods are supported, but making request body is not supported.
	// CONNECT method is disallowed because it is not appropriate for health check request.
	// If a non-200 response is expected by the method, it needs to be set in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`.
	Method RequestMethod `protobuf:"varint,13,opt,name=method,proto3,enum=envoy.config.core.v3.RequestMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 15]

func (*HealthCheck_HttpHealthCheck) Descriptor deprecated

func (*HealthCheck_HttpHealthCheck) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheck_HttpHealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck_HttpHealthCheck) GetCodecClientType

func (x *HealthCheck_HttpHealthCheck) GetCodecClientType() v3.CodecClientType

func (*HealthCheck_HttpHealthCheck) GetExpectedStatuses

func (x *HealthCheck_HttpHealthCheck) GetExpectedStatuses() []*v3.Int64Range

func (*HealthCheck_HttpHealthCheck) GetHost

func (x *HealthCheck_HttpHealthCheck) GetHost() string

func (*HealthCheck_HttpHealthCheck) GetMethod added in v0.11.0

func (*HealthCheck_HttpHealthCheck) GetPath

func (x *HealthCheck_HttpHealthCheck) GetPath() string

func (*HealthCheck_HttpHealthCheck) GetReceive

func (*HealthCheck_HttpHealthCheck) GetRequestHeadersToAdd

func (x *HealthCheck_HttpHealthCheck) GetRequestHeadersToAdd() []*HeaderValueOption

func (*HealthCheck_HttpHealthCheck) GetRequestHeadersToRemove

func (x *HealthCheck_HttpHealthCheck) GetRequestHeadersToRemove() []string

func (*HealthCheck_HttpHealthCheck) GetResponseBufferSize added in v0.11.0

func (x *HealthCheck_HttpHealthCheck) GetResponseBufferSize() *wrappers.UInt64Value

func (*HealthCheck_HttpHealthCheck) GetRetriableStatuses added in v0.10.0

func (x *HealthCheck_HttpHealthCheck) GetRetriableStatuses() []*v3.Int64Range

func (*HealthCheck_HttpHealthCheck) GetSend

func (*HealthCheck_HttpHealthCheck) GetServiceNameMatcher

func (x *HealthCheck_HttpHealthCheck) GetServiceNameMatcher() *v31.StringMatcher

func (*HealthCheck_HttpHealthCheck) ProtoMessage

func (*HealthCheck_HttpHealthCheck) ProtoMessage()

func (*HealthCheck_HttpHealthCheck) ProtoReflect added in v0.9.6

func (*HealthCheck_HttpHealthCheck) Reset

func (x *HealthCheck_HttpHealthCheck) Reset()

func (*HealthCheck_HttpHealthCheck) String

func (x *HealthCheck_HttpHealthCheck) String() string

func (*HealthCheck_HttpHealthCheck) Validate

func (m *HealthCheck_HttpHealthCheck) Validate() error

Validate checks the field values on HealthCheck_HttpHealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HealthCheck_HttpHealthCheck) ValidateAll added in v0.10.0

func (m *HealthCheck_HttpHealthCheck) ValidateAll() error

ValidateAll checks the field values on HealthCheck_HttpHealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheck_HttpHealthCheckMultiError, or nil if none found.

type HealthCheck_HttpHealthCheckMultiError added in v0.10.0

type HealthCheck_HttpHealthCheckMultiError []error

HealthCheck_HttpHealthCheckMultiError is an error wrapping multiple validation errors returned by HealthCheck_HttpHealthCheck.ValidateAll() if the designated constraints aren't met.

func (HealthCheck_HttpHealthCheckMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (HealthCheck_HttpHealthCheckMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HealthCheck_HttpHealthCheckValidationError

type HealthCheck_HttpHealthCheckValidationError struct {
	// contains filtered or unexported fields
}

HealthCheck_HttpHealthCheckValidationError is the validation error returned by HealthCheck_HttpHealthCheck.Validate if the designated constraints aren't met.

func (HealthCheck_HttpHealthCheckValidationError) Cause

Cause function returns cause value.

func (HealthCheck_HttpHealthCheckValidationError) Error

Error satisfies the builtin error interface

func (HealthCheck_HttpHealthCheckValidationError) ErrorName

ErrorName returns error name.

func (HealthCheck_HttpHealthCheckValidationError) Field

Field function returns field value.

func (HealthCheck_HttpHealthCheckValidationError) Key

Key function returns key value.

func (HealthCheck_HttpHealthCheckValidationError) Reason

Reason function returns reason value.

type HealthCheck_HttpHealthCheck_

type HealthCheck_HttpHealthCheck_ struct {
	// HTTP health check.
	HttpHealthCheck *HealthCheck_HttpHealthCheck `protobuf:"bytes,8,opt,name=http_health_check,json=httpHealthCheck,proto3,oneof"`
}

type HealthCheck_Payload

type HealthCheck_Payload struct {

	// Types that are assignable to Payload:
	//
	//	*HealthCheck_Payload_Text
	//	*HealthCheck_Payload_Binary
	Payload isHealthCheck_Payload_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

Describes the encoding of the payload bytes in the payload.

func (*HealthCheck_Payload) Descriptor deprecated

func (*HealthCheck_Payload) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheck_Payload.ProtoReflect.Descriptor instead.

func (*HealthCheck_Payload) GetBinary

func (x *HealthCheck_Payload) GetBinary() []byte

func (*HealthCheck_Payload) GetPayload

func (m *HealthCheck_Payload) GetPayload() isHealthCheck_Payload_Payload

func (*HealthCheck_Payload) GetText

func (x *HealthCheck_Payload) GetText() string

func (*HealthCheck_Payload) ProtoMessage

func (*HealthCheck_Payload) ProtoMessage()

func (*HealthCheck_Payload) ProtoReflect added in v0.9.6

func (x *HealthCheck_Payload) ProtoReflect() protoreflect.Message

func (*HealthCheck_Payload) Reset

func (x *HealthCheck_Payload) Reset()

func (*HealthCheck_Payload) String

func (x *HealthCheck_Payload) String() string

func (*HealthCheck_Payload) Validate

func (m *HealthCheck_Payload) Validate() error

Validate checks the field values on HealthCheck_Payload with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HealthCheck_Payload) ValidateAll added in v0.10.0

func (m *HealthCheck_Payload) ValidateAll() error

ValidateAll checks the field values on HealthCheck_Payload with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheck_PayloadMultiError, or nil if none found.

type HealthCheck_PayloadMultiError added in v0.10.0

type HealthCheck_PayloadMultiError []error

HealthCheck_PayloadMultiError is an error wrapping multiple validation errors returned by HealthCheck_Payload.ValidateAll() if the designated constraints aren't met.

func (HealthCheck_PayloadMultiError) AllErrors added in v0.10.0

func (m HealthCheck_PayloadMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HealthCheck_PayloadMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HealthCheck_PayloadValidationError

type HealthCheck_PayloadValidationError struct {
	// contains filtered or unexported fields
}

HealthCheck_PayloadValidationError is the validation error returned by HealthCheck_Payload.Validate if the designated constraints aren't met.

func (HealthCheck_PayloadValidationError) Cause

Cause function returns cause value.

func (HealthCheck_PayloadValidationError) Error

Error satisfies the builtin error interface

func (HealthCheck_PayloadValidationError) ErrorName

ErrorName returns error name.

func (HealthCheck_PayloadValidationError) Field

Field function returns field value.

func (HealthCheck_PayloadValidationError) Key

Key function returns key value.

func (HealthCheck_PayloadValidationError) Reason

Reason function returns reason value.

type HealthCheck_Payload_Binary

type HealthCheck_Payload_Binary struct {
	// Binary payload.
	Binary []byte `protobuf:"bytes,2,opt,name=binary,proto3,oneof"`
}

type HealthCheck_Payload_Text

type HealthCheck_Payload_Text struct {
	// Hex encoded payload. E.g., "000000FF".
	Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type HealthCheck_RedisHealthCheck

type HealthCheck_RedisHealthCheck struct {

	// If set, optionally perform “EXISTS <key>“ instead of “PING“. A return value
	// from Redis of 0 (does not exist) is considered a passing healthcheck. A return value other
	// than 0 is considered a failure. This allows the user to mark a Redis instance for maintenance
	// by setting the specified key to any value and waiting for traffic to drain.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthCheck_RedisHealthCheck) Descriptor deprecated

func (*HealthCheck_RedisHealthCheck) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheck_RedisHealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck_RedisHealthCheck) GetKey

func (*HealthCheck_RedisHealthCheck) ProtoMessage

func (*HealthCheck_RedisHealthCheck) ProtoMessage()

func (*HealthCheck_RedisHealthCheck) ProtoReflect added in v0.9.6

func (*HealthCheck_RedisHealthCheck) Reset

func (x *HealthCheck_RedisHealthCheck) Reset()

func (*HealthCheck_RedisHealthCheck) String

func (*HealthCheck_RedisHealthCheck) Validate

func (m *HealthCheck_RedisHealthCheck) Validate() error

Validate checks the field values on HealthCheck_RedisHealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HealthCheck_RedisHealthCheck) ValidateAll added in v0.10.0

func (m *HealthCheck_RedisHealthCheck) ValidateAll() error

ValidateAll checks the field values on HealthCheck_RedisHealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheck_RedisHealthCheckMultiError, or nil if none found.

type HealthCheck_RedisHealthCheckMultiError added in v0.10.0

type HealthCheck_RedisHealthCheckMultiError []error

HealthCheck_RedisHealthCheckMultiError is an error wrapping multiple validation errors returned by HealthCheck_RedisHealthCheck.ValidateAll() if the designated constraints aren't met.

func (HealthCheck_RedisHealthCheckMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (HealthCheck_RedisHealthCheckMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HealthCheck_RedisHealthCheckValidationError

type HealthCheck_RedisHealthCheckValidationError struct {
	// contains filtered or unexported fields
}

HealthCheck_RedisHealthCheckValidationError is the validation error returned by HealthCheck_RedisHealthCheck.Validate if the designated constraints aren't met.

func (HealthCheck_RedisHealthCheckValidationError) Cause

Cause function returns cause value.

func (HealthCheck_RedisHealthCheckValidationError) Error

Error satisfies the builtin error interface

func (HealthCheck_RedisHealthCheckValidationError) ErrorName

ErrorName returns error name.

func (HealthCheck_RedisHealthCheckValidationError) Field

Field function returns field value.

func (HealthCheck_RedisHealthCheckValidationError) Key

Key function returns key value.

func (HealthCheck_RedisHealthCheckValidationError) Reason

Reason function returns reason value.

type HealthCheck_TcpHealthCheck

type HealthCheck_TcpHealthCheck struct {

	// Empty payloads imply a connect-only health check.
	Send *HealthCheck_Payload `protobuf:"bytes,1,opt,name=send,proto3" json:"send,omitempty"`
	// When checking the response, “fuzzy” matching is performed such that each
	// payload block must be found, and in the order specified, but not
	// necessarily contiguous.
	Receive []*HealthCheck_Payload `protobuf:"bytes,2,rep,name=receive,proto3" json:"receive,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthCheck_TcpHealthCheck) Descriptor deprecated

func (*HealthCheck_TcpHealthCheck) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheck_TcpHealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck_TcpHealthCheck) GetReceive

func (*HealthCheck_TcpHealthCheck) GetSend

func (*HealthCheck_TcpHealthCheck) ProtoMessage

func (*HealthCheck_TcpHealthCheck) ProtoMessage()

func (*HealthCheck_TcpHealthCheck) ProtoReflect added in v0.9.6

func (*HealthCheck_TcpHealthCheck) Reset

func (x *HealthCheck_TcpHealthCheck) Reset()

func (*HealthCheck_TcpHealthCheck) String

func (x *HealthCheck_TcpHealthCheck) String() string

func (*HealthCheck_TcpHealthCheck) Validate

func (m *HealthCheck_TcpHealthCheck) Validate() error

Validate checks the field values on HealthCheck_TcpHealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HealthCheck_TcpHealthCheck) ValidateAll added in v0.10.0

func (m *HealthCheck_TcpHealthCheck) ValidateAll() error

ValidateAll checks the field values on HealthCheck_TcpHealthCheck with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheck_TcpHealthCheckMultiError, or nil if none found.

type HealthCheck_TcpHealthCheckMultiError added in v0.10.0

type HealthCheck_TcpHealthCheckMultiError []error

HealthCheck_TcpHealthCheckMultiError is an error wrapping multiple validation errors returned by HealthCheck_TcpHealthCheck.ValidateAll() if the designated constraints aren't met.

func (HealthCheck_TcpHealthCheckMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (HealthCheck_TcpHealthCheckMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HealthCheck_TcpHealthCheckValidationError

type HealthCheck_TcpHealthCheckValidationError struct {
	// contains filtered or unexported fields
}

HealthCheck_TcpHealthCheckValidationError is the validation error returned by HealthCheck_TcpHealthCheck.Validate if the designated constraints aren't met.

func (HealthCheck_TcpHealthCheckValidationError) Cause

Cause function returns cause value.

func (HealthCheck_TcpHealthCheckValidationError) Error

Error satisfies the builtin error interface

func (HealthCheck_TcpHealthCheckValidationError) ErrorName

ErrorName returns error name.

func (HealthCheck_TcpHealthCheckValidationError) Field

Field function returns field value.

func (HealthCheck_TcpHealthCheckValidationError) Key

Key function returns key value.

func (HealthCheck_TcpHealthCheckValidationError) Reason

Reason function returns reason value.

type HealthCheck_TcpHealthCheck_

type HealthCheck_TcpHealthCheck_ struct {
	// TCP health check.
	TcpHealthCheck *HealthCheck_TcpHealthCheck `protobuf:"bytes,9,opt,name=tcp_health_check,json=tcpHealthCheck,proto3,oneof"`
}

type HealthCheck_TlsOptions

type HealthCheck_TlsOptions struct {

	// Specifies the ALPN protocols for health check connections. This is useful if the
	// corresponding upstream is using ALPN-based :ref:`FilterChainMatch
	// <envoy_v3_api_msg_config.listener.v3.FilterChainMatch>` along with different protocols for health checks
	// versus data connections. If empty, no ALPN protocols will be set on health check connections.
	AlpnProtocols []string `protobuf:"bytes,1,rep,name=alpn_protocols,json=alpnProtocols,proto3" json:"alpn_protocols,omitempty"`
	// contains filtered or unexported fields
}

Health checks occur over the transport socket specified for the cluster. This implies that if a cluster is using a TLS-enabled transport socket, the health check will also occur over TLS.

This allows overriding the cluster TLS settings, just for health check connections.

func (*HealthCheck_TlsOptions) Descriptor deprecated

func (*HealthCheck_TlsOptions) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheck_TlsOptions.ProtoReflect.Descriptor instead.

func (*HealthCheck_TlsOptions) GetAlpnProtocols

func (x *HealthCheck_TlsOptions) GetAlpnProtocols() []string

func (*HealthCheck_TlsOptions) ProtoMessage

func (*HealthCheck_TlsOptions) ProtoMessage()

func (*HealthCheck_TlsOptions) ProtoReflect added in v0.9.6

func (x *HealthCheck_TlsOptions) ProtoReflect() protoreflect.Message

func (*HealthCheck_TlsOptions) Reset

func (x *HealthCheck_TlsOptions) Reset()

func (*HealthCheck_TlsOptions) String

func (x *HealthCheck_TlsOptions) String() string

func (*HealthCheck_TlsOptions) Validate

func (m *HealthCheck_TlsOptions) Validate() error

Validate checks the field values on HealthCheck_TlsOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HealthCheck_TlsOptions) ValidateAll added in v0.10.0

func (m *HealthCheck_TlsOptions) ValidateAll() error

ValidateAll checks the field values on HealthCheck_TlsOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheck_TlsOptionsMultiError, or nil if none found.

type HealthCheck_TlsOptionsMultiError added in v0.10.0

type HealthCheck_TlsOptionsMultiError []error

HealthCheck_TlsOptionsMultiError is an error wrapping multiple validation errors returned by HealthCheck_TlsOptions.ValidateAll() if the designated constraints aren't met.

func (HealthCheck_TlsOptionsMultiError) AllErrors added in v0.10.0

func (m HealthCheck_TlsOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HealthCheck_TlsOptionsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HealthCheck_TlsOptionsValidationError

type HealthCheck_TlsOptionsValidationError struct {
	// contains filtered or unexported fields
}

HealthCheck_TlsOptionsValidationError is the validation error returned by HealthCheck_TlsOptions.Validate if the designated constraints aren't met.

func (HealthCheck_TlsOptionsValidationError) Cause

Cause function returns cause value.

func (HealthCheck_TlsOptionsValidationError) Error

Error satisfies the builtin error interface

func (HealthCheck_TlsOptionsValidationError) ErrorName

ErrorName returns error name.

func (HealthCheck_TlsOptionsValidationError) Field

Field function returns field value.

func (HealthCheck_TlsOptionsValidationError) Key

Key function returns key value.

func (HealthCheck_TlsOptionsValidationError) Reason

Reason function returns reason value.

type HealthStatus

type HealthStatus int32

Endpoint health status.

const (
	// The health status is not known. This is interpreted by Envoy as “HEALTHY“.
	HealthStatus_UNKNOWN HealthStatus = 0
	// Healthy.
	HealthStatus_HEALTHY HealthStatus = 1
	// Unhealthy.
	HealthStatus_UNHEALTHY HealthStatus = 2
	// Connection draining in progress. E.g.,
	// `<https://aws.amazon.com/blogs/aws/elb-connection-draining-remove-instances-from-service-with-care/>`_
	// or
	// `<https://cloud.google.com/compute/docs/load-balancing/enabling-connection-draining>`_.
	// This is interpreted by Envoy as “UNHEALTHY“.
	HealthStatus_DRAINING HealthStatus = 3
	// Health check timed out. This is part of HDS and is interpreted by Envoy as
	// “UNHEALTHY“.
	HealthStatus_TIMEOUT HealthStatus = 4
	// Degraded.
	HealthStatus_DEGRADED HealthStatus = 5
)

func (HealthStatus) Descriptor added in v0.9.6

func (HealthStatus) Enum added in v0.9.6

func (x HealthStatus) Enum() *HealthStatus

func (HealthStatus) EnumDescriptor deprecated

func (HealthStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use HealthStatus.Descriptor instead.

func (HealthStatus) Number added in v0.9.6

func (HealthStatus) String

func (x HealthStatus) String() string

func (HealthStatus) Type added in v0.9.6

type HealthStatusSet added in v0.10.2

type HealthStatusSet struct {

	// An order-independent set of health status.
	Statuses []HealthStatus `protobuf:"varint,1,rep,packed,name=statuses,proto3,enum=envoy.config.core.v3.HealthStatus" json:"statuses,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthStatusSet) Descriptor deprecated added in v0.10.2

func (*HealthStatusSet) Descriptor() ([]byte, []int)

Deprecated: Use HealthStatusSet.ProtoReflect.Descriptor instead.

func (*HealthStatusSet) GetStatuses added in v0.10.2

func (x *HealthStatusSet) GetStatuses() []HealthStatus

func (*HealthStatusSet) ProtoMessage added in v0.10.2

func (*HealthStatusSet) ProtoMessage()

func (*HealthStatusSet) ProtoReflect added in v0.10.2

func (x *HealthStatusSet) ProtoReflect() protoreflect.Message

func (*HealthStatusSet) Reset added in v0.10.2

func (x *HealthStatusSet) Reset()

func (*HealthStatusSet) String added in v0.10.2

func (x *HealthStatusSet) String() string

func (*HealthStatusSet) Validate added in v0.10.2

func (m *HealthStatusSet) Validate() error

Validate checks the field values on HealthStatusSet with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HealthStatusSet) ValidateAll added in v0.10.2

func (m *HealthStatusSet) ValidateAll() error

ValidateAll checks the field values on HealthStatusSet with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthStatusSetMultiError, or nil if none found.

type HealthStatusSetMultiError added in v0.10.2

type HealthStatusSetMultiError []error

HealthStatusSetMultiError is an error wrapping multiple validation errors returned by HealthStatusSet.ValidateAll() if the designated constraints aren't met.

func (HealthStatusSetMultiError) AllErrors added in v0.10.2

func (m HealthStatusSetMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HealthStatusSetMultiError) Error added in v0.10.2

Error returns a concatenation of all the error messages it wraps.

type HealthStatusSetValidationError added in v0.10.2

type HealthStatusSetValidationError struct {
	// contains filtered or unexported fields
}

HealthStatusSetValidationError is the validation error returned by HealthStatusSet.Validate if the designated constraints aren't met.

func (HealthStatusSetValidationError) Cause added in v0.10.2

Cause function returns cause value.

func (HealthStatusSetValidationError) Error added in v0.10.2

Error satisfies the builtin error interface

func (HealthStatusSetValidationError) ErrorName added in v0.10.2

func (e HealthStatusSetValidationError) ErrorName() string

ErrorName returns error name.

func (HealthStatusSetValidationError) Field added in v0.10.2

Field function returns field value.

func (HealthStatusSetValidationError) Key added in v0.10.2

Key function returns key value.

func (HealthStatusSetValidationError) Reason added in v0.10.2

Reason function returns reason value.

type Http1ProtocolOptions

type Http1ProtocolOptions struct {

	// Handle HTTP requests with absolute URLs in the requests. These requests
	// are generally sent by clients to forward/explicit proxies. This allows clients to configure
	// envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the
	// “http_proxy“ environment variable.
	AllowAbsoluteUrl *wrappers.BoolValue `protobuf:"bytes,1,opt,name=allow_absolute_url,json=allowAbsoluteUrl,proto3" json:"allow_absolute_url,omitempty"`
	// Handle incoming HTTP/1.0 and HTTP 0.9 requests.
	// This is off by default, and not fully standards compliant. There is support for pre-HTTP/1.1
	// style connect logic, dechunking, and handling lack of client host iff
	// “default_host_for_http_10“ is configured.
	AcceptHttp_10 bool `protobuf:"varint,2,opt,name=accept_http_10,json=acceptHttp10,proto3" json:"accept_http_10,omitempty"`
	// A default host for HTTP/1.0 requests. This is highly suggested if “accept_http_10“ is true as
	// Envoy does not otherwise support HTTP/1.0 without a Host header.
	// This is a no-op if “accept_http_10“ is not true.
	DefaultHostForHttp_10 string `` /* 127-byte string literal not displayed */
	// Describes how the keys for response headers should be formatted. By default, all header keys
	// are lower cased.
	HeaderKeyFormat *Http1ProtocolOptions_HeaderKeyFormat `protobuf:"bytes,4,opt,name=header_key_format,json=headerKeyFormat,proto3" json:"header_key_format,omitempty"`
	// Enables trailers for HTTP/1. By default the HTTP/1 codec drops proxied trailers.
	//
	// .. attention::
	//
	//	Note that this only happens when Envoy is chunk encoding which occurs when:
	//	- The request is HTTP/1.1.
	//	- Is neither a HEAD only request nor a HTTP Upgrade.
	//	- Not a response to a HEAD request.
	//	- The content length header is not present.
	EnableTrailers bool `protobuf:"varint,5,opt,name=enable_trailers,json=enableTrailers,proto3" json:"enable_trailers,omitempty"`
	// Allows Envoy to process requests/responses with both “Content-Length“ and “Transfer-Encoding“
	// headers set. By default such messages are rejected, but if option is enabled - Envoy will
	// remove Content-Length header and process message.
	// See `RFC7230, sec. 3.3.3 <https://tools.ietf.org/html/rfc7230#section-3.3.3>`_ for details.
	//
	// .. attention::
	//
	//	Enabling this option might lead to request smuggling vulnerability, especially if traffic
	//	is proxied via multiple layers of proxies.
	//
	// [#comment:TODO: This field is ignored when the
	// :ref:`header validation configuration <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.typed_header_validation_config>`
	// is present.]
	AllowChunkedLength bool `protobuf:"varint,6,opt,name=allow_chunked_length,json=allowChunkedLength,proto3" json:"allow_chunked_length,omitempty"`
	// Allows invalid HTTP messaging. When this option is false, then Envoy will terminate
	// HTTP/1.1 connections upon receiving an invalid HTTP message. However,
	// when this option is true, then Envoy will leave the HTTP/1.1 connection
	// open where possible.
	// If set, this overrides any HCM :ref:`stream_error_on_invalid_http_messaging
	// <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`.
	OverrideStreamErrorOnInvalidHttpMessage *wrappers.BoolValue `` /* 188-byte string literal not displayed */
	// Allows sending fully qualified URLs when proxying the first line of the
	// response. By default, Envoy will only send the path components in the first line.
	// If this is true, Envoy will create a fully qualified URI composing scheme
	// (inferred if not present), host (from the host/:authority header) and path
	// (from first line or :path header).
	SendFullyQualifiedUrl bool `` /* 129-byte string literal not displayed */
	// [#not-implemented-hide:] Hiding so that field can be removed after BalsaParser is rolled out.
	// If set, force HTTP/1 parser: BalsaParser if true, http-parser if false.
	// If unset, HTTP/1 parser is selected based on
	// envoy.reloadable_features.http1_use_balsa_parser.
	// See issue #21245.
	UseBalsaParser *wrappers.BoolValue `protobuf:"bytes,9,opt,name=use_balsa_parser,json=useBalsaParser,proto3" json:"use_balsa_parser,omitempty"`
	// [#not-implemented-hide:] Hiding so that field can be removed.
	// If true, and BalsaParser is used (either `use_balsa_parser` above is true,
	// or `envoy.reloadable_features.http1_use_balsa_parser` is true and
	// `use_balsa_parser` is unset), then every non-empty method with only valid
	// characters is accepted. Otherwise, methods not on the hard-coded list are
	// rejected.
	// Once UHV is enabled, this field should be removed, and BalsaParser should
	// allow any method. UHV validates the method, rejecting empty string or
	// invalid characters, and provides :ref:`restrict_http_methods
	// <envoy_v3_api_field_extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.restrict_http_methods>`
	// to reject custom methods.
	AllowCustomMethods bool `protobuf:"varint,10,opt,name=allow_custom_methods,json=allowCustomMethods,proto3" json:"allow_custom_methods,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 11]

func (*Http1ProtocolOptions) Descriptor deprecated

func (*Http1ProtocolOptions) Descriptor() ([]byte, []int)

Deprecated: Use Http1ProtocolOptions.ProtoReflect.Descriptor instead.

func (*Http1ProtocolOptions) GetAcceptHttp_10

func (x *Http1ProtocolOptions) GetAcceptHttp_10() bool

func (*Http1ProtocolOptions) GetAllowAbsoluteUrl

func (x *Http1ProtocolOptions) GetAllowAbsoluteUrl() *wrappers.BoolValue

func (*Http1ProtocolOptions) GetAllowChunkedLength added in v0.9.7

func (x *Http1ProtocolOptions) GetAllowChunkedLength() bool

func (*Http1ProtocolOptions) GetAllowCustomMethods added in v0.11.1

func (x *Http1ProtocolOptions) GetAllowCustomMethods() bool

func (*Http1ProtocolOptions) GetDefaultHostForHttp_10

func (x *Http1ProtocolOptions) GetDefaultHostForHttp_10() string

func (*Http1ProtocolOptions) GetEnableTrailers

func (x *Http1ProtocolOptions) GetEnableTrailers() bool

func (*Http1ProtocolOptions) GetHeaderKeyFormat

func (*Http1ProtocolOptions) GetOverrideStreamErrorOnInvalidHttpMessage added in v0.9.7

func (x *Http1ProtocolOptions) GetOverrideStreamErrorOnInvalidHttpMessage() *wrappers.BoolValue

func (*Http1ProtocolOptions) GetSendFullyQualifiedUrl added in v0.10.2

func (x *Http1ProtocolOptions) GetSendFullyQualifiedUrl() bool

func (*Http1ProtocolOptions) GetUseBalsaParser added in v0.11.1

func (x *Http1ProtocolOptions) GetUseBalsaParser() *wrappers.BoolValue

func (*Http1ProtocolOptions) ProtoMessage

func (*Http1ProtocolOptions) ProtoMessage()

func (*Http1ProtocolOptions) ProtoReflect added in v0.9.6

func (x *Http1ProtocolOptions) ProtoReflect() protoreflect.Message

func (*Http1ProtocolOptions) Reset

func (x *Http1ProtocolOptions) Reset()

func (*Http1ProtocolOptions) String

func (x *Http1ProtocolOptions) String() string

func (*Http1ProtocolOptions) Validate

func (m *Http1ProtocolOptions) Validate() error

Validate checks the field values on Http1ProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Http1ProtocolOptions) ValidateAll added in v0.10.0

func (m *Http1ProtocolOptions) ValidateAll() error

ValidateAll checks the field values on Http1ProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Http1ProtocolOptionsMultiError, or nil if none found.

type Http1ProtocolOptionsMultiError added in v0.10.0

type Http1ProtocolOptionsMultiError []error

Http1ProtocolOptionsMultiError is an error wrapping multiple validation errors returned by Http1ProtocolOptions.ValidateAll() if the designated constraints aren't met.

func (Http1ProtocolOptionsMultiError) AllErrors added in v0.10.0

func (m Http1ProtocolOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Http1ProtocolOptionsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type Http1ProtocolOptionsValidationError

type Http1ProtocolOptionsValidationError struct {
	// contains filtered or unexported fields
}

Http1ProtocolOptionsValidationError is the validation error returned by Http1ProtocolOptions.Validate if the designated constraints aren't met.

func (Http1ProtocolOptionsValidationError) Cause

Cause function returns cause value.

func (Http1ProtocolOptionsValidationError) Error

Error satisfies the builtin error interface

func (Http1ProtocolOptionsValidationError) ErrorName

ErrorName returns error name.

func (Http1ProtocolOptionsValidationError) Field

Field function returns field value.

func (Http1ProtocolOptionsValidationError) Key

Key function returns key value.

func (Http1ProtocolOptionsValidationError) Reason

Reason function returns reason value.

type Http1ProtocolOptions_HeaderKeyFormat

type Http1ProtocolOptions_HeaderKeyFormat struct {

	// Types that are assignable to HeaderFormat:
	//
	//	*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_
	//	*Http1ProtocolOptions_HeaderKeyFormat_StatefulFormatter
	HeaderFormat isHttp1ProtocolOptions_HeaderKeyFormat_HeaderFormat `protobuf_oneof:"header_format"`
	// contains filtered or unexported fields
}

[#next-free-field: 9]

func (*Http1ProtocolOptions_HeaderKeyFormat) Descriptor deprecated

func (*Http1ProtocolOptions_HeaderKeyFormat) Descriptor() ([]byte, []int)

Deprecated: Use Http1ProtocolOptions_HeaderKeyFormat.ProtoReflect.Descriptor instead.

func (*Http1ProtocolOptions_HeaderKeyFormat) GetHeaderFormat

func (m *Http1ProtocolOptions_HeaderKeyFormat) GetHeaderFormat() isHttp1ProtocolOptions_HeaderKeyFormat_HeaderFormat

func (*Http1ProtocolOptions_HeaderKeyFormat) GetProperCaseWords

func (*Http1ProtocolOptions_HeaderKeyFormat) GetStatefulFormatter added in v0.9.9

func (*Http1ProtocolOptions_HeaderKeyFormat) ProtoMessage

func (*Http1ProtocolOptions_HeaderKeyFormat) ProtoMessage()

func (*Http1ProtocolOptions_HeaderKeyFormat) ProtoReflect added in v0.9.6

func (*Http1ProtocolOptions_HeaderKeyFormat) Reset

func (*Http1ProtocolOptions_HeaderKeyFormat) String

func (*Http1ProtocolOptions_HeaderKeyFormat) Validate

Validate checks the field values on Http1ProtocolOptions_HeaderKeyFormat with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Http1ProtocolOptions_HeaderKeyFormat) ValidateAll added in v0.10.0

ValidateAll checks the field values on Http1ProtocolOptions_HeaderKeyFormat with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Http1ProtocolOptions_HeaderKeyFormatMultiError, or nil if none found.

type Http1ProtocolOptions_HeaderKeyFormatMultiError added in v0.10.0

type Http1ProtocolOptions_HeaderKeyFormatMultiError []error

Http1ProtocolOptions_HeaderKeyFormatMultiError is an error wrapping multiple validation errors returned by Http1ProtocolOptions_HeaderKeyFormat.ValidateAll() if the designated constraints aren't met.

func (Http1ProtocolOptions_HeaderKeyFormatMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (Http1ProtocolOptions_HeaderKeyFormatMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type Http1ProtocolOptions_HeaderKeyFormatValidationError

type Http1ProtocolOptions_HeaderKeyFormatValidationError struct {
	// contains filtered or unexported fields
}

Http1ProtocolOptions_HeaderKeyFormatValidationError is the validation error returned by Http1ProtocolOptions_HeaderKeyFormat.Validate if the designated constraints aren't met.

func (Http1ProtocolOptions_HeaderKeyFormatValidationError) Cause

Cause function returns cause value.

func (Http1ProtocolOptions_HeaderKeyFormatValidationError) Error

Error satisfies the builtin error interface

func (Http1ProtocolOptions_HeaderKeyFormatValidationError) ErrorName

ErrorName returns error name.

func (Http1ProtocolOptions_HeaderKeyFormatValidationError) Field

Field function returns field value.

func (Http1ProtocolOptions_HeaderKeyFormatValidationError) Key

Key function returns key value.

func (Http1ProtocolOptions_HeaderKeyFormatValidationError) Reason

Reason function returns reason value.

type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords

type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords struct {
	// contains filtered or unexported fields
}

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) Descriptor deprecated

Deprecated: Use Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords.ProtoReflect.Descriptor instead.

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) ProtoMessage

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) ProtoReflect added in v0.9.6

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) Reset

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) String

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) Validate

Validate checks the field values on Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) ValidateAll added in v0.10.0

ValidateAll checks the field values on Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError, or nil if none found.

type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError added in v0.10.0

type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError []error

Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError is an error wrapping multiple validation errors returned by Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords.ValidateAll() if the designated constraints aren't met.

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError

type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError struct {
	// contains filtered or unexported fields
}

Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError is the validation error returned by Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords.Validate if the designated constraints aren't met.

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Cause

Cause function returns cause value.

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Error

Error satisfies the builtin error interface

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) ErrorName

ErrorName returns error name.

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Field

Field function returns field value.

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Key

Key function returns key value.

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Reason

Reason function returns reason value.

type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_

type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_ struct {
	// Formats the header by proper casing words: the first character and any character following
	// a special character will be capitalized if it's an alpha character. For example,
	// "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are".
	// Note that while this results in most headers following conventional casing, certain headers
	// are not covered. For example, the "TE" header will be formatted as "Te".
	ProperCaseWords *Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords `protobuf:"bytes,1,opt,name=proper_case_words,json=properCaseWords,proto3,oneof"`
}

type Http1ProtocolOptions_HeaderKeyFormat_StatefulFormatter added in v0.9.9

type Http1ProtocolOptions_HeaderKeyFormat_StatefulFormatter struct {
	// Configuration for stateful formatter extensions that allow using received headers to
	// affect the output of encoding headers. E.g., preserving case during proxying.
	// [#extension-category: envoy.http.stateful_header_formatters]
	StatefulFormatter *TypedExtensionConfig `protobuf:"bytes,8,opt,name=stateful_formatter,json=statefulFormatter,proto3,oneof"`
}

type Http2ProtocolOptions

type Http2ProtocolOptions struct {

	// `Maximum table size <https://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_
	// (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values
	// range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header
	// compression.
	HpackTableSize *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=hpack_table_size,json=hpackTableSize,proto3" json:"hpack_table_size,omitempty"`
	// `Maximum concurrent streams <https://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_
	// allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1)
	// and defaults to 2147483647.
	//
	// For upstream connections, this also limits how many streams Envoy will initiate concurrently
	// on a single connection. If the limit is reached, Envoy may queue requests or establish
	// additional connections (as allowed per circuit breaker limits).
	//
	// This acts as an upper bound: Envoy will lower the max concurrent streams allowed on a given
	// connection based on upstream settings. Config dumps will reflect the configured upper bound,
	// not the per-connection negotiated limits.
	MaxConcurrentStreams *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_concurrent_streams,json=maxConcurrentStreams,proto3" json:"max_concurrent_streams,omitempty"`
	// `Initial stream-level flow-control window
	// <https://httpwg.org/specs/rfc7540.html#rfc.section.6.9.2>`_ size. Valid values range from 65535
	// (2^16 - 1, HTTP/2 default) to 2147483647 (2^31 - 1, HTTP/2 maximum) and defaults to 268435456
	// (256 * 1024 * 1024).
	//
	// NOTE: 65535 is the initial window size from HTTP/2 spec. We only support increasing the default
	// window size now, so it's also the minimum.
	//
	// This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the
	// HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to
	// stop the flow of data to the codec buffers.
	InitialStreamWindowSize *wrappers.UInt32Value `` /* 134-byte string literal not displayed */
	// Similar to “initial_stream_window_size“, but for connection-level flow-control
	// window. Currently, this has the same minimum/maximum/default as “initial_stream_window_size“.
	InitialConnectionWindowSize *wrappers.UInt32Value `` /* 146-byte string literal not displayed */
	// Allows proxying Websocket and other upgrades over H2 connect.
	AllowConnect bool `protobuf:"varint,5,opt,name=allow_connect,json=allowConnect,proto3" json:"allow_connect,omitempty"`
	// [#not-implemented-hide:] Hiding until envoy has full metadata support.
	// Still under implementation. DO NOT USE.
	//
	// Allows metadata. See [metadata
	// docs](https://github.com/envoyproxy/envoy/blob/main/source/docs/h2_metadata.md) for more
	// information.
	AllowMetadata bool `protobuf:"varint,6,opt,name=allow_metadata,json=allowMetadata,proto3" json:"allow_metadata,omitempty"`
	// Limit the number of pending outbound downstream frames of all types (frames that are waiting to
	// be written into the socket). Exceeding this limit triggers flood mitigation and connection is
	// terminated. The “http2.outbound_flood“ stat tracks the number of terminated connections due
	// to flood mitigation. The default limit is 10000.
	MaxOutboundFrames *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=max_outbound_frames,json=maxOutboundFrames,proto3" json:"max_outbound_frames,omitempty"`
	// Limit the number of pending outbound downstream frames of types PING, SETTINGS and RST_STREAM,
	// preventing high memory utilization when receiving continuous stream of these frames. Exceeding
	// this limit triggers flood mitigation and connection is terminated. The
	// “http2.outbound_control_flood“ stat tracks the number of terminated connections due to flood
	// mitigation. The default limit is 1000.
	MaxOutboundControlFrames *wrappers.UInt32Value `` /* 137-byte string literal not displayed */
	// Limit the number of consecutive inbound frames of types HEADERS, CONTINUATION and DATA with an
	// empty payload and no end stream flag. Those frames have no legitimate use and are abusive, but
	// might be a result of a broken HTTP/2 implementation. The `http2.inbound_empty_frames_flood“
	// stat tracks the number of connections terminated due to flood mitigation.
	// Setting this to 0 will terminate connection upon receiving first frame with an empty payload
	// and no end stream flag. The default limit is 1.
	MaxConsecutiveInboundFramesWithEmptyPayload *wrappers.UInt32Value `` /* 200-byte string literal not displayed */
	// Limit the number of inbound PRIORITY frames allowed per each opened stream. If the number
	// of PRIORITY frames received over the lifetime of connection exceeds the value calculated
	// using this formula::
	//
	//	“max_inbound_priority_frames_per_stream“ * (1 + “opened_streams“)
	//
	// the connection is terminated. For downstream connections the “opened_streams“ is incremented when
	// Envoy receives complete response headers from the upstream server. For upstream connection the
	// “opened_streams“ is incremented when Envoy send the HEADERS frame for a new stream. The
	// “http2.inbound_priority_frames_flood“ stat tracks
	// the number of connections terminated due to flood mitigation. The default limit is 100.
	MaxInboundPriorityFramesPerStream *wrappers.UInt32Value `` /* 169-byte string literal not displayed */
	// Limit the number of inbound WINDOW_UPDATE frames allowed per DATA frame sent. If the number
	// of WINDOW_UPDATE frames received over the lifetime of connection exceeds the value calculated
	// using this formula::
	//
	//	5 + 2 * (“opened_streams“ +
	//	         “max_inbound_window_update_frames_per_data_frame_sent“ * “outbound_data_frames“)
	//
	// the connection is terminated. For downstream connections the “opened_streams“ is incremented when
	// Envoy receives complete response headers from the upstream server. For upstream connections the
	// “opened_streams“ is incremented when Envoy sends the HEADERS frame for a new stream. The
	// “http2.inbound_priority_frames_flood“ stat tracks the number of connections terminated due to
	// flood mitigation. The default max_inbound_window_update_frames_per_data_frame_sent value is 10.
	// Setting this to 1 should be enough to support HTTP/2 implementations with basic flow control,
	// but more complex implementations that try to estimate available bandwidth require at least 2.
	MaxInboundWindowUpdateFramesPerDataFrameSent *wrappers.UInt32Value `` /* 208-byte string literal not displayed */
	// Allows invalid HTTP messaging and headers. When this option is disabled (default), then
	// the whole HTTP/2 connection is terminated upon receiving invalid HEADERS frame. However,
	// when this option is enabled, only the offending stream is terminated.
	//
	// This is overridden by HCM :ref:`stream_error_on_invalid_http_messaging
	// <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`
	// iff present.
	//
	// This is deprecated in favor of :ref:`override_stream_error_on_invalid_http_message
	// <envoy_v3_api_field_config.core.v3.Http2ProtocolOptions.override_stream_error_on_invalid_http_message>`
	//
	// See `RFC7540, sec. 8.1 <https://tools.ietf.org/html/rfc7540#section-8.1>`_ for details.
	//
	// Deprecated: Marked as deprecated in envoy/config/core/v3/protocol.proto.
	StreamErrorOnInvalidHttpMessaging bool `` /* 170-byte string literal not displayed */
	// Allows invalid HTTP messaging and headers. When this option is disabled (default), then
	// the whole HTTP/2 connection is terminated upon receiving invalid HEADERS frame. However,
	// when this option is enabled, only the offending stream is terminated.
	//
	// This overrides any HCM :ref:`stream_error_on_invalid_http_messaging
	// <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`
	//
	// See `RFC7540, sec. 8.1 <https://tools.ietf.org/html/rfc7540#section-8.1>`_ for details.
	OverrideStreamErrorOnInvalidHttpMessage *wrappers.BoolValue `` /* 189-byte string literal not displayed */
	// [#not-implemented-hide:]
	// Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions:
	//
	// 1. SETTINGS_ENABLE_PUSH (0x2) is not configurable as HTTP/2 server push is not supported by
	// Envoy.
	//
	// 2. SETTINGS_ENABLE_CONNECT_PROTOCOL (0x8) is only configurable through the named field
	// 'allow_connect'.
	//
	// Note that custom parameters specified through this field can not also be set in the
	// corresponding named parameters:
	//
	// .. code-block:: text
	//
	//	ID    Field Name
	//	----------------
	//	0x1   hpack_table_size
	//	0x3   max_concurrent_streams
	//	0x4   initial_stream_window_size
	//
	// Collisions will trigger config validation failure on load/update. Likewise, inconsistencies
	// between custom parameters with the same identifier will trigger a failure.
	//
	// See `IANA HTTP/2 Settings
	// <https://www.iana.org/assignments/http2-parameters/http2-parameters.xhtml#settings>`_ for
	// standardized identifiers.
	CustomSettingsParameters []*Http2ProtocolOptions_SettingsParameter `` /* 136-byte string literal not displayed */
	// Send HTTP/2 PING frames to verify that the connection is still healthy. If the remote peer
	// does not respond within the configured timeout, the connection will be aborted.
	ConnectionKeepalive *KeepaliveSettings `protobuf:"bytes,15,opt,name=connection_keepalive,json=connectionKeepalive,proto3" json:"connection_keepalive,omitempty"`
	// [#not-implemented-hide:] Hiding so that the field can be removed after oghttp2 is rolled out.
	// If set, force use of a particular HTTP/2 codec: oghttp2 if true, nghttp2 if false.
	// If unset, HTTP/2 codec is selected based on envoy.reloadable_features.http2_use_oghttp2.
	UseOghttp2Codec *wrappers.BoolValue `protobuf:"bytes,16,opt,name=use_oghttp2_codec,json=useOghttp2Codec,proto3" json:"use_oghttp2_codec,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 17]

func (*Http2ProtocolOptions) Descriptor deprecated

func (*Http2ProtocolOptions) Descriptor() ([]byte, []int)

Deprecated: Use Http2ProtocolOptions.ProtoReflect.Descriptor instead.

func (*Http2ProtocolOptions) GetAllowConnect

func (x *Http2ProtocolOptions) GetAllowConnect() bool

func (*Http2ProtocolOptions) GetAllowMetadata

func (x *Http2ProtocolOptions) GetAllowMetadata() bool

func (*Http2ProtocolOptions) GetConnectionKeepalive added in v0.9.7

func (x *Http2ProtocolOptions) GetConnectionKeepalive() *KeepaliveSettings

func (*Http2ProtocolOptions) GetCustomSettingsParameters added in v0.9.5

func (x *Http2ProtocolOptions) GetCustomSettingsParameters() []*Http2ProtocolOptions_SettingsParameter

func (*Http2ProtocolOptions) GetHpackTableSize

func (x *Http2ProtocolOptions) GetHpackTableSize() *wrappers.UInt32Value

func (*Http2ProtocolOptions) GetInitialConnectionWindowSize

func (x *Http2ProtocolOptions) GetInitialConnectionWindowSize() *wrappers.UInt32Value

func (*Http2ProtocolOptions) GetInitialStreamWindowSize

func (x *Http2ProtocolOptions) GetInitialStreamWindowSize() *wrappers.UInt32Value

func (*Http2ProtocolOptions) GetMaxConcurrentStreams

func (x *Http2ProtocolOptions) GetMaxConcurrentStreams() *wrappers.UInt32Value

func (*Http2ProtocolOptions) GetMaxConsecutiveInboundFramesWithEmptyPayload

func (x *Http2ProtocolOptions) GetMaxConsecutiveInboundFramesWithEmptyPayload() *wrappers.UInt32Value

func (*Http2ProtocolOptions) GetMaxInboundPriorityFramesPerStream

func (x *Http2ProtocolOptions) GetMaxInboundPriorityFramesPerStream() *wrappers.UInt32Value

func (*Http2ProtocolOptions) GetMaxInboundWindowUpdateFramesPerDataFrameSent

func (x *Http2ProtocolOptions) GetMaxInboundWindowUpdateFramesPerDataFrameSent() *wrappers.UInt32Value

func (*Http2ProtocolOptions) GetMaxOutboundControlFrames

func (x *Http2ProtocolOptions) GetMaxOutboundControlFrames() *wrappers.UInt32Value

func (*Http2ProtocolOptions) GetMaxOutboundFrames

func (x *Http2ProtocolOptions) GetMaxOutboundFrames() *wrappers.UInt32Value

func (*Http2ProtocolOptions) GetOverrideStreamErrorOnInvalidHttpMessage added in v0.9.7

func (x *Http2ProtocolOptions) GetOverrideStreamErrorOnInvalidHttpMessage() *wrappers.BoolValue

func (*Http2ProtocolOptions) GetStreamErrorOnInvalidHttpMessaging deprecated

func (x *Http2ProtocolOptions) GetStreamErrorOnInvalidHttpMessaging() bool

Deprecated: Marked as deprecated in envoy/config/core/v3/protocol.proto.

func (*Http2ProtocolOptions) GetUseOghttp2Codec added in v0.11.1

func (x *Http2ProtocolOptions) GetUseOghttp2Codec() *wrappers.BoolValue

func (*Http2ProtocolOptions) ProtoMessage

func (*Http2ProtocolOptions) ProtoMessage()

func (*Http2ProtocolOptions) ProtoReflect added in v0.9.6

func (x *Http2ProtocolOptions) ProtoReflect() protoreflect.Message

func (*Http2ProtocolOptions) Reset

func (x *Http2ProtocolOptions) Reset()

func (*Http2ProtocolOptions) String

func (x *Http2ProtocolOptions) String() string

func (*Http2ProtocolOptions) Validate

func (m *Http2ProtocolOptions) Validate() error

Validate checks the field values on Http2ProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Http2ProtocolOptions) ValidateAll added in v0.10.0

func (m *Http2ProtocolOptions) ValidateAll() error

ValidateAll checks the field values on Http2ProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Http2ProtocolOptionsMultiError, or nil if none found.

type Http2ProtocolOptionsMultiError added in v0.10.0

type Http2ProtocolOptionsMultiError []error

Http2ProtocolOptionsMultiError is an error wrapping multiple validation errors returned by Http2ProtocolOptions.ValidateAll() if the designated constraints aren't met.

func (Http2ProtocolOptionsMultiError) AllErrors added in v0.10.0

func (m Http2ProtocolOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Http2ProtocolOptionsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type Http2ProtocolOptionsValidationError

type Http2ProtocolOptionsValidationError struct {
	// contains filtered or unexported fields
}

Http2ProtocolOptionsValidationError is the validation error returned by Http2ProtocolOptions.Validate if the designated constraints aren't met.

func (Http2ProtocolOptionsValidationError) Cause

Cause function returns cause value.

func (Http2ProtocolOptionsValidationError) Error

Error satisfies the builtin error interface

func (Http2ProtocolOptionsValidationError) ErrorName

ErrorName returns error name.

func (Http2ProtocolOptionsValidationError) Field

Field function returns field value.

func (Http2ProtocolOptionsValidationError) Key

Key function returns key value.

func (Http2ProtocolOptionsValidationError) Reason

Reason function returns reason value.

type Http2ProtocolOptions_SettingsParameter added in v0.9.5

type Http2ProtocolOptions_SettingsParameter struct {

	// The 16 bit parameter identifier.
	Identifier *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// The 32 bit parameter value.
	Value *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Defines a parameter to be sent in the SETTINGS frame. See `RFC7540, sec. 6.5.1 <https://tools.ietf.org/html/rfc7540#section-6.5.1>`_ for details.

func (*Http2ProtocolOptions_SettingsParameter) Descriptor deprecated added in v0.9.5

func (*Http2ProtocolOptions_SettingsParameter) Descriptor() ([]byte, []int)

Deprecated: Use Http2ProtocolOptions_SettingsParameter.ProtoReflect.Descriptor instead.

func (*Http2ProtocolOptions_SettingsParameter) GetIdentifier added in v0.9.5

func (*Http2ProtocolOptions_SettingsParameter) GetValue added in v0.9.5

func (*Http2ProtocolOptions_SettingsParameter) ProtoMessage added in v0.9.5

func (*Http2ProtocolOptions_SettingsParameter) ProtoReflect added in v0.9.6

func (*Http2ProtocolOptions_SettingsParameter) Reset added in v0.9.5

func (*Http2ProtocolOptions_SettingsParameter) String added in v0.9.5

func (*Http2ProtocolOptions_SettingsParameter) Validate added in v0.9.5

Validate checks the field values on Http2ProtocolOptions_SettingsParameter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Http2ProtocolOptions_SettingsParameter) ValidateAll added in v0.10.0

ValidateAll checks the field values on Http2ProtocolOptions_SettingsParameter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Http2ProtocolOptions_SettingsParameterMultiError, or nil if none found.

type Http2ProtocolOptions_SettingsParameterMultiError added in v0.10.0

type Http2ProtocolOptions_SettingsParameterMultiError []error

Http2ProtocolOptions_SettingsParameterMultiError is an error wrapping multiple validation errors returned by Http2ProtocolOptions_SettingsParameter.ValidateAll() if the designated constraints aren't met.

func (Http2ProtocolOptions_SettingsParameterMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (Http2ProtocolOptions_SettingsParameterMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type Http2ProtocolOptions_SettingsParameterValidationError added in v0.9.5

type Http2ProtocolOptions_SettingsParameterValidationError struct {
	// contains filtered or unexported fields
}

Http2ProtocolOptions_SettingsParameterValidationError is the validation error returned by Http2ProtocolOptions_SettingsParameter.Validate if the designated constraints aren't met.

func (Http2ProtocolOptions_SettingsParameterValidationError) Cause added in v0.9.5

Cause function returns cause value.

func (Http2ProtocolOptions_SettingsParameterValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (Http2ProtocolOptions_SettingsParameterValidationError) ErrorName added in v0.9.5

ErrorName returns error name.

func (Http2ProtocolOptions_SettingsParameterValidationError) Field added in v0.9.5

Field function returns field value.

func (Http2ProtocolOptions_SettingsParameterValidationError) Key added in v0.9.5

Key function returns key value.

func (Http2ProtocolOptions_SettingsParameterValidationError) Reason added in v0.9.5

Reason function returns reason value.

type Http3ProtocolOptions added in v0.9.9

type Http3ProtocolOptions struct {
	QuicProtocolOptions *QuicProtocolOptions `protobuf:"bytes,1,opt,name=quic_protocol_options,json=quicProtocolOptions,proto3" json:"quic_protocol_options,omitempty"`
	// Allows invalid HTTP messaging and headers. When this option is disabled (default), then
	// the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However,
	// when this option is enabled, only the offending stream is terminated.
	//
	// If set, this overrides any HCM :ref:`stream_error_on_invalid_http_messaging
	// <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`.
	OverrideStreamErrorOnInvalidHttpMessage *wrappers.BoolValue `` /* 188-byte string literal not displayed */
	// Allows proxying Websocket and other upgrades over HTTP/3 CONNECT using
	// the header mechanisms from the `HTTP/2 extended connect RFC
	// <https://datatracker.ietf.org/doc/html/rfc8441>`_
	// and settings `proposed for HTTP/3
	// <https://datatracker.ietf.org/doc/draft-ietf-httpbis-h3-websockets/>`_
	// Note that HTTP/3 CONNECT is not yet an RFC.
	AllowExtendedConnect bool `protobuf:"varint,5,opt,name=allow_extended_connect,json=allowExtendedConnect,proto3" json:"allow_extended_connect,omitempty"`
	// contains filtered or unexported fields
}

A message which allows using HTTP/3. [#next-free-field: 6]

func (*Http3ProtocolOptions) Descriptor deprecated added in v0.9.9

func (*Http3ProtocolOptions) Descriptor() ([]byte, []int)

Deprecated: Use Http3ProtocolOptions.ProtoReflect.Descriptor instead.

func (*Http3ProtocolOptions) GetAllowExtendedConnect added in v0.10.0

func (x *Http3ProtocolOptions) GetAllowExtendedConnect() bool

func (*Http3ProtocolOptions) GetOverrideStreamErrorOnInvalidHttpMessage added in v0.9.9

func (x *Http3ProtocolOptions) GetOverrideStreamErrorOnInvalidHttpMessage() *wrappers.BoolValue

func (*Http3ProtocolOptions) GetQuicProtocolOptions added in v0.9.9

func (x *Http3ProtocolOptions) GetQuicProtocolOptions() *QuicProtocolOptions

func (*Http3ProtocolOptions) ProtoMessage added in v0.9.9

func (*Http3ProtocolOptions) ProtoMessage()

func (*Http3ProtocolOptions) ProtoReflect added in v0.9.9

func (x *Http3ProtocolOptions) ProtoReflect() protoreflect.Message

func (*Http3ProtocolOptions) Reset added in v0.9.9

func (x *Http3ProtocolOptions) Reset()

func (*Http3ProtocolOptions) String added in v0.9.9

func (x *Http3ProtocolOptions) String() string

func (*Http3ProtocolOptions) Validate added in v0.9.9

func (m *Http3ProtocolOptions) Validate() error

Validate checks the field values on Http3ProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Http3ProtocolOptions) ValidateAll added in v0.10.0

func (m *Http3ProtocolOptions) ValidateAll() error

ValidateAll checks the field values on Http3ProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Http3ProtocolOptionsMultiError, or nil if none found.

type Http3ProtocolOptionsMultiError added in v0.10.0

type Http3ProtocolOptionsMultiError []error

Http3ProtocolOptionsMultiError is an error wrapping multiple validation errors returned by Http3ProtocolOptions.ValidateAll() if the designated constraints aren't met.

func (Http3ProtocolOptionsMultiError) AllErrors added in v0.10.0

func (m Http3ProtocolOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Http3ProtocolOptionsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type Http3ProtocolOptionsValidationError added in v0.9.9

type Http3ProtocolOptionsValidationError struct {
	// contains filtered or unexported fields
}

Http3ProtocolOptionsValidationError is the validation error returned by Http3ProtocolOptions.Validate if the designated constraints aren't met.

func (Http3ProtocolOptionsValidationError) Cause added in v0.9.9

Cause function returns cause value.

func (Http3ProtocolOptionsValidationError) Error added in v0.9.9

Error satisfies the builtin error interface

func (Http3ProtocolOptionsValidationError) ErrorName added in v0.9.9

ErrorName returns error name.

func (Http3ProtocolOptionsValidationError) Field added in v0.9.9

Field function returns field value.

func (Http3ProtocolOptionsValidationError) Key added in v0.9.9

Key function returns key value.

func (Http3ProtocolOptionsValidationError) Reason added in v0.9.9

Reason function returns reason value.

type HttpProtocolOptions

type HttpProtocolOptions struct {

	// The idle timeout for connections. The idle timeout is defined as the
	// period in which there are no active requests. When the
	// idle timeout is reached the connection will be closed. If the connection is an HTTP/2
	// downstream connection a drain sequence will occur prior to closing the connection, see
	// :ref:`drain_timeout
	// <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`.
	// Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive.
	// If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0.
	//
	// .. warning::
	//
	//	Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
	//	FIN packets, etc.
	//
	// If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts"
	// is configured, this timeout is scaled for downstream connections according to the value for
	// :ref:`HTTP_DOWNSTREAM_CONNECTION_IDLE <envoy_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_CONNECTION_IDLE>`.
	IdleTimeout *duration.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	// The maximum duration of a connection. The duration is defined as a period since a connection
	// was established. If not set, there is no max duration. When max_connection_duration is reached
	// and if there are no active streams, the connection will be closed. If the connection is a
	// downstream connection and there are any active streams, the drain sequence will kick-in,
	// and the connection will be force-closed after the drain period. See :ref:`drain_timeout
	// <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`.
	MaxConnectionDuration *duration.Duration `` /* 126-byte string literal not displayed */
	// The maximum number of headers. If unconfigured, the default
	// maximum number of request headers allowed is 100. Requests that exceed this limit will receive
	// a 431 response for HTTP/1.x and cause a stream reset for HTTP/2.
	MaxHeadersCount *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_headers_count,json=maxHeadersCount,proto3" json:"max_headers_count,omitempty"`
	// Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be
	// reset independent of any other timeouts. If not specified, this value is not set.
	MaxStreamDuration *duration.Duration `protobuf:"bytes,4,opt,name=max_stream_duration,json=maxStreamDuration,proto3" json:"max_stream_duration,omitempty"`
	// Action to take when a client request with a header name containing underscore characters is received.
	// If this setting is not specified, the value defaults to ALLOW.
	// Note: upstream responses are not affected by this setting.
	// Note: this only affects client headers. It does not affect headers added
	// by Envoy filters and does not have any impact if added to cluster config.
	HeadersWithUnderscoresAction HttpProtocolOptions_HeadersWithUnderscoresAction `` /* 225-byte string literal not displayed */
	// Optional maximum requests for both upstream and downstream connections.
	// If not specified, there is no limit.
	// Setting this parameter to 1 will effectively disable keep alive.
	// For HTTP/2 and HTTP/3, due to concurrent stream processing, the limit is approximate.
	MaxRequestsPerConnection *wrappers.UInt32Value `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

[#next-free-field: 7]

func (*HttpProtocolOptions) Descriptor deprecated

func (*HttpProtocolOptions) Descriptor() ([]byte, []int)

Deprecated: Use HttpProtocolOptions.ProtoReflect.Descriptor instead.

func (*HttpProtocolOptions) GetHeadersWithUnderscoresAction added in v0.9.6

func (x *HttpProtocolOptions) GetHeadersWithUnderscoresAction() HttpProtocolOptions_HeadersWithUnderscoresAction

func (*HttpProtocolOptions) GetIdleTimeout

func (x *HttpProtocolOptions) GetIdleTimeout() *duration.Duration

func (*HttpProtocolOptions) GetMaxConnectionDuration

func (x *HttpProtocolOptions) GetMaxConnectionDuration() *duration.Duration

func (*HttpProtocolOptions) GetMaxHeadersCount

func (x *HttpProtocolOptions) GetMaxHeadersCount() *wrappers.UInt32Value

func (*HttpProtocolOptions) GetMaxRequestsPerConnection added in v0.10.0

func (x *HttpProtocolOptions) GetMaxRequestsPerConnection() *wrappers.UInt32Value

func (*HttpProtocolOptions) GetMaxStreamDuration added in v0.9.5

func (x *HttpProtocolOptions) GetMaxStreamDuration() *duration.Duration

func (*HttpProtocolOptions) ProtoMessage

func (*HttpProtocolOptions) ProtoMessage()

func (*HttpProtocolOptions) ProtoReflect added in v0.9.6

func (x *HttpProtocolOptions) ProtoReflect() protoreflect.Message

func (*HttpProtocolOptions) Reset

func (x *HttpProtocolOptions) Reset()

func (*HttpProtocolOptions) String

func (x *HttpProtocolOptions) String() string

func (*HttpProtocolOptions) Validate

func (m *HttpProtocolOptions) Validate() error

Validate checks the field values on HttpProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HttpProtocolOptions) ValidateAll added in v0.10.0

func (m *HttpProtocolOptions) ValidateAll() error

ValidateAll checks the field values on HttpProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HttpProtocolOptionsMultiError, or nil if none found.

type HttpProtocolOptionsMultiError added in v0.10.0

type HttpProtocolOptionsMultiError []error

HttpProtocolOptionsMultiError is an error wrapping multiple validation errors returned by HttpProtocolOptions.ValidateAll() if the designated constraints aren't met.

func (HttpProtocolOptionsMultiError) AllErrors added in v0.10.0

func (m HttpProtocolOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HttpProtocolOptionsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HttpProtocolOptionsValidationError

type HttpProtocolOptionsValidationError struct {
	// contains filtered or unexported fields
}

HttpProtocolOptionsValidationError is the validation error returned by HttpProtocolOptions.Validate if the designated constraints aren't met.

func (HttpProtocolOptionsValidationError) Cause

Cause function returns cause value.

func (HttpProtocolOptionsValidationError) Error

Error satisfies the builtin error interface

func (HttpProtocolOptionsValidationError) ErrorName

ErrorName returns error name.

func (HttpProtocolOptionsValidationError) Field

Field function returns field value.

func (HttpProtocolOptionsValidationError) Key

Key function returns key value.

func (HttpProtocolOptionsValidationError) Reason

Reason function returns reason value.

type HttpProtocolOptions_HeadersWithUnderscoresAction added in v0.9.6

type HttpProtocolOptions_HeadersWithUnderscoresAction int32

Action to take when Envoy receives client request with header names containing underscore characters. Underscore character is allowed in header names by the RFC-7230 and this behavior is implemented as a security measure due to systems that treat '_' and '-' as interchangeable. Envoy by default allows client request headers with underscore characters.

const (
	// Allow headers with underscores. This is the default behavior.
	HttpProtocolOptions_ALLOW HttpProtocolOptions_HeadersWithUnderscoresAction = 0
	// Reject client request. HTTP/1 requests are rejected with the 400 status. HTTP/2 requests
	// end with the stream reset. The "httpN.requests_rejected_with_underscores_in_headers" counter
	// is incremented for each rejected request.
	HttpProtocolOptions_REJECT_REQUEST HttpProtocolOptions_HeadersWithUnderscoresAction = 1
	// Drop the client header with name containing underscores. The header is dropped before the filter chain is
	// invoked and as such filters will not see dropped headers. The
	// "httpN.dropped_headers_with_underscores" is incremented for each dropped header.
	HttpProtocolOptions_DROP_HEADER HttpProtocolOptions_HeadersWithUnderscoresAction = 2
)

func (HttpProtocolOptions_HeadersWithUnderscoresAction) Descriptor added in v0.9.6

func (HttpProtocolOptions_HeadersWithUnderscoresAction) Enum added in v0.9.6

func (HttpProtocolOptions_HeadersWithUnderscoresAction) EnumDescriptor deprecated added in v0.9.6

Deprecated: Use HttpProtocolOptions_HeadersWithUnderscoresAction.Descriptor instead.

func (HttpProtocolOptions_HeadersWithUnderscoresAction) Number added in v0.9.6

func (HttpProtocolOptions_HeadersWithUnderscoresAction) String added in v0.9.6

func (HttpProtocolOptions_HeadersWithUnderscoresAction) Type added in v0.9.6

type HttpService added in v0.12.0

type HttpService struct {

	// The service's HTTP URI. For example:
	//
	// .. code-block:: yaml
	//
	//	http_uri:
	//	  uri: https://www.myserviceapi.com/v1/data
	//	  cluster: www.myserviceapi.com|443
	HttpUri *HttpUri `protobuf:"bytes,1,opt,name=http_uri,json=httpUri,proto3" json:"http_uri,omitempty"`
	// Specifies a list of HTTP headers that should be added to each request
	// handled by this virtual host.
	RequestHeadersToAdd []*HeaderValueOption `protobuf:"bytes,2,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"`
	// contains filtered or unexported fields
}

HTTP service configuration.

func (*HttpService) Descriptor deprecated added in v0.12.0

func (*HttpService) Descriptor() ([]byte, []int)

Deprecated: Use HttpService.ProtoReflect.Descriptor instead.

func (*HttpService) GetHttpUri added in v0.12.0

func (x *HttpService) GetHttpUri() *HttpUri

func (*HttpService) GetRequestHeadersToAdd added in v0.12.0

func (x *HttpService) GetRequestHeadersToAdd() []*HeaderValueOption

func (*HttpService) ProtoMessage added in v0.12.0

func (*HttpService) ProtoMessage()

func (*HttpService) ProtoReflect added in v0.12.0

func (x *HttpService) ProtoReflect() protoreflect.Message

func (*HttpService) Reset added in v0.12.0

func (x *HttpService) Reset()

func (*HttpService) String added in v0.12.0

func (x *HttpService) String() string

func (*HttpService) Validate added in v0.12.0

func (m *HttpService) Validate() error

Validate checks the field values on HttpService with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HttpService) ValidateAll added in v0.12.0

func (m *HttpService) ValidateAll() error

ValidateAll checks the field values on HttpService with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HttpServiceMultiError, or nil if none found.

type HttpServiceMultiError added in v0.12.0

type HttpServiceMultiError []error

HttpServiceMultiError is an error wrapping multiple validation errors returned by HttpService.ValidateAll() if the designated constraints aren't met.

func (HttpServiceMultiError) AllErrors added in v0.12.0

func (m HttpServiceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HttpServiceMultiError) Error added in v0.12.0

func (m HttpServiceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HttpServiceValidationError added in v0.12.0

type HttpServiceValidationError struct {
	// contains filtered or unexported fields
}

HttpServiceValidationError is the validation error returned by HttpService.Validate if the designated constraints aren't met.

func (HttpServiceValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (HttpServiceValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (HttpServiceValidationError) ErrorName added in v0.12.0

func (e HttpServiceValidationError) ErrorName() string

ErrorName returns error name.

func (HttpServiceValidationError) Field added in v0.12.0

Field function returns field value.

func (HttpServiceValidationError) Key added in v0.12.0

Key function returns key value.

func (HttpServiceValidationError) Reason added in v0.12.0

Reason function returns reason value.

type HttpUri

type HttpUri struct {

	// The HTTP server URI. It should be a full FQDN with protocol, host and path.
	//
	// Example:
	//
	// .. code-block:: yaml
	//
	//	uri: https://www.googleapis.com/oauth2/v1/certs
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Specify how “uri“ is to be fetched. Today, this requires an explicit
	// cluster, but in the future we may support dynamic cluster creation or
	// inline DNS resolution. See `issue
	// <https://github.com/envoyproxy/envoy/issues/1606>`_.
	//
	// Types that are assignable to HttpUpstreamType:
	//
	//	*HttpUri_Cluster
	HttpUpstreamType isHttpUri_HttpUpstreamType `protobuf_oneof:"http_upstream_type"`
	// Sets the maximum duration in milliseconds that a response can take to arrive upon request.
	Timeout *duration.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

Envoy external URI descriptor

func (*HttpUri) Descriptor deprecated

func (*HttpUri) Descriptor() ([]byte, []int)

Deprecated: Use HttpUri.ProtoReflect.Descriptor instead.

func (*HttpUri) GetCluster

func (x *HttpUri) GetCluster() string

func (*HttpUri) GetHttpUpstreamType

func (m *HttpUri) GetHttpUpstreamType() isHttpUri_HttpUpstreamType

func (*HttpUri) GetTimeout

func (x *HttpUri) GetTimeout() *duration.Duration

func (*HttpUri) GetUri

func (x *HttpUri) GetUri() string

func (*HttpUri) ProtoMessage

func (*HttpUri) ProtoMessage()

func (*HttpUri) ProtoReflect added in v0.9.6

func (x *HttpUri) ProtoReflect() protoreflect.Message

func (*HttpUri) Reset

func (x *HttpUri) Reset()

func (*HttpUri) String

func (x *HttpUri) String() string

func (*HttpUri) Validate

func (m *HttpUri) Validate() error

Validate checks the field values on HttpUri with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HttpUri) ValidateAll added in v0.10.0

func (m *HttpUri) ValidateAll() error

ValidateAll checks the field values on HttpUri with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HttpUriMultiError, or nil if none found.

type HttpUriMultiError added in v0.10.0

type HttpUriMultiError []error

HttpUriMultiError is an error wrapping multiple validation errors returned by HttpUri.ValidateAll() if the designated constraints aren't met.

func (HttpUriMultiError) AllErrors added in v0.10.0

func (m HttpUriMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HttpUriMultiError) Error added in v0.10.0

func (m HttpUriMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HttpUriValidationError

type HttpUriValidationError struct {
	// contains filtered or unexported fields
}

HttpUriValidationError is the validation error returned by HttpUri.Validate if the designated constraints aren't met.

func (HttpUriValidationError) Cause

func (e HttpUriValidationError) Cause() error

Cause function returns cause value.

func (HttpUriValidationError) Error

func (e HttpUriValidationError) Error() string

Error satisfies the builtin error interface

func (HttpUriValidationError) ErrorName

func (e HttpUriValidationError) ErrorName() string

ErrorName returns error name.

func (HttpUriValidationError) Field

func (e HttpUriValidationError) Field() string

Field function returns field value.

func (HttpUriValidationError) Key

func (e HttpUriValidationError) Key() bool

Key function returns key value.

func (HttpUriValidationError) Reason

func (e HttpUriValidationError) Reason() string

Reason function returns reason value.

type HttpUri_Cluster

type HttpUri_Cluster struct {
	// A cluster is created in the Envoy "cluster_manager" config
	// section. This field specifies the cluster name.
	//
	// Example:
	//
	// .. code-block:: yaml
	//
	//	cluster: jwks_cluster
	Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3,oneof"`
}

type JsonFormatOptions added in v0.12.0

type JsonFormatOptions struct {

	// The output JSON string properties will be sorted.
	SortProperties bool `protobuf:"varint,1,opt,name=sort_properties,json=sortProperties,proto3" json:"sort_properties,omitempty"`
	// contains filtered or unexported fields
}

Optional configuration options to be used with json_format.

func (*JsonFormatOptions) Descriptor deprecated added in v0.12.0

func (*JsonFormatOptions) Descriptor() ([]byte, []int)

Deprecated: Use JsonFormatOptions.ProtoReflect.Descriptor instead.

func (*JsonFormatOptions) GetSortProperties added in v0.12.0

func (x *JsonFormatOptions) GetSortProperties() bool

func (*JsonFormatOptions) ProtoMessage added in v0.12.0

func (*JsonFormatOptions) ProtoMessage()

func (*JsonFormatOptions) ProtoReflect added in v0.12.0

func (x *JsonFormatOptions) ProtoReflect() protoreflect.Message

func (*JsonFormatOptions) Reset added in v0.12.0

func (x *JsonFormatOptions) Reset()

func (*JsonFormatOptions) String added in v0.12.0

func (x *JsonFormatOptions) String() string

func (*JsonFormatOptions) Validate added in v0.12.0

func (m *JsonFormatOptions) Validate() error

Validate checks the field values on JsonFormatOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*JsonFormatOptions) ValidateAll added in v0.12.0

func (m *JsonFormatOptions) ValidateAll() error

ValidateAll checks the field values on JsonFormatOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JsonFormatOptionsMultiError, or nil if none found.

type JsonFormatOptionsMultiError added in v0.12.0

type JsonFormatOptionsMultiError []error

JsonFormatOptionsMultiError is an error wrapping multiple validation errors returned by JsonFormatOptions.ValidateAll() if the designated constraints aren't met.

func (JsonFormatOptionsMultiError) AllErrors added in v0.12.0

func (m JsonFormatOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JsonFormatOptionsMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type JsonFormatOptionsValidationError added in v0.12.0

type JsonFormatOptionsValidationError struct {
	// contains filtered or unexported fields
}

JsonFormatOptionsValidationError is the validation error returned by JsonFormatOptions.Validate if the designated constraints aren't met.

func (JsonFormatOptionsValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (JsonFormatOptionsValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (JsonFormatOptionsValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (JsonFormatOptionsValidationError) Field added in v0.12.0

Field function returns field value.

func (JsonFormatOptionsValidationError) Key added in v0.12.0

Key function returns key value.

func (JsonFormatOptionsValidationError) Reason added in v0.12.0

Reason function returns reason value.

type KeepaliveSettings added in v0.9.7

type KeepaliveSettings struct {

	// Send HTTP/2 PING frames at this period, in order to test that the connection is still alive.
	// If this is zero, interval PINGs will not be sent.
	Interval *duration.Duration `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// How long to wait for a response to a keepalive PING. If a response is not received within this
	// time period, the connection will be aborted. Note that in order to prevent the influence of
	// Head-of-line (HOL) blocking the timeout period is extended when *any* frame is received on
	// the connection, under the assumption that if a frame is received the connection is healthy.
	Timeout *duration.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// A random jitter amount as a percentage of interval that will be added to each interval.
	// A value of zero means there will be no jitter.
	// The default value is 15%.
	IntervalJitter *v3.Percent `protobuf:"bytes,3,opt,name=interval_jitter,json=intervalJitter,proto3" json:"interval_jitter,omitempty"`
	// If the connection has been idle for this duration, send a HTTP/2 ping ahead
	// of new stream creation, to quickly detect dead connections.
	// If this is zero, this type of PING will not be sent.
	// If an interval ping is outstanding, a second ping will not be sent as the
	// interval ping will determine if the connection is dead.
	//
	// The same feature for HTTP/3 is given by inheritance from QUICHE which uses :ref:`connection idle_timeout <envoy_v3_api_field_config.listener.v3.QuicProtocolOptions.idle_timeout>` and the current PTO of the connection to decide whether to probe before sending a new request.
	ConnectionIdleInterval *duration.Duration `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*KeepaliveSettings) Descriptor deprecated added in v0.9.7

func (*KeepaliveSettings) Descriptor() ([]byte, []int)

Deprecated: Use KeepaliveSettings.ProtoReflect.Descriptor instead.

func (*KeepaliveSettings) GetConnectionIdleInterval added in v0.10.0

func (x *KeepaliveSettings) GetConnectionIdleInterval() *duration.Duration

func (*KeepaliveSettings) GetInterval added in v0.9.7

func (x *KeepaliveSettings) GetInterval() *duration.Duration

func (*KeepaliveSettings) GetIntervalJitter added in v0.9.7

func (x *KeepaliveSettings) GetIntervalJitter() *v3.Percent

func (*KeepaliveSettings) GetTimeout added in v0.9.7

func (x *KeepaliveSettings) GetTimeout() *duration.Duration

func (*KeepaliveSettings) ProtoMessage added in v0.9.7

func (*KeepaliveSettings) ProtoMessage()

func (*KeepaliveSettings) ProtoReflect added in v0.9.7

func (x *KeepaliveSettings) ProtoReflect() protoreflect.Message

func (*KeepaliveSettings) Reset added in v0.9.7

func (x *KeepaliveSettings) Reset()

func (*KeepaliveSettings) String added in v0.9.7

func (x *KeepaliveSettings) String() string

func (*KeepaliveSettings) Validate added in v0.9.7

func (m *KeepaliveSettings) Validate() error

Validate checks the field values on KeepaliveSettings with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*KeepaliveSettings) ValidateAll added in v0.10.0

func (m *KeepaliveSettings) ValidateAll() error

ValidateAll checks the field values on KeepaliveSettings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KeepaliveSettingsMultiError, or nil if none found.

type KeepaliveSettingsMultiError added in v0.10.0

type KeepaliveSettingsMultiError []error

KeepaliveSettingsMultiError is an error wrapping multiple validation errors returned by KeepaliveSettings.ValidateAll() if the designated constraints aren't met.

func (KeepaliveSettingsMultiError) AllErrors added in v0.10.0

func (m KeepaliveSettingsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KeepaliveSettingsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type KeepaliveSettingsValidationError added in v0.9.7

type KeepaliveSettingsValidationError struct {
	// contains filtered or unexported fields
}

KeepaliveSettingsValidationError is the validation error returned by KeepaliveSettings.Validate if the designated constraints aren't met.

func (KeepaliveSettingsValidationError) Cause added in v0.9.7

Cause function returns cause value.

func (KeepaliveSettingsValidationError) Error added in v0.9.7

Error satisfies the builtin error interface

func (KeepaliveSettingsValidationError) ErrorName added in v0.9.7

ErrorName returns error name.

func (KeepaliveSettingsValidationError) Field added in v0.9.7

Field function returns field value.

func (KeepaliveSettingsValidationError) Key added in v0.9.7

Key function returns key value.

func (KeepaliveSettingsValidationError) Reason added in v0.9.7

Reason function returns reason value.

type Locality

type Locality struct {

	// Region this :ref:`zone <envoy_v3_api_field_config.core.v3.Locality.zone>` belongs to.
	Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	// Defines the local service zone where Envoy is running. Though optional, it
	// should be set if discovery service routing is used and the discovery
	// service exposes :ref:`zone data <envoy_v3_api_field_config.endpoint.v3.LocalityLbEndpoints.locality>`,
	// either in this message or via :option:`--service-zone`. The meaning of zone
	// is context dependent, e.g. `Availability Zone (AZ)
	// <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html>`_
	// on AWS, `Zone <https://cloud.google.com/compute/docs/regions-zones/>`_ on
	// GCP, etc.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// When used for locality of upstream hosts, this field further splits zone
	// into smaller chunks of sub-zones so they can be load balanced
	// independently.
	SubZone string `protobuf:"bytes,3,opt,name=sub_zone,json=subZone,proto3" json:"sub_zone,omitempty"`
	// contains filtered or unexported fields
}

Identifies location of where either Envoy runs or where upstream hosts run.

func (*Locality) Descriptor deprecated

func (*Locality) Descriptor() ([]byte, []int)

Deprecated: Use Locality.ProtoReflect.Descriptor instead.

func (*Locality) GetRegion

func (x *Locality) GetRegion() string

func (*Locality) GetSubZone

func (x *Locality) GetSubZone() string

func (*Locality) GetZone

func (x *Locality) GetZone() string

func (*Locality) ProtoMessage

func (*Locality) ProtoMessage()

func (*Locality) ProtoReflect added in v0.9.6

func (x *Locality) ProtoReflect() protoreflect.Message

func (*Locality) Reset

func (x *Locality) Reset()

func (*Locality) String

func (x *Locality) String() string

func (*Locality) Validate

func (m *Locality) Validate() error

Validate checks the field values on Locality with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Locality) ValidateAll added in v0.10.0

func (m *Locality) ValidateAll() error

ValidateAll checks the field values on Locality with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LocalityMultiError, or nil if none found.

type LocalityMultiError added in v0.10.0

type LocalityMultiError []error

LocalityMultiError is an error wrapping multiple validation errors returned by Locality.ValidateAll() if the designated constraints aren't met.

func (LocalityMultiError) AllErrors added in v0.10.0

func (m LocalityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LocalityMultiError) Error added in v0.10.0

func (m LocalityMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LocalityValidationError

type LocalityValidationError struct {
	// contains filtered or unexported fields
}

LocalityValidationError is the validation error returned by Locality.Validate if the designated constraints aren't met.

func (LocalityValidationError) Cause

func (e LocalityValidationError) Cause() error

Cause function returns cause value.

func (LocalityValidationError) Error

func (e LocalityValidationError) Error() string

Error satisfies the builtin error interface

func (LocalityValidationError) ErrorName

func (e LocalityValidationError) ErrorName() string

ErrorName returns error name.

func (LocalityValidationError) Field

func (e LocalityValidationError) Field() string

Field function returns field value.

func (LocalityValidationError) Key

func (e LocalityValidationError) Key() bool

Key function returns key value.

func (LocalityValidationError) Reason

func (e LocalityValidationError) Reason() string

Reason function returns reason value.

type Metadata

type Metadata struct {

	// Key is the reverse DNS filter name, e.g. com.acme.widget. The “envoy.*“
	// namespace is reserved for Envoy's built-in filters.
	// If both “filter_metadata“ and
	// :ref:`typed_filter_metadata <envoy_v3_api_field_config.core.v3.Metadata.typed_filter_metadata>`
	// fields are present in the metadata with same keys,
	// only “typed_filter_metadata“ field will be parsed.
	FilterMetadata map[string]*_struct.Struct `` /* 191-byte string literal not displayed */
	// Key is the reverse DNS filter name, e.g. com.acme.widget. The “envoy.*“
	// namespace is reserved for Envoy's built-in filters.
	// The value is encoded as google.protobuf.Any.
	// If both :ref:`filter_metadata <envoy_v3_api_field_config.core.v3.Metadata.filter_metadata>`
	// and “typed_filter_metadata“ fields are present in the metadata with same keys,
	// only “typed_filter_metadata“ field will be parsed.
	TypedFilterMetadata map[string]*any1.Any `` /* 208-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata provides additional inputs to filters based on matched listeners, filter chains, routes and endpoints. It is structured as a map, usually from filter name (in reverse DNS format) to metadata specific to the filter. Metadata key-values for a filter are merged as connection and request handling occurs, with later values for the same key overriding earlier values.

An example use of metadata is providing additional values to http_connection_manager in the envoy.http_connection_manager.access_log namespace.

Another example use of metadata is to per service config info in cluster metadata, which may get consumed by multiple filters.

For load balancing, Metadata provides a means to subset cluster endpoints. Endpoints have a Metadata object associated and routes contain a Metadata object to match against. There are some well defined metadata used today for this purpose:

  • “{"envoy.lb": {"canary": <bool> }}“ This indicates the canary status of an endpoint and is also used during header processing (x-envoy-upstream-canary) and for stats purposes.

[#next-major-version: move to type/metadata/v2]

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetFilterMetadata

func (x *Metadata) GetFilterMetadata() map[string]*_struct.Struct

func (*Metadata) GetTypedFilterMetadata added in v0.9.9

func (x *Metadata) GetTypedFilterMetadata() map[string]*any1.Any

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect added in v0.9.6

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) Validate

func (m *Metadata) Validate() error

Validate checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Metadata) ValidateAll added in v0.10.0

func (m *Metadata) ValidateAll() error

ValidateAll checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetadataMultiError, or nil if none found.

type MetadataMultiError added in v0.10.0

type MetadataMultiError []error

MetadataMultiError is an error wrapping multiple validation errors returned by Metadata.ValidateAll() if the designated constraints aren't met.

func (MetadataMultiError) AllErrors added in v0.10.0

func (m MetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetadataMultiError) Error added in v0.10.0

func (m MetadataMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MetadataValidationError

type MetadataValidationError struct {
	// contains filtered or unexported fields
}

MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.

func (MetadataValidationError) Cause

func (e MetadataValidationError) Cause() error

Cause function returns cause value.

func (MetadataValidationError) Error

func (e MetadataValidationError) Error() string

Error satisfies the builtin error interface

func (MetadataValidationError) ErrorName

func (e MetadataValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataValidationError) Field

func (e MetadataValidationError) Field() string

Field function returns field value.

func (MetadataValidationError) Key

func (e MetadataValidationError) Key() bool

Key function returns key value.

func (MetadataValidationError) Reason

func (e MetadataValidationError) Reason() string

Reason function returns reason value.

type Node

type Node struct {

	// An opaque node identifier for the Envoy node. This also provides the local
	// service node name. It should be set if any of the following features are
	// used: :ref:`statsd <arch_overview_statistics>`, :ref:`CDS
	// <config_cluster_manager_cds>`, and :ref:`HTTP tracing
	// <arch_overview_tracing>`, either in this message or via
	// :option:`--service-node`.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Defines the local service cluster name where Envoy is running. Though
	// optional, it should be set if any of the following features are used:
	// :ref:`statsd <arch_overview_statistics>`, :ref:`health check cluster
	// verification
	// <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.service_name_matcher>`,
	// :ref:`runtime override directory <envoy_v3_api_msg_config.bootstrap.v3.Runtime>`,
	// :ref:`user agent addition
	// <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.add_user_agent>`,
	// :ref:`HTTP global rate limiting <config_http_filters_rate_limit>`,
	// :ref:`CDS <config_cluster_manager_cds>`, and :ref:`HTTP tracing
	// <arch_overview_tracing>`, either in this message or via
	// :option:`--service-cluster`.
	Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Opaque metadata extending the node identifier. Envoy will pass this
	// directly to the management server.
	Metadata *_struct.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Map from xDS resource type URL to dynamic context parameters. These may vary at runtime (unlike
	// other fields in this message). For example, the xDS client may have a shard identifier that
	// changes during the lifetime of the xDS client. In Envoy, this would be achieved by updating the
	// dynamic context on the Server::Instance's LocalInfo context provider. The shard ID dynamic
	// parameter then appears in this field during future discovery requests.
	DynamicParameters map[string]*v31.ContextParams `` /* 201-byte string literal not displayed */
	// Locality specifying where the Envoy instance is running.
	Locality *Locality `protobuf:"bytes,4,opt,name=locality,proto3" json:"locality,omitempty"`
	// Free-form string that identifies the entity requesting config.
	// E.g. "envoy" or "grpc"
	UserAgentName string `protobuf:"bytes,6,opt,name=user_agent_name,json=userAgentName,proto3" json:"user_agent_name,omitempty"`
	// Types that are assignable to UserAgentVersionType:
	//
	//	*Node_UserAgentVersion
	//	*Node_UserAgentBuildVersion
	UserAgentVersionType isNode_UserAgentVersionType `protobuf_oneof:"user_agent_version_type"`
	// List of extensions and their versions supported by the node.
	Extensions []*Extension `protobuf:"bytes,9,rep,name=extensions,proto3" json:"extensions,omitempty"`
	// Client feature support list. These are well known features described
	// in the Envoy API repository for a given major version of an API. Client features
	// use reverse DNS naming scheme, for example “com.acme.feature“.
	// See :ref:`the list of features <client_features>` that xDS client may
	// support.
	ClientFeatures []string `protobuf:"bytes,10,rep,name=client_features,json=clientFeatures,proto3" json:"client_features,omitempty"`
	// Known listening ports on the node as a generic hint to the management server
	// for filtering :ref:`listeners <config_listeners>` to be returned. For example,
	// if there is a listener bound to port 80, the list can optionally contain the
	// SocketAddress “(0.0.0.0,80)“. The field is optional and just a hint.
	//
	// Deprecated: Marked as deprecated in envoy/config/core/v3/base.proto.
	ListeningAddresses []*Address `protobuf:"bytes,11,rep,name=listening_addresses,json=listeningAddresses,proto3" json:"listening_addresses,omitempty"`
	// contains filtered or unexported fields
}

Identifies a specific Envoy instance. The node identifier is presented to the management server, which may use this identifier to distinguish per Envoy configuration for serving. [#next-free-field: 13]

func (*Node) Descriptor deprecated

func (*Node) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetClientFeatures

func (x *Node) GetClientFeatures() []string

func (*Node) GetCluster

func (x *Node) GetCluster() string

func (*Node) GetDynamicParameters added in v0.9.9

func (x *Node) GetDynamicParameters() map[string]*v31.ContextParams

func (*Node) GetExtensions

func (x *Node) GetExtensions() []*Extension

func (*Node) GetId

func (x *Node) GetId() string

func (*Node) GetListeningAddresses deprecated added in v0.9.5

func (x *Node) GetListeningAddresses() []*Address

Deprecated: Marked as deprecated in envoy/config/core/v3/base.proto.

func (*Node) GetLocality

func (x *Node) GetLocality() *Locality

func (*Node) GetMetadata

func (x *Node) GetMetadata() *_struct.Struct

func (*Node) GetUserAgentBuildVersion

func (x *Node) GetUserAgentBuildVersion() *BuildVersion

func (*Node) GetUserAgentName

func (x *Node) GetUserAgentName() string

func (*Node) GetUserAgentVersion

func (x *Node) GetUserAgentVersion() string

func (*Node) GetUserAgentVersionType

func (m *Node) GetUserAgentVersionType() isNode_UserAgentVersionType

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect added in v0.9.6

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

func (*Node) Validate

func (m *Node) Validate() error

Validate checks the field values on Node with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Node) ValidateAll added in v0.10.0

func (m *Node) ValidateAll() error

ValidateAll checks the field values on Node with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NodeMultiError, or nil if none found.

type NodeMultiError added in v0.10.0

type NodeMultiError []error

NodeMultiError is an error wrapping multiple validation errors returned by Node.ValidateAll() if the designated constraints aren't met.

func (NodeMultiError) AllErrors added in v0.10.0

func (m NodeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeMultiError) Error added in v0.10.0

func (m NodeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NodeValidationError

type NodeValidationError struct {
	// contains filtered or unexported fields
}

NodeValidationError is the validation error returned by Node.Validate if the designated constraints aren't met.

func (NodeValidationError) Cause

func (e NodeValidationError) Cause() error

Cause function returns cause value.

func (NodeValidationError) Error

func (e NodeValidationError) Error() string

Error satisfies the builtin error interface

func (NodeValidationError) ErrorName

func (e NodeValidationError) ErrorName() string

ErrorName returns error name.

func (NodeValidationError) Field

func (e NodeValidationError) Field() string

Field function returns field value.

func (NodeValidationError) Key

func (e NodeValidationError) Key() bool

Key function returns key value.

func (NodeValidationError) Reason

func (e NodeValidationError) Reason() string

Reason function returns reason value.

type Node_UserAgentBuildVersion

type Node_UserAgentBuildVersion struct {
	// Structured version of the entity requesting config.
	UserAgentBuildVersion *BuildVersion `protobuf:"bytes,8,opt,name=user_agent_build_version,json=userAgentBuildVersion,proto3,oneof"`
}

type Node_UserAgentVersion

type Node_UserAgentVersion struct {
	// Free-form string that identifies the version of the entity requesting config.
	// E.g. "1.12.2" or "abcd1234", or "SpecialEnvoyBuild"
	UserAgentVersion string `protobuf:"bytes,7,opt,name=user_agent_version,json=userAgentVersion,proto3,oneof"`
}

type PathConfigSource added in v0.10.2

type PathConfigSource struct {

	// Path on the filesystem to source and watch for configuration updates.
	// When sourcing configuration for a :ref:`secret <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.Secret>`,
	// the certificate and key files are also watched for updates.
	//
	// .. note::
	//
	//	The path to the source must exist at config load time.
	//
	// .. note::
	//
	//	If “watched_directory“ is *not* configured, Envoy will watch the file path for *moves*.
	//	This is because in general only moves are atomic. The same method of swapping files as is
	//	demonstrated in the :ref:`runtime documentation <config_runtime_symbolic_link_swap>` can be
	//	used here also. If “watched_directory“ is configured, no watch will be placed directly on
	//	this path. Instead, the configured “watched_directory“ will be used to trigger reloads of
	//	this path. This is required in certain deployment scenarios. See below for more information.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// If configured, this directory will be watched for *moves*. When an entry in this directory is
	// moved to, the “path“ will be reloaded. This is required in certain deployment scenarios.
	//
	// Specifically, if trying to load an xDS resource using a
	// `Kubernetes ConfigMap <https://kubernetes.io/docs/concepts/configuration/configmap/>`_, the
	// following configuration might be used:
	// 1. Store xds.yaml inside a ConfigMap.
	// 2. Mount the ConfigMap to “/config_map/xds“
	// 3. Configure path “/config_map/xds/xds.yaml“
	// 4. Configure watched directory “/config_map/xds“
	//
	// The above configuration will ensure that Envoy watches the owning directory for moves which is
	// required due to how Kubernetes manages ConfigMap symbolic links during atomic updates.
	WatchedDirectory *WatchedDirectory `protobuf:"bytes,2,opt,name=watched_directory,json=watchedDirectory,proto3" json:"watched_directory,omitempty"`
	// contains filtered or unexported fields
}

Local filesystem path configuration source.

func (*PathConfigSource) Descriptor deprecated added in v0.10.2

func (*PathConfigSource) Descriptor() ([]byte, []int)

Deprecated: Use PathConfigSource.ProtoReflect.Descriptor instead.

func (*PathConfigSource) GetPath added in v0.10.2

func (x *PathConfigSource) GetPath() string

func (*PathConfigSource) GetWatchedDirectory added in v0.10.2

func (x *PathConfigSource) GetWatchedDirectory() *WatchedDirectory

func (*PathConfigSource) ProtoMessage added in v0.10.2

func (*PathConfigSource) ProtoMessage()

func (*PathConfigSource) ProtoReflect added in v0.10.2

func (x *PathConfigSource) ProtoReflect() protoreflect.Message

func (*PathConfigSource) Reset added in v0.10.2

func (x *PathConfigSource) Reset()

func (*PathConfigSource) String added in v0.10.2

func (x *PathConfigSource) String() string

func (*PathConfigSource) Validate added in v0.10.2

func (m *PathConfigSource) Validate() error

Validate checks the field values on PathConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PathConfigSource) ValidateAll added in v0.10.2

func (m *PathConfigSource) ValidateAll() error

ValidateAll checks the field values on PathConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PathConfigSourceMultiError, or nil if none found.

type PathConfigSourceMultiError added in v0.10.2

type PathConfigSourceMultiError []error

PathConfigSourceMultiError is an error wrapping multiple validation errors returned by PathConfigSource.ValidateAll() if the designated constraints aren't met.

func (PathConfigSourceMultiError) AllErrors added in v0.10.2

func (m PathConfigSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PathConfigSourceMultiError) Error added in v0.10.2

Error returns a concatenation of all the error messages it wraps.

type PathConfigSourceValidationError added in v0.10.2

type PathConfigSourceValidationError struct {
	// contains filtered or unexported fields
}

PathConfigSourceValidationError is the validation error returned by PathConfigSource.Validate if the designated constraints aren't met.

func (PathConfigSourceValidationError) Cause added in v0.10.2

Cause function returns cause value.

func (PathConfigSourceValidationError) Error added in v0.10.2

Error satisfies the builtin error interface

func (PathConfigSourceValidationError) ErrorName added in v0.10.2

ErrorName returns error name.

func (PathConfigSourceValidationError) Field added in v0.10.2

Field function returns field value.

func (PathConfigSourceValidationError) Key added in v0.10.2

Key function returns key value.

func (PathConfigSourceValidationError) Reason added in v0.10.2

Reason function returns reason value.

type Pipe

type Pipe struct {

	// Unix Domain Socket path. On Linux, paths starting with '@' will use the
	// abstract namespace. The starting '@' is replaced by a null byte by Envoy.
	// Paths starting with '@' will result in an error in environments other than
	// Linux.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// The mode for the Pipe. Not applicable for abstract sockets.
	Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*Pipe) Descriptor deprecated

func (*Pipe) Descriptor() ([]byte, []int)

Deprecated: Use Pipe.ProtoReflect.Descriptor instead.

func (*Pipe) GetMode

func (x *Pipe) GetMode() uint32

func (*Pipe) GetPath

func (x *Pipe) GetPath() string

func (*Pipe) ProtoMessage

func (*Pipe) ProtoMessage()

func (*Pipe) ProtoReflect added in v0.9.6

func (x *Pipe) ProtoReflect() protoreflect.Message

func (*Pipe) Reset

func (x *Pipe) Reset()

func (*Pipe) String

func (x *Pipe) String() string

func (*Pipe) Validate

func (m *Pipe) Validate() error

Validate checks the field values on Pipe with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Pipe) ValidateAll added in v0.10.0

func (m *Pipe) ValidateAll() error

ValidateAll checks the field values on Pipe with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PipeMultiError, or nil if none found.

type PipeMultiError added in v0.10.0

type PipeMultiError []error

PipeMultiError is an error wrapping multiple validation errors returned by Pipe.ValidateAll() if the designated constraints aren't met.

func (PipeMultiError) AllErrors added in v0.10.0

func (m PipeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PipeMultiError) Error added in v0.10.0

func (m PipeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PipeValidationError

type PipeValidationError struct {
	// contains filtered or unexported fields
}

PipeValidationError is the validation error returned by Pipe.Validate if the designated constraints aren't met.

func (PipeValidationError) Cause

func (e PipeValidationError) Cause() error

Cause function returns cause value.

func (PipeValidationError) Error

func (e PipeValidationError) Error() string

Error satisfies the builtin error interface

func (PipeValidationError) ErrorName

func (e PipeValidationError) ErrorName() string

ErrorName returns error name.

func (PipeValidationError) Field

func (e PipeValidationError) Field() string

Field function returns field value.

func (PipeValidationError) Key

func (e PipeValidationError) Key() bool

Key function returns key value.

func (PipeValidationError) Reason

func (e PipeValidationError) Reason() string

Reason function returns reason value.

type ProxyProtocolConfig added in v0.9.6

type ProxyProtocolConfig struct {

	// The PROXY protocol version to use. See https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt for details
	Version ProxyProtocolConfig_Version `protobuf:"varint,1,opt,name=version,proto3,enum=envoy.config.core.v3.ProxyProtocolConfig_Version" json:"version,omitempty"`
	// This config controls which TLVs can be passed to upstream if it is Proxy Protocol
	// V2 header. If there is no setting for this field, no TLVs will be passed through.
	PassThroughTlvs *ProxyProtocolPassThroughTLVs `protobuf:"bytes,2,opt,name=pass_through_tlvs,json=passThroughTlvs,proto3" json:"pass_through_tlvs,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyProtocolConfig) Descriptor deprecated added in v0.9.6

func (*ProxyProtocolConfig) Descriptor() ([]byte, []int)

Deprecated: Use ProxyProtocolConfig.ProtoReflect.Descriptor instead.

func (*ProxyProtocolConfig) GetPassThroughTlvs added in v0.11.1

func (x *ProxyProtocolConfig) GetPassThroughTlvs() *ProxyProtocolPassThroughTLVs

func (*ProxyProtocolConfig) GetVersion added in v0.9.6

func (*ProxyProtocolConfig) ProtoMessage added in v0.9.6

func (*ProxyProtocolConfig) ProtoMessage()

func (*ProxyProtocolConfig) ProtoReflect added in v0.9.6

func (x *ProxyProtocolConfig) ProtoReflect() protoreflect.Message

func (*ProxyProtocolConfig) Reset added in v0.9.6

func (x *ProxyProtocolConfig) Reset()

func (*ProxyProtocolConfig) String added in v0.9.6

func (x *ProxyProtocolConfig) String() string

func (*ProxyProtocolConfig) Validate added in v0.9.6

func (m *ProxyProtocolConfig) Validate() error

Validate checks the field values on ProxyProtocolConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ProxyProtocolConfig) ValidateAll added in v0.10.0

func (m *ProxyProtocolConfig) ValidateAll() error

ValidateAll checks the field values on ProxyProtocolConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProxyProtocolConfigMultiError, or nil if none found.

type ProxyProtocolConfigMultiError added in v0.10.0

type ProxyProtocolConfigMultiError []error

ProxyProtocolConfigMultiError is an error wrapping multiple validation errors returned by ProxyProtocolConfig.ValidateAll() if the designated constraints aren't met.

func (ProxyProtocolConfigMultiError) AllErrors added in v0.10.0

func (m ProxyProtocolConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProxyProtocolConfigMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type ProxyProtocolConfigValidationError added in v0.9.6

type ProxyProtocolConfigValidationError struct {
	// contains filtered or unexported fields
}

ProxyProtocolConfigValidationError is the validation error returned by ProxyProtocolConfig.Validate if the designated constraints aren't met.

func (ProxyProtocolConfigValidationError) Cause added in v0.9.6

Cause function returns cause value.

func (ProxyProtocolConfigValidationError) Error added in v0.9.6

Error satisfies the builtin error interface

func (ProxyProtocolConfigValidationError) ErrorName added in v0.9.6

ErrorName returns error name.

func (ProxyProtocolConfigValidationError) Field added in v0.9.6

Field function returns field value.

func (ProxyProtocolConfigValidationError) Key added in v0.9.6

Key function returns key value.

func (ProxyProtocolConfigValidationError) Reason added in v0.9.6

Reason function returns reason value.

type ProxyProtocolConfig_Version added in v0.9.6

type ProxyProtocolConfig_Version int32
const (
	// PROXY protocol version 1. Human readable format.
	ProxyProtocolConfig_V1 ProxyProtocolConfig_Version = 0
	// PROXY protocol version 2. Binary format.
	ProxyProtocolConfig_V2 ProxyProtocolConfig_Version = 1
)

func (ProxyProtocolConfig_Version) Descriptor added in v0.9.6

func (ProxyProtocolConfig_Version) Enum added in v0.9.6

func (ProxyProtocolConfig_Version) EnumDescriptor deprecated added in v0.9.6

func (ProxyProtocolConfig_Version) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProxyProtocolConfig_Version.Descriptor instead.

func (ProxyProtocolConfig_Version) Number added in v0.9.6

func (ProxyProtocolConfig_Version) String added in v0.9.6

func (ProxyProtocolConfig_Version) Type added in v0.9.6

type ProxyProtocolPassThroughTLVs added in v0.11.1

type ProxyProtocolPassThroughTLVs struct {

	// The strategy to pass through TLVs. Default is INCLUDE_ALL.
	// If INCLUDE_ALL is set, all TLVs will be passed through no matter the tlv_type field.
	MatchType ProxyProtocolPassThroughTLVs_PassTLVsMatchType `` /* 162-byte string literal not displayed */
	// The TLV types that are applied based on match_type.
	// TLV type is defined as uint8_t in proxy protocol. See `the spec
	// <https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt>`_ for details.
	TlvType []uint32 `protobuf:"varint,2,rep,packed,name=tlv_type,json=tlvType,proto3" json:"tlv_type,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyProtocolPassThroughTLVs) Descriptor deprecated added in v0.11.1

func (*ProxyProtocolPassThroughTLVs) Descriptor() ([]byte, []int)

Deprecated: Use ProxyProtocolPassThroughTLVs.ProtoReflect.Descriptor instead.

func (*ProxyProtocolPassThroughTLVs) GetMatchType added in v0.11.1

func (*ProxyProtocolPassThroughTLVs) GetTlvType added in v0.11.1

func (x *ProxyProtocolPassThroughTLVs) GetTlvType() []uint32

func (*ProxyProtocolPassThroughTLVs) ProtoMessage added in v0.11.1

func (*ProxyProtocolPassThroughTLVs) ProtoMessage()

func (*ProxyProtocolPassThroughTLVs) ProtoReflect added in v0.11.1

func (*ProxyProtocolPassThroughTLVs) Reset added in v0.11.1

func (x *ProxyProtocolPassThroughTLVs) Reset()

func (*ProxyProtocolPassThroughTLVs) String added in v0.11.1

func (*ProxyProtocolPassThroughTLVs) Validate added in v0.11.1

func (m *ProxyProtocolPassThroughTLVs) Validate() error

Validate checks the field values on ProxyProtocolPassThroughTLVs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ProxyProtocolPassThroughTLVs) ValidateAll added in v0.11.1

func (m *ProxyProtocolPassThroughTLVs) ValidateAll() error

ValidateAll checks the field values on ProxyProtocolPassThroughTLVs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProxyProtocolPassThroughTLVsMultiError, or nil if none found.

type ProxyProtocolPassThroughTLVsMultiError added in v0.11.1

type ProxyProtocolPassThroughTLVsMultiError []error

ProxyProtocolPassThroughTLVsMultiError is an error wrapping multiple validation errors returned by ProxyProtocolPassThroughTLVs.ValidateAll() if the designated constraints aren't met.

func (ProxyProtocolPassThroughTLVsMultiError) AllErrors added in v0.11.1

AllErrors returns a list of validation violation errors.

func (ProxyProtocolPassThroughTLVsMultiError) Error added in v0.11.1

Error returns a concatenation of all the error messages it wraps.

type ProxyProtocolPassThroughTLVsValidationError added in v0.11.1

type ProxyProtocolPassThroughTLVsValidationError struct {
	// contains filtered or unexported fields
}

ProxyProtocolPassThroughTLVsValidationError is the validation error returned by ProxyProtocolPassThroughTLVs.Validate if the designated constraints aren't met.

func (ProxyProtocolPassThroughTLVsValidationError) Cause added in v0.11.1

Cause function returns cause value.

func (ProxyProtocolPassThroughTLVsValidationError) Error added in v0.11.1

Error satisfies the builtin error interface

func (ProxyProtocolPassThroughTLVsValidationError) ErrorName added in v0.11.1

ErrorName returns error name.

func (ProxyProtocolPassThroughTLVsValidationError) Field added in v0.11.1

Field function returns field value.

func (ProxyProtocolPassThroughTLVsValidationError) Key added in v0.11.1

Key function returns key value.

func (ProxyProtocolPassThroughTLVsValidationError) Reason added in v0.11.1

Reason function returns reason value.

type ProxyProtocolPassThroughTLVs_PassTLVsMatchType added in v0.11.1

type ProxyProtocolPassThroughTLVs_PassTLVsMatchType int32
const (
	// Pass all TLVs.
	ProxyProtocolPassThroughTLVs_INCLUDE_ALL ProxyProtocolPassThroughTLVs_PassTLVsMatchType = 0
	// Pass specific TLVs defined in tlv_type.
	ProxyProtocolPassThroughTLVs_INCLUDE ProxyProtocolPassThroughTLVs_PassTLVsMatchType = 1
)

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) Descriptor added in v0.11.1

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) Enum added in v0.11.1

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) EnumDescriptor deprecated added in v0.11.1

Deprecated: Use ProxyProtocolPassThroughTLVs_PassTLVsMatchType.Descriptor instead.

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) Number added in v0.11.1

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) String added in v0.11.1

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) Type added in v0.11.1

type QueryParameter added in v0.10.0

type QueryParameter struct {

	// The key of the query parameter. Case sensitive.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The value of the query parameter.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Query parameter name/value pair.

func (*QueryParameter) Descriptor deprecated added in v0.10.0

func (*QueryParameter) Descriptor() ([]byte, []int)

Deprecated: Use QueryParameter.ProtoReflect.Descriptor instead.

func (*QueryParameter) GetKey added in v0.10.0

func (x *QueryParameter) GetKey() string

func (*QueryParameter) GetValue added in v0.10.0

func (x *QueryParameter) GetValue() string

func (*QueryParameter) ProtoMessage added in v0.10.0

func (*QueryParameter) ProtoMessage()

func (*QueryParameter) ProtoReflect added in v0.10.0

func (x *QueryParameter) ProtoReflect() protoreflect.Message

func (*QueryParameter) Reset added in v0.10.0

func (x *QueryParameter) Reset()

func (*QueryParameter) String added in v0.10.0

func (x *QueryParameter) String() string

func (*QueryParameter) Validate added in v0.10.0

func (m *QueryParameter) Validate() error

Validate checks the field values on QueryParameter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryParameter) ValidateAll added in v0.10.0

func (m *QueryParameter) ValidateAll() error

ValidateAll checks the field values on QueryParameter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryParameterMultiError, or nil if none found.

type QueryParameterMultiError added in v0.10.0

type QueryParameterMultiError []error

QueryParameterMultiError is an error wrapping multiple validation errors returned by QueryParameter.ValidateAll() if the designated constraints aren't met.

func (QueryParameterMultiError) AllErrors added in v0.10.0

func (m QueryParameterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryParameterMultiError) Error added in v0.10.0

func (m QueryParameterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type QueryParameterValidationError added in v0.10.0

type QueryParameterValidationError struct {
	// contains filtered or unexported fields
}

QueryParameterValidationError is the validation error returned by QueryParameter.Validate if the designated constraints aren't met.

func (QueryParameterValidationError) Cause added in v0.10.0

Cause function returns cause value.

func (QueryParameterValidationError) Error added in v0.10.0

Error satisfies the builtin error interface

func (QueryParameterValidationError) ErrorName added in v0.10.0

func (e QueryParameterValidationError) ErrorName() string

ErrorName returns error name.

func (QueryParameterValidationError) Field added in v0.10.0

Field function returns field value.

func (QueryParameterValidationError) Key added in v0.10.0

Key function returns key value.

func (QueryParameterValidationError) Reason added in v0.10.0

Reason function returns reason value.

type QuicKeepAliveSettings added in v0.10.0

type QuicKeepAliveSettings struct {

	// The max interval for a connection to send keep-alive probing packets (with PING or PATH_RESPONSE). The value should be smaller than :ref:`connection idle_timeout <envoy_v3_api_field_config.listener.v3.QuicProtocolOptions.idle_timeout>` to prevent idle timeout while not less than 1s to avoid throttling the connection or flooding the peer with probes.
	//
	// If :ref:`initial_interval <envoy_v3_api_field_config.core.v3.QuicKeepAliveSettings.initial_interval>` is absent or zero, a client connection will use this value to start probing.
	//
	// If zero, disable keepalive probing.
	// If absent, use the QUICHE default interval to probe.
	MaxInterval *duration.Duration `protobuf:"bytes,1,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"`
	// The interval to send the first few keep-alive probing packets to prevent connection from hitting the idle timeout. Subsequent probes will be sent, each one with an interval exponentially longer than previous one, till it reaches :ref:`max_interval <envoy_v3_api_field_config.core.v3.QuicKeepAliveSettings.max_interval>`. And the probes afterwards will always use :ref:`max_interval <envoy_v3_api_field_config.core.v3.QuicKeepAliveSettings.max_interval>`.
	//
	// The value should be smaller than :ref:`connection idle_timeout <envoy_v3_api_field_config.listener.v3.QuicProtocolOptions.idle_timeout>` to prevent idle timeout and smaller than max_interval to take effect.
	//
	// If absent or zero, disable keepalive probing for a server connection. For a client connection, if :ref:`max_interval <envoy_v3_api_field_config.core.v3.QuicKeepAliveSettings.max_interval>`  is also zero, do not keepalive, otherwise use max_interval or QUICHE default to probe all the time.
	InitialInterval *duration.Duration `protobuf:"bytes,2,opt,name=initial_interval,json=initialInterval,proto3" json:"initial_interval,omitempty"`
	// contains filtered or unexported fields
}

Config for keepalive probes in a QUIC connection. Note that QUIC keep-alive probing packets work differently from HTTP/2 keep-alive PINGs in a sense that the probing packet itself doesn't timeout waiting for a probing response. Quic has a shorter idle timeout than TCP, so it doesn't rely on such probing to discover dead connections. If the peer fails to respond, the connection will idle timeout eventually. Thus, they are configured differently from :ref:`connection_keepalive <envoy_v3_api_field_config.core.v3.Http2ProtocolOptions.connection_keepalive>`.

func (*QuicKeepAliveSettings) Descriptor deprecated added in v0.10.0

func (*QuicKeepAliveSettings) Descriptor() ([]byte, []int)

Deprecated: Use QuicKeepAliveSettings.ProtoReflect.Descriptor instead.

func (*QuicKeepAliveSettings) GetInitialInterval added in v0.10.0

func (x *QuicKeepAliveSettings) GetInitialInterval() *duration.Duration

func (*QuicKeepAliveSettings) GetMaxInterval added in v0.10.0

func (x *QuicKeepAliveSettings) GetMaxInterval() *duration.Duration

func (*QuicKeepAliveSettings) ProtoMessage added in v0.10.0

func (*QuicKeepAliveSettings) ProtoMessage()

func (*QuicKeepAliveSettings) ProtoReflect added in v0.10.0

func (x *QuicKeepAliveSettings) ProtoReflect() protoreflect.Message

func (*QuicKeepAliveSettings) Reset added in v0.10.0

func (x *QuicKeepAliveSettings) Reset()

func (*QuicKeepAliveSettings) String added in v0.10.0

func (x *QuicKeepAliveSettings) String() string

func (*QuicKeepAliveSettings) Validate added in v0.10.0

func (m *QuicKeepAliveSettings) Validate() error

Validate checks the field values on QuicKeepAliveSettings with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QuicKeepAliveSettings) ValidateAll added in v0.10.0

func (m *QuicKeepAliveSettings) ValidateAll() error

ValidateAll checks the field values on QuicKeepAliveSettings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QuicKeepAliveSettingsMultiError, or nil if none found.

type QuicKeepAliveSettingsMultiError added in v0.10.0

type QuicKeepAliveSettingsMultiError []error

QuicKeepAliveSettingsMultiError is an error wrapping multiple validation errors returned by QuicKeepAliveSettings.ValidateAll() if the designated constraints aren't met.

func (QuicKeepAliveSettingsMultiError) AllErrors added in v0.10.0

func (m QuicKeepAliveSettingsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuicKeepAliveSettingsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type QuicKeepAliveSettingsValidationError added in v0.10.0

type QuicKeepAliveSettingsValidationError struct {
	// contains filtered or unexported fields
}

QuicKeepAliveSettingsValidationError is the validation error returned by QuicKeepAliveSettings.Validate if the designated constraints aren't met.

func (QuicKeepAliveSettingsValidationError) Cause added in v0.10.0

Cause function returns cause value.

func (QuicKeepAliveSettingsValidationError) Error added in v0.10.0

Error satisfies the builtin error interface

func (QuicKeepAliveSettingsValidationError) ErrorName added in v0.10.0

ErrorName returns error name.

func (QuicKeepAliveSettingsValidationError) Field added in v0.10.0

Field function returns field value.

func (QuicKeepAliveSettingsValidationError) Key added in v0.10.0

Key function returns key value.

func (QuicKeepAliveSettingsValidationError) Reason added in v0.10.0

Reason function returns reason value.

type QuicProtocolOptions added in v0.9.9

type QuicProtocolOptions struct {

	// Maximum number of streams that the client can negotiate per connection. 100
	// if not specified.
	MaxConcurrentStreams *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_concurrent_streams,json=maxConcurrentStreams,proto3" json:"max_concurrent_streams,omitempty"`
	// `Initial stream-level flow-control receive window
	// <https://tools.ietf.org/html/draft-ietf-quic-transport-34#section-4.1>`_ size. Valid values range from
	// 1 to 16777216 (2^24, maximum supported by QUICHE) and defaults to 65536 (2^16).
	//
	// NOTE: 16384 (2^14) is the minimum window size supported in Google QUIC. If configured smaller than it, we will use 16384 instead.
	// QUICHE IETF Quic implementation supports 1 bytes window. We only support increasing the default window size now, so it's also the minimum.
	//
	// This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the
	// QUIC stream send and receive buffers. Once the buffer reaches this pointer, watermark callbacks will fire to
	// stop the flow of data to the stream buffers.
	InitialStreamWindowSize *wrappers.UInt32Value `` /* 134-byte string literal not displayed */
	// Similar to “initial_stream_window_size“, but for connection-level
	// flow-control. Valid values rage from 1 to 25165824 (24MB, maximum supported by QUICHE) and defaults to 65536 (2^16).
	// window. Currently, this has the same minimum/default as “initial_stream_window_size“.
	//
	// NOTE: 16384 (2^14) is the minimum window size supported in Google QUIC. We only support increasing the default
	// window size now, so it's also the minimum.
	InitialConnectionWindowSize *wrappers.UInt32Value `` /* 146-byte string literal not displayed */
	// The number of timeouts that can occur before port migration is triggered for QUIC clients.
	// This defaults to 4. If set to 0, port migration will not occur on path degrading.
	// Timeout here refers to QUIC internal path degrading timeout mechanism, such as PTO.
	// This has no effect on server sessions.
	NumTimeoutsToTriggerPortMigration *wrappers.UInt32Value `` /* 168-byte string literal not displayed */
	// Probes the peer at the configured interval to solicit traffic, i.e. ACK or PATH_RESPONSE, from the peer to push back connection idle timeout.
	// If absent, use the default keepalive behavior of which a client connection sends PINGs every 15s, and a server connection doesn't do anything.
	ConnectionKeepalive *QuicKeepAliveSettings `protobuf:"bytes,5,opt,name=connection_keepalive,json=connectionKeepalive,proto3" json:"connection_keepalive,omitempty"`
	// A comma-separated list of strings representing QUIC connection options defined in
	// `QUICHE <https://github.com/google/quiche/blob/main/quiche/quic/core/crypto/crypto_protocol.h>`_ and to be sent by upstream connections.
	ConnectionOptions string `protobuf:"bytes,6,opt,name=connection_options,json=connectionOptions,proto3" json:"connection_options,omitempty"`
	// A comma-separated list of strings representing QUIC client connection options defined in
	// `QUICHE <https://github.com/google/quiche/blob/main/quiche/quic/core/crypto/crypto_protocol.h>`_ and to be sent by upstream connections.
	ClientConnectionOptions string `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

QUIC protocol options which apply to both downstream and upstream connections. [#next-free-field: 8]

func (*QuicProtocolOptions) Descriptor deprecated added in v0.9.9

func (*QuicProtocolOptions) Descriptor() ([]byte, []int)

Deprecated: Use QuicProtocolOptions.ProtoReflect.Descriptor instead.

func (*QuicProtocolOptions) GetClientConnectionOptions added in v0.12.0

func (x *QuicProtocolOptions) GetClientConnectionOptions() string

func (*QuicProtocolOptions) GetConnectionKeepalive added in v0.10.0

func (x *QuicProtocolOptions) GetConnectionKeepalive() *QuicKeepAliveSettings

func (*QuicProtocolOptions) GetConnectionOptions added in v0.12.0

func (x *QuicProtocolOptions) GetConnectionOptions() string

func (*QuicProtocolOptions) GetInitialConnectionWindowSize added in v0.9.9

func (x *QuicProtocolOptions) GetInitialConnectionWindowSize() *wrappers.UInt32Value

func (*QuicProtocolOptions) GetInitialStreamWindowSize added in v0.9.9

func (x *QuicProtocolOptions) GetInitialStreamWindowSize() *wrappers.UInt32Value

func (*QuicProtocolOptions) GetMaxConcurrentStreams added in v0.9.9

func (x *QuicProtocolOptions) GetMaxConcurrentStreams() *wrappers.UInt32Value

func (*QuicProtocolOptions) GetNumTimeoutsToTriggerPortMigration added in v0.10.0

func (x *QuicProtocolOptions) GetNumTimeoutsToTriggerPortMigration() *wrappers.UInt32Value

func (*QuicProtocolOptions) ProtoMessage added in v0.9.9

func (*QuicProtocolOptions) ProtoMessage()

func (*QuicProtocolOptions) ProtoReflect added in v0.9.9

func (x *QuicProtocolOptions) ProtoReflect() protoreflect.Message

func (*QuicProtocolOptions) Reset added in v0.9.9

func (x *QuicProtocolOptions) Reset()

func (*QuicProtocolOptions) String added in v0.9.9

func (x *QuicProtocolOptions) String() string

func (*QuicProtocolOptions) Validate added in v0.9.9

func (m *QuicProtocolOptions) Validate() error

Validate checks the field values on QuicProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QuicProtocolOptions) ValidateAll added in v0.10.0

func (m *QuicProtocolOptions) ValidateAll() error

ValidateAll checks the field values on QuicProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QuicProtocolOptionsMultiError, or nil if none found.

type QuicProtocolOptionsMultiError added in v0.10.0

type QuicProtocolOptionsMultiError []error

QuicProtocolOptionsMultiError is an error wrapping multiple validation errors returned by QuicProtocolOptions.ValidateAll() if the designated constraints aren't met.

func (QuicProtocolOptionsMultiError) AllErrors added in v0.10.0

func (m QuicProtocolOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuicProtocolOptionsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type QuicProtocolOptionsValidationError added in v0.9.9

type QuicProtocolOptionsValidationError struct {
	// contains filtered or unexported fields
}

QuicProtocolOptionsValidationError is the validation error returned by QuicProtocolOptions.Validate if the designated constraints aren't met.

func (QuicProtocolOptionsValidationError) Cause added in v0.9.9

Cause function returns cause value.

func (QuicProtocolOptionsValidationError) Error added in v0.9.9

Error satisfies the builtin error interface

func (QuicProtocolOptionsValidationError) ErrorName added in v0.9.9

ErrorName returns error name.

func (QuicProtocolOptionsValidationError) Field added in v0.9.9

Field function returns field value.

func (QuicProtocolOptionsValidationError) Key added in v0.9.9

Key function returns key value.

func (QuicProtocolOptionsValidationError) Reason added in v0.9.9

Reason function returns reason value.

type RateLimitSettings

type RateLimitSettings struct {

	// Maximum number of tokens to be used for rate limiting discovery request calls. If not set, a
	// default value of 100 will be used.
	MaxTokens *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"`
	// Rate at which tokens will be filled per second. If not set, a default fill rate of 10 tokens
	// per second will be used. The minimal fill rate is once per year. Lower
	// fill rates will be set to once per year.
	FillRate *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=fill_rate,json=fillRate,proto3" json:"fill_rate,omitempty"`
	// contains filtered or unexported fields
}

Rate Limit settings to be applied for discovery requests made by Envoy.

func (*RateLimitSettings) Descriptor deprecated

func (*RateLimitSettings) Descriptor() ([]byte, []int)

Deprecated: Use RateLimitSettings.ProtoReflect.Descriptor instead.

func (*RateLimitSettings) GetFillRate

func (x *RateLimitSettings) GetFillRate() *wrappers.DoubleValue

func (*RateLimitSettings) GetMaxTokens

func (x *RateLimitSettings) GetMaxTokens() *wrappers.UInt32Value

func (*RateLimitSettings) ProtoMessage

func (*RateLimitSettings) ProtoMessage()

func (*RateLimitSettings) ProtoReflect added in v0.9.6

func (x *RateLimitSettings) ProtoReflect() protoreflect.Message

func (*RateLimitSettings) Reset

func (x *RateLimitSettings) Reset()

func (*RateLimitSettings) String

func (x *RateLimitSettings) String() string

func (*RateLimitSettings) Validate

func (m *RateLimitSettings) Validate() error

Validate checks the field values on RateLimitSettings with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RateLimitSettings) ValidateAll added in v0.10.0

func (m *RateLimitSettings) ValidateAll() error

ValidateAll checks the field values on RateLimitSettings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RateLimitSettingsMultiError, or nil if none found.

type RateLimitSettingsMultiError added in v0.10.0

type RateLimitSettingsMultiError []error

RateLimitSettingsMultiError is an error wrapping multiple validation errors returned by RateLimitSettings.ValidateAll() if the designated constraints aren't met.

func (RateLimitSettingsMultiError) AllErrors added in v0.10.0

func (m RateLimitSettingsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RateLimitSettingsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type RateLimitSettingsValidationError

type RateLimitSettingsValidationError struct {
	// contains filtered or unexported fields
}

RateLimitSettingsValidationError is the validation error returned by RateLimitSettings.Validate if the designated constraints aren't met.

func (RateLimitSettingsValidationError) Cause

Cause function returns cause value.

func (RateLimitSettingsValidationError) Error

Error satisfies the builtin error interface

func (RateLimitSettingsValidationError) ErrorName

ErrorName returns error name.

func (RateLimitSettingsValidationError) Field

Field function returns field value.

func (RateLimitSettingsValidationError) Key

Key function returns key value.

func (RateLimitSettingsValidationError) Reason

Reason function returns reason value.

type RemoteDataSource

type RemoteDataSource struct {

	// The HTTP URI to fetch the remote data.
	HttpUri *HttpUri `protobuf:"bytes,1,opt,name=http_uri,json=httpUri,proto3" json:"http_uri,omitempty"`
	// SHA256 string for verifying data.
	Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
	// Retry policy for fetching remote data.
	RetryPolicy *RetryPolicy `protobuf:"bytes,3,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
	// contains filtered or unexported fields
}

The message specifies how to fetch data from remote and how to verify it.

func (*RemoteDataSource) Descriptor deprecated

func (*RemoteDataSource) Descriptor() ([]byte, []int)

Deprecated: Use RemoteDataSource.ProtoReflect.Descriptor instead.

func (*RemoteDataSource) GetHttpUri

func (x *RemoteDataSource) GetHttpUri() *HttpUri

func (*RemoteDataSource) GetRetryPolicy added in v0.9.5

func (x *RemoteDataSource) GetRetryPolicy() *RetryPolicy

func (*RemoteDataSource) GetSha256

func (x *RemoteDataSource) GetSha256() string

func (*RemoteDataSource) ProtoMessage

func (*RemoteDataSource) ProtoMessage()

func (*RemoteDataSource) ProtoReflect added in v0.9.6

func (x *RemoteDataSource) ProtoReflect() protoreflect.Message

func (*RemoteDataSource) Reset

func (x *RemoteDataSource) Reset()

func (*RemoteDataSource) String

func (x *RemoteDataSource) String() string

func (*RemoteDataSource) Validate

func (m *RemoteDataSource) Validate() error

Validate checks the field values on RemoteDataSource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RemoteDataSource) ValidateAll added in v0.10.0

func (m *RemoteDataSource) ValidateAll() error

ValidateAll checks the field values on RemoteDataSource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoteDataSourceMultiError, or nil if none found.

type RemoteDataSourceMultiError added in v0.10.0

type RemoteDataSourceMultiError []error

RemoteDataSourceMultiError is an error wrapping multiple validation errors returned by RemoteDataSource.ValidateAll() if the designated constraints aren't met.

func (RemoteDataSourceMultiError) AllErrors added in v0.10.0

func (m RemoteDataSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoteDataSourceMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type RemoteDataSourceValidationError

type RemoteDataSourceValidationError struct {
	// contains filtered or unexported fields
}

RemoteDataSourceValidationError is the validation error returned by RemoteDataSource.Validate if the designated constraints aren't met.

func (RemoteDataSourceValidationError) Cause

Cause function returns cause value.

func (RemoteDataSourceValidationError) Error

Error satisfies the builtin error interface

func (RemoteDataSourceValidationError) ErrorName

ErrorName returns error name.

func (RemoteDataSourceValidationError) Field

Field function returns field value.

func (RemoteDataSourceValidationError) Key

Key function returns key value.

func (RemoteDataSourceValidationError) Reason

Reason function returns reason value.

type RequestMethod

type RequestMethod int32

HTTP request method.

const (
	RequestMethod_METHOD_UNSPECIFIED RequestMethod = 0
	RequestMethod_GET                RequestMethod = 1
	RequestMethod_HEAD               RequestMethod = 2
	RequestMethod_POST               RequestMethod = 3
	RequestMethod_PUT                RequestMethod = 4
	RequestMethod_DELETE             RequestMethod = 5
	RequestMethod_CONNECT            RequestMethod = 6
	RequestMethod_OPTIONS            RequestMethod = 7
	RequestMethod_TRACE              RequestMethod = 8
	RequestMethod_PATCH              RequestMethod = 9
)

func (RequestMethod) Descriptor added in v0.9.6

func (RequestMethod) Enum added in v0.9.6

func (x RequestMethod) Enum() *RequestMethod

func (RequestMethod) EnumDescriptor deprecated

func (RequestMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use RequestMethod.Descriptor instead.

func (RequestMethod) Number added in v0.9.6

func (RequestMethod) String

func (x RequestMethod) String() string

func (RequestMethod) Type added in v0.9.6

type RetryPolicy added in v0.9.5

type RetryPolicy struct {

	// Specifies parameters that control :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`.
	// This parameter is optional, in which case the default base interval is 1000 milliseconds. The
	// default maximum interval is 10 times the base interval.
	RetryBackOff *BackoffStrategy `protobuf:"bytes,1,opt,name=retry_back_off,json=retryBackOff,proto3" json:"retry_back_off,omitempty"`
	// Specifies the allowed number of retries. This parameter is optional and
	// defaults to 1.
	NumRetries *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=num_retries,json=numRetries,proto3" json:"num_retries,omitempty"`
	// contains filtered or unexported fields
}

The message specifies the retry policy of remote data source when fetching fails.

func (*RetryPolicy) Descriptor deprecated added in v0.9.5

func (*RetryPolicy) Descriptor() ([]byte, []int)

Deprecated: Use RetryPolicy.ProtoReflect.Descriptor instead.

func (*RetryPolicy) GetNumRetries added in v0.9.5

func (x *RetryPolicy) GetNumRetries() *wrappers.UInt32Value

func (*RetryPolicy) GetRetryBackOff added in v0.9.5

func (x *RetryPolicy) GetRetryBackOff() *BackoffStrategy

func (*RetryPolicy) ProtoMessage added in v0.9.5

func (*RetryPolicy) ProtoMessage()

func (*RetryPolicy) ProtoReflect added in v0.9.6

func (x *RetryPolicy) ProtoReflect() protoreflect.Message

func (*RetryPolicy) Reset added in v0.9.5

func (x *RetryPolicy) Reset()

func (*RetryPolicy) String added in v0.9.5

func (x *RetryPolicy) String() string

func (*RetryPolicy) Validate added in v0.9.5

func (m *RetryPolicy) Validate() error

Validate checks the field values on RetryPolicy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RetryPolicy) ValidateAll added in v0.10.0

func (m *RetryPolicy) ValidateAll() error

ValidateAll checks the field values on RetryPolicy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RetryPolicyMultiError, or nil if none found.

type RetryPolicyMultiError added in v0.10.0

type RetryPolicyMultiError []error

RetryPolicyMultiError is an error wrapping multiple validation errors returned by RetryPolicy.ValidateAll() if the designated constraints aren't met.

func (RetryPolicyMultiError) AllErrors added in v0.10.0

func (m RetryPolicyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RetryPolicyMultiError) Error added in v0.10.0

func (m RetryPolicyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RetryPolicyValidationError added in v0.9.5

type RetryPolicyValidationError struct {
	// contains filtered or unexported fields
}

RetryPolicyValidationError is the validation error returned by RetryPolicy.Validate if the designated constraints aren't met.

func (RetryPolicyValidationError) Cause added in v0.9.5

Cause function returns cause value.

func (RetryPolicyValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (RetryPolicyValidationError) ErrorName added in v0.9.5

func (e RetryPolicyValidationError) ErrorName() string

ErrorName returns error name.

func (RetryPolicyValidationError) Field added in v0.9.5

Field function returns field value.

func (RetryPolicyValidationError) Key added in v0.9.5

Key function returns key value.

func (RetryPolicyValidationError) Reason added in v0.9.5

Reason function returns reason value.

type RoutingPriority

type RoutingPriority int32

Envoy supports :ref:`upstream priority routing <arch_overview_http_routing_priority>` both at the route and the virtual cluster level. The current priority implementation uses different connection pool and circuit breaking settings for each priority level. This means that even for HTTP/2 requests, two physical connections will be used to an upstream host. In the future Envoy will likely support true HTTP/2 priority over a single upstream connection.

const (
	RoutingPriority_DEFAULT RoutingPriority = 0
	RoutingPriority_HIGH    RoutingPriority = 1
)

func (RoutingPriority) Descriptor added in v0.9.6

func (RoutingPriority) Enum added in v0.9.6

func (x RoutingPriority) Enum() *RoutingPriority

func (RoutingPriority) EnumDescriptor deprecated

func (RoutingPriority) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoutingPriority.Descriptor instead.

func (RoutingPriority) Number added in v0.9.6

func (RoutingPriority) String

func (x RoutingPriority) String() string

func (RoutingPriority) Type added in v0.9.6

type RuntimeDouble added in v0.9.6

type RuntimeDouble struct {

	// Default value if runtime value is not available.
	DefaultValue float64 `protobuf:"fixed64,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Runtime key to get value for comparison. This value is used if defined.
	RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
	// contains filtered or unexported fields
}

Runtime derived double with a default when not specified.

func (*RuntimeDouble) Descriptor deprecated added in v0.9.6

func (*RuntimeDouble) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeDouble.ProtoReflect.Descriptor instead.

func (*RuntimeDouble) GetDefaultValue added in v0.9.6

func (x *RuntimeDouble) GetDefaultValue() float64

func (*RuntimeDouble) GetRuntimeKey added in v0.9.6

func (x *RuntimeDouble) GetRuntimeKey() string

func (*RuntimeDouble) ProtoMessage added in v0.9.6

func (*RuntimeDouble) ProtoMessage()

func (*RuntimeDouble) ProtoReflect added in v0.9.6

func (x *RuntimeDouble) ProtoReflect() protoreflect.Message

func (*RuntimeDouble) Reset added in v0.9.6

func (x *RuntimeDouble) Reset()

func (*RuntimeDouble) String added in v0.9.6

func (x *RuntimeDouble) String() string

func (*RuntimeDouble) Validate added in v0.9.6

func (m *RuntimeDouble) Validate() error

Validate checks the field values on RuntimeDouble with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RuntimeDouble) ValidateAll added in v0.10.0

func (m *RuntimeDouble) ValidateAll() error

ValidateAll checks the field values on RuntimeDouble with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuntimeDoubleMultiError, or nil if none found.

type RuntimeDoubleMultiError added in v0.10.0

type RuntimeDoubleMultiError []error

RuntimeDoubleMultiError is an error wrapping multiple validation errors returned by RuntimeDouble.ValidateAll() if the designated constraints aren't met.

func (RuntimeDoubleMultiError) AllErrors added in v0.10.0

func (m RuntimeDoubleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuntimeDoubleMultiError) Error added in v0.10.0

func (m RuntimeDoubleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RuntimeDoubleValidationError added in v0.9.6

type RuntimeDoubleValidationError struct {
	// contains filtered or unexported fields
}

RuntimeDoubleValidationError is the validation error returned by RuntimeDouble.Validate if the designated constraints aren't met.

func (RuntimeDoubleValidationError) Cause added in v0.9.6

Cause function returns cause value.

func (RuntimeDoubleValidationError) Error added in v0.9.6

Error satisfies the builtin error interface

func (RuntimeDoubleValidationError) ErrorName added in v0.9.6

func (e RuntimeDoubleValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeDoubleValidationError) Field added in v0.9.6

Field function returns field value.

func (RuntimeDoubleValidationError) Key added in v0.9.6

Key function returns key value.

func (RuntimeDoubleValidationError) Reason added in v0.9.6

Reason function returns reason value.

type RuntimeFeatureFlag

type RuntimeFeatureFlag struct {

	// Default value if runtime value is not available.
	DefaultValue *wrappers.BoolValue `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Runtime key to get value for comparison. This value is used if defined. The boolean value must
	// be represented via its
	// `canonical JSON encoding <https://developers.google.com/protocol-buffers/docs/proto3#json>`_.
	RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
	// contains filtered or unexported fields
}

Runtime derived bool with a default when not specified.

func (*RuntimeFeatureFlag) Descriptor deprecated

func (*RuntimeFeatureFlag) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeFeatureFlag.ProtoReflect.Descriptor instead.

func (*RuntimeFeatureFlag) GetDefaultValue

func (x *RuntimeFeatureFlag) GetDefaultValue() *wrappers.BoolValue

func (*RuntimeFeatureFlag) GetRuntimeKey

func (x *RuntimeFeatureFlag) GetRuntimeKey() string

func (*RuntimeFeatureFlag) ProtoMessage

func (*RuntimeFeatureFlag) ProtoMessage()

func (*RuntimeFeatureFlag) ProtoReflect added in v0.9.6

func (x *RuntimeFeatureFlag) ProtoReflect() protoreflect.Message

func (*RuntimeFeatureFlag) Reset

func (x *RuntimeFeatureFlag) Reset()

func (*RuntimeFeatureFlag) String

func (x *RuntimeFeatureFlag) String() string

func (*RuntimeFeatureFlag) Validate

func (m *RuntimeFeatureFlag) Validate() error

Validate checks the field values on RuntimeFeatureFlag with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RuntimeFeatureFlag) ValidateAll added in v0.10.0

func (m *RuntimeFeatureFlag) ValidateAll() error

ValidateAll checks the field values on RuntimeFeatureFlag with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuntimeFeatureFlagMultiError, or nil if none found.

type RuntimeFeatureFlagMultiError added in v0.10.0

type RuntimeFeatureFlagMultiError []error

RuntimeFeatureFlagMultiError is an error wrapping multiple validation errors returned by RuntimeFeatureFlag.ValidateAll() if the designated constraints aren't met.

func (RuntimeFeatureFlagMultiError) AllErrors added in v0.10.0

func (m RuntimeFeatureFlagMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuntimeFeatureFlagMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type RuntimeFeatureFlagValidationError

type RuntimeFeatureFlagValidationError struct {
	// contains filtered or unexported fields
}

RuntimeFeatureFlagValidationError is the validation error returned by RuntimeFeatureFlag.Validate if the designated constraints aren't met.

func (RuntimeFeatureFlagValidationError) Cause

Cause function returns cause value.

func (RuntimeFeatureFlagValidationError) Error

Error satisfies the builtin error interface

func (RuntimeFeatureFlagValidationError) ErrorName

ErrorName returns error name.

func (RuntimeFeatureFlagValidationError) Field

Field function returns field value.

func (RuntimeFeatureFlagValidationError) Key

Key function returns key value.

func (RuntimeFeatureFlagValidationError) Reason

Reason function returns reason value.

type RuntimeFractionalPercent

type RuntimeFractionalPercent struct {

	// Default value if the runtime value's for the numerator/denominator keys are not available.
	DefaultValue *v3.FractionalPercent `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Runtime key for a YAML representation of a FractionalPercent.
	RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
	// contains filtered or unexported fields
}

Runtime derived FractionalPercent with defaults for when the numerator or denominator is not specified via a runtime key.

.. note::

Parsing of the runtime key's data is implemented such that it may be represented as a
:ref:`FractionalPercent <envoy_v3_api_msg_type.v3.FractionalPercent>` proto represented as JSON/YAML
and may also be represented as an integer with the assumption that the value is an integral
percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse
as a ``FractionalPercent`` whose numerator is 42 and denominator is HUNDRED.

func (*RuntimeFractionalPercent) Descriptor deprecated

func (*RuntimeFractionalPercent) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeFractionalPercent.ProtoReflect.Descriptor instead.

func (*RuntimeFractionalPercent) GetDefaultValue

func (x *RuntimeFractionalPercent) GetDefaultValue() *v3.FractionalPercent

func (*RuntimeFractionalPercent) GetRuntimeKey

func (x *RuntimeFractionalPercent) GetRuntimeKey() string

func (*RuntimeFractionalPercent) ProtoMessage

func (*RuntimeFractionalPercent) ProtoMessage()

func (*RuntimeFractionalPercent) ProtoReflect added in v0.9.6

func (x *RuntimeFractionalPercent) ProtoReflect() protoreflect.Message

func (*RuntimeFractionalPercent) Reset

func (x *RuntimeFractionalPercent) Reset()

func (*RuntimeFractionalPercent) String

func (x *RuntimeFractionalPercent) String() string

func (*RuntimeFractionalPercent) Validate

func (m *RuntimeFractionalPercent) Validate() error

Validate checks the field values on RuntimeFractionalPercent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RuntimeFractionalPercent) ValidateAll added in v0.10.0

func (m *RuntimeFractionalPercent) ValidateAll() error

ValidateAll checks the field values on RuntimeFractionalPercent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuntimeFractionalPercentMultiError, or nil if none found.

type RuntimeFractionalPercentMultiError added in v0.10.0

type RuntimeFractionalPercentMultiError []error

RuntimeFractionalPercentMultiError is an error wrapping multiple validation errors returned by RuntimeFractionalPercent.ValidateAll() if the designated constraints aren't met.

func (RuntimeFractionalPercentMultiError) AllErrors added in v0.10.0

func (m RuntimeFractionalPercentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuntimeFractionalPercentMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type RuntimeFractionalPercentValidationError

type RuntimeFractionalPercentValidationError struct {
	// contains filtered or unexported fields
}

RuntimeFractionalPercentValidationError is the validation error returned by RuntimeFractionalPercent.Validate if the designated constraints aren't met.

func (RuntimeFractionalPercentValidationError) Cause

Cause function returns cause value.

func (RuntimeFractionalPercentValidationError) Error

Error satisfies the builtin error interface

func (RuntimeFractionalPercentValidationError) ErrorName

ErrorName returns error name.

func (RuntimeFractionalPercentValidationError) Field

Field function returns field value.

func (RuntimeFractionalPercentValidationError) Key

Key function returns key value.

func (RuntimeFractionalPercentValidationError) Reason

Reason function returns reason value.

type RuntimePercent added in v0.9.7

type RuntimePercent struct {

	// Default value if runtime value is not available.
	DefaultValue *v3.Percent `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Runtime key to get value for comparison. This value is used if defined.
	RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
	// contains filtered or unexported fields
}

Runtime derived percentage with a default when not specified.

func (*RuntimePercent) Descriptor deprecated added in v0.9.7

func (*RuntimePercent) Descriptor() ([]byte, []int)

Deprecated: Use RuntimePercent.ProtoReflect.Descriptor instead.

func (*RuntimePercent) GetDefaultValue added in v0.9.7

func (x *RuntimePercent) GetDefaultValue() *v3.Percent

func (*RuntimePercent) GetRuntimeKey added in v0.9.7

func (x *RuntimePercent) GetRuntimeKey() string

func (*RuntimePercent) ProtoMessage added in v0.9.7

func (*RuntimePercent) ProtoMessage()

func (*RuntimePercent) ProtoReflect added in v0.9.7

func (x *RuntimePercent) ProtoReflect() protoreflect.Message

func (*RuntimePercent) Reset added in v0.9.7

func (x *RuntimePercent) Reset()

func (*RuntimePercent) String added in v0.9.7

func (x *RuntimePercent) String() string

func (*RuntimePercent) Validate added in v0.9.7

func (m *RuntimePercent) Validate() error

Validate checks the field values on RuntimePercent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RuntimePercent) ValidateAll added in v0.10.0

func (m *RuntimePercent) ValidateAll() error

ValidateAll checks the field values on RuntimePercent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuntimePercentMultiError, or nil if none found.

type RuntimePercentMultiError added in v0.10.0

type RuntimePercentMultiError []error

RuntimePercentMultiError is an error wrapping multiple validation errors returned by RuntimePercent.ValidateAll() if the designated constraints aren't met.

func (RuntimePercentMultiError) AllErrors added in v0.10.0

func (m RuntimePercentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuntimePercentMultiError) Error added in v0.10.0

func (m RuntimePercentMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RuntimePercentValidationError added in v0.9.7

type RuntimePercentValidationError struct {
	// contains filtered or unexported fields
}

RuntimePercentValidationError is the validation error returned by RuntimePercent.Validate if the designated constraints aren't met.

func (RuntimePercentValidationError) Cause added in v0.9.7

Cause function returns cause value.

func (RuntimePercentValidationError) Error added in v0.9.7

Error satisfies the builtin error interface

func (RuntimePercentValidationError) ErrorName added in v0.9.7

func (e RuntimePercentValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimePercentValidationError) Field added in v0.9.7

Field function returns field value.

func (RuntimePercentValidationError) Key added in v0.9.7

Key function returns key value.

func (RuntimePercentValidationError) Reason added in v0.9.7

Reason function returns reason value.

type RuntimeUInt32

type RuntimeUInt32 struct {

	// Default value if runtime value is not available.
	DefaultValue uint32 `protobuf:"varint,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Runtime key to get value for comparison. This value is used if defined.
	RuntimeKey string `protobuf:"bytes,3,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
	// contains filtered or unexported fields
}

Runtime derived uint32 with a default when not specified.

func (*RuntimeUInt32) Descriptor deprecated

func (*RuntimeUInt32) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeUInt32.ProtoReflect.Descriptor instead.

func (*RuntimeUInt32) GetDefaultValue

func (x *RuntimeUInt32) GetDefaultValue() uint32

func (*RuntimeUInt32) GetRuntimeKey

func (x *RuntimeUInt32) GetRuntimeKey() string

func (*RuntimeUInt32) ProtoMessage

func (*RuntimeUInt32) ProtoMessage()

func (*RuntimeUInt32) ProtoReflect added in v0.9.6

func (x *RuntimeUInt32) ProtoReflect() protoreflect.Message

func (*RuntimeUInt32) Reset

func (x *RuntimeUInt32) Reset()

func (*RuntimeUInt32) String

func (x *RuntimeUInt32) String() string

func (*RuntimeUInt32) Validate

func (m *RuntimeUInt32) Validate() error

Validate checks the field values on RuntimeUInt32 with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RuntimeUInt32) ValidateAll added in v0.10.0

func (m *RuntimeUInt32) ValidateAll() error

ValidateAll checks the field values on RuntimeUInt32 with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuntimeUInt32MultiError, or nil if none found.

type RuntimeUInt32MultiError added in v0.10.0

type RuntimeUInt32MultiError []error

RuntimeUInt32MultiError is an error wrapping multiple validation errors returned by RuntimeUInt32.ValidateAll() if the designated constraints aren't met.

func (RuntimeUInt32MultiError) AllErrors added in v0.10.0

func (m RuntimeUInt32MultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuntimeUInt32MultiError) Error added in v0.10.0

func (m RuntimeUInt32MultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RuntimeUInt32ValidationError

type RuntimeUInt32ValidationError struct {
	// contains filtered or unexported fields
}

RuntimeUInt32ValidationError is the validation error returned by RuntimeUInt32.Validate if the designated constraints aren't met.

func (RuntimeUInt32ValidationError) Cause

Cause function returns cause value.

func (RuntimeUInt32ValidationError) Error

Error satisfies the builtin error interface

func (RuntimeUInt32ValidationError) ErrorName

func (e RuntimeUInt32ValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeUInt32ValidationError) Field

Field function returns field value.

func (RuntimeUInt32ValidationError) Key

Key function returns key value.

func (RuntimeUInt32ValidationError) Reason

Reason function returns reason value.

type SchemeHeaderTransformation added in v0.10.0

type SchemeHeaderTransformation struct {

	// Types that are assignable to Transformation:
	//
	//	*SchemeHeaderTransformation_SchemeToOverwrite
	Transformation isSchemeHeaderTransformation_Transformation `protobuf_oneof:"transformation"`
	// contains filtered or unexported fields
}

A message to control transformations to the :scheme header

func (*SchemeHeaderTransformation) Descriptor deprecated added in v0.10.0

func (*SchemeHeaderTransformation) Descriptor() ([]byte, []int)

Deprecated: Use SchemeHeaderTransformation.ProtoReflect.Descriptor instead.

func (*SchemeHeaderTransformation) GetSchemeToOverwrite added in v0.10.0

func (x *SchemeHeaderTransformation) GetSchemeToOverwrite() string

func (*SchemeHeaderTransformation) GetTransformation added in v0.10.0

func (m *SchemeHeaderTransformation) GetTransformation() isSchemeHeaderTransformation_Transformation

func (*SchemeHeaderTransformation) ProtoMessage added in v0.10.0

func (*SchemeHeaderTransformation) ProtoMessage()

func (*SchemeHeaderTransformation) ProtoReflect added in v0.10.0

func (*SchemeHeaderTransformation) Reset added in v0.10.0

func (x *SchemeHeaderTransformation) Reset()

func (*SchemeHeaderTransformation) String added in v0.10.0

func (x *SchemeHeaderTransformation) String() string

func (*SchemeHeaderTransformation) Validate added in v0.10.0

func (m *SchemeHeaderTransformation) Validate() error

Validate checks the field values on SchemeHeaderTransformation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SchemeHeaderTransformation) ValidateAll added in v0.10.0

func (m *SchemeHeaderTransformation) ValidateAll() error

ValidateAll checks the field values on SchemeHeaderTransformation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SchemeHeaderTransformationMultiError, or nil if none found.

type SchemeHeaderTransformationMultiError added in v0.10.0

type SchemeHeaderTransformationMultiError []error

SchemeHeaderTransformationMultiError is an error wrapping multiple validation errors returned by SchemeHeaderTransformation.ValidateAll() if the designated constraints aren't met.

func (SchemeHeaderTransformationMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (SchemeHeaderTransformationMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type SchemeHeaderTransformationValidationError added in v0.10.0

type SchemeHeaderTransformationValidationError struct {
	// contains filtered or unexported fields
}

SchemeHeaderTransformationValidationError is the validation error returned by SchemeHeaderTransformation.Validate if the designated constraints aren't met.

func (SchemeHeaderTransformationValidationError) Cause added in v0.10.0

Cause function returns cause value.

func (SchemeHeaderTransformationValidationError) Error added in v0.10.0

Error satisfies the builtin error interface

func (SchemeHeaderTransformationValidationError) ErrorName added in v0.10.0

ErrorName returns error name.

func (SchemeHeaderTransformationValidationError) Field added in v0.10.0

Field function returns field value.

func (SchemeHeaderTransformationValidationError) Key added in v0.10.0

Key function returns key value.

func (SchemeHeaderTransformationValidationError) Reason added in v0.10.0

Reason function returns reason value.

type SchemeHeaderTransformation_SchemeToOverwrite added in v0.10.0

type SchemeHeaderTransformation_SchemeToOverwrite struct {
	// Overwrite any Scheme header with the contents of this string.
	SchemeToOverwrite string `protobuf:"bytes,1,opt,name=scheme_to_overwrite,json=schemeToOverwrite,proto3,oneof"`
}

type SelfConfigSource

type SelfConfigSource struct {

	// API version for xDS transport protocol. This describes the xDS gRPC/REST
	// endpoint and version of [Delta]DiscoveryRequest/Response used on the wire.
	TransportApiVersion ApiVersion `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

[#not-implemented-hide:] Self-referencing config source options. This is currently empty, but when set in :ref:`ConfigSource <envoy_v3_api_msg_config.core.v3.ConfigSource>` can be used to specify that other data can be obtained from the same server.

func (*SelfConfigSource) Descriptor deprecated

func (*SelfConfigSource) Descriptor() ([]byte, []int)

Deprecated: Use SelfConfigSource.ProtoReflect.Descriptor instead.

func (*SelfConfigSource) GetTransportApiVersion added in v0.9.6

func (x *SelfConfigSource) GetTransportApiVersion() ApiVersion

func (*SelfConfigSource) ProtoMessage

func (*SelfConfigSource) ProtoMessage()

func (*SelfConfigSource) ProtoReflect added in v0.9.6

func (x *SelfConfigSource) ProtoReflect() protoreflect.Message

func (*SelfConfigSource) Reset

func (x *SelfConfigSource) Reset()

func (*SelfConfigSource) String

func (x *SelfConfigSource) String() string

func (*SelfConfigSource) Validate

func (m *SelfConfigSource) Validate() error

Validate checks the field values on SelfConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SelfConfigSource) ValidateAll added in v0.10.0

func (m *SelfConfigSource) ValidateAll() error

ValidateAll checks the field values on SelfConfigSource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SelfConfigSourceMultiError, or nil if none found.

type SelfConfigSourceMultiError added in v0.10.0

type SelfConfigSourceMultiError []error

SelfConfigSourceMultiError is an error wrapping multiple validation errors returned by SelfConfigSource.ValidateAll() if the designated constraints aren't met.

func (SelfConfigSourceMultiError) AllErrors added in v0.10.0

func (m SelfConfigSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SelfConfigSourceMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type SelfConfigSourceValidationError

type SelfConfigSourceValidationError struct {
	// contains filtered or unexported fields
}

SelfConfigSourceValidationError is the validation error returned by SelfConfigSource.Validate if the designated constraints aren't met.

func (SelfConfigSourceValidationError) Cause

Cause function returns cause value.

func (SelfConfigSourceValidationError) Error

Error satisfies the builtin error interface

func (SelfConfigSourceValidationError) ErrorName

ErrorName returns error name.

func (SelfConfigSourceValidationError) Field

Field function returns field value.

func (SelfConfigSourceValidationError) Key

Key function returns key value.

func (SelfConfigSourceValidationError) Reason

Reason function returns reason value.

type SocketAddress

type SocketAddress struct {
	Protocol SocketAddress_Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=envoy.config.core.v3.SocketAddress_Protocol" json:"protocol,omitempty"`
	// The address for this socket. :ref:`Listeners <config_listeners>` will bind
	// to the address. An empty address is not allowed. Specify “0.0.0.0“ or “::“
	// to bind to any address. [#comment:TODO(zuercher) reinstate when implemented:
	// It is possible to distinguish a Listener address via the prefix/suffix matching
	// in :ref:`FilterChainMatch <envoy_v3_api_msg_config.listener.v3.FilterChainMatch>`.] When used
	// within an upstream :ref:`BindConfig <envoy_v3_api_msg_config.core.v3.BindConfig>`, the address
	// controls the source address of outbound connections. For :ref:`clusters
	// <envoy_v3_api_msg_config.cluster.v3.Cluster>`, the cluster type determines whether the
	// address must be an IP (“STATIC“ or “EDS“ clusters) or a hostname resolved by DNS
	// (“STRICT_DNS“ or “LOGICAL_DNS“ clusters). Address resolution can be customized
	// via :ref:`resolver_name <envoy_v3_api_field_config.core.v3.SocketAddress.resolver_name>`.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// Types that are assignable to PortSpecifier:
	//
	//	*SocketAddress_PortValue
	//	*SocketAddress_NamedPort
	PortSpecifier isSocketAddress_PortSpecifier `protobuf_oneof:"port_specifier"`
	// The name of the custom resolver. This must have been registered with Envoy. If
	// this is empty, a context dependent default applies. If the address is a concrete
	// IP address, no resolution will occur. If address is a hostname this
	// should be set for resolution other than DNS. Specifying a custom resolver with
	// “STRICT_DNS“ or “LOGICAL_DNS“ will generate an error at runtime.
	ResolverName string `protobuf:"bytes,5,opt,name=resolver_name,json=resolverName,proto3" json:"resolver_name,omitempty"`
	// When binding to an IPv6 address above, this enables `IPv4 compatibility
	// <https://tools.ietf.org/html/rfc3493#page-11>`_. Binding to “::“ will
	// allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into
	// IPv6 space as “::FFFF:<IPv4-address>“.
	Ipv4Compat bool `protobuf:"varint,6,opt,name=ipv4_compat,json=ipv4Compat,proto3" json:"ipv4_compat,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 7]

func (*SocketAddress) Descriptor deprecated

func (*SocketAddress) Descriptor() ([]byte, []int)

Deprecated: Use SocketAddress.ProtoReflect.Descriptor instead.

func (*SocketAddress) GetAddress

func (x *SocketAddress) GetAddress() string

func (*SocketAddress) GetIpv4Compat

func (x *SocketAddress) GetIpv4Compat() bool

func (*SocketAddress) GetNamedPort

func (x *SocketAddress) GetNamedPort() string

func (*SocketAddress) GetPortSpecifier

func (m *SocketAddress) GetPortSpecifier() isSocketAddress_PortSpecifier

func (*SocketAddress) GetPortValue

func (x *SocketAddress) GetPortValue() uint32

func (*SocketAddress) GetProtocol

func (x *SocketAddress) GetProtocol() SocketAddress_Protocol

func (*SocketAddress) GetResolverName

func (x *SocketAddress) GetResolverName() string

func (*SocketAddress) ProtoMessage

func (*SocketAddress) ProtoMessage()

func (*SocketAddress) ProtoReflect added in v0.9.6

func (x *SocketAddress) ProtoReflect() protoreflect.Message

func (*SocketAddress) Reset

func (x *SocketAddress) Reset()

func (*SocketAddress) String

func (x *SocketAddress) String() string

func (*SocketAddress) Validate

func (m *SocketAddress) Validate() error

Validate checks the field values on SocketAddress with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SocketAddress) ValidateAll added in v0.10.0

func (m *SocketAddress) ValidateAll() error

ValidateAll checks the field values on SocketAddress with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SocketAddressMultiError, or nil if none found.

type SocketAddressMultiError added in v0.10.0

type SocketAddressMultiError []error

SocketAddressMultiError is an error wrapping multiple validation errors returned by SocketAddress.ValidateAll() if the designated constraints aren't met.

func (SocketAddressMultiError) AllErrors added in v0.10.0

func (m SocketAddressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SocketAddressMultiError) Error added in v0.10.0

func (m SocketAddressMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SocketAddressValidationError

type SocketAddressValidationError struct {
	// contains filtered or unexported fields
}

SocketAddressValidationError is the validation error returned by SocketAddress.Validate if the designated constraints aren't met.

func (SocketAddressValidationError) Cause

Cause function returns cause value.

func (SocketAddressValidationError) Error

Error satisfies the builtin error interface

func (SocketAddressValidationError) ErrorName

func (e SocketAddressValidationError) ErrorName() string

ErrorName returns error name.

func (SocketAddressValidationError) Field

Field function returns field value.

func (SocketAddressValidationError) Key

Key function returns key value.

func (SocketAddressValidationError) Reason

Reason function returns reason value.

type SocketAddress_NamedPort

type SocketAddress_NamedPort struct {
	// This is only valid if :ref:`resolver_name
	// <envoy_v3_api_field_config.core.v3.SocketAddress.resolver_name>` is specified below and the
	// named resolver is capable of named port resolution.
	NamedPort string `protobuf:"bytes,4,opt,name=named_port,json=namedPort,proto3,oneof"`
}

type SocketAddress_PortValue

type SocketAddress_PortValue struct {
	PortValue uint32 `protobuf:"varint,3,opt,name=port_value,json=portValue,proto3,oneof"`
}

type SocketAddress_Protocol

type SocketAddress_Protocol int32
const (
	SocketAddress_TCP SocketAddress_Protocol = 0
	SocketAddress_UDP SocketAddress_Protocol = 1
)

func (SocketAddress_Protocol) Descriptor added in v0.9.6

func (SocketAddress_Protocol) Enum added in v0.9.6

func (SocketAddress_Protocol) EnumDescriptor deprecated

func (SocketAddress_Protocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use SocketAddress_Protocol.Descriptor instead.

func (SocketAddress_Protocol) Number added in v0.9.6

func (SocketAddress_Protocol) String

func (x SocketAddress_Protocol) String() string

func (SocketAddress_Protocol) Type added in v0.9.6

type SocketOption

type SocketOption struct {

	// An optional name to give this socket option for debugging, etc.
	// Uniqueness is not required and no special meaning is assumed.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// Corresponding to the level value passed to setsockopt, such as IPPROTO_TCP
	Level int64 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
	// The numeric name as passed to setsockopt
	Name int64 `protobuf:"varint,3,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Value:
	//
	//	*SocketOption_IntValue
	//	*SocketOption_BufValue
	Value isSocketOption_Value `protobuf_oneof:"value"`
	// The state in which the option will be applied. When used in BindConfig
	// STATE_PREBIND is currently the only valid value.
	State SocketOption_SocketState `protobuf:"varint,6,opt,name=state,proto3,enum=envoy.config.core.v3.SocketOption_SocketState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Generic socket option message. This would be used to set socket options that might not exist in upstream kernels or precompiled Envoy binaries.

For example:

.. code-block:: json

{
  "description": "support tcp keep alive",
  "state": 0,
  "level": 1,
  "name": 9,
  "int_value": 1,
}

1 means SOL_SOCKET and 9 means SO_KEEPALIVE on Linux. With the above configuration, `TCP Keep-Alives <https://www.freesoft.org/CIE/RFC/1122/114.htm>`_ can be enabled in socket with Linux, which can be used in :ref:`listener's<envoy_v3_api_field_config.listener.v3.Listener.socket_options>` or :ref:`admin's <envoy_v3_api_field_config.bootstrap.v3.Admin.socket_options>` socket_options etc.

It should be noted that the name or level may have different values on different platforms. [#next-free-field: 7]

func (*SocketOption) Descriptor deprecated

func (*SocketOption) Descriptor() ([]byte, []int)

Deprecated: Use SocketOption.ProtoReflect.Descriptor instead.

func (*SocketOption) GetBufValue

func (x *SocketOption) GetBufValue() []byte

func (*SocketOption) GetDescription

func (x *SocketOption) GetDescription() string

func (*SocketOption) GetIntValue

func (x *SocketOption) GetIntValue() int64

func (*SocketOption) GetLevel

func (x *SocketOption) GetLevel() int64

func (*SocketOption) GetName

func (x *SocketOption) GetName() int64

func (*SocketOption) GetState

func (x *SocketOption) GetState() SocketOption_SocketState

func (*SocketOption) GetValue

func (m *SocketOption) GetValue() isSocketOption_Value

func (*SocketOption) ProtoMessage

func (*SocketOption) ProtoMessage()

func (*SocketOption) ProtoReflect added in v0.9.6

func (x *SocketOption) ProtoReflect() protoreflect.Message

func (*SocketOption) Reset

func (x *SocketOption) Reset()

func (*SocketOption) String

func (x *SocketOption) String() string

func (*SocketOption) Validate

func (m *SocketOption) Validate() error

Validate checks the field values on SocketOption with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SocketOption) ValidateAll added in v0.10.0

func (m *SocketOption) ValidateAll() error

ValidateAll checks the field values on SocketOption with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SocketOptionMultiError, or nil if none found.

type SocketOptionMultiError added in v0.10.0

type SocketOptionMultiError []error

SocketOptionMultiError is an error wrapping multiple validation errors returned by SocketOption.ValidateAll() if the designated constraints aren't met.

func (SocketOptionMultiError) AllErrors added in v0.10.0

func (m SocketOptionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SocketOptionMultiError) Error added in v0.10.0

func (m SocketOptionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SocketOptionValidationError

type SocketOptionValidationError struct {
	// contains filtered or unexported fields
}

SocketOptionValidationError is the validation error returned by SocketOption.Validate if the designated constraints aren't met.

func (SocketOptionValidationError) Cause

Cause function returns cause value.

func (SocketOptionValidationError) Error

Error satisfies the builtin error interface

func (SocketOptionValidationError) ErrorName

func (e SocketOptionValidationError) ErrorName() string

ErrorName returns error name.

func (SocketOptionValidationError) Field

Field function returns field value.

func (SocketOptionValidationError) Key

Key function returns key value.

func (SocketOptionValidationError) Reason

Reason function returns reason value.

type SocketOption_BufValue

type SocketOption_BufValue struct {
	// Otherwise it's a byte buffer.
	BufValue []byte `protobuf:"bytes,5,opt,name=buf_value,json=bufValue,proto3,oneof"`
}

type SocketOption_IntValue

type SocketOption_IntValue struct {
	// Because many sockopts take an int value.
	IntValue int64 `protobuf:"varint,4,opt,name=int_value,json=intValue,proto3,oneof"`
}

type SocketOption_SocketState

type SocketOption_SocketState int32
const (
	// Socket options are applied after socket creation but before binding the socket to a port
	SocketOption_STATE_PREBIND SocketOption_SocketState = 0
	// Socket options are applied after binding the socket to a port but before calling listen()
	SocketOption_STATE_BOUND SocketOption_SocketState = 1
	// Socket options are applied after calling listen()
	SocketOption_STATE_LISTENING SocketOption_SocketState = 2
)

func (SocketOption_SocketState) Descriptor added in v0.9.6

func (SocketOption_SocketState) Enum added in v0.9.6

func (SocketOption_SocketState) EnumDescriptor deprecated

func (SocketOption_SocketState) EnumDescriptor() ([]byte, []int)

Deprecated: Use SocketOption_SocketState.Descriptor instead.

func (SocketOption_SocketState) Number added in v0.9.6

func (SocketOption_SocketState) String

func (x SocketOption_SocketState) String() string

func (SocketOption_SocketState) Type added in v0.9.6

type SocketOptionsOverride added in v0.11.0

type SocketOptionsOverride struct {
	SocketOptions []*SocketOption `protobuf:"bytes,1,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"`
	// contains filtered or unexported fields
}

func (*SocketOptionsOverride) Descriptor deprecated added in v0.11.0

func (*SocketOptionsOverride) Descriptor() ([]byte, []int)

Deprecated: Use SocketOptionsOverride.ProtoReflect.Descriptor instead.

func (*SocketOptionsOverride) GetSocketOptions added in v0.11.0

func (x *SocketOptionsOverride) GetSocketOptions() []*SocketOption

func (*SocketOptionsOverride) ProtoMessage added in v0.11.0

func (*SocketOptionsOverride) ProtoMessage()

func (*SocketOptionsOverride) ProtoReflect added in v0.11.0

func (x *SocketOptionsOverride) ProtoReflect() protoreflect.Message

func (*SocketOptionsOverride) Reset added in v0.11.0

func (x *SocketOptionsOverride) Reset()

func (*SocketOptionsOverride) String added in v0.11.0

func (x *SocketOptionsOverride) String() string

func (*SocketOptionsOverride) Validate added in v0.11.0

func (m *SocketOptionsOverride) Validate() error

Validate checks the field values on SocketOptionsOverride with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SocketOptionsOverride) ValidateAll added in v0.11.0

func (m *SocketOptionsOverride) ValidateAll() error

ValidateAll checks the field values on SocketOptionsOverride with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SocketOptionsOverrideMultiError, or nil if none found.

type SocketOptionsOverrideMultiError added in v0.11.0

type SocketOptionsOverrideMultiError []error

SocketOptionsOverrideMultiError is an error wrapping multiple validation errors returned by SocketOptionsOverride.ValidateAll() if the designated constraints aren't met.

func (SocketOptionsOverrideMultiError) AllErrors added in v0.11.0

func (m SocketOptionsOverrideMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SocketOptionsOverrideMultiError) Error added in v0.11.0

Error returns a concatenation of all the error messages it wraps.

type SocketOptionsOverrideValidationError added in v0.11.0

type SocketOptionsOverrideValidationError struct {
	// contains filtered or unexported fields
}

SocketOptionsOverrideValidationError is the validation error returned by SocketOptionsOverride.Validate if the designated constraints aren't met.

func (SocketOptionsOverrideValidationError) Cause added in v0.11.0

Cause function returns cause value.

func (SocketOptionsOverrideValidationError) Error added in v0.11.0

Error satisfies the builtin error interface

func (SocketOptionsOverrideValidationError) ErrorName added in v0.11.0

ErrorName returns error name.

func (SocketOptionsOverrideValidationError) Field added in v0.11.0

Field function returns field value.

func (SocketOptionsOverrideValidationError) Key added in v0.11.0

Key function returns key value.

func (SocketOptionsOverrideValidationError) Reason added in v0.11.0

Reason function returns reason value.

type SubstitutionFormatString added in v0.9.6

type SubstitutionFormatString struct {

	// Types that are assignable to Format:
	//
	//	*SubstitutionFormatString_TextFormat
	//	*SubstitutionFormatString_JsonFormat
	//	*SubstitutionFormatString_TextFormatSource
	Format isSubstitutionFormatString_Format `protobuf_oneof:"format"`
	// If set to true, when command operators are evaluated to null,
	//
	//   - for “text_format“, the output of the empty operator is changed from “-“ to an
	//     empty string, so that empty values are omitted entirely.
	//   - for “json_format“ the keys with null values are omitted in the output structure.
	OmitEmptyValues bool `protobuf:"varint,3,opt,name=omit_empty_values,json=omitEmptyValues,proto3" json:"omit_empty_values,omitempty"`
	// Specify a “content_type“ field.
	// If this field is not set then “text/plain“ is used for “text_format“ and
	// “application/json“ is used for “json_format“.
	//
	// .. validated-code-block:: yaml
	//
	//	:type-name: envoy.config.core.v3.SubstitutionFormatString
	//
	//	content_type: "text/html; charset=UTF-8"
	ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// Specifies a collection of Formatter plugins that can be called from the access log configuration.
	// See the formatters extensions documentation for details.
	// [#extension-category: envoy.formatter]
	Formatters []*TypedExtensionConfig `protobuf:"bytes,6,rep,name=formatters,proto3" json:"formatters,omitempty"`
	// If json_format is used, the options will be applied to the output JSON string.
	JsonFormatOptions *JsonFormatOptions `protobuf:"bytes,7,opt,name=json_format_options,json=jsonFormatOptions,proto3" json:"json_format_options,omitempty"`
	// contains filtered or unexported fields
}

Configuration to use multiple :ref:`command operators <config_access_log_command_operators>` to generate a new string in either plain text or JSON format. [#next-free-field: 8]

func (*SubstitutionFormatString) Descriptor deprecated added in v0.9.6

func (*SubstitutionFormatString) Descriptor() ([]byte, []int)

Deprecated: Use SubstitutionFormatString.ProtoReflect.Descriptor instead.

func (*SubstitutionFormatString) GetContentType added in v0.9.7

func (x *SubstitutionFormatString) GetContentType() string

func (*SubstitutionFormatString) GetFormat added in v0.9.6

func (m *SubstitutionFormatString) GetFormat() isSubstitutionFormatString_Format

func (*SubstitutionFormatString) GetFormatters added in v0.9.9

func (x *SubstitutionFormatString) GetFormatters() []*TypedExtensionConfig

func (*SubstitutionFormatString) GetJsonFormat added in v0.9.6

func (x *SubstitutionFormatString) GetJsonFormat() *_struct.Struct

func (*SubstitutionFormatString) GetJsonFormatOptions added in v0.12.0

func (x *SubstitutionFormatString) GetJsonFormatOptions() *JsonFormatOptions

func (*SubstitutionFormatString) GetOmitEmptyValues added in v0.9.7

func (x *SubstitutionFormatString) GetOmitEmptyValues() bool

func (*SubstitutionFormatString) GetTextFormat deprecated added in v0.9.6

func (x *SubstitutionFormatString) GetTextFormat() string

Deprecated: Marked as deprecated in envoy/config/core/v3/substitution_format_string.proto.

func (*SubstitutionFormatString) GetTextFormatSource added in v0.9.9

func (x *SubstitutionFormatString) GetTextFormatSource() *DataSource

func (*SubstitutionFormatString) ProtoMessage added in v0.9.6

func (*SubstitutionFormatString) ProtoMessage()

func (*SubstitutionFormatString) ProtoReflect added in v0.9.6

func (x *SubstitutionFormatString) ProtoReflect() protoreflect.Message

func (*SubstitutionFormatString) Reset added in v0.9.6

func (x *SubstitutionFormatString) Reset()

func (*SubstitutionFormatString) String added in v0.9.6

func (x *SubstitutionFormatString) String() string

func (*SubstitutionFormatString) Validate added in v0.9.6

func (m *SubstitutionFormatString) Validate() error

Validate checks the field values on SubstitutionFormatString with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SubstitutionFormatString) ValidateAll added in v0.10.0

func (m *SubstitutionFormatString) ValidateAll() error

ValidateAll checks the field values on SubstitutionFormatString with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubstitutionFormatStringMultiError, or nil if none found.

type SubstitutionFormatStringMultiError added in v0.10.0

type SubstitutionFormatStringMultiError []error

SubstitutionFormatStringMultiError is an error wrapping multiple validation errors returned by SubstitutionFormatString.ValidateAll() if the designated constraints aren't met.

func (SubstitutionFormatStringMultiError) AllErrors added in v0.10.0

func (m SubstitutionFormatStringMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubstitutionFormatStringMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type SubstitutionFormatStringValidationError added in v0.9.6

type SubstitutionFormatStringValidationError struct {
	// contains filtered or unexported fields
}

SubstitutionFormatStringValidationError is the validation error returned by SubstitutionFormatString.Validate if the designated constraints aren't met.

func (SubstitutionFormatStringValidationError) Cause added in v0.9.6

Cause function returns cause value.

func (SubstitutionFormatStringValidationError) Error added in v0.9.6

Error satisfies the builtin error interface

func (SubstitutionFormatStringValidationError) ErrorName added in v0.9.6

ErrorName returns error name.

func (SubstitutionFormatStringValidationError) Field added in v0.9.6

Field function returns field value.

func (SubstitutionFormatStringValidationError) Key added in v0.9.6

Key function returns key value.

func (SubstitutionFormatStringValidationError) Reason added in v0.9.6

Reason function returns reason value.

type SubstitutionFormatString_JsonFormat added in v0.9.6

type SubstitutionFormatString_JsonFormat struct {
	// Specify a format with command operators to form a JSON string.
	// Its details is described in :ref:`format dictionary<config_access_log_format_dictionaries>`.
	// Values are rendered as strings, numbers, or boolean values as appropriate.
	// Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA).
	// See the documentation for a specific command operator for details.
	//
	// .. validated-code-block:: yaml
	//
	//	:type-name: envoy.config.core.v3.SubstitutionFormatString
	//
	//	json_format:
	//	  status: "%RESPONSE_CODE%"
	//	  message: "%LOCAL_REPLY_BODY%"
	//
	// The following JSON object would be created:
	//
	// .. code-block:: json
	//
	//	{
	//	  "status": 500,
	//	  "message": "My error message"
	//	}
	JsonFormat *_struct.Struct `protobuf:"bytes,2,opt,name=json_format,json=jsonFormat,proto3,oneof"`
}

type SubstitutionFormatString_TextFormat added in v0.9.6

type SubstitutionFormatString_TextFormat struct {
	// Specify a format with command operators to form a text string.
	// Its details is described in :ref:`format string<config_access_log_format_strings>`.
	//
	// For example, setting “text_format“ like below,
	//
	// .. validated-code-block:: yaml
	//
	//	:type-name: envoy.config.core.v3.SubstitutionFormatString
	//
	//	text_format: "%LOCAL_REPLY_BODY%:%RESPONSE_CODE%:path=%REQ(:path)%\n"
	//
	// generates plain text similar to:
	//
	// .. code-block:: text
	//
	//	upstream connect error:503:path=/foo
	//
	// Deprecated in favor of :ref:`text_format_source <envoy_v3_api_field_config.core.v3.SubstitutionFormatString.text_format_source>`. To migrate text format strings, use the :ref:`inline_string <envoy_v3_api_field_config.core.v3.DataSource.inline_string>` field.
	//
	// Deprecated: Marked as deprecated in envoy/config/core/v3/substitution_format_string.proto.
	TextFormat string `protobuf:"bytes,1,opt,name=text_format,json=textFormat,proto3,oneof"`
}

type SubstitutionFormatString_TextFormatSource added in v0.9.9

type SubstitutionFormatString_TextFormatSource struct {
	// Specify a format with command operators to form a text string.
	// Its details is described in :ref:`format string<config_access_log_format_strings>`.
	//
	// For example, setting “text_format“ like below,
	//
	// .. validated-code-block:: yaml
	//
	//	:type-name: envoy.config.core.v3.SubstitutionFormatString
	//
	//	text_format_source:
	//	  inline_string: "%LOCAL_REPLY_BODY%:%RESPONSE_CODE%:path=%REQ(:path)%\n"
	//
	// generates plain text similar to:
	//
	// .. code-block:: text
	//
	//	upstream connect error:503:path=/foo
	TextFormatSource *DataSource `protobuf:"bytes,5,opt,name=text_format_source,json=textFormatSource,proto3,oneof"`
}

type TcpKeepalive

type TcpKeepalive struct {

	// Maximum number of keepalive probes to send without response before deciding
	// the connection is dead. Default is to use the OS level configuration (unless
	// overridden, Linux defaults to 9.)
	KeepaliveProbes *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=keepalive_probes,json=keepaliveProbes,proto3" json:"keepalive_probes,omitempty"`
	// The number of seconds a connection needs to be idle before keep-alive probes
	// start being sent. Default is to use the OS level configuration (unless
	// overridden, Linux defaults to 7200s (i.e., 2 hours.)
	KeepaliveTime *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=keepalive_time,json=keepaliveTime,proto3" json:"keepalive_time,omitempty"`
	// The number of seconds between keep-alive probes. Default is to use the OS
	// level configuration (unless overridden, Linux defaults to 75s.)
	KeepaliveInterval *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=keepalive_interval,json=keepaliveInterval,proto3" json:"keepalive_interval,omitempty"`
	// contains filtered or unexported fields
}

func (*TcpKeepalive) Descriptor deprecated

func (*TcpKeepalive) Descriptor() ([]byte, []int)

Deprecated: Use TcpKeepalive.ProtoReflect.Descriptor instead.

func (*TcpKeepalive) GetKeepaliveInterval

func (x *TcpKeepalive) GetKeepaliveInterval() *wrappers.UInt32Value

func (*TcpKeepalive) GetKeepaliveProbes

func (x *TcpKeepalive) GetKeepaliveProbes() *wrappers.UInt32Value

func (*TcpKeepalive) GetKeepaliveTime

func (x *TcpKeepalive) GetKeepaliveTime() *wrappers.UInt32Value

func (*TcpKeepalive) ProtoMessage

func (*TcpKeepalive) ProtoMessage()

func (*TcpKeepalive) ProtoReflect added in v0.9.6

func (x *TcpKeepalive) ProtoReflect() protoreflect.Message

func (*TcpKeepalive) Reset

func (x *TcpKeepalive) Reset()

func (*TcpKeepalive) String

func (x *TcpKeepalive) String() string

func (*TcpKeepalive) Validate

func (m *TcpKeepalive) Validate() error

Validate checks the field values on TcpKeepalive with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TcpKeepalive) ValidateAll added in v0.10.0

func (m *TcpKeepalive) ValidateAll() error

ValidateAll checks the field values on TcpKeepalive with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TcpKeepaliveMultiError, or nil if none found.

type TcpKeepaliveMultiError added in v0.10.0

type TcpKeepaliveMultiError []error

TcpKeepaliveMultiError is an error wrapping multiple validation errors returned by TcpKeepalive.ValidateAll() if the designated constraints aren't met.

func (TcpKeepaliveMultiError) AllErrors added in v0.10.0

func (m TcpKeepaliveMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TcpKeepaliveMultiError) Error added in v0.10.0

func (m TcpKeepaliveMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TcpKeepaliveValidationError

type TcpKeepaliveValidationError struct {
	// contains filtered or unexported fields
}

TcpKeepaliveValidationError is the validation error returned by TcpKeepalive.Validate if the designated constraints aren't met.

func (TcpKeepaliveValidationError) Cause

Cause function returns cause value.

func (TcpKeepaliveValidationError) Error

Error satisfies the builtin error interface

func (TcpKeepaliveValidationError) ErrorName

func (e TcpKeepaliveValidationError) ErrorName() string

ErrorName returns error name.

func (TcpKeepaliveValidationError) Field

Field function returns field value.

func (TcpKeepaliveValidationError) Key

Key function returns key value.

func (TcpKeepaliveValidationError) Reason

Reason function returns reason value.

type TcpProtocolOptions

type TcpProtocolOptions struct {
	// contains filtered or unexported fields
}

[#not-implemented-hide:]

func (*TcpProtocolOptions) Descriptor deprecated

func (*TcpProtocolOptions) Descriptor() ([]byte, []int)

Deprecated: Use TcpProtocolOptions.ProtoReflect.Descriptor instead.

func (*TcpProtocolOptions) ProtoMessage

func (*TcpProtocolOptions) ProtoMessage()

func (*TcpProtocolOptions) ProtoReflect added in v0.9.6

func (x *TcpProtocolOptions) ProtoReflect() protoreflect.Message

func (*TcpProtocolOptions) Reset

func (x *TcpProtocolOptions) Reset()

func (*TcpProtocolOptions) String

func (x *TcpProtocolOptions) String() string

func (*TcpProtocolOptions) Validate

func (m *TcpProtocolOptions) Validate() error

Validate checks the field values on TcpProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TcpProtocolOptions) ValidateAll added in v0.10.0

func (m *TcpProtocolOptions) ValidateAll() error

ValidateAll checks the field values on TcpProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TcpProtocolOptionsMultiError, or nil if none found.

type TcpProtocolOptionsMultiError added in v0.10.0

type TcpProtocolOptionsMultiError []error

TcpProtocolOptionsMultiError is an error wrapping multiple validation errors returned by TcpProtocolOptions.ValidateAll() if the designated constraints aren't met.

func (TcpProtocolOptionsMultiError) AllErrors added in v0.10.0

func (m TcpProtocolOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TcpProtocolOptionsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type TcpProtocolOptionsValidationError

type TcpProtocolOptionsValidationError struct {
	// contains filtered or unexported fields
}

TcpProtocolOptionsValidationError is the validation error returned by TcpProtocolOptions.Validate if the designated constraints aren't met.

func (TcpProtocolOptionsValidationError) Cause

Cause function returns cause value.

func (TcpProtocolOptionsValidationError) Error

Error satisfies the builtin error interface

func (TcpProtocolOptionsValidationError) ErrorName

ErrorName returns error name.

func (TcpProtocolOptionsValidationError) Field

Field function returns field value.

func (TcpProtocolOptionsValidationError) Key

Key function returns key value.

func (TcpProtocolOptionsValidationError) Reason

Reason function returns reason value.

type TrafficDirection

type TrafficDirection int32

Identifies the direction of the traffic relative to the local Envoy.

const (
	// Default option is unspecified.
	TrafficDirection_UNSPECIFIED TrafficDirection = 0
	// The transport is used for incoming traffic.
	TrafficDirection_INBOUND TrafficDirection = 1
	// The transport is used for outgoing traffic.
	TrafficDirection_OUTBOUND TrafficDirection = 2
)

func (TrafficDirection) Descriptor added in v0.9.6

func (TrafficDirection) Enum added in v0.9.6

func (TrafficDirection) EnumDescriptor deprecated

func (TrafficDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use TrafficDirection.Descriptor instead.

func (TrafficDirection) Number added in v0.9.6

func (TrafficDirection) String

func (x TrafficDirection) String() string

func (TrafficDirection) Type added in v0.9.6

type TransportSocket

type TransportSocket struct {

	// The name of the transport socket to instantiate. The name must match a supported transport
	// socket implementation.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Implementation specific configuration which depends on the implementation being instantiated.
	// See the supported transport socket implementations for further documentation.
	//
	// Types that are assignable to ConfigType:
	//
	//	*TransportSocket_TypedConfig
	ConfigType isTransportSocket_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

Configuration for transport socket in :ref:`listeners <config_listeners>` and :ref:`clusters <envoy_v3_api_msg_config.cluster.v3.Cluster>`. If the configuration is empty, a default transport socket implementation and configuration will be chosen based on the platform and existence of tls_context.

func (*TransportSocket) Descriptor deprecated

func (*TransportSocket) Descriptor() ([]byte, []int)

Deprecated: Use TransportSocket.ProtoReflect.Descriptor instead.

func (*TransportSocket) GetConfigType

func (m *TransportSocket) GetConfigType() isTransportSocket_ConfigType

func (*TransportSocket) GetName

func (x *TransportSocket) GetName() string

func (*TransportSocket) GetTypedConfig

func (x *TransportSocket) GetTypedConfig() *any1.Any

func (*TransportSocket) ProtoMessage

func (*TransportSocket) ProtoMessage()

func (*TransportSocket) ProtoReflect added in v0.9.6

func (x *TransportSocket) ProtoReflect() protoreflect.Message

func (*TransportSocket) Reset

func (x *TransportSocket) Reset()

func (*TransportSocket) String

func (x *TransportSocket) String() string

func (*TransportSocket) Validate

func (m *TransportSocket) Validate() error

Validate checks the field values on TransportSocket with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TransportSocket) ValidateAll added in v0.10.0

func (m *TransportSocket) ValidateAll() error

ValidateAll checks the field values on TransportSocket with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TransportSocketMultiError, or nil if none found.

type TransportSocketMultiError added in v0.10.0

type TransportSocketMultiError []error

TransportSocketMultiError is an error wrapping multiple validation errors returned by TransportSocket.ValidateAll() if the designated constraints aren't met.

func (TransportSocketMultiError) AllErrors added in v0.10.0

func (m TransportSocketMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TransportSocketMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type TransportSocketValidationError

type TransportSocketValidationError struct {
	// contains filtered or unexported fields
}

TransportSocketValidationError is the validation error returned by TransportSocket.Validate if the designated constraints aren't met.

func (TransportSocketValidationError) Cause

Cause function returns cause value.

func (TransportSocketValidationError) Error

Error satisfies the builtin error interface

func (TransportSocketValidationError) ErrorName

func (e TransportSocketValidationError) ErrorName() string

ErrorName returns error name.

func (TransportSocketValidationError) Field

Field function returns field value.

func (TransportSocketValidationError) Key

Key function returns key value.

func (TransportSocketValidationError) Reason

Reason function returns reason value.

type TransportSocket_TypedConfig

type TransportSocket_TypedConfig struct {
	TypedConfig *any1.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type TypedExtensionConfig added in v0.9.6

type TypedExtensionConfig struct {

	// The name of an extension. This is not used to select the extension, instead
	// it serves the role of an opaque identifier.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The typed config for the extension. The type URL will be used to identify
	// the extension. In the case that the type URL is “xds.type.v3.TypedStruct“
	// (or, for historical reasons, “udpa.type.v1.TypedStruct“), the inner type
	// URL of “TypedStruct“ will be utilized. See the
	// :ref:`extension configuration overview
	// <config_overview_extension_configuration>` for further details.
	TypedConfig *any1.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
	// contains filtered or unexported fields
}

Message type for extension configuration. [#next-major-version: revisit all existing typed_config that doesn't use this wrapper.].

func (*TypedExtensionConfig) Descriptor deprecated added in v0.9.6

func (*TypedExtensionConfig) Descriptor() ([]byte, []int)

Deprecated: Use TypedExtensionConfig.ProtoReflect.Descriptor instead.

func (*TypedExtensionConfig) GetName added in v0.9.6

func (x *TypedExtensionConfig) GetName() string

func (*TypedExtensionConfig) GetTypedConfig added in v0.9.6

func (x *TypedExtensionConfig) GetTypedConfig() *any1.Any

func (*TypedExtensionConfig) ProtoMessage added in v0.9.6

func (*TypedExtensionConfig) ProtoMessage()

func (*TypedExtensionConfig) ProtoReflect added in v0.9.6

func (x *TypedExtensionConfig) ProtoReflect() protoreflect.Message

func (*TypedExtensionConfig) Reset added in v0.9.6

func (x *TypedExtensionConfig) Reset()

func (*TypedExtensionConfig) String added in v0.9.6

func (x *TypedExtensionConfig) String() string

func (*TypedExtensionConfig) Validate added in v0.9.6

func (m *TypedExtensionConfig) Validate() error

Validate checks the field values on TypedExtensionConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TypedExtensionConfig) ValidateAll added in v0.10.0

func (m *TypedExtensionConfig) ValidateAll() error

ValidateAll checks the field values on TypedExtensionConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TypedExtensionConfigMultiError, or nil if none found.

type TypedExtensionConfigMultiError added in v0.10.0

type TypedExtensionConfigMultiError []error

TypedExtensionConfigMultiError is an error wrapping multiple validation errors returned by TypedExtensionConfig.ValidateAll() if the designated constraints aren't met.

func (TypedExtensionConfigMultiError) AllErrors added in v0.10.0

func (m TypedExtensionConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TypedExtensionConfigMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type TypedExtensionConfigValidationError added in v0.9.6

type TypedExtensionConfigValidationError struct {
	// contains filtered or unexported fields
}

TypedExtensionConfigValidationError is the validation error returned by TypedExtensionConfig.Validate if the designated constraints aren't met.

func (TypedExtensionConfigValidationError) Cause added in v0.9.6

Cause function returns cause value.

func (TypedExtensionConfigValidationError) Error added in v0.9.6

Error satisfies the builtin error interface

func (TypedExtensionConfigValidationError) ErrorName added in v0.9.6

ErrorName returns error name.

func (TypedExtensionConfigValidationError) Field added in v0.9.6

Field function returns field value.

func (TypedExtensionConfigValidationError) Key added in v0.9.6

Key function returns key value.

func (TypedExtensionConfigValidationError) Reason added in v0.9.6

Reason function returns reason value.

type UdpSocketConfig added in v0.9.9

type UdpSocketConfig struct {

	// The maximum size of received UDP datagrams. Using a larger size will cause Envoy to allocate
	// more memory per socket. Received datagrams above this size will be dropped. If not set
	// defaults to 1500 bytes.
	MaxRxDatagramSize *wrappers.UInt64Value `protobuf:"bytes,1,opt,name=max_rx_datagram_size,json=maxRxDatagramSize,proto3" json:"max_rx_datagram_size,omitempty"`
	// Configures whether Generic Receive Offload (GRO)
	// <https://en.wikipedia.org/wiki/Large_receive_offload>_ is preferred when reading from the
	// UDP socket. The default is context dependent and is documented where UdpSocketConfig is used.
	// This option affects performance but not functionality. If GRO is not supported by the operating
	// system, non-GRO receive will be used.
	PreferGro *wrappers.BoolValue `protobuf:"bytes,2,opt,name=prefer_gro,json=preferGro,proto3" json:"prefer_gro,omitempty"`
	// contains filtered or unexported fields
}

Generic UDP socket configuration.

func (*UdpSocketConfig) Descriptor deprecated added in v0.9.9

func (*UdpSocketConfig) Descriptor() ([]byte, []int)

Deprecated: Use UdpSocketConfig.ProtoReflect.Descriptor instead.

func (*UdpSocketConfig) GetMaxRxDatagramSize added in v0.9.9

func (x *UdpSocketConfig) GetMaxRxDatagramSize() *wrappers.UInt64Value

func (*UdpSocketConfig) GetPreferGro added in v0.9.9

func (x *UdpSocketConfig) GetPreferGro() *wrappers.BoolValue

func (*UdpSocketConfig) ProtoMessage added in v0.9.9

func (*UdpSocketConfig) ProtoMessage()

func (*UdpSocketConfig) ProtoReflect added in v0.9.9

func (x *UdpSocketConfig) ProtoReflect() protoreflect.Message

func (*UdpSocketConfig) Reset added in v0.9.9

func (x *UdpSocketConfig) Reset()

func (*UdpSocketConfig) String added in v0.9.9

func (x *UdpSocketConfig) String() string

func (*UdpSocketConfig) Validate added in v0.9.9

func (m *UdpSocketConfig) Validate() error

Validate checks the field values on UdpSocketConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UdpSocketConfig) ValidateAll added in v0.10.0

func (m *UdpSocketConfig) ValidateAll() error

ValidateAll checks the field values on UdpSocketConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UdpSocketConfigMultiError, or nil if none found.

type UdpSocketConfigMultiError added in v0.10.0

type UdpSocketConfigMultiError []error

UdpSocketConfigMultiError is an error wrapping multiple validation errors returned by UdpSocketConfig.ValidateAll() if the designated constraints aren't met.

func (UdpSocketConfigMultiError) AllErrors added in v0.10.0

func (m UdpSocketConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UdpSocketConfigMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type UdpSocketConfigValidationError added in v0.9.9

type UdpSocketConfigValidationError struct {
	// contains filtered or unexported fields
}

UdpSocketConfigValidationError is the validation error returned by UdpSocketConfig.Validate if the designated constraints aren't met.

func (UdpSocketConfigValidationError) Cause added in v0.9.9

Cause function returns cause value.

func (UdpSocketConfigValidationError) Error added in v0.9.9

Error satisfies the builtin error interface

func (UdpSocketConfigValidationError) ErrorName added in v0.9.9

func (e UdpSocketConfigValidationError) ErrorName() string

ErrorName returns error name.

func (UdpSocketConfigValidationError) Field added in v0.9.9

Field function returns field value.

func (UdpSocketConfigValidationError) Key added in v0.9.9

Key function returns key value.

func (UdpSocketConfigValidationError) Reason added in v0.9.9

Reason function returns reason value.

type UpstreamHttpProtocolOptions

type UpstreamHttpProtocolOptions struct {

	// Set transport socket `SNI <https://en.wikipedia.org/wiki/Server_Name_Indication>`_ for new
	// upstream connections based on the downstream HTTP host/authority header or any other arbitrary
	// header when :ref:`override_auto_sni_header <envoy_v3_api_field_config.core.v3.UpstreamHttpProtocolOptions.override_auto_sni_header>`
	// is set, as seen by the :ref:`router filter <config_http_filters_router>`.
	// Does nothing if a filter before the http router filter sets the corresponding metadata.
	AutoSni bool `protobuf:"varint,1,opt,name=auto_sni,json=autoSni,proto3" json:"auto_sni,omitempty"`
	// Automatic validate upstream presented certificate for new upstream connections based on the
	// downstream HTTP host/authority header or any other arbitrary header when :ref:`override_auto_sni_header <envoy_v3_api_field_config.core.v3.UpstreamHttpProtocolOptions.override_auto_sni_header>`
	// is set, as seen by the :ref:`router filter <config_http_filters_router>`.
	// This field is intended to be set with “auto_sni“ field.
	// Does nothing if a filter before the http router filter sets the corresponding metadata.
	AutoSanValidation bool `protobuf:"varint,2,opt,name=auto_san_validation,json=autoSanValidation,proto3" json:"auto_san_validation,omitempty"`
	// An optional alternative to the host/authority header to be used for setting the SNI value.
	// It should be a valid downstream HTTP header, as seen by the
	// :ref:`router filter <config_http_filters_router>`.
	// If unset, host/authority header will be used for populating the SNI. If the specified header
	// is not found or the value is empty, host/authority header will be used instead.
	// This field is intended to be set with “auto_sni“ and/or “auto_san_validation“ fields.
	// If none of these fields are set then setting this would be a no-op.
	// Does nothing if a filter before the http router filter sets the corresponding metadata.
	OverrideAutoSniHeader string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpstreamHttpProtocolOptions) Descriptor deprecated

func (*UpstreamHttpProtocolOptions) Descriptor() ([]byte, []int)

Deprecated: Use UpstreamHttpProtocolOptions.ProtoReflect.Descriptor instead.

func (*UpstreamHttpProtocolOptions) GetAutoSanValidation

func (x *UpstreamHttpProtocolOptions) GetAutoSanValidation() bool

func (*UpstreamHttpProtocolOptions) GetAutoSni

func (x *UpstreamHttpProtocolOptions) GetAutoSni() bool

func (*UpstreamHttpProtocolOptions) GetOverrideAutoSniHeader added in v0.10.0

func (x *UpstreamHttpProtocolOptions) GetOverrideAutoSniHeader() string

func (*UpstreamHttpProtocolOptions) ProtoMessage

func (*UpstreamHttpProtocolOptions) ProtoMessage()

func (*UpstreamHttpProtocolOptions) ProtoReflect added in v0.9.6

func (*UpstreamHttpProtocolOptions) Reset

func (x *UpstreamHttpProtocolOptions) Reset()

func (*UpstreamHttpProtocolOptions) String

func (x *UpstreamHttpProtocolOptions) String() string

func (*UpstreamHttpProtocolOptions) Validate

func (m *UpstreamHttpProtocolOptions) Validate() error

Validate checks the field values on UpstreamHttpProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpstreamHttpProtocolOptions) ValidateAll added in v0.10.0

func (m *UpstreamHttpProtocolOptions) ValidateAll() error

ValidateAll checks the field values on UpstreamHttpProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpstreamHttpProtocolOptionsMultiError, or nil if none found.

type UpstreamHttpProtocolOptionsMultiError added in v0.10.0

type UpstreamHttpProtocolOptionsMultiError []error

UpstreamHttpProtocolOptionsMultiError is an error wrapping multiple validation errors returned by UpstreamHttpProtocolOptions.ValidateAll() if the designated constraints aren't met.

func (UpstreamHttpProtocolOptionsMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (UpstreamHttpProtocolOptionsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type UpstreamHttpProtocolOptionsValidationError

type UpstreamHttpProtocolOptionsValidationError struct {
	// contains filtered or unexported fields
}

UpstreamHttpProtocolOptionsValidationError is the validation error returned by UpstreamHttpProtocolOptions.Validate if the designated constraints aren't met.

func (UpstreamHttpProtocolOptionsValidationError) Cause

Cause function returns cause value.

func (UpstreamHttpProtocolOptionsValidationError) Error

Error satisfies the builtin error interface

func (UpstreamHttpProtocolOptionsValidationError) ErrorName

ErrorName returns error name.

func (UpstreamHttpProtocolOptionsValidationError) Field

Field function returns field value.

func (UpstreamHttpProtocolOptionsValidationError) Key

Key function returns key value.

func (UpstreamHttpProtocolOptionsValidationError) Reason

Reason function returns reason value.

type WatchedDirectory added in v0.9.8

type WatchedDirectory struct {

	// Directory path to watch.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

A directory that is watched for changes, e.g. by inotify on Linux. Move/rename events inside this directory trigger the watch.

func (*WatchedDirectory) Descriptor deprecated added in v0.9.8

func (*WatchedDirectory) Descriptor() ([]byte, []int)

Deprecated: Use WatchedDirectory.ProtoReflect.Descriptor instead.

func (*WatchedDirectory) GetPath added in v0.9.8

func (x *WatchedDirectory) GetPath() string

func (*WatchedDirectory) ProtoMessage added in v0.9.8

func (*WatchedDirectory) ProtoMessage()

func (*WatchedDirectory) ProtoReflect added in v0.9.8

func (x *WatchedDirectory) ProtoReflect() protoreflect.Message

func (*WatchedDirectory) Reset added in v0.9.8

func (x *WatchedDirectory) Reset()

func (*WatchedDirectory) String added in v0.9.8

func (x *WatchedDirectory) String() string

func (*WatchedDirectory) Validate added in v0.9.8

func (m *WatchedDirectory) Validate() error

Validate checks the field values on WatchedDirectory with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WatchedDirectory) ValidateAll added in v0.10.0

func (m *WatchedDirectory) ValidateAll() error

ValidateAll checks the field values on WatchedDirectory with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchedDirectoryMultiError, or nil if none found.

type WatchedDirectoryMultiError added in v0.10.0

type WatchedDirectoryMultiError []error

WatchedDirectoryMultiError is an error wrapping multiple validation errors returned by WatchedDirectory.ValidateAll() if the designated constraints aren't met.

func (WatchedDirectoryMultiError) AllErrors added in v0.10.0

func (m WatchedDirectoryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchedDirectoryMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type WatchedDirectoryValidationError added in v0.9.8

type WatchedDirectoryValidationError struct {
	// contains filtered or unexported fields
}

WatchedDirectoryValidationError is the validation error returned by WatchedDirectory.Validate if the designated constraints aren't met.

func (WatchedDirectoryValidationError) Cause added in v0.9.8

Cause function returns cause value.

func (WatchedDirectoryValidationError) Error added in v0.9.8

Error satisfies the builtin error interface

func (WatchedDirectoryValidationError) ErrorName added in v0.9.8

ErrorName returns error name.

func (WatchedDirectoryValidationError) Field added in v0.9.8

Field function returns field value.

func (WatchedDirectoryValidationError) Key added in v0.9.8

Key function returns key value.

func (WatchedDirectoryValidationError) Reason added in v0.9.8

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL