v1alpha

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Tracing_OperationName_name = map[int32]string{
		0: "INGRESS",
		1: "EGRESS",
	}
	Tracing_OperationName_value = map[string]int32{
		"INGRESS": 0,
		"EGRESS":  1,
	}
)

Enum value maps for Tracing_OperationName.

View Source
var File_api_meta_protocol_proxy_v1alpha_meta_protocol_proxy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApplicationProtocol added in v1.4.1

type ApplicationProtocol struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Codec        *Codec `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`
	Multiplexing bool   `protobuf:"varint,3,opt,name=multiplexing,proto3" json:"multiplexing,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationProtocol) Descriptor deprecated added in v1.4.1

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

Deprecated: Use ApplicationProtocol.ProtoReflect.Descriptor instead.

func (*ApplicationProtocol) GetCodec added in v1.4.1

func (x *ApplicationProtocol) GetCodec() *Codec

func (*ApplicationProtocol) GetMultiplexing added in v1.4.1

func (x *ApplicationProtocol) GetMultiplexing() bool

func (*ApplicationProtocol) GetName added in v1.4.1

func (x *ApplicationProtocol) GetName() string

func (*ApplicationProtocol) ProtoMessage added in v1.4.1

func (*ApplicationProtocol) ProtoMessage()

func (*ApplicationProtocol) ProtoReflect added in v1.4.1

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

func (*ApplicationProtocol) Reset added in v1.4.1

func (x *ApplicationProtocol) Reset()

func (*ApplicationProtocol) String added in v1.4.1

func (x *ApplicationProtocol) String() string

func (*ApplicationProtocol) Validate added in v1.4.1

func (m *ApplicationProtocol) Validate() error

Validate checks the field values on ApplicationProtocol with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ApplicationProtocol) ValidateAll added in v1.4.1

func (m *ApplicationProtocol) ValidateAll() error

ValidateAll checks the field values on ApplicationProtocol with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApplicationProtocolMultiError, or nil if none found.

type ApplicationProtocolMultiError added in v1.4.1

type ApplicationProtocolMultiError []error

ApplicationProtocolMultiError is an error wrapping multiple validation errors returned by ApplicationProtocol.ValidateAll() if the designated constraints aren't met.

func (ApplicationProtocolMultiError) AllErrors added in v1.4.1

func (m ApplicationProtocolMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApplicationProtocolMultiError) Error added in v1.4.1

Error returns a concatenation of all the error messages it wraps.

type ApplicationProtocolValidationError added in v1.4.1

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

ApplicationProtocolValidationError is the validation error returned by ApplicationProtocol.Validate if the designated constraints aren't met.

func (ApplicationProtocolValidationError) Cause added in v1.4.1

Cause function returns cause value.

func (ApplicationProtocolValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (ApplicationProtocolValidationError) ErrorName added in v1.4.1

ErrorName returns error name.

func (ApplicationProtocolValidationError) Field added in v1.4.1

Field function returns field value.

func (ApplicationProtocolValidationError) Key added in v1.4.1

Key function returns key value.

func (ApplicationProtocolValidationError) Reason added in v1.4.1

Reason function returns reason value.

type Codec

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

func (*Codec) Descriptor deprecated

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

Deprecated: Use Codec.ProtoReflect.Descriptor instead.

func (*Codec) GetConfig

func (x *Codec) GetConfig() *any1.Any

func (*Codec) GetName

func (x *Codec) GetName() string

func (*Codec) ProtoMessage

func (*Codec) ProtoMessage()

func (*Codec) ProtoReflect

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

func (*Codec) Reset

func (x *Codec) Reset()

func (*Codec) String

func (x *Codec) String() string

func (*Codec) Validate

func (m *Codec) Validate() error

Validate checks the field values on Codec with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Codec) ValidateAll added in v1.4.1

func (m *Codec) ValidateAll() error

ValidateAll checks the field values on Codec with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CodecMultiError, or nil if none found.

type CodecMultiError added in v1.4.1

type CodecMultiError []error

CodecMultiError is an error wrapping multiple validation errors returned by Codec.ValidateAll() if the designated constraints aren't met.

func (CodecMultiError) AllErrors added in v1.4.1

func (m CodecMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CodecMultiError) Error added in v1.4.1

func (m CodecMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CodecValidationError

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

CodecValidationError is the validation error returned by Codec.Validate if the designated constraints aren't met.

func (CodecValidationError) Cause

func (e CodecValidationError) Cause() error

Cause function returns cause value.

func (CodecValidationError) Error

func (e CodecValidationError) Error() string

Error satisfies the builtin error interface

func (CodecValidationError) ErrorName

func (e CodecValidationError) ErrorName() string

ErrorName returns error name.

func (CodecValidationError) Field

func (e CodecValidationError) Field() string

Field function returns field value.

func (CodecValidationError) Key

func (e CodecValidationError) Key() bool

Key function returns key value.

func (CodecValidationError) Reason

func (e CodecValidationError) Reason() string

Reason function returns reason value.

type MetaProtocolFilter

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

func (*MetaProtocolFilter) Descriptor deprecated

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

Deprecated: Use MetaProtocolFilter.ProtoReflect.Descriptor instead.

func (*MetaProtocolFilter) GetConfig

func (x *MetaProtocolFilter) GetConfig() *any1.Any

func (*MetaProtocolFilter) GetName

func (x *MetaProtocolFilter) GetName() string

func (*MetaProtocolFilter) ProtoMessage

func (*MetaProtocolFilter) ProtoMessage()

func (*MetaProtocolFilter) ProtoReflect

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

func (*MetaProtocolFilter) Reset

func (x *MetaProtocolFilter) Reset()

func (*MetaProtocolFilter) String

func (x *MetaProtocolFilter) String() string

func (*MetaProtocolFilter) Validate

func (m *MetaProtocolFilter) Validate() error

Validate checks the field values on MetaProtocolFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MetaProtocolFilter) ValidateAll added in v1.4.1

func (m *MetaProtocolFilter) ValidateAll() error

ValidateAll checks the field values on MetaProtocolFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetaProtocolFilterMultiError, or nil if none found.

type MetaProtocolFilterMultiError added in v1.4.1

type MetaProtocolFilterMultiError []error

MetaProtocolFilterMultiError is an error wrapping multiple validation errors returned by MetaProtocolFilter.ValidateAll() if the designated constraints aren't met.

func (MetaProtocolFilterMultiError) AllErrors added in v1.4.1

func (m MetaProtocolFilterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetaProtocolFilterMultiError) Error added in v1.4.1

Error returns a concatenation of all the error messages it wraps.

type MetaProtocolFilterValidationError

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

MetaProtocolFilterValidationError is the validation error returned by MetaProtocolFilter.Validate if the designated constraints aren't met.

func (MetaProtocolFilterValidationError) Cause

Cause function returns cause value.

func (MetaProtocolFilterValidationError) Error

Error satisfies the builtin error interface

func (MetaProtocolFilterValidationError) ErrorName

ErrorName returns error name.

func (MetaProtocolFilterValidationError) Field

Field function returns field value.

func (MetaProtocolFilterValidationError) Key

Key function returns key value.

func (MetaProtocolFilterValidationError) Reason

Reason function returns reason value.

type MetaProtocolProxy

type MetaProtocolProxy struct {
	StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// Deprecated: Do not use.
	ApplicationProtocol string `protobuf:"bytes,2,opt,name=application_protocol,json=applicationProtocol,proto3" json:"application_protocol,omitempty"`
	// Types that are assignable to RouteSpecifier:
	//	*MetaProtocolProxy_Rds
	//	*MetaProtocolProxy_RouteConfig
	RouteSpecifier isMetaProtocolProxy_RouteSpecifier `protobuf_oneof:"route_specifier"`
	// Deprecated: Do not use.
	Codec               *Codec                `protobuf:"bytes,5,opt,name=codec,proto3" json:"codec,omitempty"`
	MetaProtocolFilters []*MetaProtocolFilter `protobuf:"bytes,6,rep,name=meta_protocol_filters,json=metaProtocolFilters,proto3" json:"meta_protocol_filters,omitempty"`
	Tracing             *Tracing              `protobuf:"bytes,7,opt,name=tracing,proto3" json:"tracing,omitempty"`
	AccessLog           []*v3.AccessLog       `protobuf:"bytes,8,rep,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"`
	IdleTimeout         *duration.Duration    `protobuf:"bytes,11,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	Protocol            *ApplicationProtocol  `protobuf:"bytes,12,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*MetaProtocolProxy) Descriptor deprecated

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

