v3

package
v1.16.10 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 28 Imported by: 2

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 (
	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 (
	ProxyProtocolPassThroughTLVs_PassTLVsMatchType_name = map[int32]string{
		0: "INCLUDE_ALL",
		1: "INCLUDE",
	}
	ProxyProtocolPassThroughTLVs_PassTLVsMatchType_value = map[string]int32{
		"INCLUDE_ALL": 0,
		"INCLUDE":     1,
	}
)

Enum value maps for ProxyProtocolPassThroughTLVs_PassTLVsMatchType.

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

Enum value maps for ProxyProtocolConfig_Version.

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

Enum value maps for SocketOption_SocketState.

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_core_v3_address_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_core_v3_backoff_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_core_v3_base_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_core_v3_event_service_config_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_core_v3_extension_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_core_v3_grpc_service_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_core_v3_health_check_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_core_v3_http_uri_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_core_v3_proxy_protocol_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_core_v3_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) Clone added in v1.8.24

func (m *Address) Clone() proto.Message

Clone function

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) Equal

func (m *Address) Equal(that interface{}) bool

Equal function

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) Hash added in v1.5.0

func (m *Address) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect added in v1.6.0

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

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 AsyncDataSource

type AsyncDataSource struct {

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

Async data source which support async data fetch.

func (*AsyncDataSource) Clone added in v1.8.24

func (m *AsyncDataSource) Clone() proto.Message

Clone function

func (*AsyncDataSource) Descriptor deprecated

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

Deprecated: Use AsyncDataSource.ProtoReflect.Descriptor instead.

func (*AsyncDataSource) Equal

func (m *AsyncDataSource) Equal(that interface{}) bool

Equal function

func (*AsyncDataSource) GetLocal

func (x *AsyncDataSource) GetLocal() *DataSource

func (*AsyncDataSource) GetRemote

func (x *AsyncDataSource) GetRemote() *RemoteDataSource

func (*AsyncDataSource) GetSpecifier

func (m *AsyncDataSource) GetSpecifier() isAsyncDataSource_Specifier

func (*AsyncDataSource) Hash added in v1.5.0

func (m *AsyncDataSource) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*AsyncDataSource) ProtoMessage

func (*AsyncDataSource) ProtoMessage()

func (*AsyncDataSource) ProtoReflect added in v1.6.0

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

func (*AsyncDataSource) Reset

func (x *AsyncDataSource) Reset()

func (*AsyncDataSource) String

func (x *AsyncDataSource) String() string

type AsyncDataSource_Local

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

type AsyncDataSource_Remote

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

type BackoffStrategy

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_config.core.v3.BackoffStrategy.max_interval>`.
	BaseInterval *duration.Duration `protobuf:"bytes,1,opt,name=base_interval,json=baseInterval,proto3" json:"base_interval,omitempty"`
	// Specifies the maximum interval between retries. This parameter is optional,
	// but must be greater than or equal to the :ref:`base_interval
	// <envoy_api_field_config.core.v3.BackoffStrategy.base_interval>` if set. The default
	// is 10 times the :ref:`base_interval
	// <envoy_api_field_config.core.v3.BackoffStrategy.base_interval>`.
	MaxInterval *duration.Duration `protobuf:"bytes,2,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"`
	// contains filtered or unexported fields
}

Configuration defining a jittered exponential back off strategy.

func (*BackoffStrategy) Clone added in v1.8.24

func (m *BackoffStrategy) Clone() proto.Message

Clone function

func (*BackoffStrategy) Descriptor deprecated

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

Deprecated: Use BackoffStrategy.ProtoReflect.Descriptor instead.

func (*BackoffStrategy) Equal

func (m *BackoffStrategy) Equal(that interface{}) bool

Equal function

func (*BackoffStrategy) GetBaseInterval

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

func (*BackoffStrategy) GetMaxInterval

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

func (*BackoffStrategy) Hash added in v1.5.0

func (m *BackoffStrategy) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*BackoffStrategy) ProtoMessage

func (*BackoffStrategy) ProtoMessage()

func (*BackoffStrategy) ProtoReflect added in v1.6.0

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

func (*BackoffStrategy) Reset

func (x *BackoffStrategy) Reset()

func (*BackoffStrategy) String

func (x *BackoffStrategy) String() string

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_config.cluster.v3.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) Clone added in v1.8.24

func (m *BindConfig) Clone() proto.Message

Clone function

func (*BindConfig) Descriptor deprecated

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

Deprecated: Use BindConfig.ProtoReflect.Descriptor instead.

func (*BindConfig) Equal

func (m *BindConfig) Equal(that interface{}) bool

Equal function

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) Hash added in v1.5.0

func (m *BindConfig) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*BindConfig) ProtoMessage

func (*BindConfig) ProtoMessage()

func (*BindConfig) ProtoReflect added in v1.6.0

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

func (*BindConfig) Reset

func (x *BindConfig) Reset()

func (*BindConfig) String

func (x *BindConfig) String() string

type BuildVersion

type BuildVersion struct {

	// SemVer version of extension.
	Version *v3.SemanticVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Free-form build information.
	// Envoy defines several well known keys in the source/common/common/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) Clone added in v1.8.24

func (m *BuildVersion) Clone() proto.Message

Clone function

func (*BuildVersion) Descriptor deprecated

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

Deprecated: Use BuildVersion.ProtoReflect.Descriptor instead.

func (*BuildVersion) Equal

func (m *BuildVersion) Equal(that interface{}) bool

Equal function

func (*BuildVersion) GetMetadata

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

func (*BuildVersion) GetVersion

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

func (*BuildVersion) Hash added in v1.5.0

func (m *BuildVersion) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*BuildVersion) ProtoMessage

func (*BuildVersion) ProtoMessage()

func (*BuildVersion) ProtoReflect added in v1.6.0

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

func (*BuildVersion) Reset

func (x *BuildVersion) Reset()

func (*BuildVersion) String

func (x *BuildVersion) String() string

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.
	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) Clone added in v1.8.24

func (m *CidrRange) Clone() proto.Message

Clone function

func (*CidrRange) Descriptor deprecated

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

Deprecated: Use CidrRange.ProtoReflect.Descriptor instead.

func (*CidrRange) Equal

func (m *CidrRange) Equal(that interface{}) bool

Equal function

func (*CidrRange) GetAddressPrefix

func (x *CidrRange) GetAddressPrefix() string

func (*CidrRange) GetPrefixLen

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

func (*CidrRange) Hash added in v1.5.0

func (m *CidrRange) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*CidrRange) ProtoMessage

func (*CidrRange) ProtoMessage()

func (*CidrRange) ProtoReflect added in v1.6.0

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

func (*CidrRange) Reset

func (x *CidrRange) Reset()

func (*CidrRange) String

func (x *CidrRange) String() string

type ControlPlane

type ControlPlane struct {

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

Identifies a specific ControlPlane instance that Envoy is connected to.

func (*ControlPlane) Clone added in v1.8.24

func (m *ControlPlane) Clone() proto.Message

Clone function

func (*ControlPlane) Descriptor deprecated

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

Deprecated: Use ControlPlane.ProtoReflect.Descriptor instead.

func (*ControlPlane) Equal

func (m *ControlPlane) Equal(that interface{}) bool

Equal function

func (*ControlPlane) GetIdentifier

func (x *ControlPlane) GetIdentifier() string

func (*ControlPlane) Hash added in v1.5.0

func (m *ControlPlane) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ControlPlane) ProtoMessage

func (*ControlPlane) ProtoMessage()

func (*ControlPlane) ProtoReflect added in v1.6.0

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

func (*ControlPlane) Reset

func (x *ControlPlane) Reset()

func (*ControlPlane) String

func (x *ControlPlane) String() string

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) Clone added in v1.8.24

func (m *DataSource) Clone() proto.Message

Clone function

func (*DataSource) Descriptor deprecated

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

Deprecated: Use DataSource.ProtoReflect.Descriptor instead.

func (*DataSource) Equal

func (m *DataSource) Equal(that interface{}) bool

Equal function

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) Hash added in v1.5.0

func (m *DataSource) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*DataSource) ProtoMessage

func (*DataSource) ProtoMessage()

func (*DataSource) ProtoReflect added in v1.6.0

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

func (*DataSource) Reset

func (x *DataSource) Reset()

func (*DataSource) String

func (x *DataSource) String() string

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 v1.4.10

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) Clone added in v1.8.24

func (m *EventServiceConfig) Clone() proto.Message

Clone function

func (*EventServiceConfig) Descriptor deprecated added in v1.4.10

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

Deprecated: Use EventServiceConfig.ProtoReflect.Descriptor instead.

func (*EventServiceConfig) Equal added in v1.4.10

func (m *EventServiceConfig) Equal(that interface{}) bool

Equal function

func (*EventServiceConfig) GetConfigSourceSpecifier added in v1.4.10

func (m *EventServiceConfig) GetConfigSourceSpecifier() isEventServiceConfig_ConfigSourceSpecifier

func (*EventServiceConfig) GetGrpcService added in v1.4.10

func (x *EventServiceConfig) GetGrpcService() *GrpcService

func (*EventServiceConfig) Hash added in v1.6.0

func (m *EventServiceConfig) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*EventServiceConfig) ProtoMessage added in v1.4.10

func (*EventServiceConfig) ProtoMessage()

func (*EventServiceConfig) ProtoReflect added in v1.6.0

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

func (*EventServiceConfig) Reset added in v1.4.10

func (x *EventServiceConfig) Reset()

func (*EventServiceConfig) String added in v1.4.10

func (x *EventServiceConfig) String() string

type EventServiceConfig_GrpcService added in v1.4.10

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

type Extension

