Documentation
¶
Index ¶
- Variables
- type ProtocolType
- type Route
- func (*Route) Descriptor() ([]byte, []int)
- func (m *Route) GetMatch() *RouteMatch
- func (m *Route) GetRoute() *RouteAction
- func (*Route) ProtoMessage()
- func (m *Route) Reset()
- func (m *Route) String() string
- func (m *Route) Validate() error
- func (m *Route) XXX_DiscardUnknown()
- func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Route) XXX_Merge(src proto.Message)
- func (m *Route) XXX_Size() int
- func (m *Route) XXX_Unmarshal(b []byte) error
- type RouteAction
- func (*RouteAction) Descriptor() ([]byte, []int)
- func (m *RouteAction) GetCluster() string
- func (m *RouteAction) GetClusterHeader() string
- func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier
- func (m *RouteAction) GetMetadataMatch() *v31.Metadata
- func (m *RouteAction) GetRateLimits() []*v3.RateLimit
- func (m *RouteAction) GetStripServiceName() bool
- func (m *RouteAction) GetWeightedClusters() *WeightedCluster
- func (*RouteAction) ProtoMessage()
- func (m *RouteAction) Reset()
- func (m *RouteAction) String() string
- func (m *RouteAction) Validate() error
- func (m *RouteAction) XXX_DiscardUnknown()
- func (m *RouteAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouteAction) XXX_Merge(src proto.Message)
- func (*RouteAction) XXX_OneofWrappers() []interface{}
- func (m *RouteAction) XXX_Size() int
- func (m *RouteAction) XXX_Unmarshal(b []byte) error
- type RouteActionValidationError
- func (e RouteActionValidationError) Cause() error
- func (e RouteActionValidationError) Error() string
- func (e RouteActionValidationError) ErrorName() string
- func (e RouteActionValidationError) Field() string
- func (e RouteActionValidationError) Key() bool
- func (e RouteActionValidationError) Reason() string
- type RouteAction_Cluster
- type RouteAction_ClusterHeader
- type RouteAction_WeightedClusters
- type RouteConfiguration
- func (*RouteConfiguration) Descriptor() ([]byte, []int)
- func (m *RouteConfiguration) GetName() string
- func (m *RouteConfiguration) GetRoutes() []*Route
- func (*RouteConfiguration) ProtoMessage()
- func (m *RouteConfiguration) Reset()
- func (m *RouteConfiguration) String() string
- func (m *RouteConfiguration) Validate() error
- func (m *RouteConfiguration) XXX_DiscardUnknown()
- func (m *RouteConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouteConfiguration) XXX_Merge(src proto.Message)
- func (m *RouteConfiguration) XXX_Size() int
- func (m *RouteConfiguration) XXX_Unmarshal(b []byte) error
- type RouteConfigurationValidationError
- func (e RouteConfigurationValidationError) Cause() error
- func (e RouteConfigurationValidationError) Error() string
- func (e RouteConfigurationValidationError) ErrorName() string
- func (e RouteConfigurationValidationError) Field() string
- func (e RouteConfigurationValidationError) Key() bool
- func (e RouteConfigurationValidationError) Reason() string
- type RouteMatch
- func (*RouteMatch) Descriptor() ([]byte, []int)
- func (m *RouteMatch) GetHeaders() []*v3.HeaderMatcher
- func (m *RouteMatch) GetInvert() bool
- func (m *RouteMatch) GetMatchSpecifier() isRouteMatch_MatchSpecifier
- func (m *RouteMatch) GetMethodName() string
- func (m *RouteMatch) GetServiceName() string
- func (*RouteMatch) ProtoMessage()
- func (m *RouteMatch) Reset()
- func (m *RouteMatch) String() string
- func (m *RouteMatch) Validate() error
- func (m *RouteMatch) XXX_DiscardUnknown()
- func (m *RouteMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouteMatch) XXX_Merge(src proto.Message)
- func (*RouteMatch) XXX_OneofWrappers() []interface{}
- func (m *RouteMatch) XXX_Size() int
- func (m *RouteMatch) XXX_Unmarshal(b []byte) error
- type RouteMatchValidationError
- type RouteMatch_MethodName
- type RouteMatch_ServiceName
- type RouteValidationError
- type ThriftFilter
- func (*ThriftFilter) Descriptor() ([]byte, []int)
- func (m *ThriftFilter) GetConfigType() isThriftFilter_ConfigType
- func (m *ThriftFilter) GetHiddenEnvoyDeprecatedConfig() *_struct.Structdeprecated
- func (m *ThriftFilter) GetName() string
- func (m *ThriftFilter) GetTypedConfig() *any.Any
- func (*ThriftFilter) ProtoMessage()
- func (m *ThriftFilter) Reset()
- func (m *ThriftFilter) String() string
- func (m *ThriftFilter) Validate() error
- func (m *ThriftFilter) XXX_DiscardUnknown()
- func (m *ThriftFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThriftFilter) XXX_Merge(src proto.Message)
- func (*ThriftFilter) XXX_OneofWrappers() []interface{}
- func (m *ThriftFilter) XXX_Size() int
- func (m *ThriftFilter) XXX_Unmarshal(b []byte) error
- type ThriftFilterValidationError
- func (e ThriftFilterValidationError) Cause() error
- func (e ThriftFilterValidationError) Error() string
- func (e ThriftFilterValidationError) ErrorName() string
- func (e ThriftFilterValidationError) Field() string
- func (e ThriftFilterValidationError) Key() bool
- func (e ThriftFilterValidationError) Reason() string
- type ThriftFilter_HiddenEnvoyDeprecatedConfig
- type ThriftFilter_TypedConfig
- type ThriftProtocolOptions
- func (*ThriftProtocolOptions) Descriptor() ([]byte, []int)
- func (m *ThriftProtocolOptions) GetProtocol() ProtocolType
- func (m *ThriftProtocolOptions) GetTransport() TransportType
- func (*ThriftProtocolOptions) ProtoMessage()
- func (m *ThriftProtocolOptions) Reset()
- func (m *ThriftProtocolOptions) String() string
- func (m *ThriftProtocolOptions) Validate() error
- func (m *ThriftProtocolOptions) XXX_DiscardUnknown()
- func (m *ThriftProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThriftProtocolOptions) XXX_Merge(src proto.Message)
- func (m *ThriftProtocolOptions) XXX_Size() int
- func (m *ThriftProtocolOptions) XXX_Unmarshal(b []byte) error
- type ThriftProtocolOptionsValidationError
- func (e ThriftProtocolOptionsValidationError) Cause() error
- func (e ThriftProtocolOptionsValidationError) Error() string
- func (e ThriftProtocolOptionsValidationError) ErrorName() string
- func (e ThriftProtocolOptionsValidationError) Field() string
- func (e ThriftProtocolOptionsValidationError) Key() bool
- func (e ThriftProtocolOptionsValidationError) Reason() string
- type ThriftProxy
- func (*ThriftProxy) Descriptor() ([]byte, []int)
- func (m *ThriftProxy) GetProtocol() ProtocolType
- func (m *ThriftProxy) GetRouteConfig() *RouteConfiguration
- func (m *ThriftProxy) GetStatPrefix() string
- func (m *ThriftProxy) GetThriftFilters() []*ThriftFilter
- func (m *ThriftProxy) GetTransport() TransportType
- func (*ThriftProxy) ProtoMessage()
- func (m *ThriftProxy) Reset()
- func (m *ThriftProxy) String() string
- func (m *ThriftProxy) Validate() error
- func (m *ThriftProxy) XXX_DiscardUnknown()
- func (m *ThriftProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThriftProxy) XXX_Merge(src proto.Message)
- func (m *ThriftProxy) XXX_Size() int
- func (m *ThriftProxy) XXX_Unmarshal(b []byte) error
- type ThriftProxyValidationError
- func (e ThriftProxyValidationError) Cause() error
- func (e ThriftProxyValidationError) Error() string
- func (e ThriftProxyValidationError) ErrorName() string
- func (e ThriftProxyValidationError) Field() string
- func (e ThriftProxyValidationError) Key() bool
- func (e ThriftProxyValidationError) Reason() string
- type TransportType
- type WeightedCluster
- func (*WeightedCluster) Descriptor() ([]byte, []int)
- func (m *WeightedCluster) GetClusters() []*WeightedCluster_ClusterWeight
- func (*WeightedCluster) ProtoMessage()
- func (m *WeightedCluster) Reset()
- func (m *WeightedCluster) String() string
- func (m *WeightedCluster) Validate() error
- func (m *WeightedCluster) XXX_DiscardUnknown()
- func (m *WeightedCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WeightedCluster) XXX_Merge(src proto.Message)
- func (m *WeightedCluster) XXX_Size() int
- func (m *WeightedCluster) XXX_Unmarshal(b []byte) error
- type WeightedClusterValidationError
- func (e WeightedClusterValidationError) Cause() error
- func (e WeightedClusterValidationError) Error() string
- func (e WeightedClusterValidationError) ErrorName() string
- func (e WeightedClusterValidationError) Field() string
- func (e WeightedClusterValidationError) Key() bool
- func (e WeightedClusterValidationError) Reason() string
- type WeightedCluster_ClusterWeight
- func (*WeightedCluster_ClusterWeight) Descriptor() ([]byte, []int)
- func (m *WeightedCluster_ClusterWeight) GetMetadataMatch() *v31.Metadata
- func (m *WeightedCluster_ClusterWeight) GetName() string
- func (m *WeightedCluster_ClusterWeight) GetWeight() *wrappers.UInt32Value
- func (*WeightedCluster_ClusterWeight) ProtoMessage()
- func (m *WeightedCluster_ClusterWeight) Reset()
- func (m *WeightedCluster_ClusterWeight) String() string
- func (m *WeightedCluster_ClusterWeight) Validate() error
- func (m *WeightedCluster_ClusterWeight) XXX_DiscardUnknown()
- func (m *WeightedCluster_ClusterWeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WeightedCluster_ClusterWeight) XXX_Merge(src proto.Message)
- func (m *WeightedCluster_ClusterWeight) XXX_Size() int
- func (m *WeightedCluster_ClusterWeight) XXX_Unmarshal(b []byte) error
- type WeightedCluster_ClusterWeightValidationError
- func (e WeightedCluster_ClusterWeightValidationError) Cause() error
- func (e WeightedCluster_ClusterWeightValidationError) Error() string
- func (e WeightedCluster_ClusterWeightValidationError) ErrorName() string
- func (e WeightedCluster_ClusterWeightValidationError) Field() string
- func (e WeightedCluster_ClusterWeightValidationError) Key() bool
- func (e WeightedCluster_ClusterWeightValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ProtocolType_name = map[int32]string{
0: "AUTO_PROTOCOL",
1: "BINARY",
2: "LAX_BINARY",
3: "COMPACT",
4: "TWITTER",
}
var ProtocolType_value = map[string]int32{
"AUTO_PROTOCOL": 0,
"BINARY": 1,
"LAX_BINARY": 2,
"COMPACT": 3,
"TWITTER": 4,
}
var TransportType_name = map[int32]string{
0: "AUTO_TRANSPORT",
1: "FRAMED",
2: "UNFRAMED",
3: "HEADER",
}
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
const ( ProtocolType_AUTO_PROTOCOL ProtocolType = 0 ProtocolType_BINARY ProtocolType = 1 ProtocolType_LAX_BINARY ProtocolType = 2 ProtocolType_COMPACT ProtocolType = 3 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 { Match *RouteMatch `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"` 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) GetMatch ¶
func (m *Route) GetMatch() *RouteMatch
func (*Route) GetRoute ¶
func (m *Route) GetRoute() *RouteAction
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) Validate ¶
Validate checks the field values on Route with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Route) XXX_DiscardUnknown ¶
func (m *Route) XXX_DiscardUnknown()
func (*Route) XXX_Marshal ¶
func (*Route) XXX_Unmarshal ¶
type RouteAction ¶
type RouteAction struct { // Types that are valid to be assigned to ClusterSpecifier: // *RouteAction_Cluster // *RouteAction_WeightedClusters // *RouteAction_ClusterHeader ClusterSpecifier isRouteAction_ClusterSpecifier `protobuf_oneof:"cluster_specifier"` MetadataMatch *v31.Metadata `protobuf:"bytes,3,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"` RateLimits []*v3.RateLimit `protobuf:"bytes,4,rep,name=rate_limits,json=rateLimits,proto3" json:"rate_limits,omitempty"` 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:"-"` }
func (*RouteAction) Descriptor ¶
func (*RouteAction) Descriptor() ([]byte, []int)
func (*RouteAction) GetCluster ¶
func (m *RouteAction) GetCluster() string
func (*RouteAction) GetClusterHeader ¶
func (m *RouteAction) GetClusterHeader() string
func (*RouteAction) GetClusterSpecifier ¶
func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier
func (*RouteAction) GetMetadataMatch ¶
func (m *RouteAction) GetMetadataMatch() *v31.Metadata
func (*RouteAction) GetRateLimits ¶
func (m *RouteAction) GetRateLimits() []*v3.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) Validate ¶
func (m *RouteAction) Validate() error
Validate checks the field values on RouteAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 RouteActionValidationError ¶
type RouteActionValidationError struct {
// contains filtered or unexported fields
}
RouteActionValidationError is the validation error returned by RouteAction.Validate if the designated constraints aren't met.
func (RouteActionValidationError) Cause ¶
func (e RouteActionValidationError) Cause() error
Cause function returns cause value.
func (RouteActionValidationError) Error ¶
func (e RouteActionValidationError) Error() string
Error satisfies the builtin error interface
func (RouteActionValidationError) ErrorName ¶
func (e RouteActionValidationError) ErrorName() string
ErrorName returns error name.
func (RouteActionValidationError) Field ¶
func (e RouteActionValidationError) Field() string
Field function returns field value.
func (RouteActionValidationError) Key ¶
func (e RouteActionValidationError) Key() bool
Key function returns key value.
func (RouteActionValidationError) Reason ¶
func (e RouteActionValidationError) Reason() string
Reason function returns reason value.
type RouteAction_Cluster ¶
type RouteAction_Cluster struct {
Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3,oneof"`
}
type RouteAction_ClusterHeader ¶
type RouteAction_ClusterHeader struct {
ClusterHeader string `protobuf:"bytes,6,opt,name=cluster_header,json=clusterHeader,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 { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 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) Validate ¶
func (m *RouteConfiguration) Validate() error
Validate checks the field values on RouteConfiguration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 RouteConfigurationValidationError ¶
type RouteConfigurationValidationError struct {
// contains filtered or unexported fields
}
RouteConfigurationValidationError is the validation error returned by RouteConfiguration.Validate if the designated constraints aren't met.
func (RouteConfigurationValidationError) Cause ¶
func (e RouteConfigurationValidationError) Cause() error
Cause function returns cause value.
func (RouteConfigurationValidationError) Error ¶
func (e RouteConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (RouteConfigurationValidationError) ErrorName ¶
func (e RouteConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (RouteConfigurationValidationError) Field ¶
func (e RouteConfigurationValidationError) Field() string
Field function returns field value.
func (RouteConfigurationValidationError) Key ¶
func (e RouteConfigurationValidationError) Key() bool
Key function returns key value.
func (RouteConfigurationValidationError) Reason ¶
func (e RouteConfigurationValidationError) Reason() string
Reason function returns reason value.
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"` Invert bool `protobuf:"varint,3,opt,name=invert,proto3" json:"invert,omitempty"` Headers []*v3.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() []*v3.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) Validate ¶
func (m *RouteMatch) Validate() error
Validate checks the field values on RouteMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 RouteMatchValidationError ¶
type RouteMatchValidationError struct {
// contains filtered or unexported fields
}
RouteMatchValidationError is the validation error returned by RouteMatch.Validate if the designated constraints aren't met.
func (RouteMatchValidationError) Cause ¶
func (e RouteMatchValidationError) Cause() error
Cause function returns cause value.
func (RouteMatchValidationError) Error ¶
func (e RouteMatchValidationError) Error() string
Error satisfies the builtin error interface
func (RouteMatchValidationError) ErrorName ¶
func (e RouteMatchValidationError) ErrorName() string
ErrorName returns error name.
func (RouteMatchValidationError) Field ¶
func (e RouteMatchValidationError) Field() string
Field function returns field value.
func (RouteMatchValidationError) Key ¶
func (e RouteMatchValidationError) Key() bool
Key function returns key value.
func (RouteMatchValidationError) Reason ¶
func (e RouteMatchValidationError) Reason() string
Reason function returns reason value.
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 RouteValidationError ¶
type RouteValidationError struct {
// contains filtered or unexported fields
}
RouteValidationError is the validation error returned by Route.Validate if the designated constraints aren't met.
func (RouteValidationError) Cause ¶
func (e RouteValidationError) Cause() error
Cause function returns cause value.
func (RouteValidationError) Error ¶
func (e RouteValidationError) Error() string
Error satisfies the builtin error interface
func (RouteValidationError) ErrorName ¶
func (e RouteValidationError) ErrorName() string
ErrorName returns error name.
func (RouteValidationError) Field ¶
func (e RouteValidationError) Field() string
Field function returns field value.
func (RouteValidationError) Key ¶
func (e RouteValidationError) Key() bool
Key function returns key value.
func (RouteValidationError) Reason ¶
func (e RouteValidationError) Reason() string
Reason function returns reason value.
type ThriftFilter ¶
type ThriftFilter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are valid to be assigned to ConfigType: // *ThriftFilter_HiddenEnvoyDeprecatedConfig // *ThriftFilter_TypedConfig ConfigType isThriftFilter_ConfigType `protobuf_oneof:"config_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThriftFilter) Descriptor ¶
func (*ThriftFilter) Descriptor() ([]byte, []int)
func (*ThriftFilter) GetConfigType ¶
func (m *ThriftFilter) GetConfigType() isThriftFilter_ConfigType
func (*ThriftFilter) GetHiddenEnvoyDeprecatedConfig
deprecated
func (m *ThriftFilter) GetHiddenEnvoyDeprecatedConfig() *_struct.Struct
Deprecated: Do not use.
func (*ThriftFilter) GetName ¶
func (m *ThriftFilter) GetName() string
func (*ThriftFilter) GetTypedConfig ¶
func (m *ThriftFilter) GetTypedConfig() *any.Any
func (*ThriftFilter) ProtoMessage ¶
func (*ThriftFilter) ProtoMessage()
func (*ThriftFilter) Reset ¶
func (m *ThriftFilter) Reset()
func (*ThriftFilter) String ¶
func (m *ThriftFilter) String() string
func (*ThriftFilter) Validate ¶
func (m *ThriftFilter) Validate() error
Validate checks the field values on ThriftFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 ThriftFilterValidationError ¶
type ThriftFilterValidationError struct {
// contains filtered or unexported fields
}
ThriftFilterValidationError is the validation error returned by ThriftFilter.Validate if the designated constraints aren't met.
func (ThriftFilterValidationError) Cause ¶
func (e ThriftFilterValidationError) Cause() error
Cause function returns cause value.
func (ThriftFilterValidationError) Error ¶
func (e ThriftFilterValidationError) Error() string
Error satisfies the builtin error interface
func (ThriftFilterValidationError) ErrorName ¶
func (e ThriftFilterValidationError) ErrorName() string
ErrorName returns error name.
func (ThriftFilterValidationError) Field ¶
func (e ThriftFilterValidationError) Field() string
Field function returns field value.
func (ThriftFilterValidationError) Key ¶
func (e ThriftFilterValidationError) Key() bool
Key function returns key value.
func (ThriftFilterValidationError) Reason ¶
func (e ThriftFilterValidationError) Reason() string
Reason function returns reason value.
type ThriftProtocolOptions ¶
type ThriftProtocolOptions struct { Transport TransportType `` /* 140-byte string literal not displayed */ Protocol ProtocolType `` /* 137-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) Validate ¶
func (m *ThriftProtocolOptions) Validate() error
Validate checks the field values on ThriftProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 ThriftProtocolOptionsValidationError ¶
type ThriftProtocolOptionsValidationError struct {
// contains filtered or unexported fields
}
ThriftProtocolOptionsValidationError is the validation error returned by ThriftProtocolOptions.Validate if the designated constraints aren't met.
func (ThriftProtocolOptionsValidationError) Cause ¶
func (e ThriftProtocolOptionsValidationError) Cause() error
Cause function returns cause value.
func (ThriftProtocolOptionsValidationError) Error ¶
func (e ThriftProtocolOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (ThriftProtocolOptionsValidationError) ErrorName ¶
func (e ThriftProtocolOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (ThriftProtocolOptionsValidationError) Field ¶
func (e ThriftProtocolOptionsValidationError) Field() string
Field function returns field value.
func (ThriftProtocolOptionsValidationError) Key ¶
func (e ThriftProtocolOptionsValidationError) Key() bool
Key function returns key value.
func (ThriftProtocolOptionsValidationError) Reason ¶
func (e ThriftProtocolOptionsValidationError) Reason() string
Reason function returns reason value.
type ThriftProxy ¶
type ThriftProxy struct { Transport TransportType `` /* 140-byte string literal not displayed */ Protocol ProtocolType `` /* 137-byte string literal not displayed */ StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` RouteConfig *RouteConfiguration `protobuf:"bytes,4,opt,name=route_config,json=routeConfig,proto3" json:"route_config,omitempty"` 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:"-"` }
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) Validate ¶
func (m *ThriftProxy) Validate() error
Validate checks the field values on ThriftProxy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 ThriftProxyValidationError ¶
type ThriftProxyValidationError struct {
// contains filtered or unexported fields
}
ThriftProxyValidationError is the validation error returned by ThriftProxy.Validate if the designated constraints aren't met.
func (ThriftProxyValidationError) Cause ¶
func (e ThriftProxyValidationError) Cause() error
Cause function returns cause value.
func (ThriftProxyValidationError) Error ¶
func (e ThriftProxyValidationError) Error() string
Error satisfies the builtin error interface
func (ThriftProxyValidationError) ErrorName ¶
func (e ThriftProxyValidationError) ErrorName() string
ErrorName returns error name.
func (ThriftProxyValidationError) Field ¶
func (e ThriftProxyValidationError) Field() string
Field function returns field value.
func (ThriftProxyValidationError) Key ¶
func (e ThriftProxyValidationError) Key() bool
Key function returns key value.
func (ThriftProxyValidationError) Reason ¶
func (e ThriftProxyValidationError) Reason() string
Reason function returns reason value.
type TransportType ¶
type TransportType int32
const ( TransportType_AUTO_TRANSPORT TransportType = 0 TransportType_FRAMED TransportType = 1 TransportType_UNFRAMED TransportType = 2 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 { 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:"-"` }
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) Validate ¶
func (m *WeightedCluster) Validate() error
Validate checks the field values on WeightedCluster with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 WeightedClusterValidationError ¶
type WeightedClusterValidationError struct {
// contains filtered or unexported fields
}
WeightedClusterValidationError is the validation error returned by WeightedCluster.Validate if the designated constraints aren't met.
func (WeightedClusterValidationError) Cause ¶
func (e WeightedClusterValidationError) Cause() error
Cause function returns cause value.
func (WeightedClusterValidationError) Error ¶
func (e WeightedClusterValidationError) Error() string
Error satisfies the builtin error interface
func (WeightedClusterValidationError) ErrorName ¶
func (e WeightedClusterValidationError) ErrorName() string
ErrorName returns error name.
func (WeightedClusterValidationError) Field ¶
func (e WeightedClusterValidationError) Field() string
Field function returns field value.
func (WeightedClusterValidationError) Key ¶
func (e WeightedClusterValidationError) Key() bool
Key function returns key value.
func (WeightedClusterValidationError) Reason ¶
func (e WeightedClusterValidationError) Reason() string
Reason function returns reason value.
type WeightedCluster_ClusterWeight ¶
type WeightedCluster_ClusterWeight struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Weight *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=weight,proto3" json:"weight,omitempty"` MetadataMatch *v31.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() *v31.Metadata
func (*WeightedCluster_ClusterWeight) GetName ¶
func (m *WeightedCluster_ClusterWeight) GetName() string
func (*WeightedCluster_ClusterWeight) GetWeight ¶
func (m *WeightedCluster_ClusterWeight) GetWeight() *wrappers.UInt32Value
func (*WeightedCluster_ClusterWeight) ProtoMessage ¶
func (*WeightedCluster_ClusterWeight) ProtoMessage()
func (*WeightedCluster_ClusterWeight) Reset ¶
func (m *WeightedCluster_ClusterWeight) Reset()
func (*WeightedCluster_ClusterWeight) String ¶
func (m *WeightedCluster_ClusterWeight) String() string
func (*WeightedCluster_ClusterWeight) Validate ¶
func (m *WeightedCluster_ClusterWeight) Validate() error
Validate checks the field values on WeightedCluster_ClusterWeight with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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
type WeightedCluster_ClusterWeightValidationError ¶
type WeightedCluster_ClusterWeightValidationError struct {
// contains filtered or unexported fields
}
WeightedCluster_ClusterWeightValidationError is the validation error returned by WeightedCluster_ClusterWeight.Validate if the designated constraints aren't met.
func (WeightedCluster_ClusterWeightValidationError) Cause ¶
func (e WeightedCluster_ClusterWeightValidationError) Cause() error
Cause function returns cause value.
func (WeightedCluster_ClusterWeightValidationError) Error ¶
func (e WeightedCluster_ClusterWeightValidationError) Error() string
Error satisfies the builtin error interface
func (WeightedCluster_ClusterWeightValidationError) ErrorName ¶
func (e WeightedCluster_ClusterWeightValidationError) ErrorName() string
ErrorName returns error name.
func (WeightedCluster_ClusterWeightValidationError) Field ¶
func (e WeightedCluster_ClusterWeightValidationError) Field() string
Field function returns field value.
func (WeightedCluster_ClusterWeightValidationError) Key ¶
func (e WeightedCluster_ClusterWeightValidationError) Key() bool
Key function returns key value.
func (WeightedCluster_ClusterWeightValidationError) Reason ¶
func (e WeightedCluster_ClusterWeightValidationError) Reason() string
Reason function returns reason value.