Documentation ¶
Index ¶
- Variables
- type DubboFilter
- func (*DubboFilter) Descriptor() ([]byte, []int)deprecated
- func (x *DubboFilter) GetConfig() *any.Any
- func (x *DubboFilter) GetName() string
- func (*DubboFilter) ProtoMessage()
- func (x *DubboFilter) ProtoReflect() protoreflect.Message
- func (x *DubboFilter) Reset()
- func (x *DubboFilter) String() string
- func (m *DubboFilter) Validate() error
- type DubboFilterValidationError
- func (e DubboFilterValidationError) Cause() error
- func (e DubboFilterValidationError) Error() string
- func (e DubboFilterValidationError) ErrorName() string
- func (e DubboFilterValidationError) Field() string
- func (e DubboFilterValidationError) Key() bool
- func (e DubboFilterValidationError) Reason() string
- type DubboProxy
- func (*DubboProxy) Descriptor() ([]byte, []int)deprecated
- func (x *DubboProxy) GetDubboFilters() []*DubboFilter
- func (x *DubboProxy) GetProtocolType() ProtocolType
- func (x *DubboProxy) GetRouteConfig() []*RouteConfiguration
- func (x *DubboProxy) GetSerializationType() SerializationType
- func (x *DubboProxy) GetStatPrefix() string
- func (*DubboProxy) ProtoMessage()
- func (x *DubboProxy) ProtoReflect() protoreflect.Message
- func (x *DubboProxy) Reset()
- func (x *DubboProxy) String() string
- func (m *DubboProxy) Validate() error
- type DubboProxyValidationError
- type MethodMatch
- func (*MethodMatch) Descriptor() ([]byte, []int)deprecated
- func (x *MethodMatch) GetName() *matcher.StringMatcher
- func (x *MethodMatch) GetParamsMatch() map[uint32]*MethodMatch_ParameterMatchSpecifier
- func (*MethodMatch) ProtoMessage()
- func (x *MethodMatch) ProtoReflect() protoreflect.Message
- func (x *MethodMatch) Reset()
- func (x *MethodMatch) String() string
- func (m *MethodMatch) Validate() error
- type MethodMatchValidationError
- func (e MethodMatchValidationError) Cause() error
- func (e MethodMatchValidationError) Error() string
- func (e MethodMatchValidationError) ErrorName() string
- func (e MethodMatchValidationError) Field() string
- func (e MethodMatchValidationError) Key() bool
- func (e MethodMatchValidationError) Reason() string
- type MethodMatch_ParameterMatchSpecifier
- func (*MethodMatch_ParameterMatchSpecifier) Descriptor() ([]byte, []int)deprecated
- func (x *MethodMatch_ParameterMatchSpecifier) GetExactMatch() string
- func (m *MethodMatch_ParameterMatchSpecifier) GetParameterMatchSpecifier() isMethodMatch_ParameterMatchSpecifier_ParameterMatchSpecifier
- func (x *MethodMatch_ParameterMatchSpecifier) GetRangeMatch() *_type.Int64Range
- func (*MethodMatch_ParameterMatchSpecifier) ProtoMessage()
- func (x *MethodMatch_ParameterMatchSpecifier) ProtoReflect() protoreflect.Message
- func (x *MethodMatch_ParameterMatchSpecifier) Reset()
- func (x *MethodMatch_ParameterMatchSpecifier) String() string
- func (m *MethodMatch_ParameterMatchSpecifier) Validate() error
- type MethodMatch_ParameterMatchSpecifierValidationError
- func (e MethodMatch_ParameterMatchSpecifierValidationError) Cause() error
- func (e MethodMatch_ParameterMatchSpecifierValidationError) Error() string
- func (e MethodMatch_ParameterMatchSpecifierValidationError) ErrorName() string
- func (e MethodMatch_ParameterMatchSpecifierValidationError) Field() string
- func (e MethodMatch_ParameterMatchSpecifierValidationError) Key() bool
- func (e MethodMatch_ParameterMatchSpecifierValidationError) Reason() string
- type MethodMatch_ParameterMatchSpecifier_ExactMatch
- type MethodMatch_ParameterMatchSpecifier_RangeMatch
- type ProtocolType
- func (ProtocolType) Descriptor() protoreflect.EnumDescriptor
- func (x ProtocolType) Enum() *ProtocolType
- func (ProtocolType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProtocolType) Number() protoreflect.EnumNumber
- func (x ProtocolType) String() string
- func (ProtocolType) Type() protoreflect.EnumType
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetMatch() *RouteMatch
- func (x *Route) GetRoute() *RouteAction
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
- func (m *Route) Validate() error
- type RouteAction
- func (*RouteAction) Descriptor() ([]byte, []int)deprecated
- func (x *RouteAction) GetCluster() string
- func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier
- func (x *RouteAction) GetWeightedClusters() *route.WeightedCluster
- func (*RouteAction) ProtoMessage()
- func (x *RouteAction) ProtoReflect() protoreflect.Message
- func (x *RouteAction) Reset()
- func (x *RouteAction) String() string
- func (m *RouteAction) Validate() 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_WeightedClusters
- type RouteConfiguration
- func (*RouteConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *RouteConfiguration) GetGroup() string
- func (x *RouteConfiguration) GetInterface() string
- func (x *RouteConfiguration) GetName() string
- func (x *RouteConfiguration) GetRoutes() []*Route
- func (x *RouteConfiguration) GetVersion() string
- func (*RouteConfiguration) ProtoMessage()
- func (x *RouteConfiguration) ProtoReflect() protoreflect.Message
- func (x *RouteConfiguration) Reset()
- func (x *RouteConfiguration) String() string
- func (m *RouteConfiguration) Validate() 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)deprecated
- func (x *RouteMatch) GetHeaders() []*route.HeaderMatcher
- func (x *RouteMatch) GetMethod() *MethodMatch
- func (*RouteMatch) ProtoMessage()
- func (x *RouteMatch) ProtoReflect() protoreflect.Message
- func (x *RouteMatch) Reset()
- func (x *RouteMatch) String() string
- func (m *RouteMatch) Validate() error
- type RouteMatchValidationError
- type RouteValidationError
- type SerializationType
- func (SerializationType) Descriptor() protoreflect.EnumDescriptor
- func (x SerializationType) Enum() *SerializationType
- func (SerializationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SerializationType) Number() protoreflect.EnumNumber
- func (x SerializationType) String() string
- func (SerializationType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( ProtocolType_name = map[int32]string{ 0: "Dubbo", } ProtocolType_value = map[string]int32{ "Dubbo": 0, } )
Enum value maps for ProtocolType.
var ( SerializationType_name = map[int32]string{ 0: "Hessian2", } SerializationType_value = map[string]int32{ "Hessian2": 0, } )
Enum value maps for SerializationType.
var File_envoy_config_filter_network_dubbo_proxy_v2alpha1_dubbo_proxy_proto protoreflect.FileDescriptor
var File_envoy_config_filter_network_dubbo_proxy_v2alpha1_route_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DubboFilter ¶
type DubboFilter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Config *any.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*DubboFilter) Descriptor
deprecated
func (*DubboFilter) Descriptor() ([]byte, []int)
Deprecated: Use DubboFilter.ProtoReflect.Descriptor instead.
func (*DubboFilter) GetConfig ¶
func (x *DubboFilter) GetConfig() *any.Any
func (*DubboFilter) GetName ¶
func (x *DubboFilter) GetName() string
func (*DubboFilter) ProtoMessage ¶
func (*DubboFilter) ProtoMessage()
func (*DubboFilter) ProtoReflect ¶ added in v1.7.0
func (x *DubboFilter) ProtoReflect() protoreflect.Message
func (*DubboFilter) Reset ¶
func (x *DubboFilter) Reset()
func (*DubboFilter) String ¶
func (x *DubboFilter) String() string
func (*DubboFilter) Validate ¶
func (m *DubboFilter) Validate() error
Validate checks the field values on DubboFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DubboFilterValidationError ¶
type DubboFilterValidationError struct {
// contains filtered or unexported fields
}
DubboFilterValidationError is the validation error returned by DubboFilter.Validate if the designated constraints aren't met.
func (DubboFilterValidationError) Cause ¶
func (e DubboFilterValidationError) Cause() error
Cause function returns cause value.
func (DubboFilterValidationError) Error ¶
func (e DubboFilterValidationError) Error() string
Error satisfies the builtin error interface
func (DubboFilterValidationError) ErrorName ¶
func (e DubboFilterValidationError) ErrorName() string
ErrorName returns error name.
func (DubboFilterValidationError) Field ¶
func (e DubboFilterValidationError) Field() string
Field function returns field value.
func (DubboFilterValidationError) Key ¶
func (e DubboFilterValidationError) Key() bool
Key function returns key value.
func (DubboFilterValidationError) Reason ¶
func (e DubboFilterValidationError) Reason() string
Reason function returns reason value.
type DubboProxy ¶
type DubboProxy struct { StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` ProtocolType ProtocolType `` /* 165-byte string literal not displayed */ SerializationType SerializationType `` /* 185-byte string literal not displayed */ RouteConfig []*RouteConfiguration `protobuf:"bytes,4,rep,name=route_config,json=routeConfig,proto3" json:"route_config,omitempty"` DubboFilters []*DubboFilter `protobuf:"bytes,5,rep,name=dubbo_filters,json=dubboFilters,proto3" json:"dubbo_filters,omitempty"` // contains filtered or unexported fields }
func (*DubboProxy) Descriptor
deprecated
func (*DubboProxy) Descriptor() ([]byte, []int)
Deprecated: Use DubboProxy.ProtoReflect.Descriptor instead.
func (*DubboProxy) GetDubboFilters ¶
func (x *DubboProxy) GetDubboFilters() []*DubboFilter
func (*DubboProxy) GetProtocolType ¶
func (x *DubboProxy) GetProtocolType() ProtocolType
func (*DubboProxy) GetRouteConfig ¶
func (x *DubboProxy) GetRouteConfig() []*RouteConfiguration
func (*DubboProxy) GetSerializationType ¶
func (x *DubboProxy) GetSerializationType() SerializationType
func (*DubboProxy) GetStatPrefix ¶
func (x *DubboProxy) GetStatPrefix() string
func (*DubboProxy) ProtoMessage ¶
func (*DubboProxy) ProtoMessage()
func (*DubboProxy) ProtoReflect ¶ added in v1.7.0
func (x *DubboProxy) ProtoReflect() protoreflect.Message
func (*DubboProxy) Reset ¶
func (x *DubboProxy) Reset()
func (*DubboProxy) String ¶
func (x *DubboProxy) String() string
func (*DubboProxy) Validate ¶
func (m *DubboProxy) Validate() error
Validate checks the field values on DubboProxy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DubboProxyValidationError ¶
type DubboProxyValidationError struct {
// contains filtered or unexported fields
}
DubboProxyValidationError is the validation error returned by DubboProxy.Validate if the designated constraints aren't met.
func (DubboProxyValidationError) Cause ¶
func (e DubboProxyValidationError) Cause() error
Cause function returns cause value.
func (DubboProxyValidationError) Error ¶
func (e DubboProxyValidationError) Error() string
Error satisfies the builtin error interface
func (DubboProxyValidationError) ErrorName ¶
func (e DubboProxyValidationError) ErrorName() string
ErrorName returns error name.
func (DubboProxyValidationError) Field ¶
func (e DubboProxyValidationError) Field() string
Field function returns field value.
func (DubboProxyValidationError) Key ¶
func (e DubboProxyValidationError) Key() bool
Key function returns key value.
func (DubboProxyValidationError) Reason ¶
func (e DubboProxyValidationError) Reason() string
Reason function returns reason value.
type MethodMatch ¶
type MethodMatch struct { Name *matcher.StringMatcher `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ParamsMatch map[uint32]*MethodMatch_ParameterMatchSpecifier `` /* 183-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MethodMatch) Descriptor
deprecated
func (*MethodMatch) Descriptor() ([]byte, []int)
Deprecated: Use MethodMatch.ProtoReflect.Descriptor instead.
func (*MethodMatch) GetName ¶
func (x *MethodMatch) GetName() *matcher.StringMatcher
func (*MethodMatch) GetParamsMatch ¶
func (x *MethodMatch) GetParamsMatch() map[uint32]*MethodMatch_ParameterMatchSpecifier
func (*MethodMatch) ProtoMessage ¶
func (*MethodMatch) ProtoMessage()
func (*MethodMatch) ProtoReflect ¶ added in v1.7.0
func (x *MethodMatch) ProtoReflect() protoreflect.Message
func (*MethodMatch) Reset ¶
func (x *MethodMatch) Reset()
func (*MethodMatch) String ¶
func (x *MethodMatch) String() string
func (*MethodMatch) Validate ¶
func (m *MethodMatch) Validate() error
Validate checks the field values on MethodMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MethodMatchValidationError ¶
type MethodMatchValidationError struct {
// contains filtered or unexported fields
}
MethodMatchValidationError is the validation error returned by MethodMatch.Validate if the designated constraints aren't met.
func (MethodMatchValidationError) Cause ¶
func (e MethodMatchValidationError) Cause() error
Cause function returns cause value.
func (MethodMatchValidationError) Error ¶
func (e MethodMatchValidationError) Error() string
Error satisfies the builtin error interface
func (MethodMatchValidationError) ErrorName ¶
func (e MethodMatchValidationError) ErrorName() string
ErrorName returns error name.
func (MethodMatchValidationError) Field ¶
func (e MethodMatchValidationError) Field() string
Field function returns field value.
func (MethodMatchValidationError) Key ¶
func (e MethodMatchValidationError) Key() bool
Key function returns key value.
func (MethodMatchValidationError) Reason ¶
func (e MethodMatchValidationError) Reason() string
Reason function returns reason value.
type MethodMatch_ParameterMatchSpecifier ¶
type MethodMatch_ParameterMatchSpecifier struct { // Types that are assignable to ParameterMatchSpecifier: // *MethodMatch_ParameterMatchSpecifier_ExactMatch // *MethodMatch_ParameterMatchSpecifier_RangeMatch ParameterMatchSpecifier isMethodMatch_ParameterMatchSpecifier_ParameterMatchSpecifier `protobuf_oneof:"parameter_match_specifier"` // contains filtered or unexported fields }
func (*MethodMatch_ParameterMatchSpecifier) Descriptor
deprecated
func (*MethodMatch_ParameterMatchSpecifier) Descriptor() ([]byte, []int)
Deprecated: Use MethodMatch_ParameterMatchSpecifier.ProtoReflect.Descriptor instead.
func (*MethodMatch_ParameterMatchSpecifier) GetExactMatch ¶
func (x *MethodMatch_ParameterMatchSpecifier) GetExactMatch() string
func (*MethodMatch_ParameterMatchSpecifier) GetParameterMatchSpecifier ¶
func (m *MethodMatch_ParameterMatchSpecifier) GetParameterMatchSpecifier() isMethodMatch_ParameterMatchSpecifier_ParameterMatchSpecifier
func (*MethodMatch_ParameterMatchSpecifier) GetRangeMatch ¶
func (x *MethodMatch_ParameterMatchSpecifier) GetRangeMatch() *_type.Int64Range
func (*MethodMatch_ParameterMatchSpecifier) ProtoMessage ¶
func (*MethodMatch_ParameterMatchSpecifier) ProtoMessage()
func (*MethodMatch_ParameterMatchSpecifier) ProtoReflect ¶ added in v1.7.0
func (x *MethodMatch_ParameterMatchSpecifier) ProtoReflect() protoreflect.Message
func (*MethodMatch_ParameterMatchSpecifier) Reset ¶
func (x *MethodMatch_ParameterMatchSpecifier) Reset()
func (*MethodMatch_ParameterMatchSpecifier) String ¶
func (x *MethodMatch_ParameterMatchSpecifier) String() string
func (*MethodMatch_ParameterMatchSpecifier) Validate ¶
func (m *MethodMatch_ParameterMatchSpecifier) Validate() error
Validate checks the field values on MethodMatch_ParameterMatchSpecifier with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MethodMatch_ParameterMatchSpecifierValidationError ¶
type MethodMatch_ParameterMatchSpecifierValidationError struct {
// contains filtered or unexported fields
}
MethodMatch_ParameterMatchSpecifierValidationError is the validation error returned by MethodMatch_ParameterMatchSpecifier.Validate if the designated constraints aren't met.
func (MethodMatch_ParameterMatchSpecifierValidationError) Cause ¶
func (e MethodMatch_ParameterMatchSpecifierValidationError) Cause() error
Cause function returns cause value.
func (MethodMatch_ParameterMatchSpecifierValidationError) Error ¶
func (e MethodMatch_ParameterMatchSpecifierValidationError) Error() string
Error satisfies the builtin error interface
func (MethodMatch_ParameterMatchSpecifierValidationError) ErrorName ¶
func (e MethodMatch_ParameterMatchSpecifierValidationError) ErrorName() string
ErrorName returns error name.
func (MethodMatch_ParameterMatchSpecifierValidationError) Field ¶
func (e MethodMatch_ParameterMatchSpecifierValidationError) Field() string
Field function returns field value.
func (MethodMatch_ParameterMatchSpecifierValidationError) Key ¶
func (e MethodMatch_ParameterMatchSpecifierValidationError) Key() bool
Key function returns key value.
func (MethodMatch_ParameterMatchSpecifierValidationError) Reason ¶
func (e MethodMatch_ParameterMatchSpecifierValidationError) Reason() string
Reason function returns reason value.
type MethodMatch_ParameterMatchSpecifier_ExactMatch ¶
type MethodMatch_ParameterMatchSpecifier_ExactMatch struct {
ExactMatch string `protobuf:"bytes,3,opt,name=exact_match,json=exactMatch,proto3,oneof"`
}
type MethodMatch_ParameterMatchSpecifier_RangeMatch ¶
type MethodMatch_ParameterMatchSpecifier_RangeMatch struct {
RangeMatch *_type.Int64Range `protobuf:"bytes,4,opt,name=range_match,json=rangeMatch,proto3,oneof"`
}
type ProtocolType ¶
type ProtocolType int32
const (
ProtocolType_Dubbo ProtocolType = 0
)
func (ProtocolType) Descriptor ¶ added in v1.7.0
func (ProtocolType) Descriptor() protoreflect.EnumDescriptor
func (ProtocolType) Enum ¶ added in v1.7.0
func (x ProtocolType) Enum() *ProtocolType
func (ProtocolType) EnumDescriptor
deprecated
func (ProtocolType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProtocolType.Descriptor instead.
func (ProtocolType) Number ¶ added in v1.7.0
func (x ProtocolType) Number() protoreflect.EnumNumber
func (ProtocolType) String ¶
func (x ProtocolType) String() string
func (ProtocolType) Type ¶ added in v1.7.0
func (ProtocolType) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
func (*Route) Descriptor
deprecated
func (*Route) GetMatch ¶
func (x *Route) GetMatch() *RouteMatch
func (*Route) GetRoute ¶
func (x *Route) GetRoute() *RouteAction
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶ added in v1.7.0
func (x *Route) ProtoReflect() protoreflect.Message
type RouteAction ¶
type RouteAction struct { // Types that are assignable to ClusterSpecifier: // *RouteAction_Cluster // *RouteAction_WeightedClusters ClusterSpecifier isRouteAction_ClusterSpecifier `protobuf_oneof:"cluster_specifier"` // contains filtered or unexported fields }
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) GetWeightedClusters ¶
func (x *RouteAction) GetWeightedClusters() *route.WeightedCluster
func (*RouteAction) ProtoMessage ¶
func (*RouteAction) ProtoMessage()
func (*RouteAction) ProtoReflect ¶ added in v1.7.0
func (x *RouteAction) ProtoReflect() protoreflect.Message
func (*RouteAction) Reset ¶
func (x *RouteAction) Reset()
func (*RouteAction) String ¶
func (x *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.
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_WeightedClusters ¶
type RouteAction_WeightedClusters struct {
WeightedClusters *route.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"` Interface string `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"` Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Routes []*Route `protobuf:"bytes,5,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*RouteConfiguration) Descriptor
deprecated
func (*RouteConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use RouteConfiguration.ProtoReflect.Descriptor instead.
func (*RouteConfiguration) GetGroup ¶
func (x *RouteConfiguration) GetGroup() string
func (*RouteConfiguration) GetInterface ¶
func (x *RouteConfiguration) GetInterface() string
func (*RouteConfiguration) GetName ¶
func (x *RouteConfiguration) GetName() string
func (*RouteConfiguration) GetRoutes ¶
func (x *RouteConfiguration) GetRoutes() []*Route
func (*RouteConfiguration) GetVersion ¶
func (x *RouteConfiguration) GetVersion() string
func (*RouteConfiguration) ProtoMessage ¶
func (*RouteConfiguration) ProtoMessage()
func (*RouteConfiguration) ProtoReflect ¶ added in v1.7.0
func (x *RouteConfiguration) ProtoReflect() protoreflect.Message
func (*RouteConfiguration) Reset ¶
func (x *RouteConfiguration) Reset()
func (*RouteConfiguration) String ¶
func (x *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.
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 { Method *MethodMatch `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` Headers []*route.HeaderMatcher `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` // contains filtered or unexported fields }
func (*RouteMatch) Descriptor
deprecated
func (*RouteMatch) Descriptor() ([]byte, []int)
Deprecated: Use RouteMatch.ProtoReflect.Descriptor instead.
func (*RouteMatch) GetHeaders ¶
func (x *RouteMatch) GetHeaders() []*route.HeaderMatcher
func (*RouteMatch) GetMethod ¶
func (x *RouteMatch) GetMethod() *MethodMatch
func (*RouteMatch) ProtoMessage ¶
func (*RouteMatch) ProtoMessage()
func (*RouteMatch) ProtoReflect ¶ added in v1.7.0
func (x *RouteMatch) ProtoReflect() protoreflect.Message
func (*RouteMatch) Reset ¶
func (x *RouteMatch) Reset()
func (*RouteMatch) String ¶
func (x *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.
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 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 SerializationType ¶
type SerializationType int32
const (
SerializationType_Hessian2 SerializationType = 0
)
func (SerializationType) Descriptor ¶ added in v1.7.0
func (SerializationType) Descriptor() protoreflect.EnumDescriptor
func (SerializationType) Enum ¶ added in v1.7.0
func (x SerializationType) Enum() *SerializationType
func (SerializationType) EnumDescriptor
deprecated
func (SerializationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SerializationType.Descriptor instead.
func (SerializationType) Number ¶ added in v1.7.0
func (x SerializationType) Number() protoreflect.EnumNumber
func (SerializationType) String ¶
func (x SerializationType) String() string
func (SerializationType) Type ¶ added in v1.7.0
func (SerializationType) Type() protoreflect.EnumType