envoy_config_filter_network_thrift_proxy_v3alpha

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

Protocol buffer definitions for the Thrift proxy.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProtocolType_name = map[int32]string{
	0: "AUTO_PROTOCOL",
	1: "BINARY",
	2: "LAX_BINARY",
	3: "COMPACT",
	4: "TWITTER",
}
View Source
var ProtocolType_value = map[string]int32{
	"AUTO_PROTOCOL": 0,
	"BINARY":        1,
	"LAX_BINARY":    2,
	"COMPACT":       3,
	"TWITTER":       4,
}
View Source
var TransportType_name = map[int32]string{
	0: "AUTO_TRANSPORT",
	1: "FRAMED",
	2: "UNFRAMED",
	3: "HEADER",
}
View Source
var TransportType_value = map[string]int32{
	"AUTO_TRANSPORT": 0,
	"FRAMED":         1,
	"UNFRAMED":       2,
	"HEADER":         3,
}

Functions

This section is empty.

Types

type ProtocolType

type ProtocolType int32

Thrift Protocol types supported by Envoy.

const (
	// For downstream connections, the Thrift proxy will attempt to determine which protocol to use.
	// Note that the older, non-strict (or lax) binary protocol is not included in automatic protocol
	// detection. For upstream connections, the Thrift proxy will use the same protocol as the
	// downstream connection.
	ProtocolType_AUTO_PROTOCOL ProtocolType = 0
	// The Thrift proxy will use the Thrift binary protocol.
	ProtocolType_BINARY ProtocolType = 1
	// The Thrift proxy will use Thrift non-strict binary protocol.
	ProtocolType_LAX_BINARY ProtocolType = 2
	// The Thrift proxy will use the Thrift compact protocol.
	ProtocolType_COMPACT ProtocolType = 3
	// The Thrift proxy will use the Thrift "Twitter" protocol implemented by the finagle library.
	ProtocolType_TWITTER ProtocolType = 4
)

func (ProtocolType) EnumDescriptor

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

func (ProtocolType) String

func (x ProtocolType) String() string

type Route

type Route struct {
	// Route matching parameters.
	Match *RouteMatch `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"`
	// Route request to some upstream cluster.
	Route                *RouteAction `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Route) Descriptor

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

func (*Route) GetMatch

func (m *Route) GetMatch() *RouteMatch

func (*Route) GetRoute

func (m *Route) GetRoute() *RouteAction

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) Reset

func (m *Route) Reset()

func (*Route) String

func (m *Route) String() string

func (*Route) XXX_DiscardUnknown

func (m *Route) XXX_DiscardUnknown()

func (*Route) XXX_Marshal

func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Route) XXX_Merge

func (m *Route) XXX_Merge(src proto.Message)

func (*Route) XXX_Size

func (m *Route) XXX_Size() int

func (*Route) XXX_Unmarshal

func (m *Route) XXX_Unmarshal(b []byte) error

type RouteAction

type RouteAction struct {
	// Types that are valid to be assigned to ClusterSpecifier:
	//	*RouteAction_Cluster
	//	*RouteAction_WeightedClusters
	ClusterSpecifier isRouteAction_ClusterSpecifier `protobuf_oneof:"cluster_specifier"`
	// Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
	// the upstream cluster with metadata matching what is set in this field will be considered.
	// Note that this will be merged with what's provided in :ref: `WeightedCluster.MetadataMatch
	// <envoy_api_field_config.filter.network.thrift_proxy.v3alpha.WeightedCluster.ClusterWeight.metadata_match>`,
	// with values there taking precedence. Keys and values should be provided under the "envoy.lb"
	// metadata key.
	MetadataMatch *core.Metadata `protobuf:"bytes,3,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"`
	// Specifies a set of rate limit configurations that could be applied to the route.
	// N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
	// action with the header name ":method-name".
	RateLimits []*route.RateLimit `protobuf:"bytes,4,rep,name=rate_limits,json=rateLimits,proto3" json:"rate_limits,omitempty"`
	// Strip the service prefix from the method name, if there's a prefix. For
	// example, the method call Service:method would end up being just method.
	StripServiceName     bool     `protobuf:"varint,5,opt,name=strip_service_name,json=stripServiceName,proto3" json:"strip_service_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

[#next-free-field: 6]

func (*RouteAction) Descriptor

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

func (*RouteAction) GetCluster

func (m *RouteAction) GetCluster() string

func (*RouteAction) GetClusterSpecifier

func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier

func (*RouteAction) GetMetadataMatch

func (m *RouteAction) GetMetadataMatch() *core.Metadata

func (*RouteAction) GetRateLimits

func (m *RouteAction) GetRateLimits() []*route.RateLimit

func (*RouteAction) GetStripServiceName

func (m *RouteAction) GetStripServiceName() bool

func (*RouteAction) GetWeightedClusters

func (m *RouteAction) GetWeightedClusters() *WeightedCluster

func (*RouteAction) ProtoMessage

func (*RouteAction) ProtoMessage()

func (*RouteAction) Reset

func (m *RouteAction) Reset()

func (*RouteAction) String

func (m *RouteAction) String() string

func (*RouteAction) XXX_DiscardUnknown

func (m *RouteAction) XXX_DiscardUnknown()

func (*RouteAction) XXX_Marshal

func (m *RouteAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction) XXX_Merge

func (m *RouteAction) XXX_Merge(src proto.Message)

func (*RouteAction) XXX_OneofWrappers

func (*RouteAction) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RouteAction) XXX_Size

func (m *RouteAction) XXX_Size() int

func (*RouteAction) XXX_Unmarshal

func (m *RouteAction) XXX_Unmarshal(b []byte) error

type RouteAction_Cluster

type RouteAction_Cluster struct {
	Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3,oneof"`
}