type Extension struct {

	// This is the name of the Envoy filter as specified in the Envoy
	// configuration, e.g. envoy.filters.http.router, com.acme.widget.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Category of the extension.
	// Extension category names use reverse DNS notation. For instance "envoy.filters.listener"
	// for Envoy's built-in listener filters or "com.acme.filters.http" for HTTP filters from
	// acme.com vendor.
	// [#comment:TODO(yanavlasov): Link to the doc with existing envoy category names.]
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// [#not-implemented-hide:] Type descriptor of extension configuration proto.
	// [#comment:TODO(yanavlasov): Link to the doc with existing configuration protos.]
	// [#comment:TODO(yanavlasov): Add tests when PR #9391 lands.]
	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) Clone added in v1.8.24

func (m *Extension) Clone() proto.Message

Clone function

func (*Extension) Descriptor deprecated

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

Deprecated: Use Extension.ProtoReflect.Descriptor instead.

func (*Extension) Equal

func (m *Extension) Equal(that interface{}) bool

Equal function

func (*Extension) GetCategory

func (x *Extension) GetCategory() string

func (*Extension) GetDisabled

func (x *Extension) GetDisabled() bool

func (*Extension) GetName

func (x *Extension) GetName() string

func (*Extension) GetTypeDescriptor

func (x *Extension) GetTypeDescriptor() string

func (*Extension) GetVersion

func (x *Extension) GetVersion() *BuildVersion

func (*Extension) Hash added in v1.5.0

func (m *Extension) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) ProtoReflect added in v1.6.0

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

func (*Extension) Reset

func (x *Extension) Reset()

func (*Extension) String

func (x *Extension) String() string

