envoy_config_filter_network_dubbo_proxy_v2alpha1

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

README

Protocol buffer definitions for the Dubbo proxy.

Documentation

Index

Constants

This section is empty.

Variables

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

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

func (*DubboFilter) ProtoMessage()

func (*DubboFilter) Reset

func (m *DubboFilter) Reset()

func (*DubboFilter) String

func (m *DubboFilter) String() string

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

[#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) ProtoMessage

func (*DubboProxy) ProtoMessage()

func (*DubboProxy) Reset

func (m *DubboProxy) Reset()

func (*DubboProxy) String

func (m *DubboProxy) String() string

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 MethodMatch

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

func (*MethodMatch) Descriptor

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

func (*MethodMatch) GetName

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

func (*MethodMatch) GetParamsMatch

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

func (*MethodMatch) ProtoMessage

func (*MethodMatch) ProtoMessage()

func (*MethodMatch) Reset

func (m *MethodMatch) Reset()

func (*MethodMatch) String

func (m *MethodMatch) String() string

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 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 (*MethodMatch_ParameterMatchSpecifier) ProtoMessage

func (*MethodMatch_ParameterMatchSpecifier) ProtoMessage()

func (*MethodMatch_ParameterMatchSpecifier) Reset

func (*MethodMatch_ParameterMatchSpecifier) String

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 (*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 (*MethodMatch_ParameterMatchSpecifier) XXX_Unmarshal

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

type MethodMatch_ParameterMatchSpecifier_ExactMatch

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

type MethodMatch_ParameterMatchSpecifier_RangeMatch

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

type ProtocolType

type ProtocolType int32

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) Descriptor() ([]byte, []int)

func (*Route) GetMatch

func (m *Route) GetMatch() *RouteMatch

func (*Route) GetRoute

func (m *Route) GetRoute() *RouteAction

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) Reset

func (m *Route) Reset()

func (*Route) String

func (m *Route) String() string

func (*Route) XXX_DiscardUnknown

func (m *Route) XXX_DiscardUnknown()

func (*Route) XXX_Marshal

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

func (*Route) XXX_Merge

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

func (*Route) XXX_Size

func (m *Route) XXX_Size() int

func (*Route) XXX_Unmarshal

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

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

func (*RouteAction) ProtoMessage()

func (*RouteAction) Reset

func (m *RouteAction) Reset()

func (*RouteAction) String

func (m *RouteAction) String() string

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 RouteAction_Cluster

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

type RouteAction_WeightedClusters

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

type RouteConfiguration

type RouteConfiguration struct {
	// 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) ProtoMessage

func (*RouteConfiguration) ProtoMessage()

func (*RouteConfiguration) Reset

func (m *RouteConfiguration) Reset()

func (*RouteConfiguration) String

func (m *RouteConfiguration) String() string

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

func (*RouteMatch) ProtoMessage()

func (*RouteMatch) Reset

func (m *RouteMatch) Reset()

func (*RouteMatch) String

func (m *RouteMatch) String() string

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

Jump to

Keyboard shortcuts

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