Deprecated: Use MetaProtocolProxy.ProtoReflect.Descriptor instead.

func (*MetaProtocolProxy) GetAccessLog added in v1.4.1

func (x *MetaProtocolProxy) GetAccessLog() []*v3.AccessLog

func (*MetaProtocolProxy) GetApplicationProtocol deprecated

func (x *MetaProtocolProxy) GetApplicationProtocol() string

Deprecated: Do not use.

func (*MetaProtocolProxy) GetCodec deprecated

func (x *MetaProtocolProxy) GetCodec() *Codec

Deprecated: Do not use.

func (*MetaProtocolProxy) GetIdleTimeout added in v1.4.1

func (x *MetaProtocolProxy) GetIdleTimeout() *duration.Duration

func (*MetaProtocolProxy) GetMetaProtocolFilters

func (x *MetaProtocolProxy) GetMetaProtocolFilters() []*MetaProtocolFilter

func (*MetaProtocolProxy) GetProtocol added in v1.4.1

func (x *MetaProtocolProxy) GetProtocol() *ApplicationProtocol

func (*MetaProtocolProxy) GetRds

func (x *MetaProtocolProxy) GetRds() *Rds

func (*MetaProtocolProxy) GetRouteConfig

func (x *MetaProtocolProxy) GetRouteConfig() *v1alpha.RouteConfiguration

func (*MetaProtocolProxy) GetRouteSpecifier

func (m *MetaProtocolProxy) GetRouteSpecifier() isMetaProtocolProxy_RouteSpecifier

func (*MetaProtocolProxy) GetStatPrefix

func (x *MetaProtocolProxy) GetStatPrefix() string

func (*MetaProtocolProxy) GetTracing added in v1.4.1

func (x *MetaProtocolProxy) GetTracing() *Tracing

func (*MetaProtocolProxy) ProtoMessage

func (*MetaProtocolProxy) ProtoMessage()

func (*MetaProtocolProxy) ProtoReflect

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

func (*MetaProtocolProxy) Reset

func (x *MetaProtocolProxy) Reset()

func (*MetaProtocolProxy) String

func (x *MetaProtocolProxy) String() string

func (*MetaProtocolProxy) Validate

func (m *MetaProtocolProxy) Validate() error

Validate checks the field values on MetaProtocolProxy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MetaProtocolProxy) ValidateAll added in v1.4.1

func (m *MetaProtocolProxy) ValidateAll() error

ValidateAll checks the field values on MetaProtocolProxy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetaProtocolProxyMultiError, or nil if none found.

type MetaProtocolProxyMultiError added in v1.4.1

type MetaProtocolProxyMultiError []error

MetaProtocolProxyMultiError is an error wrapping multiple validation errors returned by MetaProtocolProxy.ValidateAll() if the designated constraints aren't met.

func (MetaProtocolProxyMultiError) AllErrors added in v1.4.1

func (m MetaProtocolProxyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetaProtocolProxyMultiError) Error added in v1.4.1

Error returns a concatenation of all the error messages it wraps.

type MetaProtocolProxyValidationError

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

MetaProtocolProxyValidationError is the validation error returned by MetaProtocolProxy.Validate if the designated constraints aren't met.

func (MetaProtocolProxyValidationError) Cause

Cause function returns cause value.

func (MetaProtocolProxyValidationError) Error

Error satisfies the builtin error interface

func (MetaProtocolProxyValidationError) ErrorName

ErrorName returns error name.

func (MetaProtocolProxyValidationError) Field

Field function returns field value.

func (MetaProtocolProxyValidationError) Key

Key function returns key value.

func (MetaProtocolProxyValidationError) Reason

Reason function returns reason value.

type MetaProtocolProxy_Rds

type MetaProtocolProxy_Rds struct {
	Rds *Rds `protobuf:"bytes,3,opt,name=rds,proto3,oneof"`
}

type MetaProtocolProxy_RouteConfig

type MetaProtocolProxy_RouteConfig struct {
	RouteConfig *v1alpha.RouteConfiguration `protobuf:"bytes,4,opt,name=route_config,json=routeConfig,proto3,oneof"`
}

type Rds