type GrpcService added in v1.4.10

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_config.core.v3.ApiConfigSource>` and filter configurations. [#next-free-field: 6]

func (*GrpcService) Clone added in v1.8.24

func (m *GrpcService) Clone() proto.Message

Clone function

func (*GrpcService) Descriptor deprecated added in v1.4.10

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

Deprecated: Use GrpcService.ProtoReflect.Descriptor instead.

func (*GrpcService) Equal added in v1.4.10

func (m *GrpcService) Equal(that interface{}) bool

Equal function

func (*GrpcService) GetEnvoyGrpc added in v1.4.10

func (x *GrpcService) GetEnvoyGrpc() *GrpcService_EnvoyGrpc

func (*GrpcService) GetGoogleGrpc added in v1.4.10

func (x *GrpcService) GetGoogleGrpc() *GrpcService_GoogleGrpc

func (*GrpcService) GetInitialMetadata added in v1.4.10

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

func (*GrpcService) GetTargetSpecifier added in v1.4.10

func (m *GrpcService) GetTargetSpecifier() isGrpcService_TargetSpecifier

func (*GrpcService) GetTimeout added in v1.4.10

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

func (*GrpcService) Hash added in v1.6.0

func (m *GrpcService) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*GrpcService) ProtoMessage added in v1.4.10

func (*GrpcService) ProtoMessage()

func (*GrpcService) ProtoReflect added in v1.6.0

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

func (*GrpcService) Reset added in v1.4.10

func (x *GrpcService) Reset()

func (*GrpcService) String added in v1.4.10

func (x *GrpcService) String() string

type GrpcService_EnvoyGrpc added in v1.4.10

type GrpcService_EnvoyGrpc struct {

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

func (*GrpcService_EnvoyGrpc) Clone added in v1.8.24

func (m *GrpcService_EnvoyGrpc) Clone() proto.Message

Clone function

func (*GrpcService_EnvoyGrpc) Descriptor deprecated added in v1.4.10

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

Deprecated: Use GrpcService_EnvoyGrpc.ProtoReflect.Descriptor instead.

func (*GrpcService_EnvoyGrpc) Equal added in v1.4.10

func (m *GrpcService_EnvoyGrpc) Equal(that interface{}) bool

Equal function

func (*GrpcService_EnvoyGrpc) GetAuthority added in v1.16.0

func (x *GrpcService_EnvoyGrpc) GetAuthority() string

func (*GrpcService_EnvoyGrpc) GetClusterName added in v1.4.10

func (x *GrpcService_EnvoyGrpc) GetClusterName() string

func (*GrpcService_EnvoyGrpc) GetRetryPolicy added in v1.16.0

func (x *GrpcService_EnvoyGrpc) GetRetryPolicy() *RetryPolicy

func (*GrpcService_EnvoyGrpc) Hash added in v1.6.0

func (m *GrpcService_EnvoyGrpc) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*GrpcService_EnvoyGrpc) ProtoMessage added in v1.4.10

func (*GrpcService_EnvoyGrpc) ProtoMessage()

func (*GrpcService_EnvoyGrpc) ProtoReflect added in v1.6.0

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

func (*GrpcService_EnvoyGrpc) Reset added in v1.4.10

func (x *GrpcService_EnvoyGrpc) Reset()

func (*GrpcService_EnvoyGrpc) String added in v1.4.10

func (x *GrpcService_EnvoyGrpc) String() string

type GrpcService_EnvoyGrpc_ added in v1.4.10

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 added in v1.4.10

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

[#next-free-field: 9]

func (*GrpcService_GoogleGrpc) Clone added in v1.8.24

Clone function

func (*GrpcService_GoogleGrpc) Descriptor deprecated added in v1.4.10

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

Deprecated: Use GrpcService_GoogleGrpc.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc) Equal added in v1.4.10

func (m *GrpcService_GoogleGrpc) Equal(that interface{}) bool

Equal function

func (*GrpcService_GoogleGrpc) GetCallCredentials added in v1.4.10

func (*GrpcService_GoogleGrpc) GetChannelArgs added in v1.4.10

func (*GrpcService_GoogleGrpc) GetChannelCredentials added in v1.4.10

func (*GrpcService_GoogleGrpc) GetConfig added in v1.4.10

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

func (*GrpcService_GoogleGrpc) GetCredentialsFactoryName added in v1.4.10

func (x *GrpcService_GoogleGrpc) GetCredentialsFactoryName() string

func (*GrpcService_GoogleGrpc) GetPerStreamBufferLimitBytes added in v1.4.10

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

func (*GrpcService_GoogleGrpc) GetStatPrefix added in v1.4.10

func (x *GrpcService_GoogleGrpc) GetStatPrefix() string

func (*GrpcService_GoogleGrpc) GetTargetUri added in v1.4.10

func (x *GrpcService_GoogleGrpc) GetTargetUri() string

func (*GrpcService_GoogleGrpc) Hash added in v1.6.0

func (m *GrpcService_GoogleGrpc) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*GrpcService_GoogleGrpc) ProtoMessage added in v1.4.10

func (*GrpcService_GoogleGrpc) ProtoMessage()

func (*GrpcService_GoogleGrpc) ProtoReflect added in v1.6.0

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

func (*GrpcService_GoogleGrpc) Reset added in v1.4.10

func (x *GrpcService_GoogleGrpc) Reset()

func (*GrpcService_GoogleGrpc) String added in v1.4.10

func (x *GrpcService_GoogleGrpc) String() string

type GrpcService_GoogleGrpc_ added in v1.4.10

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 added in v1.4.10

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) Clone added in v1.8.24

Clone function

func (*GrpcService_GoogleGrpc_CallCredentials) Descriptor deprecated added in v1.4.10

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

Deprecated: Use GrpcService_GoogleGrpc_CallCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_CallCredentials) Equal added in v1.4.10

func (m *GrpcService_GoogleGrpc_CallCredentials) Equal(that interface{}) bool

Equal function

func (*GrpcService_GoogleGrpc_CallCredentials) GetAccessToken added in v1.4.10

func (x *GrpcService_GoogleGrpc_CallCredentials) GetAccessToken() string

func (*GrpcService_GoogleGrpc_CallCredentials) GetCredentialSpecifier added in v1.4.10

func (m *GrpcService_GoogleGrpc_CallCredentials) GetCredentialSpecifier() isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier

func (*GrpcService_GoogleGrpc_CallCredentials) GetFromPlugin added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials) GetGoogleComputeEngine added in v1.4.10

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

func (*GrpcService_GoogleGrpc_CallCredentials) GetGoogleIam added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials) GetGoogleRefreshToken added in v1.4.10

func (x *GrpcService_GoogleGrpc_CallCredentials) GetGoogleRefreshToken() string

func (*GrpcService_GoogleGrpc_CallCredentials) GetServiceAccountJwtAccess added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials) GetStsService added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials) Hash added in v1.6.0

Hash function

func (*GrpcService_GoogleGrpc_CallCredentials) ProtoMessage added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials) ProtoReflect added in v1.6.0

func (*GrpcService_GoogleGrpc_CallCredentials) Reset added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials) String added in v1.4.10

type GrpcService_GoogleGrpc_CallCredentials_AccessToken added in v1.4.10

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 added in v1.4.10

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 added in v1.4.10

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

type GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials added in v1.4.10

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) Clone added in v1.8.24

Clone function

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Descriptor deprecated added in v1.4.10

Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Equal added in v1.4.10

Equal function

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) GetAuthoritySelector added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) GetAuthorizationToken added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Hash added in v1.6.0

Hash function

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) ProtoMessage added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) ProtoReflect added in v1.6.0

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Reset added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) String added in v1.4.10

type GrpcService_GoogleGrpc_CallCredentials_GoogleIam added in v1.4.10

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 added in v1.4.10

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 added in v1.4.10

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_TypedConfig
	ConfigType isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Clone added in v1.8.24

Clone function

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Descriptor deprecated added in v1.4.10

Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Equal added in v1.4.10

Equal function

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetConfigType added in v1.4.10

func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetConfigType() isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetName added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetTypedConfig added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Hash added in v1.6.0

Hash function

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) ProtoMessage added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) ProtoReflect added in v1.6.0

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Reset added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) String added in v1.4.10

type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig added in v1.4.10

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

type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials added in v1.4.10

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) Clone added in v1.8.24

Clone function

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Descriptor deprecated added in v1.4.10

Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Equal added in v1.4.10

Equal function

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) GetJsonKey added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) GetTokenLifetimeSeconds added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Hash added in v1.6.0

Hash function

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) ProtoMessage added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) ProtoReflect added in v1.6.0

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Reset added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) String added in v1.4.10

type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess added in v1.4.10

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 v1.4.10

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) Clone added in v1.8.24

Clone function

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) Descriptor deprecated added in v1.4.10

Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_StsService.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) Equal added in v1.4.10

func (m *GrpcService_GoogleGrpc_CallCredentials_StsService) Equal(that interface{}) bool

Equal function

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetActorTokenPath added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetActorTokenType added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetAudience added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetRequestedTokenType added in v1.4.10

func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetRequestedTokenType() string

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetResource added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetScope added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetSubjectTokenPath added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetSubjectTokenType added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) GetTokenExchangeServiceUri added in v1.4.10

func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetTokenExchangeServiceUri() string

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) Hash added in v1.6.0

Hash function

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) ProtoMessage added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) ProtoReflect added in v1.6.0

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) Reset added in v1.4.10

func (*GrpcService_GoogleGrpc_CallCredentials_StsService) String added in v1.4.10

type GrpcService_GoogleGrpc_CallCredentials_StsService_ added in v1.4.10

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

type GrpcService_GoogleGrpc_ChannelArgs added in v1.4.10

type GrpcService_GoogleGrpc_ChannelArgs struct {

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

Channel arguments.

func (*GrpcService_GoogleGrpc_ChannelArgs) Clone added in v1.8.24

Clone function

func (*GrpcService_GoogleGrpc_ChannelArgs) Descriptor deprecated added in v1.4.10

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

Deprecated: Use GrpcService_GoogleGrpc_ChannelArgs.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_ChannelArgs) Equal added in v1.4.10

func (m *GrpcService_GoogleGrpc_ChannelArgs) Equal(that interface{}) bool

Equal function

func (*GrpcService_GoogleGrpc_ChannelArgs) GetArgs added in v1.4.10

func (*GrpcService_GoogleGrpc_ChannelArgs) Hash added in v1.6.0

Hash function

func (*GrpcService_GoogleGrpc_ChannelArgs) ProtoMessage added in v1.4.10

func (*GrpcService_GoogleGrpc_ChannelArgs) ProtoMessage()

func (*GrpcService_GoogleGrpc_ChannelArgs) ProtoReflect added in v1.6.0

func (*GrpcService_GoogleGrpc_ChannelArgs) Reset added in v1.4.10

func (*GrpcService_GoogleGrpc_ChannelArgs) String added in v1.4.10

type GrpcService_GoogleGrpc_ChannelArgs_Value added in v1.4.10

type GrpcService_GoogleGrpc_ChannelArgs_Value struct {

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

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) Clone added in v1.8.24

Clone function

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) Descriptor deprecated added in v1.4.10

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

Deprecated: Use GrpcService_GoogleGrpc_ChannelArgs_Value.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) Equal added in v1.4.10

func (m *GrpcService_GoogleGrpc_ChannelArgs_Value) Equal(that interface{}) bool

Equal function

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) GetIntValue added in v1.4.10

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) GetStringValue added in v1.4.10

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) GetValueSpecifier added in v1.4.10

func (m *GrpcService_GoogleGrpc_ChannelArgs_Value) GetValueSpecifier() isGrpcService_GoogleGrpc_ChannelArgs_Value_ValueSpecifier

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) Hash added in v1.6.0

Hash function

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) ProtoMessage added in v1.4.10

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) ProtoReflect added in v1.6.0

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) Reset added in v1.4.10

func (*GrpcService_GoogleGrpc_ChannelArgs_Value) String added in v1.4.10

type GrpcService_GoogleGrpc_ChannelArgs_Value_IntValue added in v1.4.10

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

type GrpcService_GoogleGrpc_ChannelArgs_Value_StringValue added in v1.4.10

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

type GrpcService_GoogleGrpc_ChannelCredentials added in v1.4.10

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) Clone added in v1.8.24

Clone function

func (*GrpcService_GoogleGrpc_ChannelCredentials) Descriptor deprecated added in v1.4.10

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

Deprecated: Use GrpcService_GoogleGrpc_ChannelCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_ChannelCredentials) Equal added in v1.4.10

func (m *GrpcService_GoogleGrpc_ChannelCredentials) Equal(that interface{}) bool

Equal function

func (*GrpcService_GoogleGrpc_ChannelCredentials) GetCredentialSpecifier added in v1.4.10

func (m *GrpcService_GoogleGrpc_ChannelCredentials) GetCredentialSpecifier() isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier

func (*GrpcService_GoogleGrpc_ChannelCredentials) GetGoogleDefault added in v1.4.10

func (x *GrpcService_GoogleGrpc_ChannelCredentials) GetGoogleDefault() *empty.Empty

func (*GrpcService_GoogleGrpc_ChannelCredentials) GetLocalCredentials added in v1.4.10

func (*GrpcService_GoogleGrpc_ChannelCredentials) GetSslCredentials added in v1.4.10

func (*GrpcService_GoogleGrpc_ChannelCredentials) Hash added in v1.6.0

Hash function

func (*GrpcService_GoogleGrpc_ChannelCredentials) ProtoMessage added in v1.4.10

func (*GrpcService_GoogleGrpc_ChannelCredentials) ProtoReflect added in v1.6.0

func (*GrpcService_GoogleGrpc_ChannelCredentials) Reset added in v1.4.10

func (*GrpcService_GoogleGrpc_ChannelCredentials) String added in v1.4.10

type GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault added in v1.4.10

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

type GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials added in v1.4.10

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 added in v1.4.10

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 v1.4.10

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) Clone added in v1.8.24

Clone function

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) Descriptor deprecated added in v1.4.10

Deprecated: Use GrpcService_GoogleGrpc_GoogleLocalCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) Equal added in v1.4.10

func (m *GrpcService_GoogleGrpc_GoogleLocalCredentials) Equal(that interface{}) bool

Equal function

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) Hash added in v1.6.0

Hash function

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) ProtoMessage added in v1.4.10

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) ProtoReflect added in v1.6.0

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) Reset added in v1.4.10

func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) String added in v1.4.10

type GrpcService_GoogleGrpc_SslCredentials added in v1.4.10

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) Clone added in v1.8.24

Clone function

func (*GrpcService_GoogleGrpc_SslCredentials) Descriptor deprecated added in v1.4.10

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

Deprecated: Use GrpcService_GoogleGrpc_SslCredentials.ProtoReflect.Descriptor instead.

func (*GrpcService_GoogleGrpc_SslCredentials) Equal added in v1.4.10

func (m *GrpcService_GoogleGrpc_SslCredentials) Equal(that interface{}) bool

Equal function

func (*GrpcService_GoogleGrpc_SslCredentials) GetCertChain added in v1.4.10

func (*GrpcService_GoogleGrpc_SslCredentials) GetPrivateKey added in v1.4.10

func (*GrpcService_GoogleGrpc_SslCredentials) GetRootCerts added in v1.4.10

func (*GrpcService_GoogleGrpc_SslCredentials) Hash added in v1.6.0

Hash function

func (*GrpcService_GoogleGrpc_SslCredentials) ProtoMessage added in v1.4.10

func (*GrpcService_GoogleGrpc_SslCredentials) ProtoMessage()

func (*GrpcService_GoogleGrpc_SslCredentials) ProtoReflect added in v1.6.0

func (*GrpcService_GoogleGrpc_SslCredentials) Reset added in v1.4.10

func (*GrpcService_GoogleGrpc_SslCredentials) String added in v1.4.10

type HeaderMap

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

Wrapper for a set of headers.

func (*HeaderMap) Clone added in v1.8.24

func (m *HeaderMap) Clone() proto.Message

Clone function

func (*HeaderMap) Descriptor deprecated

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

Deprecated: Use HeaderMap.ProtoReflect.Descriptor instead.

func (*HeaderMap) Equal

func (m *HeaderMap) Equal(that interface{}) bool

Equal function

func (*HeaderMap) GetHeaders

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

func (*HeaderMap) Hash added in v1.5.0

func (m *HeaderMap) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HeaderMap) ProtoMessage

func (*HeaderMap) ProtoMessage()

func (*HeaderMap) ProtoReflect added in v1.6.0

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

func (*HeaderMap) Reset

func (x *HeaderMap) Reset()

func (*HeaderMap) String

func (x *HeaderMap) String() string

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) Clone added in v1.8.24

func (m *HeaderValue) Clone() proto.Message

Clone function

func (*HeaderValue) Descriptor deprecated

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

Deprecated: Use HeaderValue.ProtoReflect.Descriptor instead.

func (*HeaderValue) Equal

func (m *HeaderValue) Equal(that interface{}) bool

Equal function

func (*HeaderValue) GetKey

func (x *HeaderValue) GetKey() string

func (*HeaderValue) GetValue

func (x *HeaderValue) GetValue() string

func (*HeaderValue) Hash added in v1.5.0

func (m *HeaderValue) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HeaderValue) ProtoMessage

func (*HeaderValue) ProtoMessage()

func (*HeaderValue) ProtoReflect added in v1.6.0

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

func (*HeaderValue) Reset

func (x *HeaderValue) Reset()

func (*HeaderValue) String

func (x *HeaderValue) String() string

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) Clone added in v1.8.24

func (m *HeaderValueOption) Clone() proto.Message

Clone function

func (*HeaderValueOption) Descriptor deprecated

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

Deprecated: Use HeaderValueOption.ProtoReflect.Descriptor instead.

func (*HeaderValueOption) Equal

func (m *HeaderValueOption) Equal(that interface{}) bool

Equal function

func (*HeaderValueOption) GetAppend

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

func (*HeaderValueOption) GetHeader

func (x *HeaderValueOption) GetHeader() *HeaderValue

func (*HeaderValueOption) Hash added in v1.5.0

func (m *HeaderValueOption) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HeaderValueOption) ProtoMessage

func (*HeaderValueOption) ProtoMessage()

func (*HeaderValueOption) ProtoReflect added in v1.6.0

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

func (*HeaderValueOption) Reset

func (x *HeaderValueOption) Reset()

func (*HeaderValueOption) String

func (x *HeaderValueOption) String() string

type HealthCheck added in v1.4.10

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"`
	// Optional key/value pairs that will be used to match a transport socket from those specified in the cluster's
	// :ref:`tranport socket matches <envoy_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
	// For example, the following match criteria
	//
	// .. code-block:: yaml
	//
	//	transport_socket_match_criteria:
	//	  useMTLS: true
	//
	// Will match the following :ref:`cluster socket match <envoy_api_msg_config.cluster.v3.Cluster.TransportSocketMatch>`
	//
	// .. code-block:: yaml
	//
	//	transport_socket_matches:
	//	- name: "useMTLS"
	//	  match:
	//	    useMTLS: true
	//	  transport_socket:
	//	    name: envoy.transport_sockets.tls
	//	    config: { ... } # tls socket configuration
	//
	// If this field is set, then for health checks it will supersede an entry of *envoy.transport_socket* in the
	// :ref:`LbEndpoint.Metadata <envoy_api_field_config.endpoint.v3.LbEndpoint.metadata>`.
	// This allows using different transport socket capabilities for health checking versus proxying to the
	// endpoint.
	//
	// If the key/values pairs specified do not match any
	// :ref:`transport socket matches <envoy_api_field_config.cluster.v3.Cluster.transport_socket_matches>`,
	// the cluster's :ref:`transport socket <envoy_api_field_config.cluster.v3.Cluster.transport_socket>`
	// will be used for health check socket configuration.
	TransportSocketMatchCriteria *_struct.Struct `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

[#next-free-field: 24]

func (*HealthCheck) Clone added in v1.8.24

func (m *HealthCheck) Clone() proto.Message

Clone function

func (*HealthCheck) Descriptor deprecated added in v1.4.10

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

Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck) Equal added in v1.4.10

func (m *HealthCheck) Equal(that interface{}) bool

Equal function

func (*HealthCheck) GetAltPort added in v1.4.10

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

func (*HealthCheck) GetAlwaysLogHealthCheckFailures added in v1.4.10

func (x *HealthCheck) GetAlwaysLogHealthCheckFailures() bool

func (*HealthCheck) GetCustomHealthCheck added in v1.4.10

func (x *HealthCheck) GetCustomHealthCheck() *HealthCheck_CustomHealthCheck

func (*HealthCheck) GetEventLogPath added in v1.4.10

func (x *HealthCheck) GetEventLogPath() string

func (*HealthCheck) GetEventService added in v1.4.10

func (x *HealthCheck) GetEventService() *EventServiceConfig

func (*HealthCheck) GetGrpcHealthCheck added in v1.4.10

func (x *HealthCheck) GetGrpcHealthCheck() *HealthCheck_GrpcHealthCheck

func (*HealthCheck) GetHealthChecker added in v1.4.10

func (m *HealthCheck) GetHealthChecker() isHealthCheck_HealthChecker

func (*HealthCheck) GetHealthyEdgeInterval added in v1.4.10

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

func (*HealthCheck) GetHealthyThreshold added in v1.4.10

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

func (*HealthCheck) GetHttpHealthCheck added in v1.4.10

func (x *HealthCheck) GetHttpHealthCheck() *HealthCheck_HttpHealthCheck

func (*HealthCheck) GetInitialJitter added in v1.4.10

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

func (*HealthCheck) GetInterval added in v1.4.10

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

func (*HealthCheck) GetIntervalJitter added in v1.4.10

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

func (*HealthCheck) GetIntervalJitterPercent added in v1.4.10

func (x *HealthCheck) GetIntervalJitterPercent() uint32

func (*HealthCheck) GetNoTrafficInterval added in v1.4.10

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

func (*HealthCheck) GetReuseConnection added in v1.4.10

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

func (*HealthCheck) GetTcpHealthCheck added in v1.4.10

func (x *HealthCheck) GetTcpHealthCheck() *HealthCheck_TcpHealthCheck

func (*HealthCheck) GetTimeout added in v1.4.10

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

func (*HealthCheck) GetTlsOptions added in v1.4.10

func (x *HealthCheck) GetTlsOptions() *HealthCheck_TlsOptions

func (*HealthCheck) GetTransportSocketMatchCriteria added in v1.4.10

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

func (*HealthCheck) GetUnhealthyEdgeInterval added in v1.4.10

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

func (*HealthCheck) GetUnhealthyInterval added in v1.4.10

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

func (*HealthCheck) GetUnhealthyThreshold added in v1.4.10

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

func (*HealthCheck) Hash added in v1.6.0

func (m *HealthCheck) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HealthCheck) ProtoMessage added in v1.4.10

func (*HealthCheck) ProtoMessage()

func (*HealthCheck) ProtoReflect added in v1.6.0

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

func (*HealthCheck) Reset added in v1.4.10

func (x *HealthCheck) Reset()

func (*HealthCheck) String added in v1.4.10

func (x *HealthCheck) String() string

type HealthCheck_CustomHealthCheck added in v1.4.10

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_TypedConfig
	ConfigType isHealthCheck_CustomHealthCheck_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

Custom health check.

func (*HealthCheck_CustomHealthCheck) Clone added in v1.8.24

Clone function

func (*HealthCheck_CustomHealthCheck) Descriptor deprecated added in v1.4.10

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

Deprecated: Use HealthCheck_CustomHealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck_CustomHealthCheck) Equal added in v1.4.10

func (m *HealthCheck_CustomHealthCheck) Equal(that interface{}) bool

Equal function

func (*HealthCheck_CustomHealthCheck) GetConfigType added in v1.4.10

func (m *HealthCheck_CustomHealthCheck) GetConfigType() isHealthCheck_CustomHealthCheck_ConfigType

func (*HealthCheck_CustomHealthCheck) GetName added in v1.4.10

func (*HealthCheck_CustomHealthCheck) GetTypedConfig added in v1.4.10

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

func (*HealthCheck_CustomHealthCheck) Hash added in v1.6.0

Hash function

func (*HealthCheck_CustomHealthCheck) ProtoMessage added in v1.4.10

func (*HealthCheck_CustomHealthCheck) ProtoMessage()

func (*HealthCheck_CustomHealthCheck) ProtoReflect added in v1.6.0

func (*HealthCheck_CustomHealthCheck) Reset added in v1.4.10

func (x *HealthCheck_CustomHealthCheck) Reset()

func (*HealthCheck_CustomHealthCheck) String added in v1.4.10

type HealthCheck_CustomHealthCheck_ added in v1.4.10

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

type HealthCheck_CustomHealthCheck_TypedConfig added in v1.4.10

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

type HealthCheck_GrpcHealthCheck added in v1.4.10

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_config.endpoint.v3.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) Clone added in v1.8.24

Clone function

func (*HealthCheck_GrpcHealthCheck) Descriptor deprecated added in v1.4.10

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

Deprecated: Use HealthCheck_GrpcHealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck_GrpcHealthCheck) Equal added in v1.4.10

func (m *HealthCheck_GrpcHealthCheck) Equal(that interface{}) bool

Equal function

func (*HealthCheck_GrpcHealthCheck) GetAuthority added in v1.4.10

func (x *HealthCheck_GrpcHealthCheck) GetAuthority() string

func (*HealthCheck_GrpcHealthCheck) GetServiceName added in v1.4.10

func (x *HealthCheck_GrpcHealthCheck) GetServiceName() string

func (*HealthCheck_GrpcHealthCheck) Hash added in v1.6.0

func (m *HealthCheck_GrpcHealthCheck) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HealthCheck_GrpcHealthCheck) ProtoMessage added in v1.4.10

func (*HealthCheck_GrpcHealthCheck) ProtoMessage()

func (*HealthCheck_GrpcHealthCheck) ProtoReflect added in v1.6.0

func (*HealthCheck_GrpcHealthCheck) Reset added in v1.4.10

func (x *HealthCheck_GrpcHealthCheck) Reset()

func (*HealthCheck_GrpcHealthCheck) String added in v1.4.10

func (x *HealthCheck_GrpcHealthCheck) String() string

type HealthCheck_GrpcHealthCheck_ added in v1.4.10

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 added in v1.4.10

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_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Specifies the HTTP path that will be requested during health checking. For example
	// */healthcheck*.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// [#not-implemented-hide:] HTTP specific payload.
	Send *HealthCheck_Payload `protobuf:"bytes,3,opt,name=send,proto3" json:"send,omitempty"`
	// [#not-implemented-hide:] HTTP specific response.
	Receive *HealthCheck_Payload `protobuf:"bytes,4,opt,name=receive,proto3" json:"receive,omitempty"`
	// Specifies a list of HTTP headers that should be added to each request that is sent to the
	// health checked cluster. For more information, including details on header value syntax, see
	// the documentation on :ref:`custom request headers
	// <config_http_conn_man_headers_custom_request_headers>`.
	RequestHeadersToAdd []*HeaderValueOption `protobuf:"bytes,6,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"`
	// Specifies a list of HTTP headers that should be removed from each request that is sent to the
	// health checked cluster.
	RequestHeadersToRemove []string `` /* 131-byte string literal not displayed */
	// Specifies a list of HTTP response statuses considered healthy. If provided, replaces default
	// 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open
	// semantics of :ref:`Int64Range <envoy_api_msg_type.v3.Int64Range>`. The start and end of each
	// range are required. Only statuses in the range [100, 600) are allowed.
	ExpectedStatuses []*v3.Int64Range `protobuf:"bytes,9,rep,name=expected_statuses,json=expectedStatuses,proto3" json:"expected_statuses,omitempty"`
	// Use specified application protocol for health checks.
	CodecClientType v3.CodecClientType `` /* 153-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.v3.StringMatcher>`. See the :ref:`architecture overview
	// <arch_overview_health_checking_identity>` for more information.
	ServiceNameMatcher *v31.StringMatcher `protobuf:"bytes,11,opt,name=service_name_matcher,json=serviceNameMatcher,proto3" json:"service_name_matcher,omitempty"`
	// (Enterprise Only): If defined, the response health check rules take precedence over the http
	// `expected_statuses`.
	ResponseAssertions *advanced_http.ResponseAssertions `protobuf:"bytes,12,opt,name=response_assertions,json=responseAssertions,proto3" json:"response_assertions,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 13]

func (*HealthCheck_HttpHealthCheck) Clone added in v1.8.24

Clone function

func (*HealthCheck_HttpHealthCheck) Descriptor deprecated added in v1.4.10

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

Deprecated: Use HealthCheck_HttpHealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck_HttpHealthCheck) Equal added in v1.4.10

func (m *HealthCheck_HttpHealthCheck) Equal(that interface{}) bool

Equal function

func (*HealthCheck_HttpHealthCheck) GetCodecClientType added in v1.4.10

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

func (*HealthCheck_HttpHealthCheck) GetExpectedStatuses added in v1.4.10

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

func (*HealthCheck_HttpHealthCheck) GetHost added in v1.4.10

func (x *HealthCheck_HttpHealthCheck) GetHost() string

func (*HealthCheck_HttpHealthCheck) GetPath added in v1.4.10

func (x *HealthCheck_HttpHealthCheck) GetPath() string

func (*HealthCheck_HttpHealthCheck) GetReceive added in v1.4.10

func (*HealthCheck_HttpHealthCheck) GetRequestHeadersToAdd added in v1.4.10

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

func (*HealthCheck_HttpHealthCheck) GetRequestHeadersToRemove added in v1.4.10

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

func (*HealthCheck_HttpHealthCheck) GetResponseAssertions added in v1.8.0

func (x *HealthCheck_HttpHealthCheck) GetResponseAssertions() *advanced_http.ResponseAssertions

func (*HealthCheck_HttpHealthCheck) GetSend added in v1.4.10

func (*HealthCheck_HttpHealthCheck) GetServiceNameMatcher added in v1.4.10

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

func (*HealthCheck_HttpHealthCheck) Hash added in v1.6.0

func (m *HealthCheck_HttpHealthCheck) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HealthCheck_HttpHealthCheck) ProtoMessage added in v1.4.10

func (*HealthCheck_HttpHealthCheck) ProtoMessage()

func (*HealthCheck_HttpHealthCheck) ProtoReflect added in v1.6.0

func (*HealthCheck_HttpHealthCheck) Reset added in v1.4.10

func (x *HealthCheck_HttpHealthCheck) Reset()

func (*HealthCheck_HttpHealthCheck) String added in v1.4.10

func (x *HealthCheck_HttpHealthCheck) String() string

type HealthCheck_HttpHealthCheck_ added in v1.4.10

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 added in v1.4.10

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) Clone added in v1.8.24

func (m *HealthCheck_Payload) Clone() proto.Message

Clone function

func (*HealthCheck_Payload) Descriptor deprecated added in v1.4.10

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

Deprecated: Use HealthCheck_Payload.ProtoReflect.Descriptor instead.

func (*HealthCheck_Payload) Equal added in v1.4.10

func (m *HealthCheck_Payload) Equal(that interface{}) bool

Equal function

func (*HealthCheck_Payload) GetBinary added in v1.4.10

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

func (*HealthCheck_Payload) GetPayload added in v1.4.10

func (m *HealthCheck_Payload) GetPayload() isHealthCheck_Payload_Payload

func (*HealthCheck_Payload) GetText added in v1.4.10

func (x *HealthCheck_Payload) GetText() string

func (*HealthCheck_Payload) Hash added in v1.6.0

func (m *HealthCheck_Payload) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HealthCheck_Payload) ProtoMessage added in v1.4.10

func (*HealthCheck_Payload) ProtoMessage()

func (*HealthCheck_Payload) ProtoReflect added in v1.6.0

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

func (*HealthCheck_Payload) Reset added in v1.4.10

func (x *HealthCheck_Payload) Reset()

func (*HealthCheck_Payload) String added in v1.4.10

func (x *HealthCheck_Payload) String() string

type HealthCheck_Payload_Binary added in v1.4.10

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

type HealthCheck_Payload_Text added in v1.4.10

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

type HealthCheck_RedisHealthCheck added in v1.4.10

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) Clone added in v1.8.24

Clone function

func (*HealthCheck_RedisHealthCheck) Descriptor deprecated added in v1.4.10

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

Deprecated: Use HealthCheck_RedisHealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck_RedisHealthCheck) Equal added in v1.4.10

func (m *HealthCheck_RedisHealthCheck) Equal(that interface{}) bool

Equal function

func (*HealthCheck_RedisHealthCheck) GetKey added in v1.4.10

func (*HealthCheck_RedisHealthCheck) Hash added in v1.6.0

Hash function

func (*HealthCheck_RedisHealthCheck) ProtoMessage added in v1.4.10

func (*HealthCheck_RedisHealthCheck) ProtoMessage()

func (*HealthCheck_RedisHealthCheck) ProtoReflect added in v1.6.0

func (*HealthCheck_RedisHealthCheck) Reset added in v1.4.10

func (x *HealthCheck_RedisHealthCheck) Reset()

func (*HealthCheck_RedisHealthCheck) String added in v1.4.10

type HealthCheck_TcpHealthCheck added in v1.4.10

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) Clone added in v1.8.24

Clone function

func (*HealthCheck_TcpHealthCheck) Descriptor deprecated added in v1.4.10

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

Deprecated: Use HealthCheck_TcpHealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck_TcpHealthCheck) Equal added in v1.4.10

func (m *HealthCheck_TcpHealthCheck) Equal(that interface{}) bool

Equal function

func (*HealthCheck_TcpHealthCheck) GetReceive added in v1.4.10

func (*HealthCheck_TcpHealthCheck) GetSend added in v1.4.10

func (*HealthCheck_TcpHealthCheck) Hash added in v1.6.0

func (m *HealthCheck_TcpHealthCheck) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HealthCheck_TcpHealthCheck) ProtoMessage added in v1.4.10

func (*HealthCheck_TcpHealthCheck) ProtoMessage()

func (*HealthCheck_TcpHealthCheck) ProtoReflect added in v1.6.0

func (*HealthCheck_TcpHealthCheck) Reset added in v1.4.10

func (x *HealthCheck_TcpHealthCheck) Reset()

func (*HealthCheck_TcpHealthCheck) String added in v1.4.10

func (x *HealthCheck_TcpHealthCheck) String() string

type HealthCheck_TcpHealthCheck_ added in v1.4.10

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 v1.4.10

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_config.listener.v3.FilterChainMatch>` along with different protocols for health checks
	// versus data connections. If empty, no ALPN protocols will be set on health check connections.
	AlpnProtocols []string `protobuf:"bytes,1,rep,name=alpn_protocols,json=alpnProtocols,proto3" json:"alpn_protocols,omitempty"`
	// contains filtered or unexported fields
}

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

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

func (*HealthCheck_TlsOptions) Clone added in v1.8.24

Clone function

func (*HealthCheck_TlsOptions) Descriptor deprecated added in v1.4.10

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

Deprecated: Use HealthCheck_TlsOptions.ProtoReflect.Descriptor instead.

func (*HealthCheck_TlsOptions) Equal added in v1.4.10

func (m *HealthCheck_TlsOptions) Equal(that interface{}) bool

Equal function

func (*HealthCheck_TlsOptions) GetAlpnProtocols added in v1.4.10

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

func (*HealthCheck_TlsOptions) Hash added in v1.6.0

func (m *HealthCheck_TlsOptions) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HealthCheck_TlsOptions) ProtoMessage added in v1.4.10

func (*HealthCheck_TlsOptions) ProtoMessage()

func (*HealthCheck_TlsOptions) ProtoReflect added in v1.6.0

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

func (*HealthCheck_TlsOptions) Reset added in v1.4.10

func (x *HealthCheck_TlsOptions) Reset()

func (*HealthCheck_TlsOptions) String added in v1.4.10

func (x *HealthCheck_TlsOptions) String() string

type HealthStatus added in v1.4.10

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 v1.6.0

func (HealthStatus) Enum added in v1.6.0

func (x HealthStatus) Enum() *HealthStatus

func (HealthStatus) EnumDescriptor deprecated added in v1.4.10

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

Deprecated: Use HealthStatus.Descriptor instead.

func (HealthStatus) Number added in v1.6.0

func (HealthStatus) String added in v1.4.10

func (x HealthStatus) String() string

func (HealthStatus) Type added in v1.6.0

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) Clone added in v1.8.24

func (m *HttpUri) Clone() proto.Message

Clone function

func (*HttpUri) Descriptor deprecated

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

Deprecated: Use HttpUri.ProtoReflect.Descriptor instead.

func (*HttpUri) Equal

func (m *HttpUri) Equal(that interface{}) bool

Equal function

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) Hash added in v1.5.0

func (m *HttpUri) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HttpUri) ProtoMessage

func (*HttpUri) ProtoMessage()

func (*HttpUri) ProtoReflect added in v1.6.0

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

func (*HttpUri) Reset

func (x *HttpUri) Reset()

func (*HttpUri) String

func (x *HttpUri) String() string

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

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

func (*Locality) Clone added in v1.8.24

func (m *Locality) Clone() proto.Message

Clone function

func (*Locality) Descriptor deprecated

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

Deprecated: Use Locality.ProtoReflect.Descriptor instead.

func (*Locality) Equal

func (m *Locality) Equal(that interface{}) bool

Equal function

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) Hash added in v1.5.0

func (m *Locality) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Locality) ProtoMessage

func (*Locality) ProtoMessage()

func (*Locality) ProtoReflect added in v1.6.0

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

func (*Locality) Reset

func (x *Locality) Reset()

func (*Locality) String

func (x *Locality) String() string

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) Clone added in v1.8.24

func (m *Metadata) Clone() proto.Message

Clone function

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) Equal

func (m *Metadata) Equal(that interface{}) bool

Equal function

func (*Metadata) GetFilterMetadata

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

func (*Metadata) Hash added in v1.5.0

func (m *Metadata) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect added in v1.6.0

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

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_config.core.v3.HealthCheck.HttpHealthCheck.service_name_matcher>`,
	// :ref:`runtime override directory <envoy_api_msg_config.bootstrap.v3.Runtime>`,
	// :ref:`user agent addition
	// <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.add_user_agent>`,
	// :ref:`HTTP global rate limiting <config_http_filters_rate_limit>`,
	// :ref:`CDS <config_cluster_manager_cds>`, and :ref:`HTTP tracing
	// <arch_overview_tracing>`, either in this message or via
	// :option:`--service-cluster`.
	Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Opaque metadata extending the node identifier. Envoy will pass this
	// directly to the management server.
	Metadata *_struct.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Locality specifying where the Envoy instance is running.
	Locality *Locality `protobuf:"bytes,4,opt,name=locality,proto3" json:"locality,omitempty"`
	// Free-form string that identifies the entity requesting config.
	// E.g. "envoy" or "grpc"
	UserAgentName string `protobuf:"bytes,6,opt,name=user_agent_name,json=userAgentName,proto3" json:"user_agent_name,omitempty"`
	// Types that are assignable to UserAgentVersionType:
	//
	//	*Node_UserAgentVersion
	//	*Node_UserAgentBuildVersion
	UserAgentVersionType isNode_UserAgentVersionType `protobuf_oneof:"user_agent_version_type"`
	// List of extensions and their versions supported by the node.
	Extensions []*Extension `protobuf:"bytes,9,rep,name=extensions,proto3" json:"extensions,omitempty"`
	// Client feature support list. These are well known features described
	// in the Envoy API repository for a given major version of an API. Client features
	// use reverse DNS naming scheme, for example `com.acme.feature`.
	// See :ref:`the list of features <client_features>` that xDS client may
	// support.
	ClientFeatures []string `protobuf:"bytes,10,rep,name=client_features,json=clientFeatures,proto3" json:"client_features,omitempty"`
	// Known listening ports on the node as a generic hint to the management server
	// for filtering :ref:`listeners <config_listeners>` to be returned. For example,
	// if there is a listener bound to port 80, the list can optionally contain the
	// SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint.
	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) Clone added in v1.8.24

func (m *Node) Clone() proto.Message

Clone function

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) Equal

func (m *Node) Equal(that interface{}) bool

Equal function

func (*Node) GetClientFeatures

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

func (*Node) GetCluster

func (x *Node) GetCluster() string

func (*Node) GetExtensions

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

func (*Node) GetId

func (x *Node) GetId() string

func (*Node) GetListeningAddresses

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

func (x *Node) GetUserAgentBuildVersion() *BuildVersion

func (*Node) GetUserAgentName

func (x *Node) GetUserAgentName() string

func (*Node) GetUserAgentVersion

func (x *Node) GetUserAgentVersion() string

func (*Node) GetUserAgentVersionType

func (m *Node) GetUserAgentVersionType() isNode_UserAgentVersionType

func (*Node) Hash added in v1.5.0

func (m *Node) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect added in v1.6.0

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type Node_UserAgentBuildVersion

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

type Node_UserAgentVersion

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

type 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) Clone added in v1.8.24

func (m *Pipe) Clone() proto.Message

Clone function

func (*Pipe) Descriptor deprecated

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

Deprecated: Use Pipe.ProtoReflect.Descriptor instead.

func (*Pipe) Equal

func (m *Pipe) Equal(that interface{}) bool

Equal function

func (*Pipe) GetMode

func (x *Pipe) GetMode() uint32

func (*Pipe) GetPath

func (x *Pipe) GetPath() string

func (*Pipe) Hash added in v1.5.0

func (m *Pipe) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Pipe) ProtoMessage

func (*Pipe) ProtoMessage()

func (*Pipe) ProtoReflect added in v1.6.0

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

func (*Pipe) Reset

func (x *Pipe) Reset()

func (*Pipe) String

func (x *Pipe) String() string

type ProxyProtocolConfig

type ProxyProtocolConfig struct {

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

func (*ProxyProtocolConfig) Clone added in v1.8.24

func (m *ProxyProtocolConfig) Clone() proto.Message

Clone function

func (*ProxyProtocolConfig) Descriptor deprecated

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

Deprecated: Use ProxyProtocolConfig.ProtoReflect.Descriptor instead.

func (*ProxyProtocolConfig) Equal

func (m *ProxyProtocolConfig) Equal(that interface{}) bool

Equal function

func (*ProxyProtocolConfig) GetPassThroughTlvs added in v1.15.0

func (x *ProxyProtocolConfig) GetPassThroughTlvs() *ProxyProtocolPassThroughTLVs

func (*ProxyProtocolConfig) GetVersion

func (*ProxyProtocolConfig) Hash added in v1.6.0

func (m *ProxyProtocolConfig) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ProxyProtocolConfig) ProtoMessage

func (*ProxyProtocolConfig) ProtoMessage()

func (*ProxyProtocolConfig) ProtoReflect added in v1.6.0

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

func (*ProxyProtocolConfig) Reset

func (x *ProxyProtocolConfig) Reset()

func (*ProxyProtocolConfig) String

func (x *ProxyProtocolConfig) String() string

type ProxyProtocolConfig_Version

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

func (ProxyProtocolConfig_Version) Descriptor added in v1.6.0

func (ProxyProtocolConfig_Version) Enum added in v1.6.0

func (ProxyProtocolConfig_Version) EnumDescriptor deprecated

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

Deprecated: Use ProxyProtocolConfig_Version.Descriptor instead.

func (ProxyProtocolConfig_Version) Number added in v1.6.0

func (ProxyProtocolConfig_Version) String

func (ProxyProtocolConfig_Version) Type added in v1.6.0

type ProxyProtocolPassThroughTLVs added in v1.15.0

type ProxyProtocolPassThroughTLVs struct {

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

func (*ProxyProtocolPassThroughTLVs) Clone added in v1.15.0

Clone function

func (*ProxyProtocolPassThroughTLVs) Descriptor deprecated added in v1.15.0

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

Deprecated: Use ProxyProtocolPassThroughTLVs.ProtoReflect.Descriptor instead.

func (*ProxyProtocolPassThroughTLVs) Equal added in v1.15.0

func (m *ProxyProtocolPassThroughTLVs) Equal(that interface{}) bool

Equal function

func (*ProxyProtocolPassThroughTLVs) GetMatchType added in v1.15.0

func (*ProxyProtocolPassThroughTLVs) GetTlvType added in v1.15.0

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

func (*ProxyProtocolPassThroughTLVs) Hash added in v1.15.0

Hash function

func (*ProxyProtocolPassThroughTLVs) ProtoMessage added in v1.15.0

func (*ProxyProtocolPassThroughTLVs) ProtoMessage()

func (*ProxyProtocolPassThroughTLVs) ProtoReflect added in v1.15.0

func (*ProxyProtocolPassThroughTLVs) Reset added in v1.15.0

func (x *ProxyProtocolPassThroughTLVs) Reset()

func (*ProxyProtocolPassThroughTLVs) String added in v1.15.0

type ProxyProtocolPassThroughTLVs_PassTLVsMatchType added in v1.15.0

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

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) Descriptor added in v1.15.0

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) Enum added in v1.15.0

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) EnumDescriptor deprecated added in v1.15.0

Deprecated: Use ProxyProtocolPassThroughTLVs_PassTLVsMatchType.Descriptor instead.

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) Number added in v1.15.0

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) String added in v1.15.0

func (ProxyProtocolPassThroughTLVs_PassTLVsMatchType) Type added in v1.15.0

type RemoteDataSource

type RemoteDataSource struct {

	// The HTTP URI to fetch the remote data.
	HttpUri *HttpUri `protobuf:"bytes,1,opt,name=http_uri,json=httpUri,proto3" json:"http_uri,omitempty"`
	// SHA256 string for verifying data.
	Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
	// Retry policy for fetching remote data.
	RetryPolicy *RetryPolicy `protobuf:"bytes,3,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
	// contains filtered or unexported fields
}

The message specifies how to fetch data from remote and how to verify it.

func (*RemoteDataSource) Clone added in v1.8.24

func (m *RemoteDataSource) Clone() proto.Message

Clone function

func (*RemoteDataSource) Descriptor deprecated

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

Deprecated: Use RemoteDataSource.ProtoReflect.Descriptor instead.

func (*RemoteDataSource) Equal

func (m *RemoteDataSource) Equal(that interface{}) bool

Equal function

func (*RemoteDataSource) GetHttpUri

func (x *RemoteDataSource) GetHttpUri() *HttpUri

func (*RemoteDataSource) GetRetryPolicy

func (x *RemoteDataSource) GetRetryPolicy() *RetryPolicy

func (*RemoteDataSource) GetSha256

func (x *RemoteDataSource) GetSha256() string

func (*RemoteDataSource) Hash added in v1.5.0

func (m *RemoteDataSource) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*RemoteDataSource) ProtoMessage

func (*RemoteDataSource) ProtoMessage()

func (*RemoteDataSource) ProtoReflect added in v1.6.0

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

func (*RemoteDataSource) Reset

func (x *RemoteDataSource) Reset()

func (*RemoteDataSource) String

func (x *RemoteDataSource) String() string

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 v1.6.0

func (RequestMethod) Enum added in v1.6.0

func (x RequestMethod) Enum() *RequestMethod

func (RequestMethod) EnumDescriptor deprecated

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

Deprecated: Use RequestMethod.Descriptor instead.

func (RequestMethod) Number added in v1.6.0

func (RequestMethod) String

func (x RequestMethod) String() string

func (RequestMethod) Type added in v1.6.0

type RetryPolicy

type RetryPolicy struct {

	// Specifies parameters that control :ref:`retry backoff strategy <envoy_api_msg_config.core.v3.BackoffStrategy>`.
	// This parameter is optional, in which case the default base interval is 1000 milliseconds. The
	// default maximum interval is 10 times the base interval.
	RetryBackOff *BackoffStrategy `protobuf:"bytes,1,opt,name=retry_back_off,json=retryBackOff,proto3" json:"retry_back_off,omitempty"`
	// Specifies the allowed number of retries. This parameter is optional and
	// defaults to 1.
	NumRetries *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=num_retries,json=numRetries,proto3" json:"num_retries,omitempty"`
	// contains filtered or unexported fields
}

The message specifies the retry policy of remote data source when fetching fails.

func (*RetryPolicy) Clone added in v1.8.24

func (m *RetryPolicy) Clone() proto.Message

Clone function

func (*RetryPolicy) Descriptor deprecated

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

Deprecated: Use RetryPolicy.ProtoReflect.Descriptor instead.

func (*RetryPolicy) Equal

func (m *RetryPolicy) Equal(that interface{}) bool

Equal function

func (*RetryPolicy) GetNumRetries

func (x *RetryPolicy) GetNumRetries() *wrappers.UInt32Value

func (*RetryPolicy) GetRetryBackOff

func (x *RetryPolicy) GetRetryBackOff() *BackoffStrategy

func (*RetryPolicy) Hash added in v1.5.0

func (m *RetryPolicy) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*RetryPolicy) ProtoMessage

func (*RetryPolicy) ProtoMessage()

func (*RetryPolicy) ProtoReflect added in v1.6.0

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

func (*RetryPolicy) Reset

func (x *RetryPolicy) Reset()

func (*RetryPolicy) String

func (x *RetryPolicy) String() string

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 v1.6.0

func (RoutingPriority) Enum added in v1.6.0

func (x RoutingPriority) Enum() *RoutingPriority

func (RoutingPriority) EnumDescriptor deprecated

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

Deprecated: Use RoutingPriority.Descriptor instead.

func (RoutingPriority) Number added in v1.6.0

func (RoutingPriority) String

func (x RoutingPriority) String() string

func (RoutingPriority) Type added in v1.6.0

type RuntimeDouble

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) Clone added in v1.8.24

func (m *RuntimeDouble) Clone() proto.Message

Clone function

func (*RuntimeDouble) Descriptor deprecated

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

Deprecated: Use RuntimeDouble.ProtoReflect.Descriptor instead.

func (*RuntimeDouble) Equal

func (m *RuntimeDouble) Equal(that interface{}) bool

Equal function

func (*RuntimeDouble) GetDefaultValue

func (x *RuntimeDouble) GetDefaultValue() float64

func (*RuntimeDouble) GetRuntimeKey

func (x *RuntimeDouble) GetRuntimeKey() string

func (*RuntimeDouble) Hash added in v1.5.0

func (m *RuntimeDouble) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*RuntimeDouble) ProtoMessage

func (*RuntimeDouble) ProtoMessage()

func (*RuntimeDouble) ProtoReflect added in v1.6.0

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

func (*RuntimeDouble) Reset

func (x *RuntimeDouble) Reset()

func (*RuntimeDouble) String

func (x *RuntimeDouble) String() string

type RuntimeFeatureFlag

type RuntimeFeatureFlag struct {

	// Default value if runtime value is not available.
	DefaultValue *wrappers.BoolValue `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Runtime key to get value for comparison. This value is used if defined. The boolean value must
	// be represented via its
	// `canonical JSON encoding <https://developers.google.com/protocol-buffers/docs/proto3#json>`_.
	RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
	// contains filtered or unexported fields
}

Runtime derived bool with a default when not specified.

func (*RuntimeFeatureFlag) Clone added in v1.8.24

func (m *RuntimeFeatureFlag) Clone() proto.Message

Clone function

func (*RuntimeFeatureFlag) Descriptor deprecated

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

Deprecated: Use RuntimeFeatureFlag.ProtoReflect.Descriptor instead.

func (*RuntimeFeatureFlag) Equal

func (m *RuntimeFeatureFlag) Equal(that interface{}) bool

Equal function

func (*RuntimeFeatureFlag) GetDefaultValue

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

func (*RuntimeFeatureFlag) GetRuntimeKey

func (x *RuntimeFeatureFlag) GetRuntimeKey() string

func (*RuntimeFeatureFlag) Hash added in v1.5.0

func (m *RuntimeFeatureFlag) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*RuntimeFeatureFlag) ProtoMessage

func (*RuntimeFeatureFlag) ProtoMessage()

func (*RuntimeFeatureFlag) ProtoReflect added in v1.6.0

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

func (*RuntimeFeatureFlag) Reset

func (x *RuntimeFeatureFlag) Reset()

func (*RuntimeFeatureFlag) String

func (x *RuntimeFeatureFlag) String() string

type RuntimeFractionalPercent

type RuntimeFractionalPercent struct {

	// Default value if the runtime value's for the numerator/denominator keys are not available.
	DefaultValue *v3.FractionalPercent `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Runtime key for a YAML representation of a FractionalPercent.
	RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
	// contains filtered or unexported fields
}

Runtime derived FractionalPercent with defaults for when the numerator or denominator is not specified via a runtime key.

.. note::

Parsing of the runtime key's data is implemented such that it may be represented as a
:ref:`FractionalPercent <envoy_api_msg_type.v3.FractionalPercent>` proto represented as JSON/YAML
and may also be represented as an integer with the assumption that the value is an integral
percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse
as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED.

func (*RuntimeFractionalPercent) Clone added in v1.8.24

Clone function

func (*RuntimeFractionalPercent) Descriptor deprecated

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

Deprecated: Use RuntimeFractionalPercent.ProtoReflect.Descriptor instead.

func (*RuntimeFractionalPercent) Equal

func (m *RuntimeFractionalPercent) Equal(that interface{}) bool

Equal function

func (*RuntimeFractionalPercent) GetDefaultValue

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

func (*RuntimeFractionalPercent) GetRuntimeKey

func (x *RuntimeFractionalPercent) GetRuntimeKey() string

func (*RuntimeFractionalPercent) Hash added in v1.5.0

func (m *RuntimeFractionalPercent) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*RuntimeFractionalPercent) ProtoMessage

func (*RuntimeFractionalPercent) ProtoMessage()

func (*RuntimeFractionalPercent) ProtoReflect added in v1.6.0

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

func (*RuntimeFractionalPercent) Reset

func (x *RuntimeFractionalPercent) Reset()

func (*RuntimeFractionalPercent) String

func (x *RuntimeFractionalPercent) String() string

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) Clone added in v1.8.24

func (m *RuntimeUInt32) Clone() proto.Message

Clone function

func (*RuntimeUInt32) Descriptor deprecated

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

Deprecated: Use RuntimeUInt32.ProtoReflect.Descriptor instead.

func (*RuntimeUInt32) Equal

func (m *RuntimeUInt32) Equal(that interface{}) bool

Equal function

func (*RuntimeUInt32) GetDefaultValue

func (x *RuntimeUInt32) GetDefaultValue() uint32

func (*RuntimeUInt32) GetRuntimeKey

func (x *RuntimeUInt32) GetRuntimeKey() string

func (*RuntimeUInt32) Hash added in v1.5.0

func (m *RuntimeUInt32) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*RuntimeUInt32) ProtoMessage

func (*RuntimeUInt32) ProtoMessage()

func (*RuntimeUInt32) ProtoReflect added in v1.6.0

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

func (*RuntimeUInt32) Reset

func (x *RuntimeUInt32) Reset()

func (*RuntimeUInt32) String

func (x *RuntimeUInt32) String() string

type SocketAddress

type SocketAddress struct {
	Protocol SocketAddress_Protocol `` /* 127-byte string literal not displayed */
	// 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_config.listener.v3.FilterChainMatch>`.] When used
	// within an upstream :ref:`BindConfig <envoy_api_msg_config.core.v3.BindConfig>`, the address
	// controls the source address of outbound connections. For :ref:`clusters
	// <envoy_api_msg_config.cluster.v3.Cluster>`, the cluster type determines whether the
	// address must be an IP (*STATIC* or *EDS* clusters) or a hostname resolved by DNS
	// (*STRICT_DNS* or *LOGICAL_DNS* clusters). Address resolution can be customized
	// via :ref:`resolver_name <envoy_api_field_config.core.v3.SocketAddress.resolver_name>`.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// Types that are assignable to PortSpecifier:
	//
	//	*SocketAddress_PortValue
	//	*SocketAddress_NamedPort
	PortSpecifier isSocketAddress_PortSpecifier `protobuf_oneof:"port_specifier"`
	// The name of the custom resolver. This must have been registered with Envoy. If
	// this is empty, a context dependent default applies. If the address is a concrete
	// IP address, no resolution will occur. If address is a hostname this
	// should be set for resolution other than DNS. Specifying a custom resolver with
	// *STRICT_DNS* or *LOGICAL_DNS* will generate an error at runtime.
	ResolverName string `protobuf:"bytes,5,opt,name=resolver_name,json=resolverName,proto3" json:"resolver_name,omitempty"`
	// When binding to an IPv6 address above, this enables `IPv4 compatibility
	// <https://tools.ietf.org/html/rfc3493#page-11>`_. Binding to “::“ will
	// allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into
	// IPv6 space as “::FFFF:<IPv4-address>“.
	Ipv4Compat bool `protobuf:"varint,6,opt,name=ipv4_compat,json=ipv4Compat,proto3" json:"ipv4_compat,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 7]

func (*SocketAddress) Clone added in v1.8.24

func (m *SocketAddress) Clone() proto.Message

Clone function

func (*SocketAddress) Descriptor deprecated

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

Deprecated: Use SocketAddress.ProtoReflect.Descriptor instead.

func (*SocketAddress) Equal

func (m *SocketAddress) Equal(that interface{}) bool

Equal function

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) Hash added in v1.5.0

func (m *SocketAddress) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*SocketAddress) ProtoMessage

func (*SocketAddress) ProtoMessage()

func (*SocketAddress) ProtoReflect added in v1.6.0

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

func (*SocketAddress) Reset

func (x *SocketAddress) Reset()

func (*SocketAddress) String

func (x *SocketAddress) String() string

type SocketAddress_NamedPort

type SocketAddress_NamedPort struct {
	// This is only valid if :ref:`resolver_name
	// <envoy_api_field_config.core.v3.SocketAddress.resolver_name>` is specified below and the
	// named resolver is capable of named port resolution.
	NamedPort string `protobuf:"bytes,4,opt,name=named_port,json=namedPort,proto3,oneof"`
}

