sni_clusterv2

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Apache-2.0 Imports: 17 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_filter_network_sni_cluster_v2_sni_cluster_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SniCluster

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

func (*SniCluster) Descriptor deprecated

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

Deprecated: Use SniCluster.ProtoReflect.Descriptor instead.

func (*SniCluster) ProtoMessage

func (*SniCluster) ProtoMessage()

func (*SniCluster) ProtoReflect added in v0.9.6

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

func (*SniCluster) Reset

func (x *SniCluster) Reset()

func (*SniCluster) String

func (x *SniCluster) String() string

func (*SniCluster) Validate

func (m *SniCluster) Validate() error

Validate checks the field values on SniCluster 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 (*SniCluster) ValidateAll added in v0.10.0

func (m *SniCluster) ValidateAll() error

ValidateAll checks the field values on SniCluster 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 SniClusterMultiError, or nil if none found.

type SniClusterMultiError added in v0.10.0

type SniClusterMultiError []error

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

func (SniClusterMultiError) AllErrors added in v0.10.0

func (m SniClusterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SniClusterMultiError) Error added in v0.10.0

func (m SniClusterMultiError) Error() string

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

type SniClusterValidationError

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

SniClusterValidationError is the validation error returned by SniCluster.Validate if the designated constraints aren't met.

func (SniClusterValidationError) Cause

func (e SniClusterValidationError) Cause() error

Cause function returns cause value.

func (SniClusterValidationError) Error

Error satisfies the builtin error interface

func (SniClusterValidationError) ErrorName

func (e SniClusterValidationError) ErrorName() string

ErrorName returns error name.

func (SniClusterValidationError) Field

Field function returns field value.

func (SniClusterValidationError) Key

Key function returns key value.

func (SniClusterValidationError) Reason

func (e SniClusterValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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