type RouteAction_WeightedClusters

type RouteAction_WeightedClusters struct {
	WeightedClusters *WeightedCluster `protobuf:"bytes,2,opt,name=weighted_clusters,json=weightedClusters,proto3,oneof"`
}

type RouteConfiguration

type RouteConfiguration struct {
	// The name of the route configuration. Reserved for future use in asynchronous route discovery.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The list of routes that will be matched, in order, against incoming requests. The first route
	// that matches will be used.
	Routes               []*Route `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RouteConfiguration) Descriptor

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

func (*RouteConfiguration) GetName

func (m *RouteConfiguration) GetName() string

func (*RouteConfiguration) GetRoutes

func (m *RouteConfiguration) GetRoutes() []*Route

func (*RouteConfiguration) ProtoMessage

func (*RouteConfiguration) ProtoMessage()

func (*RouteConfiguration) Reset

func (m *RouteConfiguration) Reset()

func (*RouteConfiguration) String

func (m *RouteConfiguration) String() string

func (*RouteConfiguration) XXX_DiscardUnknown

func (m *RouteConfiguration) XXX_DiscardUnknown()

func (*RouteConfiguration) XXX_Marshal

func (m *RouteConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteConfiguration) XXX_Merge

func (m *RouteConfiguration) XXX_Merge(src proto.Message)

func (*RouteConfiguration) XXX_Size

func (m *RouteConfiguration) XXX_Size() int

func (*RouteConfiguration) XXX_Unmarshal

func (m *RouteConfiguration) XXX_Unmarshal(b []byte) error

type RouteMatch

type RouteMatch struct {
	// Types that are valid to be assigned to MatchSpecifier:
	//	*RouteMatch_MethodName
	//	*RouteMatch_ServiceName
	MatchSpecifier isRouteMatch_MatchSpecifier `protobuf_oneof:"match_specifier"`
	// Inverts whatever matching is done in the :ref:`method_name
	// <envoy_api_field_config.filter.network.thrift_proxy.v3alpha.RouteMatch.method_name>` or
	// :ref:`service_name
	// <envoy_api_field_config.filter.network.thrift_proxy.v3alpha.RouteMatch.service_name>` fields.
	// Cannot be combined with wildcard matching as that would result in routes never being matched.
	//
	// .. note::
	//
	//   This does not invert matching done as part of the :ref:`headers field
	//   <envoy_api_field_config.filter.network.thrift_proxy.v3alpha.RouteMatch.headers>` field. To
	//   invert header matching, see :ref:`invert_match
	//   <envoy_api_field_api.v3alpha.route.HeaderMatcher.invert_match>`.
	Invert bool `protobuf:"varint,3,opt,name=invert,proto3" json:"invert,omitempty"`
	// Specifies a set of headers that the route should match on. The router will check the request’s
	// headers against all the specified headers in the route config. A match will happen if all the
	// headers in the route are present in the request with the same values (or based on presence if
	// the value field is not in the config). Note that this only applies for Thrift transports and/or
	// protocols that support headers.
	Headers              []*route.HeaderMatcher `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*RouteMatch) Descriptor

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

func (*RouteMatch) GetHeaders

func (m *RouteMatch) GetHeaders() []*route.HeaderMatcher

func (*RouteMatch) GetInvert

func (m *RouteMatch) GetInvert() bool

func (*RouteMatch) GetMatchSpecifier

func (m *RouteMatch) GetMatchSpecifier() isRouteMatch_MatchSpecifier

func (*RouteMatch) GetMethodName

func (m *RouteMatch) GetMethodName() string

func (*RouteMatch) GetServiceName

func (m *RouteMatch) GetServiceName() string

func (*RouteMatch) ProtoMessage

func (*RouteMatch) ProtoMessage()

func (*RouteMatch) Reset

func (m *RouteMatch) Reset()

func (*RouteMatch) String

func (m *RouteMatch) String() string

func (*RouteMatch) XXX_DiscardUnknown

func (m *RouteMatch) XXX_DiscardUnknown()

func (*RouteMatch) XXX_Marshal

func (m *RouteMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteMatch) XXX_Merge

func (m *RouteMatch) XXX_Merge(src proto.Message)

func (*RouteMatch) XXX_OneofWrappers

func (*RouteMatch) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RouteMatch) XXX_Size

func (m *RouteMatch) XXX_Size() int

func (*RouteMatch) XXX_Unmarshal

func (m *RouteMatch) XXX_Unmarshal(b []byte) error

type RouteMatch_MethodName

type RouteMatch_MethodName struct {
	MethodName string `protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3,oneof"`
}

