import "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/dubbo_proxy/v3"
dubbo_proxy.pb.go dubbo_proxy.pb.validate.go route.pb.go route.pb.validate.go
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_extensions_filters_network_dubbo_proxy_v3_dubbo_proxy_proto protoreflect.FileDescriptor
var File_envoy_extensions_filters_network_dubbo_proxy_v3_route_proto protoreflect.FileDescriptor
type DubboFilter struct { // The name of the filter to instantiate. The name must match a supported // filter. 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. Config *any.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
DubboFilter configures a Dubbo filter.
func (*DubboFilter) Descriptor() ([]byte, []int)
Deprecated: Use DubboFilter.ProtoReflect.Descriptor instead.
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
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 struct {
// contains filtered or unexported fields
}
DubboFilterValidationError is the validation error returned by DubboFilter.Validate if the designated constraints aren't met.
func (e DubboFilterValidationError) Cause() error
Cause function returns cause value.
func (e DubboFilterValidationError) Error() string
Error satisfies the builtin error interface
func (e DubboFilterValidationError) ErrorName() string
ErrorName returns error name.
func (e DubboFilterValidationError) Field() string
Field function returns field value.
func (e DubboFilterValidationError) Key() bool
Key function returns key value.
func (e DubboFilterValidationError) Reason() string
Reason function returns reason value.
type DubboProxy struct { // 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"` // Configure the protocol used. ProtocolType ProtocolType `protobuf:"varint,2,opt,name=protocol_type,json=protocolType,proto3,enum=envoy.extensions.filters.network.dubbo_proxy.v3.ProtocolType" json:"protocol_type,omitempty"` // Configure the serialization protocol used. SerializationType SerializationType `protobuf:"varint,3,opt,name=serialization_type,json=serializationType,proto3,enum=envoy.extensions.filters.network.dubbo_proxy.v3.SerializationType" json:"serialization_type,omitempty"` // The route table for the connection manager is static and is specified in this property. RouteConfig []*RouteConfiguration `protobuf:"bytes,4,rep,name=route_config,json=routeConfig,proto3" json:"route_config,omitempty"` // A list of individual Dubbo filters that make up the filter chain for requests made to the // Dubbo proxy. Order matters as the filters are processed sequentially. For backwards // compatibility, if no dubbo_filters are specified, a default Dubbo router filter // (`envoy.filters.dubbo.router`) is used. DubboFilters []*DubboFilter `protobuf:"bytes,5,rep,name=dubbo_filters,json=dubboFilters,proto3" json:"dubbo_filters,omitempty"` // contains filtered or unexported fields }
[#next-free-field: 6]
func (*DubboProxy) Descriptor() ([]byte, []int)
Deprecated: Use DubboProxy.ProtoReflect.Descriptor instead.
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
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 struct {
// contains filtered or unexported fields
}
DubboProxyValidationError is the validation error returned by DubboProxy.Validate if the designated constraints aren't met.
func (e DubboProxyValidationError) Cause() error
Cause function returns cause value.
func (e DubboProxyValidationError) Error() string
Error satisfies the builtin error interface
func (e DubboProxyValidationError) ErrorName() string
ErrorName returns error name.
func (e DubboProxyValidationError) Field() string
Field function returns field value.
func (e DubboProxyValidationError) Key() bool
Key function returns key value.
func (e DubboProxyValidationError) Reason() string
Reason function returns reason value.
type MethodMatch struct { // The name of the method. Name *v31.StringMatcher `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Method parameter definition. // The key is the parameter index, starting from 0. // The value is the parameter matching type. ParamsMatch map[uint32]*MethodMatch_ParameterMatchSpecifier `protobuf:"bytes,2,rep,name=params_match,json=paramsMatch,proto3" json:"params_match,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*MethodMatch) Descriptor() ([]byte, []int)
Deprecated: Use MethodMatch.ProtoReflect.Descriptor instead.
func (x *MethodMatch) GetName() *v31.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
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 struct {
// contains filtered or unexported fields
}
MethodMatchValidationError is the validation error returned by MethodMatch.Validate if the designated constraints aren't met.
func (e MethodMatchValidationError) Cause() error
Cause function returns cause value.
func (e MethodMatchValidationError) Error() string
Error satisfies the builtin error interface
func (e MethodMatchValidationError) ErrorName() string
ErrorName returns error name.
func (e MethodMatchValidationError) Field() string
Field function returns field value.
func (e MethodMatchValidationError) Key() bool
Key function returns key value.
func (e MethodMatchValidationError) Reason() string
Reason function returns reason value.
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 }
The parameter matching type.
func (*MethodMatch_ParameterMatchSpecifier) Descriptor() ([]byte, []int)
Deprecated: Use MethodMatch_ParameterMatchSpecifier.ProtoReflect.Descriptor instead.
func (x *MethodMatch_ParameterMatchSpecifier) GetExactMatch() string
func (m *MethodMatch_ParameterMatchSpecifier) GetParameterMatchSpecifier() isMethodMatch_ParameterMatchSpecifier_ParameterMatchSpecifier
func (x *MethodMatch_ParameterMatchSpecifier) GetRangeMatch() *v32.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
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 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 (e MethodMatch_ParameterMatchSpecifierValidationError) Cause() error
Cause function returns cause value.
func (e MethodMatch_ParameterMatchSpecifierValidationError) Error() string
Error satisfies the builtin error interface
func (e MethodMatch_ParameterMatchSpecifierValidationError) ErrorName() string
ErrorName returns error name.
func (e MethodMatch_ParameterMatchSpecifierValidationError) Field() string
Field function returns field value.
func (e MethodMatch_ParameterMatchSpecifierValidationError) Key() bool
Key function returns key value.
func (e MethodMatch_ParameterMatchSpecifierValidationError) Reason() string
Reason function returns reason value.
type MethodMatch_ParameterMatchSpecifier_ExactMatch struct { // If specified, header match will be performed based on the value of the header. ExactMatch string `protobuf:"bytes,3,opt,name=exact_match,json=exactMatch,proto3,oneof"` }
type MethodMatch_ParameterMatchSpecifier_RangeMatch struct { // If specified, header match will be performed based on range. // The rule will match if the request header value is within this range. // The entire request header value must represent an integer in base 10 notation: consisting // of an optional plus or minus sign followed by a sequence of digits. The rule will not match // if the header value does not represent an integer. Match will fail for empty values, // floating point numbers or if only a subsequence of the header value is an integer. // // Examples: // // * For range [-10,0), route will match for header value -1, but not for 0, // "somestring", 10.9, "-1somestring" RangeMatch *v32.Int64Range `protobuf:"bytes,4,opt,name=range_match,json=rangeMatch,proto3,oneof"` }
Dubbo Protocol types supported by Envoy.
const ( // the default protocol. ProtocolType_Dubbo ProtocolType = 0 )
func (ProtocolType) Descriptor() protoreflect.EnumDescriptor
func (x ProtocolType) Enum() *ProtocolType
func (ProtocolType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProtocolType.Descriptor instead.
func (x ProtocolType) Number() protoreflect.EnumNumber
func (x ProtocolType) String() string
func (ProtocolType) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
Deprecated: Use Route.ProtoReflect.Descriptor instead.
func (x *Route) GetMatch() *RouteMatch
func (x *Route) GetRoute() *RouteAction
func (x *Route) ProtoReflect() protoreflect.Message
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.
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() ([]byte, []int)
Deprecated: Use RouteAction.ProtoReflect.Descriptor instead.
func (x *RouteAction) GetCluster() string
func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier
func (x *RouteAction) GetWeightedClusters() *v3.WeightedCluster
func (*RouteAction) ProtoMessage()
func (x *RouteAction) ProtoReflect() protoreflect.Message
func (x *RouteAction) Reset()
func (x *RouteAction) String() string
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 struct {
// contains filtered or unexported fields
}
RouteActionValidationError is the validation error returned by RouteAction.Validate if the designated constraints aren't met.
func (e RouteActionValidationError) Cause() error
Cause function returns cause value.
func (e RouteActionValidationError) Error() string
Error satisfies the builtin error interface
func (e RouteActionValidationError) ErrorName() string
ErrorName returns error name.
func (e RouteActionValidationError) Field() string
Field function returns field value.
func (e RouteActionValidationError) Key() bool
Key function returns key value.
func (e RouteActionValidationError) Reason() string
Reason function returns reason value.
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 struct { // 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 *v3.WeightedCluster `protobuf:"bytes,2,opt,name=weighted_clusters,json=weightedClusters,proto3,oneof"` }
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 interface name of the service. Interface string `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"` // Which group does the interface belong to. Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` // The version number of the interface. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,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,5,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
[#next-free-field: 6]
func (*RouteConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use RouteConfiguration.ProtoReflect.Descriptor instead.
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
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 struct {
// contains filtered or unexported fields
}
RouteConfigurationValidationError is the validation error returned by RouteConfiguration.Validate if the designated constraints aren't met.
func (e RouteConfigurationValidationError) Cause() error
Cause function returns cause value.
func (e RouteConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (e RouteConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (e RouteConfigurationValidationError) Field() string
Field function returns field value.
func (e RouteConfigurationValidationError) Key() bool
Key function returns key value.
func (e RouteConfigurationValidationError) Reason() string
Reason function returns reason value.
type RouteMatch struct { // Method level routing matching. Method *MethodMatch `protobuf:"bytes,1,opt,name=method,proto3" json:"method,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). Headers []*v3.HeaderMatcher `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` // contains filtered or unexported fields }
func (*RouteMatch) Descriptor() ([]byte, []int)
Deprecated: Use RouteMatch.ProtoReflect.Descriptor instead.
func (x *RouteMatch) GetHeaders() []*v3.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
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 struct {
// contains filtered or unexported fields
}
RouteMatchValidationError is the validation error returned by RouteMatch.Validate if the designated constraints aren't met.
func (e RouteMatchValidationError) Cause() error
Cause function returns cause value.
func (e RouteMatchValidationError) Error() string
Error satisfies the builtin error interface
func (e RouteMatchValidationError) ErrorName() string
ErrorName returns error name.
func (e RouteMatchValidationError) Field() string
Field function returns field value.
func (e RouteMatchValidationError) Key() bool
Key function returns key value.
func (e RouteMatchValidationError) Reason() string
Reason function returns reason value.
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 (e RouteValidationError) Cause() error
Cause function returns cause value.
func (e RouteValidationError) Error() string
Error satisfies the builtin error interface
func (e RouteValidationError) ErrorName() string
ErrorName returns error name.
func (e RouteValidationError) Field() string
Field function returns field value.
func (e RouteValidationError) Key() bool
Key function returns key value.
func (e RouteValidationError) Reason() string
Reason function returns reason value.
Dubbo Serialization types supported by Envoy.
const ( // the default serialization protocol. SerializationType_Hessian2 SerializationType = 0 )
func (SerializationType) Descriptor() protoreflect.EnumDescriptor
func (x SerializationType) Enum() *SerializationType
func (SerializationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SerializationType.Descriptor instead.
func (x SerializationType) Number() protoreflect.EnumNumber
func (x SerializationType) String() string
func (SerializationType) Type() protoreflect.EnumType
Package envoy_extensions_filters_network_dubbo_proxy_v3 imports 22 packages (graph) and is imported by 6 packages. Updated 2021-01-07. Refresh now. Tools for package owners.