type SocketAddress_PortValue

type SocketAddress_PortValue struct {
	PortValue uint32 `protobuf:"varint,3,opt,name=port_value,json=portValue,proto3,oneof"`
}

type SocketAddress_Protocol

type SocketAddress_Protocol int32
const (
	SocketAddress_TCP SocketAddress_Protocol = 0
	SocketAddress_UDP SocketAddress_Protocol = 1
)

func (SocketAddress_Protocol) Descriptor added in v1.6.0

func (SocketAddress_Protocol) Enum added in v1.6.0

func (SocketAddress_Protocol) EnumDescriptor deprecated

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

Deprecated: Use SocketAddress_Protocol.Descriptor instead.

func (SocketAddress_Protocol) Number added in v1.6.0

func (SocketAddress_Protocol) String

func (x SocketAddress_Protocol) String() string

func (SocketAddress_Protocol) Type added in v1.6.0

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=solo.io.envoy.config.core.v3.SocketOption_SocketState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Generic socket option message. This would be used to set socket options that might not exist in upstream kernels or precompiled Envoy binaries. [#next-free-field: 7]

func (*SocketOption) Clone added in v1.8.24

func (m *SocketOption) Clone() proto.Message

Clone function

func (*SocketOption) Descriptor deprecated

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

Deprecated: Use SocketOption.ProtoReflect.Descriptor instead.

func (*SocketOption) Equal

func (m *SocketOption) Equal(that interface{}) bool

Equal function

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) Hash added in v1.5.0

