Documentation ¶
Index ¶
- Variables
- type DubboFilter
- func (*DubboFilter) Descriptor() ([]byte, []int)
- func (m *DubboFilter) GetConfig() *types.Any
- func (m *DubboFilter) GetName() string
- func (m *DubboFilter) Marshal() (dAtA []byte, err error)
- func (m *DubboFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *DubboFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DubboFilter) ProtoMessage()
- func (m *DubboFilter) Reset()
- func (m *DubboFilter) Size() (n int)
- func (m *DubboFilter) String() string
- func (m *DubboFilter) Unmarshal(dAtA []byte) error
- func (m *DubboFilter) Validate() error
- func (m *DubboFilter) XXX_DiscardUnknown()
- func (m *DubboFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DubboFilter) XXX_Merge(src proto.Message)
- func (m *DubboFilter) XXX_Size() int
- func (m *DubboFilter) XXX_Unmarshal(b []byte) 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)
- func (m *DubboProxy) GetDubboFilters() []*DubboFilter
- func (m *DubboProxy) GetProtocolType() ProtocolType
- func (m *DubboProxy) GetRouteConfig() []*RouteConfiguration
- func (m *DubboProxy) GetSerializationType() SerializationType
- func (m *DubboProxy) GetStatPrefix() string
- func (m *DubboProxy) Marshal() (dAtA []byte, err error)
- func (m *DubboProxy) MarshalTo(dAtA []byte) (int, error)
- func (m *DubboProxy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DubboProxy) ProtoMessage()
- func (m *DubboProxy) Reset()
- func (m *DubboProxy) Size() (n int)
- func (m *DubboProxy) String() string
- func (m *DubboProxy) Unmarshal(dAtA []byte) error
- func (m *DubboProxy) Validate() error
- func (m *DubboProxy) XXX_DiscardUnknown()
- func (m *DubboProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DubboProxy) XXX_Merge(src proto.Message)
- func (m *DubboProxy) XXX_Size() int
- func (m *DubboProxy) XXX_Unmarshal(b []byte) error
- type DubboProxyValidationError
- type MethodMatch
- func (*MethodMatch) Descriptor() ([]byte, []int)
- func (m *MethodMatch) GetName() *v3alpha.StringMatcher
- func (m *MethodMatch) GetParamsMatch() map[uint32]*MethodMatch_ParameterMatchSpecifier
- func (m *MethodMatch) Marshal() (dAtA []byte, err error)
- func (m *MethodMatch) MarshalTo(dAtA []byte) (int, error)
- func (m *MethodMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MethodMatch) ProtoMessage()
- func (m *MethodMatch) Reset()
- func (m *MethodMatch) Size() (n int)
- func (m *MethodMatch) String() string
- func (m *MethodMatch) Unmarshal(dAtA []byte) error
- func (m *MethodMatch) Validate() error
- func (m *MethodMatch) XXX_DiscardUnknown()
- func (m *MethodMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MethodMatch) XXX_Merge(src proto.Message)
- func (m *MethodMatch) XXX_Size() int
- func (m *MethodMatch) XXX_Unmarshal(b []byte) 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)
- func (m *MethodMatch_ParameterMatchSpecifier) GetExactMatch() string
- func (m *MethodMatch_ParameterMatchSpecifier) GetParameterMatchSpecifier() isMethodMatch_ParameterMatchSpecifier_ParameterMatchSpecifier
- func (m *MethodMatch_ParameterMatchSpecifier) GetRangeMatch() *v3alpha1.Int64Range
- func (m *MethodMatch_ParameterMatchSpecifier) Marshal() (dAtA []byte, err error)
- func (m *MethodMatch_ParameterMatchSpecifier) MarshalTo(dAtA []byte) (int, error)
- func (m *MethodMatch_ParameterMatchSpecifier) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MethodMatch_ParameterMatchSpecifier) ProtoMessage()
- func (m *MethodMatch_ParameterMatchSpecifier) Reset()
- func (m *MethodMatch_ParameterMatchSpecifier) Size() (n int)
- func (m *MethodMatch_ParameterMatchSpecifier) String() string
- func (m *MethodMatch_ParameterMatchSpecifier) Unmarshal(dAtA []byte) error
- func (m *MethodMatch_ParameterMatchSpecifier) Validate() error
- func (m *MethodMatch_ParameterMatchSpecifier) XXX_DiscardUnknown()
- func (m *MethodMatch_ParameterMatchSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MethodMatch_ParameterMatchSpecifier) XXX_Merge(src proto.Message)
- func (*MethodMatch_ParameterMatchSpecifier) XXX_OneofWrappers() []interface{}
- func (m *MethodMatch_ParameterMatchSpecifier) XXX_Size() int
- func (m *MethodMatch_ParameterMatchSpecifier) XXX_Unmarshal(b []byte) 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
- type Route
- func (*Route) Descriptor() ([]byte, []int)
- func (m *Route) GetMatch() *RouteMatch
- func (m *Route) GetRoute() *RouteAction
- func (m *Route) Marshal() (dAtA []byte, err error)
- func (m *Route) MarshalTo(dAtA []byte) (int, error)
- func (m *Route) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Route) ProtoMessage()
- func (m *Route) Reset()
- func (m *Route) Size() (n int)
- func (m *Route) String() string
- func (m *Route) Unmarshal(dAtA []byte) error
- 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) GetClusterSpecifier() isRouteAction_ClusterSpecifier
- func (m *RouteAction) GetWeightedClusters() *route.WeightedCluster
- func (m *RouteAction) Marshal() (dAtA []byte, err error)
- func (m *RouteAction) MarshalTo(dAtA []byte) (int, error)
- func (m *RouteAction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RouteAction) ProtoMessage()
- func (m *RouteAction) Reset()
- func (m *RouteAction) Size() (n int)
- func (m *RouteAction) String() string
- func (m *RouteAction) Unmarshal(dAtA []byte) error
- 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_WeightedClusters
- type RouteConfiguration
- func (*RouteConfiguration) Descriptor() ([]byte, []int)
- func (m *RouteConfiguration) GetGroup() string
- func (m *RouteConfiguration) GetInterface() string
- func (m *RouteConfiguration) GetName() string
- func (m *RouteConfiguration) GetRoutes() []*Route
- func (m *RouteConfiguration) GetVersion() string
- func (m *RouteConfiguration) Marshal() (dAtA []byte, err error)
- func (m *RouteConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (m *RouteConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RouteConfiguration) ProtoMessage()
- func (m *RouteConfiguration) Reset()
- func (m *RouteConfiguration) Size() (n int)
- func (m *RouteConfiguration) String() string
- func (m *RouteConfiguration) Unmarshal(dAtA []byte) error
- 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() []*route.HeaderMatcher
- func (m *RouteMatch) GetMethod() *MethodMatch
- func (m *RouteMatch) Marshal() (dAtA []byte, err error)
- func (m *RouteMatch) MarshalTo(dAtA []byte) (int, error)
- func (m *RouteMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RouteMatch) ProtoMessage()
- func (m *RouteMatch) Reset()
- func (m *RouteMatch) Size() (n int)
- func (m *RouteMatch) String() string
- func (m *RouteMatch) Unmarshal(dAtA []byte) error
- 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 (m *RouteMatch) XXX_Size() int
- func (m *RouteMatch) XXX_Unmarshal(b []byte) error
- type RouteMatchValidationError
- type RouteValidationError
- type SerializationType
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthDubboProxy = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDubboProxy = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthRoute = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRoute = fmt.Errorf("proto: integer overflow") )
var ProtocolType_name = map[int32]string{
0: "Dubbo",
}
var ProtocolType_value = map[string]int32{
"Dubbo": 0,
}
var SerializationType_name = map[int32]string{
0: "Hessian2",
}
var SerializationType_value = map[string]int32{
"Hessian2": 0,
}
Functions ¶
This section is empty.
Types ¶
type DubboFilter ¶
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 *types.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DubboFilter configures a Dubbo filter.
func (*DubboFilter) Descriptor ¶
func (*DubboFilter) Descriptor() ([]byte, []int)
func (*DubboFilter) GetConfig ¶
func (m *DubboFilter) GetConfig() *types.Any
func (*DubboFilter) GetName ¶
func (m *DubboFilter) GetName() string
func (*DubboFilter) Marshal ¶
func (m *DubboFilter) Marshal() (dAtA []byte, err error)
func (*DubboFilter) MarshalToSizedBuffer ¶
func (m *DubboFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DubboFilter) ProtoMessage ¶
func (*DubboFilter) ProtoMessage()
func (*DubboFilter) Reset ¶
func (m *DubboFilter) Reset()
func (*DubboFilter) Size ¶
func (m *DubboFilter) Size() (n int)
func (*DubboFilter) String ¶
func (m *DubboFilter) String() string
func (*DubboFilter) Unmarshal ¶
func (m *DubboFilter) Unmarshal(dAtA []byte) error
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.
func (*DubboFilter) XXX_DiscardUnknown ¶
func (m *DubboFilter) XXX_DiscardUnknown()
func (*DubboFilter) XXX_Marshal ¶
func (m *DubboFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DubboFilter) XXX_Merge ¶
func (m *DubboFilter) XXX_Merge(src proto.Message)
func (*DubboFilter) XXX_Size ¶
func (m *DubboFilter) XXX_Size() int
func (*DubboFilter) XXX_Unmarshal ¶
func (m *DubboFilter) XXX_Unmarshal(b []byte) error
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 { // 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 `` /* 164-byte string literal not displayed */ // Configure the serialization protocol used. SerializationType SerializationType `` /* 184-byte string literal not displayed */ // 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#next-free-field: 6]
func (*DubboProxy) Descriptor ¶
func (*DubboProxy) Descriptor() ([]byte, []int)
func (*DubboProxy) GetDubboFilters ¶
func (m *DubboProxy) GetDubboFilters() []*DubboFilter
func (*DubboProxy) GetProtocolType ¶
func (m *DubboProxy) GetProtocolType() ProtocolType
func (*DubboProxy) GetRouteConfig ¶
func (m *DubboProxy) GetRouteConfig() []*RouteConfiguration
func (*DubboProxy) GetSerializationType ¶
func (m *DubboProxy) GetSerializationType() SerializationType
func (*DubboProxy) GetStatPrefix ¶
func (m *DubboProxy) GetStatPrefix() string
func (*DubboProxy) Marshal ¶
func (m *DubboProxy) Marshal() (dAtA []byte, err error)
func (*DubboProxy) MarshalToSizedBuffer ¶
func (m *DubboProxy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DubboProxy) ProtoMessage ¶
func (*DubboProxy) ProtoMessage()
func (*DubboProxy) Reset ¶
func (m *DubboProxy) Reset()
func (*DubboProxy) Size ¶
func (m *DubboProxy) Size() (n int)
func (*DubboProxy) String ¶
func (m *DubboProxy) String() string
func (*DubboProxy) Unmarshal ¶
func (m *DubboProxy) Unmarshal(dAtA []byte) error
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.
func (*DubboProxy) XXX_DiscardUnknown ¶
func (m *DubboProxy) XXX_DiscardUnknown()
func (*DubboProxy) XXX_Marshal ¶
func (m *DubboProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DubboProxy) XXX_Merge ¶
func (m *DubboProxy) XXX_Merge(src proto.Message)
func (*DubboProxy) XXX_Size ¶
func (m *DubboProxy) XXX_Size() int
func (*DubboProxy) XXX_Unmarshal ¶
func (m *DubboProxy) XXX_Unmarshal(b []byte) error
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 { // The name of the method. Name *v3alpha.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 `` /* 183-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MethodMatch) Descriptor ¶
func (*MethodMatch) Descriptor() ([]byte, []int)
func (*MethodMatch) GetName ¶
func (m *MethodMatch) GetName() *v3alpha.StringMatcher
func (*MethodMatch) GetParamsMatch ¶
func (m *MethodMatch) GetParamsMatch() map[uint32]*MethodMatch_ParameterMatchSpecifier
func (*MethodMatch) Marshal ¶
func (m *MethodMatch) Marshal() (dAtA []byte, err error)
func (*MethodMatch) MarshalToSizedBuffer ¶
func (m *MethodMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MethodMatch) ProtoMessage ¶
func (*MethodMatch) ProtoMessage()
func (*MethodMatch) Reset ¶
func (m *MethodMatch) Reset()
func (*MethodMatch) Size ¶
func (m *MethodMatch) Size() (n int)
func (*MethodMatch) String ¶
func (m *MethodMatch) String() string
func (*MethodMatch) Unmarshal ¶
func (m *MethodMatch) Unmarshal(dAtA []byte) error
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.
func (*MethodMatch) XXX_DiscardUnknown ¶
func (m *MethodMatch) XXX_DiscardUnknown()
func (*MethodMatch) XXX_Marshal ¶
func (m *MethodMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MethodMatch) XXX_Merge ¶
func (m *MethodMatch) XXX_Merge(src proto.Message)
func (*MethodMatch) XXX_Size ¶
func (m *MethodMatch) XXX_Size() int
func (*MethodMatch) XXX_Unmarshal ¶
func (m *MethodMatch) XXX_Unmarshal(b []byte) error
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 valid to be assigned to ParameterMatchSpecifier: // *MethodMatch_ParameterMatchSpecifier_ExactMatch // *MethodMatch_ParameterMatchSpecifier_RangeMatch ParameterMatchSpecifier isMethodMatch_ParameterMatchSpecifier_ParameterMatchSpecifier `protobuf_oneof:"parameter_match_specifier"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The parameter matching type.
func (*MethodMatch_ParameterMatchSpecifier) Descriptor ¶
func (*MethodMatch_ParameterMatchSpecifier) Descriptor() ([]byte, []int)
func (*MethodMatch_ParameterMatchSpecifier) GetExactMatch ¶
func (m *MethodMatch_ParameterMatchSpecifier) GetExactMatch() string
func (*MethodMatch_ParameterMatchSpecifier) GetParameterMatchSpecifier ¶
func (m *MethodMatch_ParameterMatchSpecifier) GetParameterMatchSpecifier() isMethodMatch_ParameterMatchSpecifier_ParameterMatchSpecifier
func (*MethodMatch_ParameterMatchSpecifier) GetRangeMatch ¶
func (m *MethodMatch_ParameterMatchSpecifier) GetRangeMatch() *v3alpha1.Int64Range
func (*MethodMatch_ParameterMatchSpecifier) Marshal ¶
func (m *MethodMatch_ParameterMatchSpecifier) Marshal() (dAtA []byte, err error)
func (*MethodMatch_ParameterMatchSpecifier) MarshalTo ¶
func (m *MethodMatch_ParameterMatchSpecifier) MarshalTo(dAtA []byte) (int, error)
func (*MethodMatch_ParameterMatchSpecifier) MarshalToSizedBuffer ¶
func (m *MethodMatch_ParameterMatchSpecifier) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MethodMatch_ParameterMatchSpecifier) ProtoMessage ¶
func (*MethodMatch_ParameterMatchSpecifier) ProtoMessage()
func (*MethodMatch_ParameterMatchSpecifier) Reset ¶
func (m *MethodMatch_ParameterMatchSpecifier) Reset()
func (*MethodMatch_ParameterMatchSpecifier) Size ¶
func (m *MethodMatch_ParameterMatchSpecifier) Size() (n int)
func (*MethodMatch_ParameterMatchSpecifier) String ¶
func (m *MethodMatch_ParameterMatchSpecifier) String() string
func (*MethodMatch_ParameterMatchSpecifier) Unmarshal ¶
func (m *MethodMatch_ParameterMatchSpecifier) Unmarshal(dAtA []byte) error
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.
func (*MethodMatch_ParameterMatchSpecifier) XXX_DiscardUnknown ¶
func (m *MethodMatch_ParameterMatchSpecifier) XXX_DiscardUnknown()
func (*MethodMatch_ParameterMatchSpecifier) XXX_Marshal ¶
func (m *MethodMatch_ParameterMatchSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MethodMatch_ParameterMatchSpecifier) XXX_Merge ¶
func (m *MethodMatch_ParameterMatchSpecifier) XXX_Merge(src proto.Message)
func (*MethodMatch_ParameterMatchSpecifier) XXX_OneofWrappers ¶
func (*MethodMatch_ParameterMatchSpecifier) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MethodMatch_ParameterMatchSpecifier) XXX_Size ¶
func (m *MethodMatch_ParameterMatchSpecifier) XXX_Size() int
func (*MethodMatch_ParameterMatchSpecifier) XXX_Unmarshal ¶
func (m *MethodMatch_ParameterMatchSpecifier) XXX_Unmarshal(b []byte) error
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"`
}
func (*MethodMatch_ParameterMatchSpecifier_ExactMatch) MarshalTo ¶
func (m *MethodMatch_ParameterMatchSpecifier_ExactMatch) MarshalTo(dAtA []byte) (int, error)
func (*MethodMatch_ParameterMatchSpecifier_ExactMatch) MarshalToSizedBuffer ¶
func (m *MethodMatch_ParameterMatchSpecifier_ExactMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MethodMatch_ParameterMatchSpecifier_ExactMatch) Size ¶
func (m *MethodMatch_ParameterMatchSpecifier_ExactMatch) Size() (n int)
type MethodMatch_ParameterMatchSpecifier_RangeMatch ¶
type MethodMatch_ParameterMatchSpecifier_RangeMatch struct {
RangeMatch *v3alpha1.Int64Range `protobuf:"bytes,4,opt,name=range_match,json=rangeMatch,proto3,oneof"`
}
func (*MethodMatch_ParameterMatchSpecifier_RangeMatch) MarshalTo ¶
func (m *MethodMatch_ParameterMatchSpecifier_RangeMatch) MarshalTo(dAtA []byte) (int, error)
func (*MethodMatch_ParameterMatchSpecifier_RangeMatch) MarshalToSizedBuffer ¶
func (m *MethodMatch_ParameterMatchSpecifier_RangeMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MethodMatch_ParameterMatchSpecifier_RangeMatch) Size ¶
func (m *MethodMatch_ParameterMatchSpecifier_RangeMatch) Size() (n int)
type ProtocolType ¶
type ProtocolType int32
Dubbo Protocol types supported by Envoy.
const ( // the default protocol. ProtocolType_Dubbo ProtocolType = 0 )
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) 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 ClusterSpecifier isRouteAction_ClusterSpecifier `protobuf_oneof:"cluster_specifier"` 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) GetClusterSpecifier ¶
func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier
func (*RouteAction) GetWeightedClusters ¶
func (m *RouteAction) GetWeightedClusters() *route.WeightedCluster
func (*RouteAction) Marshal ¶
func (m *RouteAction) Marshal() (dAtA []byte, err error)
func (*RouteAction) MarshalToSizedBuffer ¶
func (m *RouteAction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RouteAction) ProtoMessage ¶
func (*RouteAction) ProtoMessage()
func (*RouteAction) Reset ¶
func (m *RouteAction) Reset()
func (*RouteAction) Size ¶
func (m *RouteAction) Size() (n int)
func (*RouteAction) String ¶
func (m *RouteAction) String() string
func (*RouteAction) Unmarshal ¶
func (m *RouteAction) Unmarshal(dAtA []byte) error
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"`
}
func (*RouteAction_Cluster) MarshalTo ¶
func (m *RouteAction_Cluster) MarshalTo(dAtA []byte) (int, error)
func (*RouteAction_Cluster) MarshalToSizedBuffer ¶
func (m *RouteAction_Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RouteAction_Cluster) Size ¶
func (m *RouteAction_Cluster) Size() (n int)
type RouteAction_WeightedClusters ¶
type RouteAction_WeightedClusters struct {
WeightedClusters *route.WeightedCluster `protobuf:"bytes,2,opt,name=weighted_clusters,json=weightedClusters,proto3,oneof"`
}
func (*RouteAction_WeightedClusters) MarshalTo ¶
func (m *RouteAction_WeightedClusters) MarshalTo(dAtA []byte) (int, error)
func (*RouteAction_WeightedClusters) MarshalToSizedBuffer ¶
func (m *RouteAction_WeightedClusters) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RouteAction_WeightedClusters) Size ¶
func (m *RouteAction_WeightedClusters) Size() (n int)
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 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#next-free-field: 6]
func (*RouteConfiguration) Descriptor ¶
func (*RouteConfiguration) Descriptor() ([]byte, []int)
func (*RouteConfiguration) GetGroup ¶
func (m *RouteConfiguration) GetGroup() string
func (*RouteConfiguration) GetInterface ¶
func (m *RouteConfiguration) GetInterface() string
func (*RouteConfiguration) GetName ¶
func (m *RouteConfiguration) GetName() string
func (*RouteConfiguration) GetRoutes ¶
func (m *RouteConfiguration) GetRoutes() []*Route
func (*RouteConfiguration) GetVersion ¶
func (m *RouteConfiguration) GetVersion() string
func (*RouteConfiguration) Marshal ¶
func (m *RouteConfiguration) Marshal() (dAtA []byte, err error)
func (*RouteConfiguration) MarshalTo ¶
func (m *RouteConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*RouteConfiguration) MarshalToSizedBuffer ¶
func (m *RouteConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RouteConfiguration) ProtoMessage ¶
func (*RouteConfiguration) ProtoMessage()
func (*RouteConfiguration) Reset ¶
func (m *RouteConfiguration) Reset()
func (*RouteConfiguration) Size ¶
func (m *RouteConfiguration) Size() (n int)
func (*RouteConfiguration) String ¶
func (m *RouteConfiguration) String() string
func (*RouteConfiguration) Unmarshal ¶
func (m *RouteConfiguration) Unmarshal(dAtA []byte) error
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 { // 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 []*route.HeaderMatcher `protobuf:"bytes,2,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) GetMethod ¶
func (m *RouteMatch) GetMethod() *MethodMatch
func (*RouteMatch) Marshal ¶
func (m *RouteMatch) Marshal() (dAtA []byte, err error)
func (*RouteMatch) MarshalToSizedBuffer ¶
func (m *RouteMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RouteMatch) ProtoMessage ¶
func (*RouteMatch) ProtoMessage()
func (*RouteMatch) Reset ¶
func (m *RouteMatch) Reset()
func (*RouteMatch) Size ¶
func (m *RouteMatch) Size() (n int)
func (*RouteMatch) String ¶
func (m *RouteMatch) String() string
func (*RouteMatch) Unmarshal ¶
func (m *RouteMatch) Unmarshal(dAtA []byte) error
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_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 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
Dubbo Serialization types supported by Envoy.
const ( // the default serialization protocol. SerializationType_Hessian2 SerializationType = 0 )
func (SerializationType) EnumDescriptor ¶
func (SerializationType) EnumDescriptor() ([]byte, []int)
func (SerializationType) String ¶
func (x SerializationType) String() string