type RouteMatch_ServiceName

type RouteMatch_ServiceName struct {
	ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3,oneof"`
}

type ThriftFilter

type ThriftFilter struct {
	// The name of the filter to instantiate. The name must match a supported
	// filter. The built-in filters are:
	//
	// [#comment:TODO(zuercher): Auto generate the following list]
	// * :ref:`envoy.filters.thrift.router <config_thrift_filters_router>`
	// * :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Filter specific configuration which depends on the filter being instantiated. See the supported
	// filters for further documentation.
	//
	// Types that are valid to be assigned to ConfigType:
	//	*ThriftFilter_TypedConfig
	ConfigType           isThriftFilter_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

ThriftFilter configures a Thrift filter.

func (*ThriftFilter) Descriptor

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

func (*ThriftFilter) GetConfigType

func (m *ThriftFilter) GetConfigType() isThriftFilter_ConfigType

func (*ThriftFilter) GetName

func (m *ThriftFilter) GetName() string

func (*ThriftFilter) GetTypedConfig

func (m *ThriftFilter) GetTypedConfig() *types.Any

func (*ThriftFilter) ProtoMessage

func (*ThriftFilter) ProtoMessage()

func (*ThriftFilter) Reset

func (m *ThriftFilter) Reset()

func (*ThriftFilter) String

func (m *ThriftFilter) String() string

func (*ThriftFilter) XXX_DiscardUnknown

func (m *ThriftFilter) XXX_DiscardUnknown()

func (*ThriftFilter) XXX_Marshal

func (m *ThriftFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ThriftFilter) XXX_Merge

func (m *ThriftFilter) XXX_Merge(src proto.Message)

func (*ThriftFilter) XXX_OneofWrappers

func (*ThriftFilter) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ThriftFilter) XXX_Size

func (m *ThriftFilter) XXX_Size() int

func (*ThriftFilter) XXX_Unmarshal

func (m *ThriftFilter) XXX_Unmarshal(b []byte) error

type ThriftFilter_TypedConfig

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

type ThriftProtocolOptions