func (m *SocketOption) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*SocketOption) ProtoMessage

func (*SocketOption) ProtoMessage()

func (*SocketOption) ProtoReflect added in v1.6.0

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

func (*SocketOption) Reset

func (x *SocketOption) Reset()

func (*SocketOption) String

func (x *SocketOption) String() string

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 v1.6.0

func (SocketOption_SocketState) Enum added in v1.6.0

func (SocketOption_SocketState) EnumDescriptor deprecated

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

Deprecated: Use SocketOption_SocketState.Descriptor instead.

func (SocketOption_SocketState) Number added in v1.6.0

func (SocketOption_SocketState) String

func (x SocketOption_SocketState) String() string

func (SocketOption_SocketState) Type added in v1.6.0

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) Clone added in v1.8.24

func (m *TcpKeepalive) Clone() proto.Message

Clone function

func (*TcpKeepalive) Descriptor deprecated

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

Deprecated: Use TcpKeepalive.ProtoReflect.Descriptor instead.

func (*TcpKeepalive) Equal

func (m *TcpKeepalive) Equal(that interface{}) bool

Equal function

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) Hash added in v1.5.0

func (m *TcpKeepalive) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*TcpKeepalive) ProtoMessage

func (*TcpKeepalive) ProtoMessage()

func (*TcpKeepalive) ProtoReflect added in v1.6.0

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

