core

package
v0.10.2 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: 26 Imported by: 1,060

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 (
	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: "UNSUPPORTED_REST_LEGACY",
		1: "REST",
		2: "GRPC",
		3: "DELTA_GRPC",
	}
	ApiConfigSource_ApiType_value = map[string]int32{
		"UNSUPPORTED_REST_LEGACY": 0,
		"REST":                    1,
		"GRPC":                    2,
		"DELTA_GRPC":              3,
	}
)

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 (
	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_api_v2_core_address_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_backoff_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_base_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_config_source_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_event_service_config_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_grpc_method_list_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_grpc_service_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_health_check_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_http_uri_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_protocol_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_socket_option_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 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) 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 added in v0.7.0

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_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_api_msg_core.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 added in v0.7.0

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 ApiConfigSource

type ApiConfigSource struct {

	// API type (gRPC, REST, delta gRPC)
	ApiType ApiConfigSource_ApiType `` /* 130-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 `` /* 155-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 */
	// 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: 9]

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) GetGrpcServices

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

func (*ApiConfigSource) GetRateLimitSettings added in v0.6.2

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 added in v0.9.0

func (x *ApiConfigSource) GetSetNodeOnFirstMessageOnly() bool

func (*ApiConfigSource) GetTransportApiVersion added in v0.9.2

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 added in v0.7.0

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_UNSUPPORTED_REST_LEGACY 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
	// gRPC v2 API.
	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
)

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 added in v0.9.2

type ApiVersion int32

xDS API 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 added in v0.9.2

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 added in v0.9.2

func (x ApiVersion) String() string

func (ApiVersion) Type added in v0.9.6

type AsyncDataSource added in v0.8.3

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 added in v0.8.3

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

Deprecated: Use AsyncDataSource.ProtoReflect.Descriptor instead.

func (*AsyncDataSource) GetLocal added in v0.8.3

func (x *AsyncDataSource) GetLocal() *DataSource

func (*AsyncDataSource) GetRemote added in v0.8.3

func (x *AsyncDataSource) GetRemote() *RemoteDataSource

func (*AsyncDataSource) GetSpecifier added in v0.8.3

func (m *AsyncDataSource) GetSpecifier() isAsyncDataSource_Specifier

func (*AsyncDataSource) ProtoMessage added in v0.8.3

func (*AsyncDataSource) ProtoMessage()

func (*AsyncDataSource) ProtoReflect added in v0.9.6

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

func (*AsyncDataSource) Reset added in v0.8.3

func (x *AsyncDataSource) Reset()

func (*AsyncDataSource) String added in v0.8.3

func (x *AsyncDataSource) String() string

func (*AsyncDataSource) Validate added in v0.8.3

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 added in v0.8.3

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 added in v0.8.3

Cause function returns cause value.

func (AsyncDataSourceValidationError) Error added in v0.8.3

Error satisfies the builtin error interface

func (AsyncDataSourceValidationError) ErrorName added in v0.8.3

func (e AsyncDataSourceValidationError) ErrorName() string

ErrorName returns error name.

func (AsyncDataSourceValidationError) Field added in v0.8.3

Field function returns field value.

func (AsyncDataSourceValidationError) Key added in v0.8.3

Key function returns key value.

func (AsyncDataSourceValidationError) Reason added in v0.8.3

Reason function returns reason value.

type AsyncDataSource_Local added in v0.8.3

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

type AsyncDataSource_Remote added in v0.8.3

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_api_field_core.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_api_field_core.BackoffStrategy.base_interval>` if set. The default
	// is 10 times the :ref:`base_interval
	// <envoy_api_field_core.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_api_field_UpstreamBindConfig.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"`
	// contains filtered or unexported fields
}

func (*BindConfig) Descriptor deprecated

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

Deprecated: Use BindConfig.ProtoReflect.Descriptor instead.

func (*BindConfig) GetFreebind

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

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 added in v0.7.0

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 added in v0.9.2

