corev3

package
Version: v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 28 Imported by: 478

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",
	}
	HeaderValueOption_HeaderAppendAction_value = map[string]int32{
		"APPEND_IF_EXISTS_OR_ADD":    0,
		"ADD_IF_ABSENT":              1,
		"OVERWRITE_IF_EXISTS_OR_ADD": 2,
	}
)

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 (
	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_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 {
	// [#not-implemented-hide:]
	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"`
	// 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.

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

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

Deprecated: Use AlternateProtocolsCacheOptions.ProtoReflect.Descriptor instead.

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: Do not use.
	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: Do not use.
	ApiVersion_AUTO ApiVersion = 0
	// Use xDS v2 API.
	//
	// Deprecated: Do not use.
	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() err