xdsv3

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_grpc_service_channel_credentials_xds_v3_xds_credentials_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type XdsCredentials

type XdsCredentials struct {

	// Fallback credentials. Required.
	FallbackCredentials *anypb.Any `protobuf:"bytes,1,opt,name=fallback_credentials,json=fallbackCredentials,proto3" json:"fallback_credentials,omitempty"`
	// contains filtered or unexported fields
}

[#not-implemented-hide:]

func (*XdsCredentials) Descriptor deprecated

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

Deprecated: Use XdsCredentials.ProtoReflect.Descriptor instead.

func (*XdsCredentials) GetFallbackCredentials

func (x *XdsCredentials) GetFallbackCredentials() *anypb.Any

func (*XdsCredentials) ProtoMessage

func (*XdsCredentials) ProtoMessage()

func (*XdsCredentials) ProtoReflect

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

func (*XdsCredentials) Reset

func (x *XdsCredentials) Reset()

func (*XdsCredentials) String

func (x *XdsCredentials) String() string

func (*XdsCredentials) Validate

func (m *XdsCredentials) Validate() error

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

func (m *XdsCredentials) ValidateAll() error

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

type XdsCredentialsMultiError

type XdsCredentialsMultiError []error

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

func (XdsCredentialsMultiError) AllErrors

func (m XdsCredentialsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (XdsCredentialsMultiError) Error

func (m XdsCredentialsMultiError) Error() string

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

type XdsCredentialsValidationError

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

XdsCredentialsValidationError is the validation error returned by XdsCredentials.Validate if the designated constraints aren't met.

func (XdsCredentialsValidationError) Cause

Cause function returns cause value.

func (XdsCredentialsValidationError) Error

Error satisfies the builtin error interface

func (XdsCredentialsValidationError) ErrorName

func (e XdsCredentialsValidationError) ErrorName() string

ErrorName returns error name.

func (XdsCredentialsValidationError) Field

Field function returns field value.

func (XdsCredentialsValidationError) Key

Key function returns key value.

func (XdsCredentialsValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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