envoyv1

package
v0.0.0-...-e01fbee Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_core_envoy_v1_envoy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Represents a single Envoy Cluster

func (*Cluster) Descriptor deprecated

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

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetName

func (x *Cluster) GetName() string

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

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

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) String

func (x *Cluster) String() string

func (*Cluster) Validate

func (m *Cluster) Validate() error

Validate checks the field values on Cluster 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 (*Cluster) ValidateAll

func (m *Cluster) ValidateAll() error

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

type ClusterMultiError

type ClusterMultiError []error

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

func (ClusterMultiError) AllErrors

func (m ClusterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterMultiError) Error

func (m ClusterMultiError) Error() string

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

type ClusterValidationError

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

ClusterValidationError is the validation error returned by Cluster.Validate if the designated constraints aren't met.

func (ClusterValidationError) Cause

func (e ClusterValidationError) Cause() error

Cause function returns cause value.

func (ClusterValidationError) Error

func (e ClusterValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterValidationError) ErrorName

func (e ClusterValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterValidationError) Field

func (e ClusterValidationError) Field() string

Field function returns field value.

func (ClusterValidationError) Key

func (e ClusterValidationError) Key() bool

Key function returns key value.

func (ClusterValidationError) Reason

func (e ClusterValidationError) 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