Documentation ¶
Index ¶
- Variables
- type Audience
- func (*Audience) Descriptor() ([]byte, []int)deprecated
- func (x *Audience) GetAudienceMap() map[string]string
- func (*Audience) ProtoMessage()
- func (x *Audience) ProtoReflect() protoreflect.Message
- func (x *Audience) Reset()
- func (x *Audience) String() string
- func (m *Audience) Validate() error
- func (m *Audience) ValidateAll() error
- type AudienceMultiError
- type AudienceValidationError
- type GcpAuthnFilterConfig
- func (*GcpAuthnFilterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GcpAuthnFilterConfig) GetHttpUri() *v3.HttpUri
- func (x *GcpAuthnFilterConfig) GetRetryPolicy() *v3.RetryPolicy
- func (*GcpAuthnFilterConfig) ProtoMessage()
- func (x *GcpAuthnFilterConfig) ProtoReflect() protoreflect.Message
- func (x *GcpAuthnFilterConfig) Reset()
- func (x *GcpAuthnFilterConfig) String() string
- func (m *GcpAuthnFilterConfig) Validate() error
- func (m *GcpAuthnFilterConfig) ValidateAll() error
- type GcpAuthnFilterConfigMultiError
- type GcpAuthnFilterConfigValidationError
- func (e GcpAuthnFilterConfigValidationError) Cause() error
- func (e GcpAuthnFilterConfigValidationError) Error() string
- func (e GcpAuthnFilterConfigValidationError) ErrorName() string
- func (e GcpAuthnFilterConfigValidationError) Field() string
- func (e GcpAuthnFilterConfigValidationError) Key() bool
- func (e GcpAuthnFilterConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_http_gcp_authn_v3_gcp_authn_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Audience ¶
type Audience struct { // The map of audience key to audience value. // The key is defined as the contract with control plane in the configuration. It is fixed string "audience_key". // The value is URL of the receiving service that performs token authentication. AudienceMap map[string]string `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Audience) Descriptor
deprecated
func (*Audience) GetAudienceMap ¶
func (*Audience) ProtoMessage ¶
func (*Audience) ProtoMessage()
func (*Audience) ProtoReflect ¶
func (x *Audience) ProtoReflect() protoreflect.Message
func (*Audience) Validate ¶
Validate checks the field values on Audience 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 (*Audience) ValidateAll ¶
ValidateAll checks the field values on Audience 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 AudienceMultiError, or nil if none found.
type AudienceMultiError ¶
type AudienceMultiError []error
AudienceMultiError is an error wrapping multiple validation errors returned by Audience.ValidateAll() if the designated constraints aren't met.
func (AudienceMultiError) AllErrors ¶
func (m AudienceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AudienceMultiError) Error ¶
func (m AudienceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AudienceValidationError ¶
type AudienceValidationError struct {
// contains filtered or unexported fields
}
AudienceValidationError is the validation error returned by Audience.Validate if the designated constraints aren't met.
func (AudienceValidationError) Cause ¶
func (e AudienceValidationError) Cause() error
Cause function returns cause value.
func (AudienceValidationError) Error ¶
func (e AudienceValidationError) Error() string
Error satisfies the builtin error interface
func (AudienceValidationError) ErrorName ¶
func (e AudienceValidationError) ErrorName() string
ErrorName returns error name.
func (AudienceValidationError) Field ¶
func (e AudienceValidationError) Field() string
Field function returns field value.
func (AudienceValidationError) Key ¶
func (e AudienceValidationError) Key() bool
Key function returns key value.
func (AudienceValidationError) Reason ¶
func (e AudienceValidationError) Reason() string
Reason function returns reason value.
type GcpAuthnFilterConfig ¶
type GcpAuthnFilterConfig struct { // The HTTP URI to fetch tokens from GCE Metadata Server(https://cloud.google.com/compute/docs/metadata/overview). // The URL format is "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/identity?audience=[AUDIENCE]" HttpUri *v3.HttpUri `protobuf:"bytes,1,opt,name=http_uri,json=httpUri,proto3" json:"http_uri,omitempty"` // Retry policy for fetching tokens. // This field is optional. If it is not configured, the filter will be fail-closed (i.e., reject the requests). RetryPolicy *v3.RetryPolicy `protobuf:"bytes,2,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` // contains filtered or unexported fields }
Filter configuration.
func (*GcpAuthnFilterConfig) Descriptor
deprecated
func (*GcpAuthnFilterConfig) Descriptor() ([]byte, []int)
Deprecated: Use GcpAuthnFilterConfig.ProtoReflect.Descriptor instead.
func (*GcpAuthnFilterConfig) GetHttpUri ¶
func (x *GcpAuthnFilterConfig) GetHttpUri() *v3.HttpUri
func (*GcpAuthnFilterConfig) GetRetryPolicy ¶
func (x *GcpAuthnFilterConfig) GetRetryPolicy() *v3.RetryPolicy
func (*GcpAuthnFilterConfig) ProtoMessage ¶
func (*GcpAuthnFilterConfig) ProtoMessage()
func (*GcpAuthnFilterConfig) ProtoReflect ¶
func (x *GcpAuthnFilterConfig) ProtoReflect() protoreflect.Message
func (*GcpAuthnFilterConfig) Reset ¶
func (x *GcpAuthnFilterConfig) Reset()
func (*GcpAuthnFilterConfig) String ¶
func (x *GcpAuthnFilterConfig) String() string
func (*GcpAuthnFilterConfig) Validate ¶
func (m *GcpAuthnFilterConfig) Validate() error
Validate checks the field values on GcpAuthnFilterConfig 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 (*GcpAuthnFilterConfig) ValidateAll ¶
func (m *GcpAuthnFilterConfig) ValidateAll() error
ValidateAll checks the field values on GcpAuthnFilterConfig 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 GcpAuthnFilterConfigMultiError, or nil if none found.
type GcpAuthnFilterConfigMultiError ¶
type GcpAuthnFilterConfigMultiError []error
GcpAuthnFilterConfigMultiError is an error wrapping multiple validation errors returned by GcpAuthnFilterConfig.ValidateAll() if the designated constraints aren't met.
func (GcpAuthnFilterConfigMultiError) AllErrors ¶
func (m GcpAuthnFilterConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GcpAuthnFilterConfigMultiError) Error ¶
func (m GcpAuthnFilterConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GcpAuthnFilterConfigValidationError ¶
type GcpAuthnFilterConfigValidationError struct {
// contains filtered or unexported fields
}
GcpAuthnFilterConfigValidationError is the validation error returned by GcpAuthnFilterConfig.Validate if the designated constraints aren't met.
func (GcpAuthnFilterConfigValidationError) Cause ¶
func (e GcpAuthnFilterConfigValidationError) Cause() error
Cause function returns cause value.
func (GcpAuthnFilterConfigValidationError) Error ¶
func (e GcpAuthnFilterConfigValidationError) Error() string
Error satisfies the builtin error interface
func (GcpAuthnFilterConfigValidationError) ErrorName ¶
func (e GcpAuthnFilterConfigValidationError) ErrorName() string
ErrorName returns error name.
func (GcpAuthnFilterConfigValidationError) Field ¶
func (e GcpAuthnFilterConfigValidationError) Field() string
Field function returns field value.
func (GcpAuthnFilterConfigValidationError) Key ¶
func (e GcpAuthnFilterConfigValidationError) Key() bool
Key function returns key value.
func (GcpAuthnFilterConfigValidationError) Reason ¶
func (e GcpAuthnFilterConfigValidationError) Reason() string
Reason function returns reason value.