v2

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDubboProxy = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDubboProxy   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthRoute = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRoute   = fmt.Errorf("proto: integer overflow")
)
View Source
var ProtocolType_name = map[int32]string{
	0: "Dubbo",
}
View Source
var ProtocolType_value = map[string]int32{
	"Dubbo": 0,
}
View Source
var SerializationType_name = map[int32]string{
	0: "Hessian2",
}
View Source
var SerializationType_value = map[string]int32{
	"Hessian2": 0,
}

Functions

This section is empty.

Types

type DubboFilter added in v0.6.8

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. [#comment:next free field: 3]

func (*DubboFilter) Descriptor added in v0.6.8

func (*DubboFilter) Descriptor() ([]byte, []int)

func (*DubboFilter) GetConfig added in v0.6.8

func (m *DubboFilter) GetConfig() *types.Any

func (*DubboFilter) GetName added in v0.6.8

func (m *DubboFilter) GetName() string

func (*DubboFilter) Marshal added in v0.6.8

func (m *DubboFilter) Marshal() (dAtA []byte, err error)

func (*DubboFilter) MarshalTo added in v0.6.8

func (m *DubboFilter) MarshalTo(dAtA []byte) (int, error)

func (*DubboFilter) ProtoMessage added in v0.6.8

func (*DubboFilter) ProtoMessage()

func (*DubboFilter) Reset added in v0.6.8

func (m *DubboFilter) Reset()

func (*DubboFilter) Size added in v0.6.8

func (m *DubboFilter) Size() (n int)

func (*DubboFilter) String added in v0.6.8

func (m *DubboFilter) String() string

func (*DubboFilter) Unmarshal added in v0.6.8

func (m *DubboFilter) Unmarshal(dAtA []byte) error

func (*DubboFilter) Validate added in v0.6.8

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 added in v0.6.8

func (m *DubboFilter) XXX_DiscardUnknown()

func (*DubboFilter) XXX_Marshal added in v0.6.8

func (m *DubboFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DubboFilter) XXX_Merge added in v0.6.8

func (m *DubboFilter) XXX_Merge(src proto.Message)

func (*DubboFilter) XXX_Size added in v0.6.8

func (m *DubboFilter) XXX_Size() int

func (*DubboFilter) XXX_Unmarshal added in v0.6.8

func (m *DubboFilter) XXX_Unmarshal(b []byte) error

type DubboFilterValidationError added in v0.6.8

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 added in v0.6.8

Cause function returns cause value.

func (DubboFilterValidationError) Error added in v0.6.8

Error satisfies the builtin error interface

func (DubboFilterValidationError) ErrorName added in v0.7.0

func (e DubboFilterValidationError) ErrorName() string

ErrorName returns error name.

func (DubboFilterValidationError) Field added in v0.6.8

Field function returns field value.

func (DubboFilterValidationError) Key added in v0.6.8

Key function returns key value.

func (DubboFilterValidationError) Reason added in v0.6.8

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 `` /* 165-byte string literal not displayed */
	// Configure the serialization protocol used.
	SerializationType SerializationType `` /* 185-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:"-"`
}

[#comment:next free field: 6]

func (*DubboProxy) Descriptor

func (*DubboProxy) Descriptor() ([]byte, []int)

func (*DubboProxy) GetDubboFilters added in v0.6.8

func (m *DubboProxy) GetDubboFilters() []*DubboFilter

func (*DubboProxy) GetProtocolType

func (m *DubboProxy) GetProtocolType() ProtocolType

func (*DubboProxy) GetRouteConfig added in v0.6.8

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) MarshalTo

func (m *DubboProxy) MarshalTo(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

Error satisfies the builtin error interface

func (DubboProxyValidationError) ErrorName added in v0.7.0

func (e DubboProxyValidationError) ErrorName() string

ErrorName returns error name.

func (DubboProxyValidationError) Field

Field function returns field value.

func (DubboProxyValidationError) Key

Key function returns key value.

func (DubboProxyValidationError) Reason

func (e DubboProxyValidationError) Reason() string

Reason function returns reason value.

type MethodMatch added in v0.6.8

type MethodMatch struct {
	// The name of the method.
	Name *matcher.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:"-"`
}

[#comment:next free field: 5]

func (*MethodMatch) Descriptor added in v0.6.8

func (*MethodMatch) Descriptor() ([]byte, []int)

func (*MethodMatch) GetName added in v0.6.8

func (m *MethodMatch) GetName() *matcher.StringMatcher

func (*MethodMatch) GetParamsMatch added in v0.6.8

func (m *MethodMatch) GetParamsMatch() map[uint32]*MethodMatch_ParameterMatchSpecifier

func (*MethodMatch) Marshal added in v0.6.8

func (m *MethodMatch) Marshal() (dAtA []byte, err error)

func (*MethodMatch) MarshalTo added in v0.6.8

func (m *MethodMatch) MarshalTo(dAtA []byte) (int, error)

func (*MethodMatch) ProtoMessage added in v0.6.8

func (*MethodMatch) ProtoMessage()

func (*MethodMatch) Reset added in v0.6.8

func (m *MethodMatch) Reset()

func (*MethodMatch) Size added in v0.6.8

func (m *MethodMatch) Size() (n int)

func (*MethodMatch) String added in v0.6.8

func (m *MethodMatch) String() string

func (*MethodMatch) Unmarshal added in v0.6.8

func (m *MethodMatch) Unmarshal(dAtA []byte) error

func (*MethodMatch) Validate added in v0.6.8

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 added in v0.6.8

func (m *MethodMatch) XXX_DiscardUnknown()

func (*MethodMatch) XXX_Marshal added in v0.6.8

func (m *MethodMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MethodMatch) XXX_Merge added in v0.6.8

func (m *MethodMatch) XXX_Merge(src proto.Message)

func (*MethodMatch) XXX_Size added in v0.6.8

func (m *MethodMatch) XXX_Size() int

func (*MethodMatch) XXX_Unmarshal added in v0.6.8

func (m *MethodMatch) XXX_Unmarshal(b []byte) error

type MethodMatchValidationError added in v0.6.8

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 added in v0.6.8

Cause function returns cause value.

func (MethodMatchValidationError) Error added in v0.6.8

Error satisfies the builtin error interface

func (MethodMatchValidationError) ErrorName added in v0.7.0

func (e MethodMatchValidationError) ErrorName() string

ErrorName returns error name.

func (MethodMatchValidationError) Field added in v0.6.8

Field function returns field value.

func (MethodMatchValidationError) Key added in v0.6.8

Key function returns key value.

func (MethodMatchValidationError) Reason added in v0.6.8

Reason function returns reason value.

type MethodMatch_ParameterMatchSpecifier added in v0.6.8

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 added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier) Descriptor() ([]byte, []int)

func (*MethodMatch_ParameterMatchSpecifier) GetExactMatch added in v0.6.8

func (m *MethodMatch_ParameterMatchSpecifier) GetExactMatch() string

func (*MethodMatch_ParameterMatchSpecifier) GetParameterMatchSpecifier added in v0.6.8

func (m *MethodMatch_ParameterMatchSpecifier) GetParameterMatchSpecifier() isMethodMatch_ParameterMatchSpecifier_ParameterMatchSpecifier

func (*MethodMatch_ParameterMatchSpecifier) GetRangeMatch added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier) Marshal added in v0.6.8

func (m *MethodMatch_ParameterMatchSpecifier) Marshal() (dAtA []byte, err error)

func (*MethodMatch_ParameterMatchSpecifier) MarshalTo added in v0.6.8

func (m *MethodMatch_ParameterMatchSpecifier) MarshalTo(dAtA []byte) (int, error)

func (*MethodMatch_ParameterMatchSpecifier) ProtoMessage added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier) ProtoMessage()

func (*MethodMatch_ParameterMatchSpecifier) Reset added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier) Size added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier) String added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier) Unmarshal added in v0.6.8

func (m *MethodMatch_ParameterMatchSpecifier) Unmarshal(dAtA []byte) error

func (*MethodMatch_ParameterMatchSpecifier) Validate added in v0.6.8

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 added in v0.6.8

func (m *MethodMatch_ParameterMatchSpecifier) XXX_DiscardUnknown()

func (*MethodMatch_ParameterMatchSpecifier) XXX_Marshal added in v0.6.8

func (m *MethodMatch_ParameterMatchSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MethodMatch_ParameterMatchSpecifier) XXX_Merge added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier) XXX_OneofFuncs added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*MethodMatch_ParameterMatchSpecifier) XXX_Size added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier) XXX_Unmarshal added in v0.6.8

func (m *MethodMatch_ParameterMatchSpecifier) XXX_Unmarshal(b []byte) error

type MethodMatch_ParameterMatchSpecifierValidationError added in v0.6.8

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 added in v0.6.8

Cause function returns cause value.

func (MethodMatch_ParameterMatchSpecifierValidationError) Error added in v0.6.8

Error satisfies the builtin error interface

func (MethodMatch_ParameterMatchSpecifierValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (MethodMatch_ParameterMatchSpecifierValidationError) Field added in v0.6.8

Field function returns field value.

func (MethodMatch_ParameterMatchSpecifierValidationError) Key added in v0.6.8

Key function returns key value.

func (MethodMatch_ParameterMatchSpecifierValidationError) Reason added in v0.6.8

Reason function returns reason value.

type MethodMatch_ParameterMatchSpecifier_ExactMatch added in v0.6.8

type MethodMatch_ParameterMatchSpecifier_ExactMatch struct {
	ExactMatch string `protobuf:"bytes,3,opt,name=exact_match,json=exactMatch,proto3,oneof"`
}

func (*MethodMatch_ParameterMatchSpecifier_ExactMatch) MarshalTo added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier_ExactMatch) Size added in v0.6.8

type MethodMatch_ParameterMatchSpecifier_RangeMatch added in v0.6.8

type MethodMatch_ParameterMatchSpecifier_RangeMatch struct {
	RangeMatch *_type.Int64Range `protobuf:"bytes,4,opt,name=range_match,json=rangeMatch,proto3,oneof"`
}

func (*MethodMatch_ParameterMatchSpecifier_RangeMatch) MarshalTo added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier_RangeMatch) Size added in v0.6.8

type ProtocolType added in v0.6.8

type ProtocolType int32

Dubbo Protocol types supported by Envoy.

const (
	ProtocolType_Dubbo ProtocolType = 0
)

func (ProtocolType) EnumDescriptor added in v0.6.8

func (ProtocolType) EnumDescriptor() ([]byte, []int)

func (ProtocolType) String added in v0.6.8

func (x ProtocolType) String() string

type Route added in v0.6.8

type Route struct {
	// Route matching parameters.
	Match RouteMatch `protobuf:"bytes,1,opt,name=match,proto3" json:"match"`
	// Route request to some upstream cluster.
	Route                RouteAction `protobuf:"bytes,2,opt,name=route,proto3" json:"route"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

[#comment:next free field: 3]

func (*Route) Descriptor added in v0.6.8

func (*Route) Descriptor() ([]byte, []int)

func (*Route) GetMatch added in v0.6.8

func (m *Route) GetMatch() RouteMatch

func (*Route) GetRoute added in v0.6.8

func (m *Route) GetRoute() RouteAction

func (*Route) Marshal added in v0.6.8

func (m *Route) Marshal() (dAtA []byte, err error)

func (*Route) MarshalTo added in v0.6.8

func (m *Route) MarshalTo(dAtA []byte) (int, error)

func (*Route) ProtoMessage added in v0.6.8

func (*Route) ProtoMessage()

func (*Route) Reset added in v0.6.8

func (m *Route) Reset()

func (*Route) Size added in v0.6.8

func (m *Route) Size() (n int)

func (*Route) String added in v0.6.8

func (m *Route) String() string

func (*Route) Unmarshal added in v0.6.8

func (m *Route) Unmarshal(dAtA []byte) error

func (*Route) Validate added in v0.6.8

func (m *Route) Validate() error

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 added in v0.6.8

func (m *Route) XXX_DiscardUnknown()

func (*Route) XXX_Marshal added in v0.6.8

func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Route) XXX_Merge added in v0.6.8

func (m *Route) XXX_Merge(src proto.Message)

func (*Route) XXX_Size added in v0.6.8

func (m *Route) XXX_Size() int

func (*Route) XXX_Unmarshal added in v0.6.8

func (m *Route) XXX_Unmarshal(b []byte) error

type RouteAction added in v0.6.8

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:"-"`
}

[#comment:next free field: 3]

func (*RouteAction) Descriptor added in v0.6.8

func (*RouteAction) Descriptor() ([]byte, []int)

func (*RouteAction) GetCluster added in v0.6.8

func (m *RouteAction) GetCluster() string

func (*RouteAction) GetClusterSpecifier added in v0.6.8

func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier

func (*RouteAction) GetWeightedClusters added in v0.6.8

func (m *RouteAction) GetWeightedClusters() *route.WeightedCluster

func (*RouteAction) Marshal added in v0.6.8

func (m *RouteAction) Marshal() (dAtA []byte, err error)

func (*RouteAction) MarshalTo added in v0.6.8

func (m *RouteAction) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction) ProtoMessage added in v0.6.8

func (*RouteAction) ProtoMessage()

func (*RouteAction) Reset added in v0.6.8

func (m *RouteAction) Reset()

func (*RouteAction) Size added in v0.6.8

func (m *RouteAction) Size() (n int)

func (*RouteAction) String added in v0.6.8

func (m *RouteAction) String() string

func (*RouteAction) Unmarshal added in v0.6.8

func (m *RouteAction) Unmarshal(dAtA []byte) error

func (*RouteAction) Validate added in v0.6.8

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 added in v0.6.8

func (m *RouteAction) XXX_DiscardUnknown()

func (*RouteAction) XXX_Marshal added in v0.6.8

func (m *RouteAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction) XXX_Merge added in v0.6.8

func (m *RouteAction) XXX_Merge(src proto.Message)

func (*RouteAction) XXX_OneofFuncs added in v0.6.8

func (*RouteAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RouteAction) XXX_Size added in v0.6.8

func (m *RouteAction) XXX_Size() int

func (*RouteAction) XXX_Unmarshal added in v0.6.8

func (m *RouteAction) XXX_Unmarshal(b []byte) error

type RouteActionValidationError added in v0.6.8

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 added in v0.6.8

Cause function returns cause value.

func (RouteActionValidationError) Error added in v0.6.8

Error satisfies the builtin error interface

func (RouteActionValidationError) ErrorName added in v0.7.0

func (e RouteActionValidationError) ErrorName() string

ErrorName returns error name.

func (RouteActionValidationError) Field added in v0.6.8

Field function returns field value.

func (RouteActionValidationError) Key added in v0.6.8

Key function returns key value.

func (RouteActionValidationError) Reason added in v0.6.8

Reason function returns reason value.

type RouteAction_Cluster added in v0.6.8

type RouteAction_Cluster struct {
	Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3,oneof"`
}

func (*RouteAction_Cluster) MarshalTo added in v0.6.8

func (m *RouteAction_Cluster) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_Cluster) Size added in v0.6.8

func (m *RouteAction_Cluster) Size() (n int)

type RouteAction_WeightedClusters added in v0.6.8

type RouteAction_WeightedClusters struct {
	WeightedClusters *route.WeightedCluster `protobuf:"bytes,2,opt,name=weighted_clusters,json=weightedClusters,proto3,oneof"`
}

func (*RouteAction_WeightedClusters) MarshalTo added in v0.6.8

func (m *RouteAction_WeightedClusters) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_WeightedClusters) Size added in v0.6.8

func (m *RouteAction_WeightedClusters) Size() (n int)

type RouteConfiguration added in v0.6.8

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

[#comment:next free field: 6]

func (*RouteConfiguration) Descriptor added in v0.6.8

func (*RouteConfiguration) Descriptor() ([]byte, []int)

func (*RouteConfiguration) GetGroup added in v0.6.8

func (m *RouteConfiguration) GetGroup() string

func (*RouteConfiguration) GetInterface added in v0.6.8

func (m *RouteConfiguration) GetInterface() string

func (*RouteConfiguration) GetName added in v0.6.8

func (m *RouteConfiguration) GetName() string

func (*RouteConfiguration) GetRoutes added in v0.6.8

func (m *RouteConfiguration) GetRoutes() []Route

func (*RouteConfiguration) GetVersion added in v0.6.8

func (m *RouteConfiguration) GetVersion() string

func (*RouteConfiguration) Marshal added in v0.6.8

func (m *RouteConfiguration) Marshal() (dAtA []byte, err error)

func (*RouteConfiguration) MarshalTo added in v0.6.8

func (m *RouteConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*RouteConfiguration) ProtoMessage added in v0.6.8

func (*RouteConfiguration) ProtoMessage()

func (*RouteConfiguration) Reset added in v0.6.8

func (m *RouteConfiguration) Reset()

func (*RouteConfiguration) Size added in v0.6.8

func (m *RouteConfiguration) Size() (n int)

func (*RouteConfiguration) String added in v0.6.8

func (m *RouteConfiguration) String() string

func (*RouteConfiguration) Unmarshal added in v0.6.8

func (m *RouteConfiguration) Unmarshal(dAtA []byte) error

func (*RouteConfiguration) Validate added in v0.6.8

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 added in v0.6.8

func (m *RouteConfiguration) XXX_DiscardUnknown()

func (*RouteConfiguration) XXX_Marshal added in v0.6.8

func (m *RouteConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteConfiguration) XXX_Merge added in v0.6.8

func (m *RouteConfiguration) XXX_Merge(src proto.Message)

func (*RouteConfiguration) XXX_Size added in v0.6.8

func (m *RouteConfiguration) XXX_Size() int

func (*RouteConfiguration) XXX_Unmarshal added in v0.6.8

func (m *RouteConfiguration) XXX_Unmarshal(b []byte) error

type RouteConfigurationValidationError added in v0.6.8

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 added in v0.6.8

Cause function returns cause value.

func (RouteConfigurationValidationError) Error added in v0.6.8

Error satisfies the builtin error interface

func (RouteConfigurationValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (RouteConfigurationValidationError) Field added in v0.6.8

Field function returns field value.

func (RouteConfigurationValidationError) Key added in v0.6.8

Key function returns key value.

func (RouteConfigurationValidationError) Reason added in v0.6.8

Reason function returns reason value.

type RouteMatch added in v0.6.8

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:"-"`
}

[#comment:next free field: 3]

func (*RouteMatch) Descriptor added in v0.6.8

func (*RouteMatch) Descriptor() ([]byte, []int)

func (*RouteMatch) GetHeaders added in v0.6.8

func (m *RouteMatch) GetHeaders() []*route.HeaderMatcher

func (*RouteMatch) GetMethod added in v0.6.8

func (m *RouteMatch) GetMethod() *MethodMatch

func (*RouteMatch) Marshal added in v0.6.8

func (m *RouteMatch) Marshal() (dAtA []byte, err error)

func (*RouteMatch) MarshalTo added in v0.6.8

func (m *RouteMatch) MarshalTo(dAtA []byte) (int, error)

func (*RouteMatch) ProtoMessage added in v0.6.8

func (*RouteMatch) ProtoMessage()

func (*RouteMatch) Reset added in v0.6.8

func (m *RouteMatch) Reset()

func (*RouteMatch) Size added in v0.6.8

func (m *RouteMatch) Size() (n int)

func (*RouteMatch) String added in v0.6.8

func (m *RouteMatch) String() string

func (*RouteMatch) Unmarshal added in v0.6.8

func (m *RouteMatch) Unmarshal(dAtA []byte) error

func (*RouteMatch) Validate added in v0.6.8

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 added in v0.6.8

func (m *RouteMatch) XXX_DiscardUnknown()

func (*RouteMatch) XXX_Marshal added in v0.6.8

func (m *RouteMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteMatch) XXX_Merge added in v0.6.8

func (m *RouteMatch) XXX_Merge(src proto.Message)

func (*RouteMatch) XXX_Size added in v0.6.8

func (m *RouteMatch) XXX_Size() int

func (*RouteMatch) XXX_Unmarshal added in v0.6.8

func (m *RouteMatch) XXX_Unmarshal(b []byte) error

type RouteMatchValidationError added in v0.6.8

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 added in v0.6.8

func (e RouteMatchValidationError) Cause() error

Cause function returns cause value.

func (RouteMatchValidationError) Error added in v0.6.8

Error satisfies the builtin error interface

func (RouteMatchValidationError) ErrorName added in v0.7.0

func (e RouteMatchValidationError) ErrorName() string

ErrorName returns error name.

func (RouteMatchValidationError) Field added in v0.6.8

Field function returns field value.

func (RouteMatchValidationError) Key added in v0.6.8

Key function returns key value.

func (RouteMatchValidationError) Reason added in v0.6.8

func (e RouteMatchValidationError) Reason() string

Reason function returns reason value.

type RouteValidationError added in v0.6.8

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 added in v0.6.8

func (e RouteValidationError) Cause() error

Cause function returns cause value.

func (RouteValidationError) Error added in v0.6.8

func (e RouteValidationError) Error() string

Error satisfies the builtin error interface

func (RouteValidationError) ErrorName added in v0.7.0

func (e RouteValidationError) ErrorName() string

ErrorName returns error name.

func (RouteValidationError) Field added in v0.6.8

func (e RouteValidationError) Field() string

Field function returns field value.

func (RouteValidationError) Key added in v0.6.8

func (e RouteValidationError) Key() bool

Key function returns key value.

func (RouteValidationError) Reason added in v0.6.8

func (e RouteValidationError) Reason() string

Reason function returns reason value.

type SerializationType added in v0.6.8

type SerializationType int32

Dubbo Serialization types supported by Envoy.

const (
	SerializationType_Hessian2 SerializationType = 0
)

func (SerializationType) EnumDescriptor added in v0.6.8

func (SerializationType) EnumDescriptor() ([]byte, []int)

func (SerializationType) String added in v0.6.8

func (x SerializationType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL