envoy_config_filter_network_dubbo_proxy_v2alpha1

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2020 License: Apache-2.0 Imports: 22 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProtocolType_name = map[int32]string{
		0: "Dubbo",
	}
	ProtocolType_value = map[string]int32{
		"Dubbo": 0,
	}
)

Enum value maps for ProtocolType.

View Source
var (
	SerializationType_name = map[int32]string{
		0: "Hessian2",
	}
	SerializationType_value = map[string]int32{
		"Hessian2": 0,
	}
)

Enum value maps for SerializationType.

View Source
var File_envoy_config_filter_network_dubbo_proxy_v2alpha1_dubbo_proxy_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_filter_network_dubbo_proxy_v2alpha1_route_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DubboFilter added in v0.6.8

type DubboFilter struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Config *any.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*DubboFilter) Descriptor deprecated added in v0.6.8

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

Deprecated: Use DubboFilter.ProtoReflect.Descriptor instead.

func (*DubboFilter) GetConfig added in v0.6.8

func (x *DubboFilter) GetConfig() *any.Any

func (*DubboFilter) GetName added in v0.6.8

func (x *DubboFilter) GetName() string

func (*DubboFilter) ProtoMessage added in v0.6.8

func (*DubboFilter) ProtoMessage()

func (*DubboFilter) ProtoReflect added in v0.9.6

func (x *DubboFilter) ProtoReflect() protoreflect.Message

func (*DubboFilter) Reset added in v0.6.8

func (x *DubboFilter) Reset()

func (*DubboFilter) String added in v0.6.8

