envoy_config_filter_network_thrift_proxy_v2alpha1

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TransportType_name = map[int32]string{
		0: "AUTO_TRANSPORT",
		1: "FRAMED",
		2: "UNFRAMED",
		3: "HEADER",
	}
	TransportType_value = map[string]int32{
		"AUTO_TRANSPORT": 0,
		"FRAMED":         1,
		"UNFRAMED":       2,
		"HEADER":         3,
	}
)

Enum value maps for TransportType.

View Source
var (
	ProtocolType_name = map[int32]string{
		0: "AUTO_PROTOCOL",
		1: "BINARY",
		2: "LAX_BINARY",
		3: "COMPACT",
		4: "TWITTER",
	}
	ProtocolType_value = map[string]int32{
		"AUTO_PROTOCOL": 0,
		"BINARY":        1,
		"LAX_BINARY":    2,
		"COMPACT":       3,
		"TWITTER":       4,
	}
)

Enum value maps for ProtocolType.

View Source
var File_envoy_config_filter_network_thrift_proxy_v2alpha1_route_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ProtocolType added in v0.6.0

type ProtocolType int32
const (
	ProtocolType_AUTO_PROTOCOL ProtocolType = 0
	ProtocolType_BINARY        ProtocolType = 1
	ProtocolType_LAX_BINARY    ProtocolType = 2
	ProtocolType_COMPACT       ProtocolType = 3
	ProtocolType_TWITTER       ProtocolType = 4
)

func (ProtocolType) Descriptor added in v0.9.7

func (ProtocolType) Enum added in v0.9.7

func (x ProtocolType) Enum() *ProtocolType

func (ProtocolType) EnumDescriptor deprecated added in v0.6.0

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

Deprecated: Use ProtocolType.Descriptor instead.

func (ProtocolType) Number added in v0.9.7

func (ProtocolType) String added in v0.6.0

func (x ProtocolType) String() string

func (ProtocolType) Type added in v0.9.7

type Route

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

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

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetMatch

func (x *Route) GetMatch() *RouteMatch

func (*Route) GetRoute

func (x *Route) GetRoute() *RouteAction

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect added in v0.9.7

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

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

func (*Route) Validate

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

type RouteAction struct {

	// Types that are assignable to ClusterSpecifier:
	//	*RouteAction_Cluster
	//	*RouteAction_WeightedClusters
	//	*RouteAction_ClusterHeader
	ClusterSpecifier isRouteAction_ClusterSpecifier `protobuf_oneof:"cluster_specifier"`
	MetadataMatch    *core.Metadata                 `protobuf:"bytes,3,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"`
	RateLimits       []*route.RateLimit             `protobuf:"bytes,4,rep,name=rate_limits,json=rateLimits,proto3" json:"rate_limits,omitempty"`
	StripServiceName bool                           `protobuf:"varint,5,opt,name=strip_service_name,json=stripServiceName,proto3" json:"strip_service_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteAction) Descriptor deprecated

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

Deprecated: Use RouteAction.ProtoReflect.Descriptor instead.

func (*RouteAction) GetCluster

func (x *RouteAction) GetCluster() string

func (*RouteAction) GetClusterHeader added in v0.9.7

func (x *RouteAction) GetClusterHeader() string

func (*RouteAction) GetClusterSpecifier added in v0.6.0

func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier

func (*RouteAction) GetMetadataMatch added in v0.6.0

func (x *RouteAction) GetMetadataMatch() *core.Metadata

func (*RouteAction) GetRateLimits added in v0.6.2

func (x *RouteAction) GetRateLimits() []*route.RateLimit

func (*RouteAction) GetStripServiceName added in v0.9.7

func (x *RouteAction) GetStripServiceName() bool

func (*RouteAction) GetWeightedClusters added in v0.6.0

func (x *RouteAction) GetWeightedClusters() *WeightedCluster

func (*RouteAction) ProtoMessage

func (*RouteAction) ProtoMessage()

func (*RouteAction) ProtoReflect added in v0.9.7

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

func (*RouteAction) Reset

func (x *RouteAction) Reset()

func (*RouteAction) String

func (x *RouteAction) String() string

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.

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

Cause function returns cause value.

func (RouteActionValidationError) Error

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

Field function returns field value.

func (RouteActionValidationError) Key

Key function returns key value.

func (RouteActionValidationError) Reason

Reason function returns reason value.

type RouteAction_Cluster added in v0.6.0

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

type RouteAction_ClusterHeader added in v0.9.7

type RouteAction_ClusterHeader struct {
	ClusterHeader string `protobuf:"bytes,6,opt,name=cluster_header,json=clusterHeader,proto3,oneof"`
}

type RouteAction_WeightedClusters added in v0.6.0

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

type RouteConfiguration

type RouteConfiguration struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Routes []*Route `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteConfiguration) Descriptor deprecated

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