type BuildVersion struct {

	// SemVer version of extension.
	Version *_type.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 added in v0.9.2

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

Deprecated: Use BuildVersion.ProtoReflect.Descriptor instead.

func (*BuildVersion) GetMetadata added in v0.9.2

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

func (*BuildVersion) GetVersion added in v0.9.2

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

func (*BuildVersion) ProtoMessage added in v0.9.2

func (*BuildVersion) ProtoMessage()

func (*BuildVersion) ProtoReflect added in v0.9.6

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

func (*BuildVersion) Reset added in v0.9.2

func (x *BuildVersion) Reset()

func (*BuildVersion) String added in v0.9.2

func (x *BuildVersion) String() string

func (*BuildVersion) Validate added in v0.9.2

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 added in v0.9.2

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 added in v0.9.2

Cause function returns cause value.

func (BuildVersionValidationError) Error added in v0.9.2

Error satisfies the builtin error interface

func (BuildVersionValidationError) ErrorName added in v0.9.2

func (e BuildVersionValidationError) ErrorName() string

ErrorName returns error name.

func (BuildVersionValidationError) Field added in v0.9.2

Field function returns field value.

func (BuildVersionValidationError) Key added in v0.9.2

Key function returns key value.

func (BuildVersionValidationError) Reason added in v0.9.2

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 added in v0.7.0

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 {

	// Types that are assignable to ConfigSourceSpecifier:
	//	*ConfigSource_Path
	//	*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 `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for :ref:`listeners <config_listeners>`, :ref:`clusters <config_cluster_manager>`, :ref:`routes <envoy_api_msg_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: 7]

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) GetConfigSourceSpecifier

func (m *ConfigSource) GetConfigSourceSpecifier() isConfigSource_ConfigSourceSpecifier

func (*ConfigSource) GetInitialFetchTimeout added in v0.7.0

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

func (*ConfigSource) GetPath

func (x *ConfigSource) GetPath() string

func (*ConfigSource) GetResourceApiVersion added in v0.9.2

func (x *ConfigSource) GetResourceApiVersion() ApiVersion

func (*ConfigSource) GetSelf added in v0.9.1

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 added in v0.7.0

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 {
	// Path on the filesystem to source and watch for configuration updates.
	// When sourcing configuration for :ref:`secret <envoy_api_msg_auth.Secret>`,
	// the certificate and key files are also watched for updates.
	//
	// .. note::
	//
	//  The path to the source must exist at config load time.
	//
	// .. note::
	//
	//   Envoy will only 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.
	Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
}

type ConfigSource_Self added in v0.9.1

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_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 added in v0.6.8

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 added in v0.6.8

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

Deprecated: Use ControlPlane.ProtoReflect.Descriptor instead.

func (*ControlPlane) GetIdentifier added in v0.6.8

func (x *ControlPlane) GetIdentifier() string

func (*ControlPlane) ProtoMessage added in v0.6.8

func (*ControlPlane) ProtoMessage()

func (*ControlPlane) ProtoReflect added in v0.9.6

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

func (*ControlPlane) Reset added in v0.6.8

func (x *ControlPlane) Reset()

func (*ControlPlane) String added in v0.6.8

func (x *ControlPlane) String() string

func (*ControlPlane) Validate added in v0.6.8

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 added in v0.6.8

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 added in v0.6.8

Cause function returns cause value.

func (ControlPlaneValidationError) Error added in v0.6.8

Error satisfies the builtin error interface

func (ControlPlaneValidationError) ErrorName added in v0.7.0

func (e ControlPlaneValidationError) ErrorName() string

ErrorName returns error name.

func (ControlPlaneValidationError) Field added in v0.6.8

Field function returns field value.

func (ControlPlaneValidationError) Key added in v0.6.8

Key function returns key value.

func (ControlPlaneValidationError) Reason added in v0.6.8

Reason function returns reason value.

type DataSource

type DataSource struct {

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

Data source consisting of either a file or an inline value.

func (*DataSource) Descriptor deprecated

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

Deprecated: Use DataSource.ProtoReflect.Descriptor instead.

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 added in v0.7.0

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_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 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 added in v0.9.2

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.]
	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"`
	// contains filtered or unexported fields
}

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

func (*Extension) Descriptor deprecated added in v0.9.2

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

Deprecated: Use Extension.ProtoReflect.Descriptor instead.

func (*Extension) GetCategory added in v0.9.2

func (x *Extension) GetCategory() string

func (*Extension) GetDisabled added in v0.9.2

func (x *Extension) GetDisabled() bool

func (*Extension) GetName added in v0.9.2

func (x *Extension) GetName() string

func (*Extension) GetTypeDescriptor added in v0.9.2

func (x *Extension) GetTypeDescriptor() string

func (*Extension) GetVersion added in v0.9.2

func (x *Extension) GetVersion() *BuildVersion

func (*Extension) ProtoMessage added in v0.9.2

func (*Extension) ProtoMessage()

func (*Extension) ProtoReflect added in v0.9.6

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

func (*Extension) Reset added in v0.9.2

func (x *Extension) Reset()

func (*Extension) String added in v0.9.2

func (x *Extension) String() string

func (*Extension) Validate added in v0.9.2

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 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 added in v0.9.2

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 added in v0.9.2

func (e ExtensionValidationError) Cause() error

Cause function returns cause value.

func (ExtensionValidationError) Error added in v0.9.2

func (e ExtensionValidationError) Error() string

Error satisfies the builtin error interface

func (ExtensionValidationError) ErrorName added in v0.9.2

func (e ExtensionValidationError) ErrorName() string

ErrorName returns error name.

func (ExtensionValidationError) Field added in v0.9.2

func (e ExtensionValidationError) Field() string

Field function returns field value.

func (ExtensionValidationError) Key added in v0.9.2

Key function returns key value.

func (ExtensionValidationError) Reason added in v0.9.2

func (e ExtensionValidationError) Reason() string

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 added in v0.7.0

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.
	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_api_msg_core.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 added in v0.7.0

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_api_msg_Cluster>` :ref:`transport_socket
	// <envoy_api_field_Cluster.transport_socket>`.
	ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,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) GetClusterName

func (x *GrpcService_EnvoyGrpc) GetClusterName() string

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 added in v0.7.0

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_api_field_core.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"`
	// contains filtered or unexported fields
}