type ThriftProtocolOptions struct {
	// Supplies the type of transport that the Thrift proxy should use for upstream connections.
	// Selecting
	// :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v3alpha.TransportType.AUTO_TRANSPORT>`,
	// which is the default, causes the proxy to use the same transport as the downstream connection.
	Transport TransportType `` /* 140-byte string literal not displayed */
	// Supplies the type of protocol that the Thrift proxy should use for upstream connections.
	// Selecting
	// :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v3alpha.ProtocolType.AUTO_PROTOCOL>`,
	// which is the default, causes the proxy to use the same protocol as the downstream connection.
	Protocol             ProtocolType `` /* 137-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

ThriftProtocolOptions specifies Thrift upstream protocol options. This object is used in in :ref:`extension_protocol_options<envoy_api_field_api.v3alpha.Cluster.extension_protocol_options>`, keyed by the name `envoy.filters.network.thrift_proxy`.

func (*ThriftProtocolOptions) Descriptor

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

func (*ThriftProtocolOptions) GetProtocol

func (m *ThriftProtocolOptions) GetProtocol() ProtocolType

func (*ThriftProtocolOptions) GetTransport

func (m *ThriftProtocolOptions) GetTransport() TransportType

func (*ThriftProtocolOptions) ProtoMessage

func (*ThriftProtocolOptions) ProtoMessage()

func (*ThriftProtocolOptions) Reset

func (m *ThriftProtocolOptions) Reset()

func (*ThriftProtocolOptions) String

func (m *ThriftProtocolOptions) String() string

func (*ThriftProtocolOptions) XXX_DiscardUnknown

func (m *ThriftProtocolOptions) XXX_DiscardUnknown()

func (*ThriftProtocolOptions) XXX_Marshal

func (m *ThriftProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ThriftProtocolOptions) XXX_Merge

func (m *ThriftProtocolOptions) XXX_Merge(src proto.Message)

func (*ThriftProtocolOptions) XXX_Size

func (m *ThriftProtocolOptions) XXX_Size() int

func (*ThriftProtocolOptions) XXX_Unmarshal

func (m *ThriftProtocolOptions) XXX_Unmarshal(b []byte) error

type ThriftProxy

type ThriftProxy struct {
	// Supplies the type of transport that the Thrift proxy should use. Defaults to
	// :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v3alpha.TransportType.AUTO_TRANSPORT>`.
	Transport TransportType `` /* 140-byte string literal not displayed */
	// Supplies the type of protocol that the Thrift proxy should use. Defaults to
	// :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v3alpha.ProtocolType.AUTO_PROTOCOL>`.
	Protocol ProtocolType `` /* 137-byte string literal not displayed */
	// The human readable prefix to use when emitting statistics.
	StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// The route table for the connection manager is static and is specified in this property.
	RouteConfig *RouteConfiguration `protobuf:"bytes,4,opt,name=route_config,json=routeConfig,proto3" json:"route_config,omitempty"`
	// A list of individual Thrift filters that make up the filter chain for requests made to the
	// Thrift proxy. Order matters as the filters are processed sequentially. For backwards
	// compatibility, if no thrift_filters are specified, a default Thrift router filter
	// (`envoy.filters.thrift.router`) is used.
	ThriftFilters        []*ThriftFilter `protobuf:"bytes,5,rep,name=thrift_filters,json=thriftFilters,proto3" json:"thrift_filters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

[#next-free-field: 6]

func (*ThriftProxy) Descriptor

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

func (*ThriftProxy) GetProtocol

func (m *ThriftProxy) GetProtocol() ProtocolType

func (*ThriftProxy) GetRouteConfig

func (m *ThriftProxy) GetRouteConfig() *RouteConfiguration

func (*ThriftProxy) GetStatPrefix

func (m *ThriftProxy) GetStatPrefix() string

func (*ThriftProxy) GetThriftFilters

func (m *ThriftProxy) GetThriftFilters() []*ThriftFilter

func (*ThriftProxy) GetTransport

func (m *ThriftProxy) GetTransport() TransportType

func (*ThriftProxy) ProtoMessage

func (*ThriftProxy) ProtoMessage()

func (*ThriftProxy) Reset

func (m *ThriftProxy) Reset()

func (*ThriftProxy) String

func (m *ThriftProxy) String() string

func (*ThriftProxy) XXX_DiscardUnknown

func (m *ThriftProxy) XXX_DiscardUnknown()

func (*ThriftProxy) XXX_Marshal

func (m *ThriftProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ThriftProxy) XXX_Merge

func (m *ThriftProxy) XXX_Merge(src proto.Message)

func (*ThriftProxy) XXX_Size

func (m *ThriftProxy) XXX_Size() int

func (*ThriftProxy) XXX_Unmarshal

func (m *ThriftProxy) XXX_Unmarshal(b []byte) error

type TransportType

type TransportType int32

Thrift transport types supported by Envoy.

const (
	// For downstream connections, the Thrift proxy will attempt to determine which transport to use.
	// For upstream connections, the Thrift proxy will use same transport as the downstream
	// connection.
	TransportType_AUTO_TRANSPORT TransportType = 0
	// The Thrift proxy will use the Thrift framed transport.
	TransportType_FRAMED TransportType = 1
	// The Thrift proxy will use the Thrift unframed transport.
	TransportType_UNFRAMED TransportType = 2
	// The Thrift proxy will assume the client is using the Thrift header transport.
	TransportType_HEADER TransportType = 3
)

func (TransportType) EnumDescriptor

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

func (TransportType) String

func (x TransportType) String() string

type WeightedCluster

type WeightedCluster struct {
	// Specifies one or more upstream clusters associated with the route.
	Clusters             []*WeightedCluster_ClusterWeight `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

Allows for specification of multiple upstream clusters along with weights that indicate the percentage of traffic to be forwarded to each cluster. The router selects an upstream cluster based on these weights.

func (*WeightedCluster) Descriptor

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

func (*WeightedCluster) GetClusters

func (m *WeightedCluster) GetClusters() []*WeightedCluster_ClusterWeight

func (*WeightedCluster) ProtoMessage

func (*WeightedCluster) ProtoMessage()

func (*WeightedCluster) Reset

func (m *WeightedCluster) Reset()

func (*WeightedCluster) String

func (m *WeightedCluster) String() string

func (*WeightedCluster) XXX_DiscardUnknown

func (m *WeightedCluster) XXX_DiscardUnknown()

func (*WeightedCluster) XXX_Marshal

func (m *WeightedCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WeightedCluster) XXX_Merge

func (m *WeightedCluster) XXX_Merge(src proto.Message)

func (*WeightedCluster) XXX_Size

func (m *WeightedCluster) XXX_Size() int

func (*WeightedCluster) XXX_Unmarshal

func (m *WeightedCluster) XXX_Unmarshal(b []byte) error

type WeightedCluster_ClusterWeight

type WeightedCluster_ClusterWeight struct {
	// Name of the upstream cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When a request matches the route, the choice of an upstream cluster is determined by its
	// weight. The sum of weights across all entries in the clusters array determines the total
	// weight.
	Weight *types.UInt32Value `protobuf:"bytes,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
	// the upstream cluster with metadata matching what is set in this field, combined with what's
	// provided in :ref: `RouteAction's metadata_match
	// <envoy_api_field_config.filter.network.thrift_proxy.v3alpha.RouteAction.metadata_match>`,
	// will be considered. Values here will take precedence. Keys and values should be provided
	// under the "envoy.lb" metadata key.
	MetadataMatch        *core.Metadata `protobuf:"bytes,3,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*WeightedCluster_ClusterWeight) Descriptor

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

func (*WeightedCluster_ClusterWeight) GetMetadataMatch

func (m *WeightedCluster_ClusterWeight) GetMetadataMatch() *core.Metadata

func (*WeightedCluster_ClusterWeight) GetName

func (*WeightedCluster_ClusterWeight) GetWeight

func (*WeightedCluster_ClusterWeight) ProtoMessage

func (*WeightedCluster_ClusterWeight) ProtoMessage()

func (*WeightedCluster_ClusterWeight) Reset

func (m *WeightedCluster_ClusterWeight) Reset()

func (*WeightedCluster_ClusterWeight) String

func (*WeightedCluster_ClusterWeight) XXX_DiscardUnknown

func (m *WeightedCluster_ClusterWeight) XXX_DiscardUnknown()

func (*WeightedCluster_ClusterWeight) XXX_Marshal

func (m *WeightedCluster_ClusterWeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WeightedCluster_ClusterWeight) XXX_Merge

func (m *WeightedCluster_ClusterWeight) XXX_Merge(src proto.Message)

func (*WeightedCluster_ClusterWeight) XXX_Size

func (m *WeightedCluster_ClusterWeight) XXX_Size() int

func (*WeightedCluster_ClusterWeight) XXX_Unmarshal

func (m *WeightedCluster_ClusterWeight) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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