func (*TcpKeepalive) Reset

func (x *TcpKeepalive) Reset()

func (*TcpKeepalive) String

func (x *TcpKeepalive) String() string

type TrafficDirection

type TrafficDirection int32

Identifies the direction of the traffic relative to the local Envoy.

const (
	// Default option is unspecified.
	TrafficDirection_UNSPECIFIED TrafficDirection = 0
	// The transport is used for incoming traffic.
	TrafficDirection_INBOUND TrafficDirection = 1
	// The transport is used for outgoing traffic.
	TrafficDirection_OUTBOUND TrafficDirection = 2
)

func (TrafficDirection) Descriptor added in v1.6.0

func (TrafficDirection) Enum added in v1.6.0

func (TrafficDirection) EnumDescriptor deprecated

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

Deprecated: Use TrafficDirection.Descriptor instead.

func (TrafficDirection) Number added in v1.6.0

func (TrafficDirection) String

func (x TrafficDirection) String() string

func (TrafficDirection) Type added in v1.6.0

type TransportSocket

type TransportSocket struct {

	// The name of the transport socket to instantiate. The name must match a supported transport
	// socket implementation.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Implementation specific configuration which depends on the implementation being instantiated.
	// See the supported transport socket implementations for further documentation.
	//
	// Types that are assignable to ConfigType:
	//
	//	*TransportSocket_TypedConfig
	ConfigType isTransportSocket_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

Configuration for transport socket in :ref:`listeners <config_listeners>` and :ref:`clusters <envoy_api_msg_config.cluster.v3.Cluster>`. If the configuration is empty, a default transport socket implementation and configuration will be chosen based on the platform and existence of tls_context.

func (*TransportSocket) Clone added in v1.8.24

func (m *TransportSocket) Clone() proto.Message

Clone function

func (*TransportSocket) Descriptor deprecated

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

Deprecated: Use TransportSocket.ProtoReflect.Descriptor instead.

func (*TransportSocket) Equal

func (m *TransportSocket) Equal(that interface{}) bool

Equal function

func (*TransportSocket) GetConfigType

func (m *TransportSocket) GetConfigType() isTransportSocket_ConfigType

func (*TransportSocket) GetName

func (x *TransportSocket) GetName() string

func (*TransportSocket) GetTypedConfig

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

func (*TransportSocket) Hash added in v1.5.0

func (m *TransportSocket) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*TransportSocket) ProtoMessage