[#next-free-field: 7]

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) 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) 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 added in v0.7.0

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 added in v0.9.2

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 added in v0.7.0

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 added in v0.7.0

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"`
	// Types that are assignable to ConfigType:
	//	*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config
	//	*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) GetConfig deprecated

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetConfigType added in v0.6.3

func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetConfigType() isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetName

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetTypedConfig added in v0.6.3

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 added in v0.7.0

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_Config added in v0.6.3

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config struct {
	// Deprecated: Do not use.
	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig added in v0.6.3

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig struct {
	TypedConfig *any.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 added in v0.7.0

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 added in v0.9.2

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/envoyproxy/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 added in v0.9.2

Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_StsService.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetActorTokenPath added in v0.9.2

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetActorTokenType added in v0.9.2

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetAudience added in v0.9.2

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetRequestedTokenType added in v0.9.2

func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetRequestedTokenType() string

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetResource added in v0.9.2

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetScope added in v0.9.2

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetSubjectTokenPath added in v0.9.2

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetSubjectTokenType added in v0.9.2

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetTokenExchangeServiceUri added in v0.9.2

func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetTokenExchangeServiceUri() string

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) ProtoMessage added in v0.9.2

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) Reset added in v0.9.2

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) String added in v0.9.2

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) Validate added in v0.9.2

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 added in v0.9.2

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 added in v0.9.2

Cause function returns cause value.

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Error added in v0.9.2

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) ErrorName added in v0.9.2

ErrorName returns error name.

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Field added in v0.9.2

Field function returns field value.

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Key added in v0.9.2

Key function returns key value.

func (GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Reason added in v0.9.2

Reason function returns reason value.

type GrpcService_GoogleGrpc_CallCredentials_StsService_ added in v0.9.2

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_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 added in v0.6.0

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 added in v0.7.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

Deprecated: Use GrpcService_GoogleGrpc_GoogleLocalCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) ProtoMessage added in v0.6.0

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) ProtoReflect added in v0.9.6

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) Reset added in v0.6.0

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) String added in v0.6.0

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) Validate added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

Cause function returns cause value.

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Field added in v0.6.0

Field function returns field value.

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Key added in v0.6.0

Key function returns key value.

func (GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Reason added in v0.6.0

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 added in v0.7.0

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 added in v0.6.9

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 added in v0.6.9

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

Deprecated: Use HeaderMap.ProtoReflect.Descriptor instead.

func (*HeaderMap) GetHeaders added in v0.6.9

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

func (*HeaderMap) ProtoMessage added in v0.6.9

func (*HeaderMap) ProtoMessage()

func (*HeaderMap) ProtoReflect added in v0.9.6

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

func (*HeaderMap) Reset added in v0.6.9

func (x *HeaderMap) Reset()

func (*HeaderMap) String added in v0.6.9

func (x *HeaderMap) String() string

func (*HeaderMap) Validate added in v0.6.9

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 added in v0.6.9

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 added in v0.6.9

func (e HeaderMapValidationError) Cause() error

Cause function returns cause value.

func (HeaderMapValidationError) Error added in v0.6.9

func (e HeaderMapValidationError) Error() string

Error satisfies the builtin error interface

func (HeaderMapValidationError) ErrorName added in v0.7.0

func (e HeaderMapValidationError) ErrorName() string

ErrorName returns error name.

func (HeaderMapValidationError) Field added in v0.6.9

func (e HeaderMapValidationError) Field() string

Field function returns field value.

func (HeaderMapValidationError) Key added in v0.6.9

Key function returns key value.

func (HeaderMapValidationError) Reason added in v0.6.9

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 `-`.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"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) 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.
	Append *wrappers.BoolValue `protobuf:"bytes,2,opt,name=append,proto3" json:"append,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

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

func (*HeaderValueOption) GetHeader

func (x *HeaderValueOption) GetHeader() *HeaderValue

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 added in v0.7.0

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 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 added in v0.7.0

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 503
	// this threshold is ignored and the host is considered unhealthy immediately.
	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 "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"`
	// Specifies the path to the :ref:`health check event log <arch_overview_health_check_logging>`.
	// If empty, no event log will be written.
	EventLogPath string `protobuf:"bytes,17,opt,name=event_log_path,json=eventLogPath,proto3" json:"event_log_path,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"`
	// contains filtered or unexported fields
}

[#next-free-field: 23]

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 added in v0.6.4

func (x *HealthCheck) GetAlwaysLogHealthCheckFailures() bool

func (*HealthCheck) GetCustomHealthCheck

func (x *HealthCheck) GetCustomHealthCheck() *HealthCheck_CustomHealthCheck

func (*HealthCheck) GetEventLogPath

func (x *HealthCheck) GetEventLogPath() string

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 added in v0.8.1

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) 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 added in v0.9.3

func (x *HealthCheck) GetTlsOptions() *HealthCheck_TlsOptions

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 added in v0.7.0

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.
	//
	// Types that are assignable to ConfigType:
	//	*HealthCheck_CustomHealthCheck_Config
	//	*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) GetConfig deprecated