type Rds struct {
	ConfigSource    *v31.ConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
	RouteConfigName string            `protobuf:"bytes,2,opt,name=route_config_name,json=routeConfigName,proto3" json:"route_config_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Rds) Descriptor deprecated

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

Deprecated: Use Rds.ProtoReflect.Descriptor instead.

func (*Rds) GetConfigSource

func (x *Rds) GetConfigSource() *v31.ConfigSource

func (*Rds) GetRouteConfigName

func (x *Rds) GetRouteConfigName() string

func (*Rds) ProtoMessage

func (*Rds) ProtoMessage()

func (*Rds) ProtoReflect

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

func (*Rds) Reset

func (x *Rds) Reset()

func (*Rds) String

func (x *Rds) String() string

func (*Rds) Validate

func (m *Rds) Validate() error

Validate checks the field values on Rds with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Rds) ValidateAll added in v1.4.1

func (m *Rds) ValidateAll() error

ValidateAll checks the field values on Rds with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RdsMultiError, or nil if none found.

type RdsMultiError added in v1.4.1

type RdsMultiError []error

RdsMultiError is an error wrapping multiple validation errors returned by Rds.ValidateAll() if the designated constraints aren't met.

func (RdsMultiError) AllErrors added in v1.4.1

func (m RdsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RdsMultiError) Error added in v1.4.1

func (m RdsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RdsValidationError

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

RdsValidationError is the validation error returned by Rds.Validate if the designated constraints aren't met.

func (RdsValidationError) Cause

func (e RdsValidationError) Cause() error

Cause function returns cause value.

func (RdsValidationError) Error

func (e RdsValidationError) Error() string

Error satisfies the builtin error interface

func (RdsValidationError) ErrorName

func (e RdsValidationError) ErrorName() string

ErrorName returns error name.

func (RdsValidationError) Field

func (e RdsValidationError) Field() string

Field function returns field value.

func (RdsValidationError) Key

func (e RdsValidationError) Key() bool

Key function returns key value.

func (RdsValidationError) Reason

func (e RdsValidationError) Reason() string

Reason function returns reason value.

type Tracing added in v1.4.1

type Tracing struct {
	ClientSampling  *v32.Percent          `protobuf:"bytes,3,opt,name=client_sampling,json=clientSampling,proto3" json:"client_sampling,omitempty"`
	RandomSampling  *v32.Percent          `protobuf:"bytes,4,opt,name=random_sampling,json=randomSampling,proto3" json:"random_sampling,omitempty"`
	OverallSampling *v32.Percent          `protobuf:"bytes,5,opt,name=overall_sampling,json=overallSampling,proto3" json:"overall_sampling,omitempty"`
	Verbose         bool                  `protobuf:"varint,6,opt,name=verbose,proto3" json:"verbose,omitempty"`
	MaxTagLength    *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=max_tag_length,json=maxTagLength,proto3" json:"max_tag_length,omitempty"`
	Provider        *v33.Tracing_Http     `protobuf:"bytes,9,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*Tracing) Descriptor deprecated added in v1.4.1

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

Deprecated: Use Tracing.ProtoReflect.Descriptor instead.

func (*Tracing) GetClientSampling added in v1.4.1

func (x *Tracing) GetClientSampling() *v32.Percent

func (*Tracing) GetMaxTagLength added in v1.4.1

func (x *Tracing) GetMaxTagLength() *wrappers.UInt32Value

func (*Tracing) GetOverallSampling added in v1.4.1

func (x *Tracing) GetOverallSampling() *v32.Percent

func (*Tracing) GetProvider added in v1.4.1

func (x *Tracing) GetProvider() *v33.Tracing_Http

func (*Tracing) GetRandomSampling added in v1.4.1

func (x *Tracing) GetRandomSampling() *v32.Percent

func (*Tracing) GetVerbose added in v1.4.1

func (x *Tracing) GetVerbose() bool

func (*Tracing) ProtoMessage added in v1.4.1

func (*Tracing) ProtoMessage()

func (*Tracing) ProtoReflect added in v1.4.1

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

func (*Tracing) Reset added in v1.4.1

func (x *Tracing) Reset()

func (*Tracing) String added in v1.4.1

func (x *Tracing) String() string

func (*Tracing) Validate added in v1.4.1

func (m *Tracing) Validate() error

Validate checks the field values on Tracing with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Tracing) ValidateAll added in v1.4.1

func (m *Tracing) ValidateAll() error

ValidateAll checks the field values on Tracing with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TracingMultiError, or nil if none found.

type TracingMultiError added in v1.4.1

type TracingMultiError []error

TracingMultiError is an error wrapping multiple validation errors returned by Tracing.ValidateAll() if the designated constraints aren't met.

func (TracingMultiError) AllErrors added in v1.4.1

func (m TracingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TracingMultiError) Error added in v1.4.1

func (m TracingMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TracingValidationError added in v1.4.1

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

TracingValidationError is the validation error returned by Tracing.Validate if the designated constraints aren't met.

func (TracingValidationError) Cause added in v1.4.1

func (e TracingValidationError) Cause() error

Cause function returns cause value.

func (TracingValidationError) Error added in v1.4.1

func (e TracingValidationError) Error() string

Error satisfies the builtin error interface

func (TracingValidationError) ErrorName added in v1.4.1

func (e TracingValidationError) ErrorName() string

ErrorName returns error name.

func (TracingValidationError) Field added in v1.4.1

func (e TracingValidationError) Field() string

Field function returns field value.

func (TracingValidationError) Key added in v1.4.1

func (e TracingValidationError) Key() bool

Key function returns key value.

func (TracingValidationError) Reason added in v1.4.1

func (e TracingValidationError) Reason() string

Reason function returns reason value.

type Tracing_OperationName added in v1.4.1

type Tracing_OperationName int32
const (
	Tracing_INGRESS Tracing_OperationName = 0
	Tracing_EGRESS  Tracing_OperationName = 1
)

func (Tracing_OperationName) Descriptor added in v1.4.1

func (Tracing_OperationName) Enum added in v1.4.1

func (Tracing_OperationName) EnumDescriptor deprecated added in v1.4.1

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

Deprecated: Use Tracing_OperationName.Descriptor instead.

func (Tracing_OperationName) Number added in v1.4.1

func (Tracing_OperationName) String added in v1.4.1

func (x Tracing_OperationName) String() string

func (Tracing_OperationName) Type added in v1.4.1

Jump to

Keyboard shortcuts

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