func (*TransportSocket) ProtoMessage()

func (*TransportSocket) ProtoReflect added in v1.6.0

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

func (*TransportSocket) Reset

func (x *TransportSocket) Reset()

func (*TransportSocket) String

func (x *TransportSocket) String() string

type TransportSocket_TypedConfig

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

type TypedExtensionConfig

type TypedExtensionConfig struct {

	// The name of an extension. This is not used to select the extension, instead
	// it serves the role of an opaque identifier.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The typed config for the extension. The type URL will be used to identify
	// the extension. In the case that the type URL is *udpa.type.v1.TypedStruct*,
	// the inner type URL of *TypedStruct* will be utilized. See the
	// :ref:`extension configuration overview
	// <config_overview_extension_configuration>` for further details.
	TypedConfig *any1.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
	// contains filtered or unexported fields
}

Message type for extension configuration. [#next-major-version: revisit all existing typed_config that doesn't use this wrapper.].

func (*TypedExtensionConfig) Clone added in v1.8.24

func (m *TypedExtensionConfig) Clone() proto.Message

Clone function

func (*TypedExtensionConfig) Descriptor deprecated

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

Deprecated: Use TypedExtensionConfig.ProtoReflect.Descriptor instead.

func (*TypedExtensionConfig) Equal

func (m *TypedExtensionConfig) Equal(that interface{}) bool

Equal function

func (*TypedExtensionConfig) GetName

func (x *TypedExtensionConfig) GetName() string

func (*TypedExtensionConfig) GetTypedConfig

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

func (*TypedExtensionConfig) Hash added in v1.6.0

func (m *TypedExtensionConfig) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*TypedExtensionConfig) ProtoMessage

func (*TypedExtensionConfig) ProtoMessage()

func (*TypedExtensionConfig) ProtoReflect added in v1.6.0

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

func (*TypedExtensionConfig) Reset

func (x *TypedExtensionConfig) Reset()

func (*TypedExtensionConfig) String

func (x *TypedExtensionConfig) String() string

Jump to

Keyboard shortcuts

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