Documentation
¶
Index ¶
- Variables
- type FileBasedMetadataCallCredentials
- func (*FileBasedMetadataCallCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *FileBasedMetadataCallCredentials) GetHeaderKey() string
- func (x *FileBasedMetadataCallCredentials) GetHeaderPrefix() string
- func (x *FileBasedMetadataCallCredentials) GetSecretData() *v3.DataSource
- func (*FileBasedMetadataCallCredentials) ProtoMessage()
- func (x *FileBasedMetadataCallCredentials) ProtoReflect() protoreflect.Message
- func (x *FileBasedMetadataCallCredentials) Reset()
- func (x *FileBasedMetadataCallCredentials) String() string
- func (m *FileBasedMetadataCallCredentials) Validate() error
- func (m *FileBasedMetadataCallCredentials) ValidateAll() error
- type FileBasedMetadataCallCredentialsMultiError
- type FileBasedMetadataCallCredentialsValidationError
- func (e FileBasedMetadataCallCredentialsValidationError) Cause() error
- func (e FileBasedMetadataCallCredentialsValidationError) Error() string
- func (e FileBasedMetadataCallCredentialsValidationError) ErrorName() string
- func (e FileBasedMetadataCallCredentialsValidationError) Field() string
- func (e FileBasedMetadataCallCredentialsValidationError) Key() bool
- func (e FileBasedMetadataCallCredentialsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_grpc_service_call_credentials_file_based_metadata_v3_file_based_metadata_credentials_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FileBasedMetadataCallCredentials ¶
type FileBasedMetadataCallCredentials struct {
// Location or inline data of secret to use for authentication of the Google gRPC connection
// this secret will be attached to a header of the gRPC connection
SecretData *v3.DataSource `protobuf:"bytes,1,opt,name=secret_data,json=secretData,proto3" json:"secret_data,omitempty"`
// Metadata header key to use for sending the secret data
// if no header key is set, "authorization" header will be used
HeaderKey string `protobuf:"bytes,2,opt,name=header_key,json=headerKey,proto3" json:"header_key,omitempty"`
// Prefix to prepend to the secret in the metadata header
// if no prefix is set, the default is to use no prefix
HeaderPrefix string `protobuf:"bytes,3,opt,name=header_prefix,json=headerPrefix,proto3" json:"header_prefix,omitempty"`
// contains filtered or unexported fields
}
[#not-implemented-hide:]
func (*FileBasedMetadataCallCredentials) Descriptor
deprecated
func (*FileBasedMetadataCallCredentials) Descriptor() ([]byte, []int)
Deprecated: Use FileBasedMetadataCallCredentials.ProtoReflect.Descriptor instead.
func (*FileBasedMetadataCallCredentials) GetHeaderKey ¶
func (x *FileBasedMetadataCallCredentials) GetHeaderKey() string
func (*FileBasedMetadataCallCredentials) GetHeaderPrefix ¶
func (x *FileBasedMetadataCallCredentials) GetHeaderPrefix() string
func (*FileBasedMetadataCallCredentials) GetSecretData ¶
func (x *FileBasedMetadataCallCredentials) GetSecretData() *v3.DataSource
func (*FileBasedMetadataCallCredentials) ProtoMessage ¶
func (*FileBasedMetadataCallCredentials) ProtoMessage()
func (*FileBasedMetadataCallCredentials) ProtoReflect ¶
func (x *FileBasedMetadataCallCredentials) ProtoReflect() protoreflect.Message
func (*FileBasedMetadataCallCredentials) Reset ¶
func (x *FileBasedMetadataCallCredentials) Reset()
func (*FileBasedMetadataCallCredentials) String ¶
func (x *FileBasedMetadataCallCredentials) String() string
func (*FileBasedMetadataCallCredentials) Validate ¶
func (m *FileBasedMetadataCallCredentials) Validate() error
Validate checks the field values on FileBasedMetadataCallCredentials 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 (*FileBasedMetadataCallCredentials) ValidateAll ¶
func (m *FileBasedMetadataCallCredentials) ValidateAll() error
ValidateAll checks the field values on FileBasedMetadataCallCredentials 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 FileBasedMetadataCallCredentialsMultiError, or nil if none found.
type FileBasedMetadataCallCredentialsMultiError ¶
type FileBasedMetadataCallCredentialsMultiError []error
FileBasedMetadataCallCredentialsMultiError is an error wrapping multiple validation errors returned by FileBasedMetadataCallCredentials.ValidateAll() if the designated constraints aren't met.
func (FileBasedMetadataCallCredentialsMultiError) AllErrors ¶
func (m FileBasedMetadataCallCredentialsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileBasedMetadataCallCredentialsMultiError) Error ¶
func (m FileBasedMetadataCallCredentialsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileBasedMetadataCallCredentialsValidationError ¶
type FileBasedMetadataCallCredentialsValidationError struct {
// contains filtered or unexported fields
}
FileBasedMetadataCallCredentialsValidationError is the validation error returned by FileBasedMetadataCallCredentials.Validate if the designated constraints aren't met.
func (FileBasedMetadataCallCredentialsValidationError) Cause ¶
func (e FileBasedMetadataCallCredentialsValidationError) Cause() error
Cause function returns cause value.
func (FileBasedMetadataCallCredentialsValidationError) Error ¶
func (e FileBasedMetadataCallCredentialsValidationError) Error() string
Error satisfies the builtin error interface
func (FileBasedMetadataCallCredentialsValidationError) ErrorName ¶
func (e FileBasedMetadataCallCredentialsValidationError) ErrorName() string
ErrorName returns error name.
func (FileBasedMetadataCallCredentialsValidationError) Field ¶
func (e FileBasedMetadataCallCredentialsValidationError) Field() string
Field function returns field value.
func (FileBasedMetadataCallCredentialsValidationError) Key ¶
func (e FileBasedMetadataCallCredentialsValidationError) Key() bool
Key function returns key value.
func (FileBasedMetadataCallCredentialsValidationError) Reason ¶
func (e FileBasedMetadataCallCredentialsValidationError) Reason() string
Reason function returns reason value.