Documentation
¶
Index ¶
- Variables
- type XdsCredentials
- func (*XdsCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *XdsCredentials) GetFallbackCredentials() *anypb.Any
- func (*XdsCredentials) ProtoMessage()
- func (x *XdsCredentials) ProtoReflect() protoreflect.Message
- func (x *XdsCredentials) Reset()
- func (x *XdsCredentials) String() string
- func (m *XdsCredentials) Validate() error
- func (m *XdsCredentials) ValidateAll() error
- type XdsCredentialsMultiError
- type XdsCredentialsValidationError
- func (e XdsCredentialsValidationError) Cause() error
- func (e XdsCredentialsValidationError) Error() string
- func (e XdsCredentialsValidationError) ErrorName() string
- func (e XdsCredentialsValidationError) Field() string
- func (e XdsCredentialsValidationError) Key() bool
- func (e XdsCredentialsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 ¶
func (e XdsCredentialsValidationError) Cause() error
Cause function returns cause value.
func (XdsCredentialsValidationError) Error ¶
func (e XdsCredentialsValidationError) Error() string
Error satisfies the builtin error interface
func (XdsCredentialsValidationError) ErrorName ¶
func (e XdsCredentialsValidationError) ErrorName() string
ErrorName returns error name.
func (XdsCredentialsValidationError) Field ¶
func (e XdsCredentialsValidationError) Field() string
Field function returns field value.
func (XdsCredentialsValidationError) Key ¶
func (e XdsCredentialsValidationError) Key() bool
Key function returns key value.
func (XdsCredentialsValidationError) Reason ¶
func (e XdsCredentialsValidationError) Reason() string
Reason function returns reason value.