Deprecated: Use RouteConfiguration.ProtoReflect.Descriptor instead.

func (*RouteConfiguration) GetName

func (x *RouteConfiguration) GetName() string

func (*RouteConfiguration) GetRoutes

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

func (*RouteConfiguration) ProtoMessage

func (*RouteConfiguration) ProtoMessage()

func (*RouteConfiguration) ProtoReflect added in v0.9.7

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

func (*RouteConfiguration) Reset

func (x *RouteConfiguration) Reset()

func (*RouteConfiguration) String

func (x *RouteConfiguration) String() string

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.

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

Cause function returns cause value.

func (RouteConfigurationValidationError) Error

Error satisfies the builtin error interface

func (RouteConfigurationValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (RouteConfigurationValidationError) Field

Field function returns field value.

func (RouteConfigurationValidationError) Key

Key function returns key value.

func (RouteConfigurationValidationError) Reason

Reason function returns reason value.

type RouteMatch

type RouteMatch struct {

	// Types that are assignable to MatchSpecifier:
	//	*RouteMatch_MethodName
	//	*RouteMatch_ServiceName
	MatchSpecifier isRouteMatch_MatchSpecifier `protobuf_oneof:"match_specifier"`
	Invert         bool                        `protobuf:"varint,3,opt,name=invert,proto3" json:"invert,omitempty"`
	Headers        []*route.HeaderMatcher      `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteMatch) Descriptor deprecated

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

Deprecated: Use RouteMatch.ProtoReflect.Descriptor instead.

func (*RouteMatch) GetHeaders added in v0.6.0

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

func (*RouteMatch) GetInvert added in v0.6.0

func (x *RouteMatch) GetInvert() bool

func (*RouteMatch) GetMatchSpecifier added in v0.6.0

func (m *RouteMatch) GetMatchSpecifier() isRouteMatch_MatchSpecifier

func (*RouteMatch) GetMethodName added in v0.6.0

func (x *RouteMatch) GetMethodName() string

func (*RouteMatch) GetServiceName added in v0.6.0

func (x *RouteMatch) GetServiceName() string

func (*RouteMatch) ProtoMessage

func (*RouteMatch) ProtoMessage()

func (*RouteMatch) ProtoReflect added in v0.9.7

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

func (*RouteMatch) Reset

func (x *RouteMatch) Reset()

func (*RouteMatch) String

func (x *RouteMatch) String() string

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.

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

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

Field function returns field value.

func (RouteMatchValidationError) Key

Key function returns key value.

func (RouteMatchValidationError) Reason

func (e RouteMatchValidationError) Reason() string

Reason function returns reason value.

type RouteMatch_MethodName added in v0.6.0

type RouteMatch_MethodName struct {
	MethodName string `protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3,oneof"`
}

type RouteMatch_ServiceName added in v0.6.0

type RouteMatch_ServiceName struct {
	ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3,oneof"`
}

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

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

type ThriftFilter struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to ConfigType:
	//	*ThriftFilter_Config
	//	*ThriftFilter_TypedConfig
	ConfigType isThriftFilter_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

func (*ThriftFilter) Descriptor deprecated added in v0.6.1

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

Deprecated: Use ThriftFilter.ProtoReflect.Descriptor instead.

func (*ThriftFilter) GetConfig deprecated added in v0.6.1

func (x *ThriftFilter) GetConfig() *_struct.Struct

Deprecated: Do not use.

func (*ThriftFilter) GetConfigType added in v0.6.3

func (m *ThriftFilter) GetConfigType() isThriftFilter_ConfigType

func (*ThriftFilter) GetName added in v0.6.1

func (x *ThriftFilter) GetName() string

func (*ThriftFilter) GetTypedConfig added in v0.6.3

func (x *ThriftFilter) GetTypedConfig() *any.Any

func (*ThriftFilter) ProtoMessage added in v0.6.1

func (*ThriftFilter) ProtoMessage()

func (*ThriftFilter) ProtoReflect added in v0.9.7

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

func (*ThriftFilter) Reset added in v0.6.1

func (x *ThriftFilter) Reset()

func (*ThriftFilter) String added in v0.6.1

func (x *ThriftFilter) String() string

func (*ThriftFilter) Validate added in v0.6.1

func (m *ThriftFilter) Validate() error

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

type ThriftFilterValidationError added in v0.6.1

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

ThriftFilterValidationError is the validation error returned by ThriftFilter.Validate if the designated constraints aren't met.

func (ThriftFilterValidationError) Cause added in v0.6.1

Cause function returns cause value.

func (ThriftFilterValidationError) Error added in v0.6.1

Error satisfies the builtin error interface

func (ThriftFilterValidationError) ErrorName added in v0.7.0

func (e ThriftFilterValidationError) ErrorName() string

ErrorName returns error name.

func (ThriftFilterValidationError) Field added in v0.6.1

Field function returns field value.

func (ThriftFilterValidationError) Key added in v0.6.1

Key function returns key value.

func (ThriftFilterValidationError) Reason added in v0.6.1

Reason function returns reason value.

type ThriftFilter_Config added in v0.6.3

type ThriftFilter_Config struct {
	// Deprecated: Do not use.
	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type ThriftFilter_TypedConfig added in v0.6.3

type ThriftFilter_TypedConfig struct {
	TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type ThriftProtocolOptions added in v0.6.0

type ThriftProtocolOptions struct {
	Transport TransportType `` /* 141-byte string literal not displayed */
	Protocol  ProtocolType  `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ThriftProtocolOptions) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ThriftProtocolOptions.ProtoReflect.Descriptor instead.

func (*ThriftProtocolOptions) GetProtocol added in v0.6.0

func (x *ThriftProtocolOptions) GetProtocol() ProtocolType

func (*ThriftProtocolOptions) GetTransport added in v0.6.0

func (x *ThriftProtocolOptions) GetTransport() TransportType

func (*ThriftProtocolOptions) ProtoMessage added in v0.6.0

func (*ThriftProtocolOptions) ProtoMessage()

func (*ThriftProtocolOptions) ProtoReflect added in v0.9.7

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

func (*ThriftProtocolOptions) Reset added in v0.6.0

func (x *ThriftProtocolOptions) Reset()

func (*ThriftProtocolOptions) String added in v0.6.0

func (x *ThriftProtocolOptions) String() string

func (*ThriftProtocolOptions) Validate added in v0.6.0

func (m *ThriftProtocolOptions) Validate() error

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

type ThriftProtocolOptionsValidationError added in v0.6.0

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

ThriftProtocolOptionsValidationError is the validation error returned by ThriftProtocolOptions.Validate if the designated constraints aren't met.

func (ThriftProtocolOptionsValidationError) Cause added in v0.6.0

Cause function returns cause value.

func (ThriftProtocolOptionsValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

func (ThriftProtocolOptionsValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (ThriftProtocolOptionsValidationError) Field added in v0.6.0

Field function returns field value.

func (ThriftProtocolOptionsValidationError) Key added in v0.6.0

Key function returns key value.

func (ThriftProtocolOptionsValidationError) Reason added in v0.6.0

Reason function returns reason value.

type ThriftProxy

type ThriftProxy struct {
	Transport     TransportType       `` /* 141-byte string literal not displayed */
	Protocol      ProtocolType        `` /* 138-byte string literal not displayed */
	StatPrefix    string              `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	RouteConfig   *RouteConfiguration `protobuf:"bytes,4,opt,name=route_config,json=routeConfig,proto3" json:"route_config,omitempty"`
	ThriftFilters []*ThriftFilter     `protobuf:"bytes,5,rep,name=thrift_filters,json=thriftFilters,proto3" json:"thrift_filters,omitempty"`
	// contains filtered or unexported fields
}

func (*ThriftProxy) Descriptor deprecated

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

Deprecated: Use ThriftProxy.ProtoReflect.Descriptor instead.

func (*ThriftProxy) GetProtocol

func (x *ThriftProxy) GetProtocol() ProtocolType

func (*ThriftProxy) GetRouteConfig

func (x *ThriftProxy) GetRouteConfig() *RouteConfiguration

func (*ThriftProxy) GetStatPrefix

func (x *ThriftProxy) GetStatPrefix() string

func (*ThriftProxy) GetThriftFilters added in v0.6.1

func (x *ThriftProxy) GetThriftFilters() []*ThriftFilter

func (*ThriftProxy) GetTransport

func (x *ThriftProxy) GetTransport() TransportType

func (*ThriftProxy) ProtoMessage

func (*ThriftProxy) ProtoMessage()

func (*ThriftProxy) ProtoReflect added in v0.9.7

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

func (*ThriftProxy) Reset

func (x *ThriftProxy) Reset()

func (*ThriftProxy) String

func (x *ThriftProxy) String() string

func (*ThriftProxy) Validate

func (m *ThriftProxy) Validate() error

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

type ThriftProxyValidationError

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

ThriftProxyValidationError is the validation error returned by ThriftProxy.Validate if the designated constraints aren't met.

func (ThriftProxyValidationError) Cause

Cause function returns cause value.

func (ThriftProxyValidationError) Error

Error satisfies the builtin error interface

func (ThriftProxyValidationError) ErrorName added in v0.7.0

func (e ThriftProxyValidationError) ErrorName() string

ErrorName returns error name.

func (ThriftProxyValidationError) Field

Field function returns field value.

func (ThriftProxyValidationError) Key

Key function returns key value.

func (ThriftProxyValidationError) Reason

Reason function returns reason value.

type TransportType added in v0.6.0

type TransportType int32
const (
	TransportType_AUTO_TRANSPORT TransportType = 0
	TransportType_FRAMED         TransportType = 1
	TransportType_UNFRAMED       TransportType = 2
	TransportType_HEADER         TransportType = 3
)

func (TransportType) Descriptor added in v0.9.7

func (TransportType) Enum added in v0.9.7

func (x TransportType) Enum() *TransportType

func (TransportType) EnumDescriptor deprecated added in v0.6.0

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

Deprecated: Use TransportType.Descriptor instead.

func (TransportType) Number added in v0.9.7

func (TransportType) String added in v0.6.0

func (x TransportType) String() string

func (TransportType) Type added in v0.9.7

type WeightedCluster added in v0.6.0

type WeightedCluster struct {
	Clusters []*WeightedCluster_ClusterWeight `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// contains filtered or unexported fields
}

func (*WeightedCluster) Descriptor deprecated added in v0.6.0

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

Deprecated: Use WeightedCluster.ProtoReflect.Descriptor instead.

func (*WeightedCluster) GetClusters added in v0.6.0

func (x *WeightedCluster) GetClusters() []*WeightedCluster_ClusterWeight

func (*WeightedCluster) ProtoMessage added in v0.6.0

func (*WeightedCluster) ProtoMessage()

func (*WeightedCluster) ProtoReflect added in v0.9.7

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

func (*WeightedCluster) Reset added in v0.6.0

func (x *WeightedCluster) Reset()

func (*WeightedCluster) String added in v0.6.0

func (x *WeightedCluster) String() string

func (*WeightedCluster) Validate added in v0.6.0

func (m *WeightedCluster) Validate() error

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

type WeightedClusterValidationError added in v0.6.0

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

WeightedClusterValidationError is the validation error returned by WeightedCluster.Validate if the designated constraints aren't met.

func (WeightedClusterValidationError) Cause added in v0.6.0

Cause function returns cause value.

func (WeightedClusterValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

func (WeightedClusterValidationError) ErrorName added in v0.7.0

func (e WeightedClusterValidationError) ErrorName() string

ErrorName returns error name.

func (WeightedClusterValidationError) Field added in v0.6.0

Field function returns field value.

func (WeightedClusterValidationError) Key added in v0.6.0

Key function returns key value.

func (WeightedClusterValidationError) Reason added in v0.6.0

Reason function returns reason value.

type WeightedCluster_ClusterWeight added in v0.6.0

type WeightedCluster_ClusterWeight struct {
	Name          string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Weight        *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=weight,proto3" json:"weight,omitempty"`
	MetadataMatch *core.Metadata        `protobuf:"bytes,3,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"`
	// contains filtered or unexported fields
}

func (*WeightedCluster_ClusterWeight) Descriptor deprecated added in v0.6.0

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

Deprecated: Use WeightedCluster_ClusterWeight.ProtoReflect.Descriptor instead.

func (*WeightedCluster_ClusterWeight) GetMetadataMatch added in v0.6.0

func (x *WeightedCluster_ClusterWeight) GetMetadataMatch() *core.Metadata

func (*WeightedCluster_ClusterWeight) GetName added in v0.6.0

func (*WeightedCluster_ClusterWeight) GetWeight added in v0.6.0

func (*WeightedCluster_ClusterWeight) ProtoMessage added in v0.6.0

func (*WeightedCluster_ClusterWeight) ProtoMessage()

func (*WeightedCluster_ClusterWeight) ProtoReflect added in v0.9.7

func (*WeightedCluster_ClusterWeight) Reset added in v0.6.0

func (x *WeightedCluster_ClusterWeight) Reset()

func (*WeightedCluster_ClusterWeight) String added in v0.6.0

func (*WeightedCluster_ClusterWeight) Validate added in v0.6.0

func (m *WeightedCluster_ClusterWeight) Validate() error

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

type WeightedCluster_ClusterWeightValidationError added in v0.6.0

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

WeightedCluster_ClusterWeightValidationError is the validation error returned by WeightedCluster_ClusterWeight.Validate if the designated constraints aren't met.

func (WeightedCluster_ClusterWeightValidationError) Cause added in v0.6.0

Cause function returns cause value.

func (WeightedCluster_ClusterWeightValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

func (WeightedCluster_ClusterWeightValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (WeightedCluster_ClusterWeightValidationError) Field added in v0.6.0

Field function returns field value.

func (WeightedCluster_ClusterWeightValidationError) Key added in v0.6.0

Key function returns key value.

func (WeightedCluster_ClusterWeightValidationError) Reason added in v0.6.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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