Documentation ¶
Index ¶
- Variables
- type AwsIamConfig
- func (*AwsIamConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AwsIamConfig) GetRegion() string
- func (x *AwsIamConfig) GetServiceName() string
- func (*AwsIamConfig) ProtoMessage()
- func (x *AwsIamConfig) ProtoReflect() protoreflect.Message
- func (x *AwsIamConfig) Reset()
- func (x *AwsIamConfig) String() string
- func (m *AwsIamConfig) Validate() error
- func (m *AwsIamConfig) ValidateAll() error
- type AwsIamConfigMultiError
- type AwsIamConfigValidationError
- func (e AwsIamConfigValidationError) Cause() error
- func (e AwsIamConfigValidationError) Error() string
- func (e AwsIamConfigValidationError) ErrorName() string
- func (e AwsIamConfigValidationError) Field() string
- func (e AwsIamConfigValidationError) Key() bool
- func (e AwsIamConfigValidationError) Reason() string
- type FileBasedMetadataConfig
- func (*FileBasedMetadataConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FileBasedMetadataConfig) GetHeaderKey() string
- func (x *FileBasedMetadataConfig) GetHeaderPrefix() string
- func (x *FileBasedMetadataConfig) GetSecretData() *core.DataSource
- func (*FileBasedMetadataConfig) ProtoMessage()
- func (x *FileBasedMetadataConfig) ProtoReflect() protoreflect.Message
- func (x *FileBasedMetadataConfig) Reset()
- func (x *FileBasedMetadataConfig) String() string
- func (m *FileBasedMetadataConfig) Validate() error
- func (m *FileBasedMetadataConfig) ValidateAll() error
- type FileBasedMetadataConfigMultiError
- type FileBasedMetadataConfigValidationError
- func (e FileBasedMetadataConfigValidationError) Cause() error
- func (e FileBasedMetadataConfigValidationError) Error() string
- func (e FileBasedMetadataConfigValidationError) ErrorName() string
- func (e FileBasedMetadataConfigValidationError) Field() string
- func (e FileBasedMetadataConfigValidationError) Key() bool
- func (e FileBasedMetadataConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_config_grpc_credential_v2alpha_aws_iam_proto protoreflect.FileDescriptor
var File_envoy_config_grpc_credential_v2alpha_file_based_metadata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AwsIamConfig ¶ added in v0.8.6
type AwsIamConfig struct { // The `service namespace // <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_ // of the Grpc endpoint. // // Example: appmesh ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the Grpc // endpoint. If unspecified, the extension will use the value in the “AWS_REGION“ environment // variable. // // Example: us-west-2 Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // contains filtered or unexported fields }
func (*AwsIamConfig) Descriptor
deprecated
added in
v0.8.6
func (*AwsIamConfig) Descriptor() ([]byte, []int)
Deprecated: Use AwsIamConfig.ProtoReflect.Descriptor instead.
func (*AwsIamConfig) GetRegion ¶ added in v0.8.6
func (x *AwsIamConfig) GetRegion() string
func (*AwsIamConfig) GetServiceName ¶ added in v0.8.6
func (x *AwsIamConfig) GetServiceName() string
func (*AwsIamConfig) ProtoMessage ¶ added in v0.8.6
func (*AwsIamConfig) ProtoMessage()
func (*AwsIamConfig) ProtoReflect ¶ added in v0.9.6
func (x *AwsIamConfig) ProtoReflect() protoreflect.Message
func (*AwsIamConfig) Reset ¶ added in v0.8.6
func (x *AwsIamConfig) Reset()
func (*AwsIamConfig) String ¶ added in v0.8.6
func (x *AwsIamConfig) String() string
func (*AwsIamConfig) Validate ¶ added in v0.8.6
func (m *AwsIamConfig) Validate() error
Validate checks the field values on AwsIamConfig 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 (*AwsIamConfig) ValidateAll ¶ added in v0.10.0
func (m *AwsIamConfig) ValidateAll() error
ValidateAll checks the field values on AwsIamConfig 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 AwsIamConfigMultiError, or nil if none found.
type AwsIamConfigMultiError ¶ added in v0.10.0
type AwsIamConfigMultiError []error
AwsIamConfigMultiError is an error wrapping multiple validation errors returned by AwsIamConfig.ValidateAll() if the designated constraints aren't met.
func (AwsIamConfigMultiError) AllErrors ¶ added in v0.10.0
func (m AwsIamConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AwsIamConfigMultiError) Error ¶ added in v0.10.0
func (m AwsIamConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AwsIamConfigValidationError ¶ added in v0.8.6
type AwsIamConfigValidationError struct {
// contains filtered or unexported fields
}
AwsIamConfigValidationError is the validation error returned by AwsIamConfig.Validate if the designated constraints aren't met.
func (AwsIamConfigValidationError) Cause ¶ added in v0.8.6
func (e AwsIamConfigValidationError) Cause() error
Cause function returns cause value.
func (AwsIamConfigValidationError) Error ¶ added in v0.8.6
func (e AwsIamConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AwsIamConfigValidationError) ErrorName ¶ added in v0.8.6
func (e AwsIamConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AwsIamConfigValidationError) Field ¶ added in v0.8.6
func (e AwsIamConfigValidationError) Field() string
Field function returns field value.
func (AwsIamConfigValidationError) Key ¶ added in v0.8.6
func (e AwsIamConfigValidationError) Key() bool
Key function returns key value.
func (AwsIamConfigValidationError) Reason ¶ added in v0.8.6
func (e AwsIamConfigValidationError) Reason() string
Reason function returns reason value.
type FileBasedMetadataConfig ¶
type FileBasedMetadataConfig 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 *core.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 }
func (*FileBasedMetadataConfig) Descriptor
deprecated
func (*FileBasedMetadataConfig) Descriptor() ([]byte, []int)
Deprecated: Use FileBasedMetadataConfig.ProtoReflect.Descriptor instead.
func (*FileBasedMetadataConfig) GetHeaderKey ¶
func (x *FileBasedMetadataConfig) GetHeaderKey() string
func (*FileBasedMetadataConfig) GetHeaderPrefix ¶
func (x *FileBasedMetadataConfig) GetHeaderPrefix() string
func (*FileBasedMetadataConfig) GetSecretData ¶
func (x *FileBasedMetadataConfig) GetSecretData() *core.DataSource
func (*FileBasedMetadataConfig) ProtoMessage ¶
func (*FileBasedMetadataConfig) ProtoMessage()
func (*FileBasedMetadataConfig) ProtoReflect ¶ added in v0.9.6
func (x *FileBasedMetadataConfig) ProtoReflect() protoreflect.Message
func (*FileBasedMetadataConfig) Reset ¶
func (x *FileBasedMetadataConfig) Reset()
func (*FileBasedMetadataConfig) String ¶
func (x *FileBasedMetadataConfig) String() string
func (*FileBasedMetadataConfig) Validate ¶
func (m *FileBasedMetadataConfig) Validate() error
Validate checks the field values on FileBasedMetadataConfig 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 (*FileBasedMetadataConfig) ValidateAll ¶ added in v0.10.0
func (m *FileBasedMetadataConfig) ValidateAll() error
ValidateAll checks the field values on FileBasedMetadataConfig 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 FileBasedMetadataConfigMultiError, or nil if none found.
type FileBasedMetadataConfigMultiError ¶ added in v0.10.0
type FileBasedMetadataConfigMultiError []error
FileBasedMetadataConfigMultiError is an error wrapping multiple validation errors returned by FileBasedMetadataConfig.ValidateAll() if the designated constraints aren't met.
func (FileBasedMetadataConfigMultiError) AllErrors ¶ added in v0.10.0
func (m FileBasedMetadataConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileBasedMetadataConfigMultiError) Error ¶ added in v0.10.0
func (m FileBasedMetadataConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileBasedMetadataConfigValidationError ¶
type FileBasedMetadataConfigValidationError struct {
// contains filtered or unexported fields
}
FileBasedMetadataConfigValidationError is the validation error returned by FileBasedMetadataConfig.Validate if the designated constraints aren't met.
func (FileBasedMetadataConfigValidationError) Cause ¶
func (e FileBasedMetadataConfigValidationError) Cause() error
Cause function returns cause value.
func (FileBasedMetadataConfigValidationError) Error ¶
func (e FileBasedMetadataConfigValidationError) Error() string
Error satisfies the builtin error interface
func (FileBasedMetadataConfigValidationError) ErrorName ¶ added in v0.7.0
func (e FileBasedMetadataConfigValidationError) ErrorName() string
ErrorName returns error name.
func (FileBasedMetadataConfigValidationError) Field ¶
func (e FileBasedMetadataConfigValidationError) Field() string
Field function returns field value.
func (FileBasedMetadataConfigValidationError) Key ¶
func (e FileBasedMetadataConfigValidationError) Key() bool
Key function returns key value.
func (FileBasedMetadataConfigValidationError) Reason ¶
func (e FileBasedMetadataConfigValidationError) Reason() string
Reason function returns reason value.