Documentation ¶
Index ¶
- Variables
- type RouteAction
- func (*RouteAction) Descriptor() ([]byte, []int)deprecated
- func (x *RouteAction) GetCluster() string
- func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier
- func (x *RouteAction) GetMetadata() *v3.Metadata
- func (x *RouteAction) GetName() string
- func (x *RouteAction) GetPerFilterConfig() map[string]*anypb.Any
- func (x *RouteAction) GetWeightedClusters() *v31.WeightedCluster
- func (*RouteAction) ProtoMessage()
- func (x *RouteAction) ProtoReflect() protoreflect.Message
- func (x *RouteAction) Reset()
- func (x *RouteAction) String() string
- type RouteAction_Cluster
- type RouteAction_WeightedClusters
Constants ¶
This section is empty.
Variables ¶
View Source
var File_contrib_envoy_extensions_filters_network_generic_proxy_action_v3_action_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RouteAction ¶
type RouteAction struct { // The name of the route action. This should be unique across all route actions. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to ClusterSpecifier: // // *RouteAction_Cluster // *RouteAction_WeightedClusters ClusterSpecifier isRouteAction_ClusterSpecifier `protobuf_oneof:"cluster_specifier"` // Route metadata. Metadata *v3.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Route level config for L7 generic filters. The key should be the related :ref:`extension name // <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` in the :ref:`generic filters // <envoy_v3_api_field_extensions.filters.network.generic_proxy.v3.GenericProxy.filters>`. PerFilterConfig map[string]*anypb.Any `` /* 196-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for the route match action. [#next-free-field: 6]
func (*RouteAction) Descriptor
deprecated
func (*RouteAction) Descriptor() ([]byte, []int)
Deprecated: Use RouteAction.ProtoReflect.Descriptor instead.
func (*RouteAction) GetCluster ¶
func (x *RouteAction) GetCluster() string
func (*RouteAction) GetClusterSpecifier ¶
func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier
func (*RouteAction) GetMetadata ¶
func (x *RouteAction) GetMetadata() *v3.Metadata
func (*RouteAction) GetName ¶
func (x *RouteAction) GetName() string
func (*RouteAction) GetPerFilterConfig ¶
func (x *RouteAction) GetPerFilterConfig() map[string]*anypb.Any
func (*RouteAction) GetWeightedClusters ¶
func (x *RouteAction) GetWeightedClusters() *v31.WeightedCluster
func (*RouteAction) ProtoMessage ¶
func (*RouteAction) ProtoMessage()
func (*RouteAction) ProtoReflect ¶
func (x *RouteAction) ProtoReflect() protoreflect.Message
func (*RouteAction) Reset ¶
func (x *RouteAction) Reset()
func (*RouteAction) String ¶
func (x *RouteAction) String() string
type RouteAction_Cluster ¶
type RouteAction_Cluster struct { // Indicates the upstream cluster to which the request should be routed. Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3,oneof"` }
type RouteAction_WeightedClusters ¶
type RouteAction_WeightedClusters struct { // [#not-implemented-hide:] // Multiple upstream clusters can be specified for a given route. The request is routed to one // of the upstream clusters based on weights assigned to each cluster. // Currently ClusterWeight only supports the name and weight fields. WeightedClusters *v31.WeightedCluster `protobuf:"bytes,2,opt,name=weighted_clusters,json=weightedClusters,proto3,oneof"` }
Click to show internal directories.
Click to hide internal directories.