func (x *DubboFilter) String() string

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.

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 {
	StatPrefix        string                `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	ProtocolType      ProtocolType          `` /* 165-byte string literal not displayed */
	SerializationType SerializationType     `` /* 185-byte string literal not displayed */
	RouteConfig       []*RouteConfiguration `protobuf:"bytes,4,rep,name=route_config,json=routeConfig,proto3" json:"route_config,omitempty"`
	DubboFilters      []*DubboFilter        `protobuf:"bytes,5,rep,name=dubbo_filters,json=dubboFilters,proto3" json:"dubbo_filters,omitempty"`
	// contains filtered or unexported fields
}

func (*DubboProxy) Descriptor deprecated

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

Deprecated: Use DubboProxy.ProtoReflect.Descriptor instead.

func (*DubboProxy) GetDubboFilters added in v0.6.8

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

func (*DubboProxy) GetProtocolType

func (x *DubboProxy) GetProtocolType() ProtocolType

func (*DubboProxy) GetRouteConfig added in v0.6.8

func (x *DubboProxy) GetRouteConfig() []*RouteConfiguration

func (*DubboProxy) GetSerializationType

func (x *DubboProxy) GetSerializationType() SerializationType

func (*DubboProxy) GetStatPrefix

func (x *DubboProxy) GetStatPrefix() string

func (*DubboProxy) ProtoMessage

func (*DubboProxy) ProtoMessage()

func (*DubboProxy) ProtoReflect added in v0.9.6

func (x *DubboProxy) ProtoReflect() protoreflect.Message

func (*DubboProxy) Reset

func (x *DubboProxy) Reset()

func (*DubboProxy) String

func (x *DubboProxy) String() string

func (*DubboProxy) Validate

func (m *DubboProxy) Validate() error

Validate checks the field values on DubboProxy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DubboProxyValidationError

type DubboProxyValidationError struct {
	// contains filtered or unexported fields
}

DubboProxyValidationError is the validation error returned by DubboProxy.Validate if the designated constraints aren't met.

func (DubboProxyValidationError) Cause

func (e DubboProxyValidationError) Cause() error

Cause function returns cause value.

func (DubboProxyValidationError) Error

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 {
	Name        *matcher.StringMatcher                          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ParamsMatch map[uint32]*MethodMatch_ParameterMatchSpecifier `` /* 183-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MethodMatch) Descriptor deprecated added in v0.6.8

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

Deprecated: Use MethodMatch.ProtoReflect.Descriptor instead.

func (*MethodMatch) GetName added in v0.6.8

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

func (*MethodMatch) GetParamsMatch added in v0.6.8

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

func (*MethodMatch) ProtoMessage added in v0.6.8

func (*MethodMatch) ProtoMessage()

func (*MethodMatch) ProtoReflect added in v0.9.6

func (x *MethodMatch) ProtoReflect() protoreflect.Message

func (*MethodMatch) Reset added in v0.6.8

func (x *MethodMatch) Reset()

func (*MethodMatch) String added in v0.6.8

func (x *MethodMatch) String() string

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.

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 assignable to ParameterMatchSpecifier:
	//	*MethodMatch_ParameterMatchSpecifier_ExactMatch
	//	*MethodMatch_ParameterMatchSpecifier_RangeMatch
	ParameterMatchSpecifier isMethodMatch_ParameterMatchSpecifier_ParameterMatchSpecifier `protobuf_oneof:"parameter_match_specifier"`
	// contains filtered or unexported fields
}

func (*MethodMatch_ParameterMatchSpecifier) Descriptor deprecated added in v0.6.8

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

Deprecated: Use MethodMatch_ParameterMatchSpecifier.ProtoReflect.Descriptor instead.

func (*MethodMatch_ParameterMatchSpecifier) GetExactMatch added in v0.6.8

func (x *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) ProtoMessage added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier) ProtoMessage()

func (*MethodMatch_ParameterMatchSpecifier) ProtoReflect added in v0.9.6

func (*MethodMatch_ParameterMatchSpecifier) Reset added in v0.6.8

func (*MethodMatch_ParameterMatchSpecifier) String added in v0.6.8

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.

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

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

type ProtocolType added in v0.6.8

type ProtocolType int32
const (
	ProtocolType_Dubbo ProtocolType = 0
)

func (ProtocolType) Descriptor added in v0.9.6

func (ProtocolType) Enum added in v0.9.6

func (x ProtocolType) Enum() *ProtocolType

func (ProtocolType) EnumDescriptor deprecated added in v0.6.8

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

Deprecated: Use ProtocolType.Descriptor instead.

func (ProtocolType) Number added in v0.9.6

func (ProtocolType) String added in v0.6.8

func (x ProtocolType) String() string

func (ProtocolType) Type added in v0.9.6

type Route added in v0.6.8

type Route struct {
	Match *RouteMatch  `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"`
	Route *RouteAction `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
	// contains filtered or unexported fields
}

func (*Route) Descriptor deprecated added in v0.6.8

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

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetMatch added in v0.6.8

func (x *Route) GetMatch() *RouteMatch

func (*Route) GetRoute added in v0.6.8

func (x *Route) GetRoute() *RouteAction

func (*Route) ProtoMessage added in v0.6.8

func (*Route) ProtoMessage()

func (*Route) ProtoReflect added in v0.9.6

func (x *Route) ProtoReflect() protoreflect.Message

func (*Route) Reset added in v0.6.8

func (x *Route) Reset()

func (*Route) String added in v0.6.8

func (x *Route) String() string

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.

type RouteAction added in v0.6.8

type RouteAction struct {

	// Types that are assignable to ClusterSpecifier:
	//	*RouteAction_Cluster
	//	*RouteAction_WeightedClusters
	ClusterSpecifier isRouteAction_ClusterSpecifier `protobuf_oneof:"cluster_specifier"`
	// contains filtered or unexported fields
}

func (*RouteAction) Descriptor deprecated added in v0.6.8

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

Deprecated: Use RouteAction.ProtoReflect.Descriptor instead.

func (*RouteAction) GetCluster added in v0.6.8

func (x *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 (x *RouteAction) GetWeightedClusters() *route.WeightedCluster

func (*RouteAction) ProtoMessage added in v0.6.8

func (*RouteAction) ProtoMessage()

func (*RouteAction) ProtoReflect added in v0.9.6

func (x *RouteAction) ProtoReflect() protoreflect.Message

func (*RouteAction) Reset added in v0.6.8

func (x *RouteAction) Reset()

func (*RouteAction) String added in v0.6.8

func (x *RouteAction) String() string

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.

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

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

type RouteConfiguration added in v0.6.8

type RouteConfiguration struct {
	Name      string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Interface string   `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"`
	Group     string   `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
	Version   string   `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	Routes    []*Route `protobuf:"bytes,5,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteConfiguration) Descriptor deprecated added in v0.6.8

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

Deprecated: Use RouteConfiguration.ProtoReflect.Descriptor instead.

func (*RouteConfiguration) GetGroup added in v0.6.8

func (x *RouteConfiguration) GetGroup() string

func (*RouteConfiguration) GetInterface added in v0.6.8

func (x *RouteConfiguration) GetInterface() string

func (*RouteConfiguration) GetName added in v0.6.8

func (x *RouteConfiguration) GetName() string

func (*RouteConfiguration) GetRoutes added in v0.6.8

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

func (*RouteConfiguration) GetVersion added in v0.6.8

func (x *RouteConfiguration) GetVersion() string

func (*RouteConfiguration) ProtoMessage added in v0.6.8

func (*RouteConfiguration) ProtoMessage()

func (*RouteConfiguration) ProtoReflect added in v0.9.6

func (x *RouteConfiguration) ProtoReflect() protoreflect.Message

func (*RouteConfiguration) Reset added in v0.6.8

func (x *RouteConfiguration) Reset()

func (*RouteConfiguration) String added in v0.6.8

func (x *RouteConfiguration) String() string

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.

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  *MethodMatch           `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Headers []*route.HeaderMatcher `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteMatch) Descriptor deprecated added in v0.6.8

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

Deprecated: Use RouteMatch.ProtoReflect.Descriptor instead.

func (*RouteMatch) GetHeaders added in v0.6.8

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

func (*RouteMatch) GetMethod added in v0.6.8

func (x *RouteMatch) GetMethod() *MethodMatch

func (*RouteMatch) ProtoMessage added in v0.6.8

func (*RouteMatch) ProtoMessage()

func (*RouteMatch) ProtoReflect added in v0.9.6

func (x *RouteMatch) ProtoReflect() protoreflect.Message

func (*RouteMatch) Reset added in v0.6.8

func (x *RouteMatch) Reset()

func (*RouteMatch) String added in v0.6.8

func (x *RouteMatch) String() string

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.

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
const (
	SerializationType_Hessian2 SerializationType = 0
)

func (SerializationType) Descriptor added in v0.9.6

func (SerializationType) Enum added in v0.9.6

func (SerializationType) EnumDescriptor deprecated added in v0.6.8

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

Deprecated: Use SerializationType.Descriptor instead.

func (SerializationType) Number added in v0.9.6

func (SerializationType) String added in v0.6.8

func (x SerializationType) String() string

func (SerializationType) Type added in v0.9.6

Jump to

Keyboard shortcuts

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