Deprecated: Do not use.

func (*HealthCheck_CustomHealthCheck) GetConfigType added in v0.6.3

func (m *HealthCheck_CustomHealthCheck) GetConfigType() isHealthCheck_CustomHealthCheck_ConfigType

func (*HealthCheck_CustomHealthCheck) GetName

func (*HealthCheck_CustomHealthCheck) GetTypedConfig added in v0.6.3

func (x *HealthCheck_CustomHealthCheck) GetTypedConfig() *any.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 added in v0.7.0

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_Config added in v0.6.3

type HealthCheck_CustomHealthCheck_Config struct {
	// Deprecated: Do not use.
	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type HealthCheck_CustomHealthCheck_TypedConfig added in v0.6.3

type HealthCheck_CustomHealthCheck_TypedConfig struct {
	TypedConfig *any.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_api_field_endpoint.Endpoint.HealthCheckConfig.hostname>` field.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,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 added in v0.6.5

func (x *HealthCheck_GrpcHealthCheck) GetAuthority() string

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 added in v0.7.0

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_api_field_endpoint.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"`
	// [#not-implemented-hide:] HTTP specific response.
	Receive *HealthCheck_Payload `protobuf:"bytes,4,opt,name=receive,proto3" json:"receive,omitempty"`
	// An optional service name parameter which is used to validate the identity of
	// the health checked cluster. See the :ref:`architecture overview
	// <arch_overview_health_checking_identity>` for more information.
	//
	// .. attention::
	//
	//   This field has been deprecated in favor of `service_name_matcher` for better flexibility
	//   over matching with service-cluster name.
	//
	// Deprecated: Do not use.
	ServiceName string `protobuf:"bytes,5,opt,name=service_name,json=serviceName,proto3" json:"service_name,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 */
	// If set, health checks will be made using http/2.
	// Deprecated, use :ref:`codec_client_type
	// <envoy_api_field_core.HealthCheck.HttpHealthCheck.codec_client_type>` instead.
	//
	// Deprecated: Do not use.
	UseHttp2 bool `protobuf:"varint,7,opt,name=use_http2,json=useHttp2,proto3" json:"use_http2,omitempty"`
	// 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_api_msg_type.Int64Range>`. The start and end of each
	// range are required. Only statuses in the range [100, 600) are allowed.
	ExpectedStatuses []*_type.Int64Range `protobuf:"bytes,9,rep,name=expected_statuses,json=expectedStatuses,proto3" json:"expected_statuses,omitempty"`
	// Use specified application protocol for health checks.
	CodecClientType _type.CodecClientType `` /* 142-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_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview
	// <arch_overview_health_checking_identity>` for more information.
	ServiceNameMatcher *matcher.StringMatcher `protobuf:"bytes,11,opt,name=service_name_matcher,json=serviceNameMatcher,proto3" json:"service_name_matcher,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 12]

func (*HealthCheck_HttpHealthCheck) Descriptor deprecated

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

Deprecated: Use HealthCheck_HttpHealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck_HttpHealthCheck) GetCodecClientType added in v0.9.1

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

func (*HealthCheck_HttpHealthCheck) GetExpectedStatuses added in v0.6.8

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

func (*HealthCheck_HttpHealthCheck) GetHost

func (x *HealthCheck_HttpHealthCheck) GetHost() string

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 added in v0.6.0

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

func (*HealthCheck_HttpHealthCheck) GetSend

func (*HealthCheck_HttpHealthCheck) GetServiceName deprecated

func (x *HealthCheck_HttpHealthCheck) GetServiceName() string

Deprecated: Do not use.

func (*HealthCheck_HttpHealthCheck) GetServiceNameMatcher added in v0.9.3

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

func (*HealthCheck_HttpHealthCheck) GetUseHttp2 deprecated

func (x *HealthCheck_HttpHealthCheck) GetUseHttp2() bool

Deprecated: Do not use.

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 added in v0.7.0

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 added in v0.7.0

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 {
	// [#not-implemented-hide:] 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 added in v0.7.0

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
	// binary 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 added in v0.7.0

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 added in v0.9.3

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_api_msg_listener.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 added in v0.9.3

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

Deprecated: Use HealthCheck_TlsOptions.ProtoReflect.Descriptor instead.

func (*HealthCheck_TlsOptions) GetAlpnProtocols added in v0.9.3

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

func (*HealthCheck_TlsOptions) ProtoMessage added in v0.9.3

func (*HealthCheck_TlsOptions) ProtoMessage()

func (*HealthCheck_TlsOptions) ProtoReflect added in v0.9.6

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

func (*HealthCheck_TlsOptions) Reset added in v0.9.3

func (x *HealthCheck_TlsOptions) Reset()

func (*HealthCheck_TlsOptions) String added in v0.9.3

func (x *HealthCheck_TlsOptions) String() string

func (*HealthCheck_TlsOptions) Validate added in v0.9.3

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 added in v0.9.3

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 added in v0.9.3

Cause function returns cause value.

func (HealthCheck_TlsOptionsValidationError) Error added in v0.9.3

Error satisfies the builtin error interface

func (HealthCheck_TlsOptionsValidationError) ErrorName added in v0.9.3

ErrorName returns error name.

func (HealthCheck_TlsOptionsValidationError) Field added in v0.9.3

Field function returns field value.

func (HealthCheck_TlsOptionsValidationError) Key added in v0.9.3

Key function returns key value.

func (HealthCheck_TlsOptionsValidationError) Reason added in v0.9.3

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 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"`
	// contains filtered or unexported fields
}

[#next-free-field: 6]

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) GetDefaultHostForHttp_10

func (x *Http1ProtocolOptions) GetDefaultHostForHttp_10() string

func (*Http1ProtocolOptions) GetEnableTrailers added in v0.9.2

func (x *Http1ProtocolOptions) GetEnableTrailers() bool

func (*Http1ProtocolOptions) GetHeaderKeyFormat added in v0.9.1

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 added in v0.7.0

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 added in v0.9.1

type Http1ProtocolOptions_HeaderKeyFormat struct {

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

func (*Http1ProtocolOptions_HeaderKeyFormat) Descriptor deprecated added in v0.9.1

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

Deprecated: Use Http1ProtocolOptions_HeaderKeyFormat.ProtoReflect.Descriptor instead.

func (*Http1ProtocolOptions_HeaderKeyFormat) GetHeaderFormat added in v0.9.1

func (m *Http1ProtocolOptions_HeaderKeyFormat) GetHeaderFormat() isHttp1ProtocolOptions_HeaderKeyFormat_HeaderFormat

func (*Http1ProtocolOptions_HeaderKeyFormat) GetProperCaseWords added in v0.9.1

func (*Http1ProtocolOptions_HeaderKeyFormat) ProtoMessage added in v0.9.1

func (*Http1ProtocolOptions_HeaderKeyFormat) ProtoMessage()

func (*Http1ProtocolOptions_HeaderKeyFormat) ProtoReflect added in v0.9.6

func (*Http1ProtocolOptions_HeaderKeyFormat) Reset added in v0.9.1

func (*Http1ProtocolOptions_HeaderKeyFormat) String added in v0.9.1

func (*Http1ProtocolOptions_HeaderKeyFormat) Validate added in v0.9.1

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 added in v0.9.1

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 added in v0.9.1

Cause function returns cause value.

func (Http1ProtocolOptions_HeaderKeyFormatValidationError) Error added in v0.9.1

Error satisfies the builtin error interface

func (Http1ProtocolOptions_HeaderKeyFormatValidationError) ErrorName added in v0.9.1

ErrorName returns error name.

func (Http1ProtocolOptions_HeaderKeyFormatValidationError) Field added in v0.9.1

Field function returns field value.

func (Http1ProtocolOptions_HeaderKeyFormatValidationError) Key added in v0.9.1

Key function returns key value.

func (Http1ProtocolOptions_HeaderKeyFormatValidationError) Reason added in v0.9.1

Reason function returns reason value.

type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords added in v0.9.1

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

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) Descriptor deprecated added in v0.9.1

Deprecated: Use Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords.ProtoReflect.Descriptor instead.

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) ProtoMessage added in v0.9.1

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) ProtoReflect added in v0.9.6

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) Reset added in v0.9.1

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) String added in v0.9.1

func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) Validate added in v0.9.1

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 added in v0.9.1

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 added in v0.9.1

Cause function returns cause value.

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Error added in v0.9.1

Error satisfies the builtin error interface

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) ErrorName added in v0.9.1

ErrorName returns error name.

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Field added in v0.9.1

Field function returns field value.

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Key added in v0.9.1

Key function returns key value.

func (Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Reason added in v0.9.1

Reason function returns reason value.

type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_ added in v0.9.1

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 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).
	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.
	// [#comment:TODO: implement same limits for upstream outbound frames as well.]
	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.
	// [#comment:TODO: implement same limits for upstream outbound frames as well.]
	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.
	// [#comment:TODO: implement same limits for upstream inbound frames as well.]
	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 + inbound_streams)
	//
	// the connection is terminated. The “http2.inbound_priority_frames_flood“ stat tracks
	// the number of connections terminated due to flood mitigation. The default limit is 100.
	// [#comment:TODO: implement same limits for upstream inbound frames as well.]
	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::
	//
	//     1 + 2 * (inbound_streams +
	//              max_inbound_window_update_frames_per_data_frame_sent * outbound_data_frames)
	//
	// the connection is terminated. The “http2.inbound_priority_frames_flood“ stat tracks
	// the number of connections terminated due to flood mitigation. The default limit 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.
	// [#comment:TODO: implement same limits for upstream inbound frames as well.]
	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.
	//
	// See `RFC7540, sec. 8.1 <https://tools.ietf.org/html/rfc7540#section-8.1>`_ for details.
	StreamErrorOnInvalidHttpMessaging bool `` /* 170-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 */
	// contains filtered or unexported fields
}

[#next-free-field: 14]

func (*Http2ProtocolOptions) Descriptor deprecated

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

Deprecated: Use Http2ProtocolOptions.ProtoReflect.Descriptor instead.

func (*Http2ProtocolOptions) GetAllowConnect added in v0.6.0

func (x *Http2ProtocolOptions) GetAllowConnect() bool

func (*Http2ProtocolOptions) GetAllowMetadata added in v0.6.4

func (x *Http2ProtocolOptions) GetAllowMetadata() bool

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 added in v0.9.0

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

func (*Http2ProtocolOptions) GetMaxInboundPriorityFramesPerStream added in v0.9.0

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

func (*Http2ProtocolOptions) GetMaxInboundWindowUpdateFramesPerDataFrameSent added in v0.9.0

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

func (*Http2ProtocolOptions) GetMaxOutboundControlFrames added in v0.9.0

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

func (*Http2ProtocolOptions) GetMaxOutboundFrames added in v0.9.0

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

func (*Http2ProtocolOptions) GetStreamErrorOnInvalidHttpMessaging added in v0.9.0

func (x *Http2ProtocolOptions) GetStreamErrorOnInvalidHttpMessaging() bool

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 added in v0.7.0

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 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_api_field_config.filter.network.http_connection_manager.v2.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.
	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
	// the connection will be closed. Drain sequence will occur prior to closing the connection if
	// if's applicable. See :ref:`drain_timeout
	// <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.drain_timeout>`.
	// Note: not implemented for upstream connections.
	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.
	HeadersWithUnderscoresAction HttpProtocolOptions_HeadersWithUnderscoresAction `` /* 222-byte string literal not displayed */
	// contains filtered or unexported fields
}

[#next-free-field: 6]

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 added in v0.9.1

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

func (*HttpProtocolOptions) GetMaxHeadersCount added in v0.9.1

func (x *HttpProtocolOptions) GetMaxHeadersCount() *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 added in v0.7.0

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 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 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 added in v0.7.0

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 Locality

type Locality struct {

	// Region this :ref:`zone <envoy_api_field_core.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_api_field_endpoint.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 added in v0.7.0

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.
	FilterMetadata map[string]*_struct.Struct `` /* 191-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) 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 added in v0.7.0

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_api_field_core.HealthCheck.HttpHealthCheck.service_name_matcher>`,
	// :ref:`runtime override directory <envoy_api_msg_config.bootstrap.v2.Runtime>`,
	// :ref:`user agent addition
	// <envoy_api_field_config.filter.network.http_connection_manager.v2.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"`
	// Locality specifying where the Envoy instance is running.
	Locality *Locality `protobuf:"bytes,4,opt,name=locality,proto3" json:"locality,omitempty"`
	// This is motivated by informing a management server during canary which
	// version of Envoy is being tested in a heterogeneous fleet. This will be set
	// by Envoy in management server RPCs.
	// This field is deprecated in favor of the user_agent_name and user_agent_version values.
	//
	// Deprecated: Do not use.
	BuildVersion string `protobuf:"bytes,5,opt,name=build_version,json=buildVersion,proto3" json:"build_version,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.
	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: 12]

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetBuildVersion deprecated

func (x *Node) GetBuildVersion() string

Deprecated: Do not use.

func (*Node) GetClientFeatures added in v0.9.2

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

func (*Node) GetCluster

func (x *Node) GetCluster() string

func (*Node) GetExtensions added in v0.9.2

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

func (*Node) GetId

func (x *Node) GetId() string

func (*Node) GetListeningAddresses added in v0.9.5

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

func (*Node) GetLocality

func (x *Node) GetLocality() *Locality

func (*Node) GetMetadata

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

func (*Node) GetUserAgentBuildVersion added in v0.9.2

func (x *Node) GetUserAgentBuildVersion() *BuildVersion

func (*Node) GetUserAgentName added in v0.9.2

func (x *Node) GetUserAgentName() string

func (*Node) GetUserAgentVersion added in v0.9.2

func (x *Node) GetUserAgentVersion() string

func (*Node) GetUserAgentVersionType added in v0.9.2

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 added in v0.7.0

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 added in v0.9.2

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 added in v0.9.2

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 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 added in v0.9.2

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 added in v0.7.0

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 RateLimitSettings added in v0.6.2

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.
	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 added in v0.6.2

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

Deprecated: Use RateLimitSettings.ProtoReflect.Descriptor instead.

func (*RateLimitSettings) GetFillRate added in v0.6.2

func (x *RateLimitSettings) GetFillRate() *wrappers.DoubleValue

func (*RateLimitSettings) GetMaxTokens added in v0.6.2

func (x *RateLimitSettings) GetMaxTokens() *wrappers.UInt32Value

func (*RateLimitSettings) ProtoMessage added in v0.6.2

func (*RateLimitSettings) ProtoMessage()

func (*RateLimitSettings) ProtoReflect added in v0.9.6

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

func (*RateLimitSettings) Reset added in v0.6.2

func (x *RateLimitSettings) Reset()

func (*RateLimitSettings) String added in v0.6.2

func (x *RateLimitSettings) String() string

func (*RateLimitSettings) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (RateLimitSettingsValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (RateLimitSettingsValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (RateLimitSettingsValidationError) Field added in v0.6.2

Field function returns field value.

func (RateLimitSettingsValidationError) Key added in v0.6.2

Key function returns key value.

func (RateLimitSettingsValidationError) Reason added in v0.6.2

Reason function returns reason value.

type RemoteDataSource added in v0.8.3

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 added in v0.8.3

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

Deprecated: Use RemoteDataSource.ProtoReflect.Descriptor instead.

func (*RemoteDataSource) GetHttpUri added in v0.8.3

func (x *RemoteDataSource) GetHttpUri() *HttpUri

func (*RemoteDataSource) GetRetryPolicy added in v0.9.5

func (x *RemoteDataSource) GetRetryPolicy() *RetryPolicy

func (*RemoteDataSource) GetSha256 added in v0.8.3

func (x *RemoteDataSource) GetSha256() string

func (*RemoteDataSource) ProtoMessage added in v0.8.3

func (*RemoteDataSource) ProtoMessage()

func (*RemoteDataSource) ProtoReflect added in v0.9.6

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

func (*RemoteDataSource) Reset added in v0.8.3

func (x *RemoteDataSource) Reset()

func (*RemoteDataSource) String added in v0.8.3

func (x *RemoteDataSource) String() string

func (*RemoteDataSource) Validate added in v0.8.3

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 added in v0.8.3

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 added in v0.8.3

Cause function returns cause value.

func (RemoteDataSourceValidationError) Error added in v0.8.3

Error satisfies the builtin error interface

func (RemoteDataSourceValidationError) ErrorName added in v0.8.3

ErrorName returns error name.

func (RemoteDataSourceValidationError) Field added in v0.8.3

Field function returns field value.

func (RemoteDataSourceValidationError) Key added in v0.8.3

Key function returns key value.

func (RemoteDataSourceValidationError) Reason added in v0.8.3

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_api_msg_core.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 added in v0.9.1

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 added in v0.9.1

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

Deprecated: Use RuntimeFeatureFlag.ProtoReflect.Descriptor instead.

func (*RuntimeFeatureFlag) GetDefaultValue added in v0.9.1

func (x *RuntimeFeatureFlag) GetDefaultValue() *wrappers.BoolValue

func (*RuntimeFeatureFlag) GetRuntimeKey added in v0.9.1

func (x *RuntimeFeatureFlag) GetRuntimeKey() string

func (*RuntimeFeatureFlag) ProtoMessage added in v0.9.1

func (*RuntimeFeatureFlag) ProtoMessage()

func (*RuntimeFeatureFlag) ProtoReflect added in v0.9.6

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

func (*RuntimeFeatureFlag) Reset added in v0.9.1

func (x *RuntimeFeatureFlag) Reset()

func (*RuntimeFeatureFlag) String added in v0.9.1

func (x *RuntimeFeatureFlag) String() string

func (*RuntimeFeatureFlag) Validate added in v0.9.1

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 added in v0.9.1

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 added in v0.9.1

Cause function returns cause value.

func (RuntimeFeatureFlagValidationError) Error added in v0.9.1

Error satisfies the builtin error interface

func (RuntimeFeatureFlagValidationError) ErrorName added in v0.9.1

ErrorName returns error name.

func (RuntimeFeatureFlagValidationError) Field added in v0.9.1

Field function returns field value.

func (RuntimeFeatureFlagValidationError) Key added in v0.9.1

Key function returns key value.

func (RuntimeFeatureFlagValidationError) Reason added in v0.9.1

Reason function returns reason value.

type RuntimeFractionalPercent added in v0.6.1

type RuntimeFractionalPercent struct {

	// Default value if the runtime value's for the numerator/denominator keys are not available.
	DefaultValue *_type.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_api_msg_type.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 added in v0.6.1

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

Deprecated: Use RuntimeFractionalPercent.ProtoReflect.Descriptor instead.

func (*RuntimeFractionalPercent) GetDefaultValue added in v0.6.1

func (x *RuntimeFractionalPercent) GetDefaultValue() *_type.FractionalPercent

func (*RuntimeFractionalPercent) GetRuntimeKey added in v0.6.1

func (x *RuntimeFractionalPercent) GetRuntimeKey() string

func (*RuntimeFractionalPercent) ProtoMessage added in v0.6.1

func (*RuntimeFractionalPercent) ProtoMessage()

func (*RuntimeFractionalPercent) ProtoReflect added in v0.9.6

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

func (*RuntimeFractionalPercent) Reset added in v0.6.1

func (x *RuntimeFractionalPercent) Reset()

func (*RuntimeFractionalPercent) String added in v0.6.1

func (x *RuntimeFractionalPercent) String() string

func (*RuntimeFractionalPercent) Validate added in v0.6.1

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 added in v0.6.1

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 added in v0.6.1

Cause function returns cause value.

func (RuntimeFractionalPercentValidationError) Error added in v0.6.1

Error satisfies the builtin error interface

func (RuntimeFractionalPercentValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (RuntimeFractionalPercentValidationError) Field added in v0.6.1

Field function returns field value.

func (RuntimeFractionalPercentValidationError) Key added in v0.6.1

Key function returns key value.

func (RuntimeFractionalPercentValidationError) Reason added in v0.6.1

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 added in v0.7.0

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 SelfConfigSource added in v0.9.1

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 `` /* 155-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_api_msg_core.ConfigSource>` can be used to specify that other data can be obtained from the same server.

func (*SelfConfigSource) Descriptor deprecated added in v0.9.1

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 added in v0.9.1

func (*SelfConfigSource) ProtoMessage()

func (*SelfConfigSource) ProtoReflect added in v0.9.6

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

func (*SelfConfigSource) Reset added in v0.9.1

func (x *SelfConfigSource) Reset()

func (*SelfConfigSource) String added in v0.9.1

func (x *SelfConfigSource) String() string

func (*SelfConfigSource) Validate added in v0.9.1

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 added in v0.9.1

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 added in v0.9.1

Cause function returns cause value.

func (SelfConfigSourceValidationError) Error added in v0.9.1

Error satisfies the builtin error interface

func (SelfConfigSourceValidationError) ErrorName added in v0.9.1

ErrorName returns error name.

func (SelfConfigSourceValidationError) Field added in v0.9.1

Field function returns field value.

func (SelfConfigSourceValidationError) Key added in v0.9.1

Key function returns key value.

func (SelfConfigSourceValidationError) Reason added in v0.9.1

Reason function returns reason value.

type SocketAddress

type SocketAddress struct {
	Protocol SocketAddress_Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=envoy.api.v2.core.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_api_msg_listener.FilterChainMatch>`.] When used
	// within an upstream :ref:`BindConfig <envoy_api_msg_core.BindConfig>`, the address
	// controls the source address of outbound connections. For :ref:`clusters
	// <envoy_api_msg_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_api_field_core.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 added in v0.7.0

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_api_field_core.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.api.v2.core.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. [#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 added in v0.7.0

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 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 added in v0.7.0

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 added in v0.7.0

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 added in v0.8.5

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 added in v0.8.5

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

Deprecated: Use TrafficDirection.Descriptor instead.

func (TrafficDirection) Number added in v0.9.6

func (TrafficDirection) String added in v0.8.5

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_Config
	//	*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_api_msg_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) GetConfig deprecated

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

Deprecated: Do not use.

func (*TransportSocket) GetConfigType added in v0.6.3

func (m *TransportSocket) GetConfigType() isTransportSocket_ConfigType

func (*TransportSocket) GetName

func (x *TransportSocket) GetName() string

func (*TransportSocket) GetTypedConfig added in v0.6.3

func (x *TransportSocket) GetTypedConfig() *any.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 added in v0.7.0

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_Config added in v0.6.3

type TransportSocket_Config struct {
	// Deprecated: Do not use.
	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type TransportSocket_TypedConfig added in v0.6.3

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

type UpstreamHttpProtocolOptions added in v0.9.2

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, as seen by the
	// :ref:`router filter <config_http_filters_router>`.
	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, as seen by the
	// :ref:`router filter <config_http_filters_router>`.
	// This field is intended to set with `auto_sni` field.
	AutoSanValidation bool `protobuf:"varint,2,opt,name=auto_san_validation,json=autoSanValidation,proto3" json:"auto_san_validation,omitempty"`
	// contains filtered or unexported fields
}

func (*UpstreamHttpProtocolOptions) Descriptor deprecated added in v0.9.2

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

Deprecated: Use UpstreamHttpProtocolOptions.ProtoReflect.Descriptor instead.

func (*UpstreamHttpProtocolOptions) GetAutoSanValidation added in v0.9.3

func (x *UpstreamHttpProtocolOptions) GetAutoSanValidation() bool

func (*UpstreamHttpProtocolOptions) GetAutoSni added in v0.9.2

func (x *UpstreamHttpProtocolOptions) GetAutoSni() bool

func (*UpstreamHttpProtocolOptions) ProtoMessage added in v0.9.2

func (*UpstreamHttpProtocolOptions) ProtoMessage()

func (*UpstreamHttpProtocolOptions) ProtoReflect added in v0.9.6

func (*UpstreamHttpProtocolOptions) Reset added in v0.9.2

func (x *UpstreamHttpProtocolOptions) Reset()

func (*UpstreamHttpProtocolOptions) String added in v0.9.2

func (x *UpstreamHttpProtocolOptions) String() string

func (*UpstreamHttpProtocolOptions) Validate added in v0.9.2

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 added in v0.9.2

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 added in v0.9.2

Cause function returns cause value.

func (UpstreamHttpProtocolOptionsValidationError) Error added in v0.9.2

Error satisfies the builtin error interface

func (UpstreamHttpProtocolOptionsValidationError) ErrorName added in v0.9.2

ErrorName returns error name.

func (UpstreamHttpProtocolOptionsValidationError) Field added in v0.9.2

Field function returns field value.

func (UpstreamHttpProtocolOptionsValidationError) Key added in v0.9.2

Key function returns key value.

func (UpstreamHttpProtocolOptionsValidationError) Reason added in v0.9.2

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL