Documentation ¶
Index ¶
- Variables
- type FilterConfigPerRoute
- func (*FilterConfigPerRoute) Descriptor() ([]byte, []int)deprecated
- func (x *FilterConfigPerRoute) GetDisabled() bool
- func (*FilterConfigPerRoute) ProtoMessage()
- func (x *FilterConfigPerRoute) ProtoReflect() protoreflect.Message
- func (x *FilterConfigPerRoute) Reset()
- func (x *FilterConfigPerRoute) String() string
- func (m *FilterConfigPerRoute) Validate() error
- func (m *FilterConfigPerRoute) ValidateAll() error
- type FilterConfigPerRouteMultiError
- type FilterConfigPerRouteValidationError
- func (e FilterConfigPerRouteValidationError) Cause() error
- func (e FilterConfigPerRouteValidationError) Error() string
- func (e FilterConfigPerRouteValidationError) ErrorName() string
- func (e FilterConfigPerRouteValidationError) Field() string
- func (e FilterConfigPerRouteValidationError) Key() bool
- func (e FilterConfigPerRouteValidationError) Reason() string
- type TokenAuth
- func (*TokenAuth) Descriptor() ([]byte, []int)deprecated
- func (x *TokenAuth) GetSourceTokenList() []*TokenAuth_SourceToken
- func (*TokenAuth) ProtoMessage()
- func (x *TokenAuth) ProtoReflect() protoreflect.Message
- func (x *TokenAuth) Reset()
- func (x *TokenAuth) String() string
- func (m *TokenAuth) Validate() error
- func (m *TokenAuth) ValidateAll() error
- type TokenAuthMultiError
- type TokenAuthValidationError
- type TokenAuth_SourceToken
- func (*TokenAuth_SourceToken) Descriptor() ([]byte, []int)deprecated
- func (x *TokenAuth_SourceToken) GetSource() string
- func (x *TokenAuth_SourceToken) GetTokens() []string
- func (*TokenAuth_SourceToken) ProtoMessage()
- func (x *TokenAuth_SourceToken) ProtoReflect() protoreflect.Message
- func (x *TokenAuth_SourceToken) Reset()
- func (x *TokenAuth_SourceToken) String() string
- func (m *TokenAuth_SourceToken) Validate() error
- func (m *TokenAuth_SourceToken) ValidateAll() error
- type TokenAuth_SourceTokenMultiError
- type TokenAuth_SourceTokenValidationError
- func (e TokenAuth_SourceTokenValidationError) Cause() error
- func (e TokenAuth_SourceTokenValidationError) Error() string
- func (e TokenAuth_SourceTokenValidationError) ErrorName() string
- func (e TokenAuth_SourceTokenValidationError) Field() string
- func (e TokenAuth_SourceTokenValidationError) Key() bool
- func (e TokenAuth_SourceTokenValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_kuscia_api_filters_http_kuscia_token_auth_v3_token_auth_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FilterConfigPerRoute ¶
type FilterConfigPerRoute struct { Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
func (*FilterConfigPerRoute) Descriptor
deprecated
func (*FilterConfigPerRoute) Descriptor() ([]byte, []int)
Deprecated: Use FilterConfigPerRoute.ProtoReflect.Descriptor instead.
func (*FilterConfigPerRoute) GetDisabled ¶
func (x *FilterConfigPerRoute) GetDisabled() bool
func (*FilterConfigPerRoute) ProtoMessage ¶
func (*FilterConfigPerRoute) ProtoMessage()
func (*FilterConfigPerRoute) ProtoReflect ¶
func (x *FilterConfigPerRoute) ProtoReflect() protoreflect.Message
func (*FilterConfigPerRoute) Reset ¶
func (x *FilterConfigPerRoute) Reset()
func (*FilterConfigPerRoute) String ¶
func (x *FilterConfigPerRoute) String() string
func (*FilterConfigPerRoute) Validate ¶
func (m *FilterConfigPerRoute) Validate() error
Validate checks the field values on FilterConfigPerRoute 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 (*FilterConfigPerRoute) ValidateAll ¶
func (m *FilterConfigPerRoute) ValidateAll() error
ValidateAll checks the field values on FilterConfigPerRoute 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 FilterConfigPerRouteMultiError, or nil if none found.
type FilterConfigPerRouteMultiError ¶
type FilterConfigPerRouteMultiError []error
FilterConfigPerRouteMultiError is an error wrapping multiple validation errors returned by FilterConfigPerRoute.ValidateAll() if the designated constraints aren't met.
func (FilterConfigPerRouteMultiError) AllErrors ¶
func (m FilterConfigPerRouteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterConfigPerRouteMultiError) Error ¶
func (m FilterConfigPerRouteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterConfigPerRouteValidationError ¶
type FilterConfigPerRouteValidationError struct {
// contains filtered or unexported fields
}
FilterConfigPerRouteValidationError is the validation error returned by FilterConfigPerRoute.Validate if the designated constraints aren't met.
func (FilterConfigPerRouteValidationError) Cause ¶
func (e FilterConfigPerRouteValidationError) Cause() error
Cause function returns cause value.
func (FilterConfigPerRouteValidationError) Error ¶
func (e FilterConfigPerRouteValidationError) Error() string
Error satisfies the builtin error interface
func (FilterConfigPerRouteValidationError) ErrorName ¶
func (e FilterConfigPerRouteValidationError) ErrorName() string
ErrorName returns error name.
func (FilterConfigPerRouteValidationError) Field ¶
func (e FilterConfigPerRouteValidationError) Field() string
Field function returns field value.
func (FilterConfigPerRouteValidationError) Key ¶
func (e FilterConfigPerRouteValidationError) Key() bool
Key function returns key value.
func (FilterConfigPerRouteValidationError) Reason ¶
func (e FilterConfigPerRouteValidationError) Reason() string
Reason function returns reason value.
type TokenAuth ¶
type TokenAuth struct { SourceTokenList []*TokenAuth_SourceToken `protobuf:"bytes,1,rep,name=source_token_list,json=sourceTokenList,proto3" json:"source_token_list,omitempty"` // contains filtered or unexported fields }
func (*TokenAuth) Descriptor
deprecated
func (*TokenAuth) GetSourceTokenList ¶
func (x *TokenAuth) GetSourceTokenList() []*TokenAuth_SourceToken
func (*TokenAuth) ProtoMessage ¶
func (*TokenAuth) ProtoMessage()
func (*TokenAuth) ProtoReflect ¶
func (x *TokenAuth) ProtoReflect() protoreflect.Message
func (*TokenAuth) Validate ¶
Validate checks the field values on TokenAuth 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 (*TokenAuth) ValidateAll ¶
ValidateAll checks the field values on TokenAuth 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 TokenAuthMultiError, or nil if none found.
type TokenAuthMultiError ¶
type TokenAuthMultiError []error
TokenAuthMultiError is an error wrapping multiple validation errors returned by TokenAuth.ValidateAll() if the designated constraints aren't met.
func (TokenAuthMultiError) AllErrors ¶
func (m TokenAuthMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenAuthMultiError) Error ¶
func (m TokenAuthMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenAuthValidationError ¶
type TokenAuthValidationError struct {
// contains filtered or unexported fields
}
TokenAuthValidationError is the validation error returned by TokenAuth.Validate if the designated constraints aren't met.
func (TokenAuthValidationError) Cause ¶
func (e TokenAuthValidationError) Cause() error
Cause function returns cause value.
func (TokenAuthValidationError) Error ¶
func (e TokenAuthValidationError) Error() string
Error satisfies the builtin error interface
func (TokenAuthValidationError) ErrorName ¶
func (e TokenAuthValidationError) ErrorName() string
ErrorName returns error name.
func (TokenAuthValidationError) Field ¶
func (e TokenAuthValidationError) Field() string
Field function returns field value.
func (TokenAuthValidationError) Key ¶
func (e TokenAuthValidationError) Key() bool
Key function returns key value.
func (TokenAuthValidationError) Reason ¶
func (e TokenAuthValidationError) Reason() string
Reason function returns reason value.
type TokenAuth_SourceToken ¶
type TokenAuth_SourceToken struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Tokens []string `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` // contains filtered or unexported fields }
func (*TokenAuth_SourceToken) Descriptor
deprecated
func (*TokenAuth_SourceToken) Descriptor() ([]byte, []int)
Deprecated: Use TokenAuth_SourceToken.ProtoReflect.Descriptor instead.
func (*TokenAuth_SourceToken) GetSource ¶
func (x *TokenAuth_SourceToken) GetSource() string
func (*TokenAuth_SourceToken) GetTokens ¶
func (x *TokenAuth_SourceToken) GetTokens() []string
func (*TokenAuth_SourceToken) ProtoMessage ¶
func (*TokenAuth_SourceToken) ProtoMessage()
func (*TokenAuth_SourceToken) ProtoReflect ¶
func (x *TokenAuth_SourceToken) ProtoReflect() protoreflect.Message
func (*TokenAuth_SourceToken) Reset ¶
func (x *TokenAuth_SourceToken) Reset()
func (*TokenAuth_SourceToken) String ¶
func (x *TokenAuth_SourceToken) String() string
func (*TokenAuth_SourceToken) Validate ¶
func (m *TokenAuth_SourceToken) Validate() error
Validate checks the field values on TokenAuth_SourceToken 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 (*TokenAuth_SourceToken) ValidateAll ¶
func (m *TokenAuth_SourceToken) ValidateAll() error
ValidateAll checks the field values on TokenAuth_SourceToken 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 TokenAuth_SourceTokenMultiError, or nil if none found.
type TokenAuth_SourceTokenMultiError ¶
type TokenAuth_SourceTokenMultiError []error
TokenAuth_SourceTokenMultiError is an error wrapping multiple validation errors returned by TokenAuth_SourceToken.ValidateAll() if the designated constraints aren't met.
func (TokenAuth_SourceTokenMultiError) AllErrors ¶
func (m TokenAuth_SourceTokenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenAuth_SourceTokenMultiError) Error ¶
func (m TokenAuth_SourceTokenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenAuth_SourceTokenValidationError ¶
type TokenAuth_SourceTokenValidationError struct {
// contains filtered or unexported fields
}
TokenAuth_SourceTokenValidationError is the validation error returned by TokenAuth_SourceToken.Validate if the designated constraints aren't met.
func (TokenAuth_SourceTokenValidationError) Cause ¶
func (e TokenAuth_SourceTokenValidationError) Cause() error
Cause function returns cause value.
func (TokenAuth_SourceTokenValidationError) Error ¶
func (e TokenAuth_SourceTokenValidationError) Error() string
Error satisfies the builtin error interface
func (TokenAuth_SourceTokenValidationError) ErrorName ¶
func (e TokenAuth_SourceTokenValidationError) ErrorName() string
ErrorName returns error name.
func (TokenAuth_SourceTokenValidationError) Field ¶
func (e TokenAuth_SourceTokenValidationError) Field() string
Field function returns field value.
func (TokenAuth_SourceTokenValidationError) Key ¶
func (e TokenAuth_SourceTokenValidationError) Key() bool
Key function returns key value.
func (TokenAuth_SourceTokenValidationError) Reason ¶
func (e TokenAuth_SourceTokenValidationError) Reason() string
Reason function returns reason value.