v3

package
v0.0.0-...-6005464 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 16 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

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

Cause function returns cause value.

func (FilterConfigPerRouteValidationError) Error

Error satisfies the builtin error interface

func (FilterConfigPerRouteValidationError) ErrorName

ErrorName returns error name.

func (FilterConfigPerRouteValidationError) Field

Field function returns field value.

func (FilterConfigPerRouteValidationError) Key

Key function returns key value.

func (FilterConfigPerRouteValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use TokenAuth.ProtoReflect.Descriptor instead.

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) Reset

func (x *TokenAuth) Reset()

func (*TokenAuth) String

func (x *TokenAuth) String() string

func (*TokenAuth) Validate

func (m *TokenAuth) Validate() error

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

func (m *TokenAuth) ValidateAll() error

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

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

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

Cause function returns cause value.

func (TokenAuth_SourceTokenValidationError) Error

Error satisfies the builtin error interface

func (TokenAuth_SourceTokenValidationError) ErrorName

ErrorName returns error name.

func (TokenAuth_SourceTokenValidationError) Field

Field function returns field value.

func (TokenAuth_SourceTokenValidationError) Key

Key function returns key value.

func (TokenAuth_SourceTokenValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL