envoy_config_filter_http_jwt_authn_v2alpha

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2020 License: Apache-2.0 Imports: 22 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_filter_http_jwt_authn_v2alpha_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FilterStateRule added in v0.7.1

type FilterStateRule struct {
	Name     string                     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Requires map[string]*JwtRequirement `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FilterStateRule) Descriptor deprecated added in v0.7.1

func (*FilterStateRule) Descriptor() ([]byte, []int)

Deprecated: Use FilterStateRule.ProtoReflect.Descriptor instead.

func (*FilterStateRule) GetName added in v0.7.1

func (x *FilterStateRule) GetName() string

func (*FilterStateRule) GetRequires added in v0.7.1

func (x *FilterStateRule) GetRequires() map[string]*JwtRequirement

func (*FilterStateRule) ProtoMessage added in v0.7.1

func (*FilterStateRule) ProtoMessage()

func (*FilterStateRule) ProtoReflect added in v0.9.6

func (x *FilterStateRule) ProtoReflect() protoreflect.Message

func (*FilterStateRule) Reset added in v0.7.1

func (x *FilterStateRule) Reset()

func (*FilterStateRule) String added in v0.7.1

func (x *FilterStateRule) String() string

func (*FilterStateRule) Validate added in v0.7.1

func (m *FilterStateRule) Validate() error

Validate checks the field values on FilterStateRule with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FilterStateRuleValidationError added in v0.7.1

type FilterStateRuleValidationError struct {
	// contains filtered or unexported fields
}

FilterStateRuleValidationError is the validation error returned by FilterStateRule.Validate if the designated constraints aren't met.

func (FilterStateRuleValidationError) Cause added in v0.7.1

Cause function returns cause value.

func (FilterStateRuleValidationError) Error added in v0.7.1

Error satisfies the builtin error interface

func (FilterStateRuleValidationError) ErrorName added in v0.7.1

func (e FilterStateRuleValidationError) ErrorName() string

ErrorName returns error name.

func (FilterStateRuleValidationError) Field added in v0.7.1

Field function returns field value.

func (FilterStateRuleValidationError) Key added in v0.7.1

Key function returns key value.

func (FilterStateRuleValidationError) Reason added in v0.7.1

Reason function returns reason value.

type JwtAuthentication

type JwtAuthentication struct {
	Providers           map[string]*JwtProvider `` /* 159-byte string literal not displayed */
	Rules               []*RequirementRule      `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	FilterStateRules    *FilterStateRule        `protobuf:"bytes,3,opt,name=filter_state_rules,json=filterStateRules,proto3" json:"filter_state_rules,omitempty"`
	BypassCorsPreflight bool                    `protobuf:"varint,4,opt,name=bypass_cors_preflight,json=bypassCorsPreflight,proto3" json:"bypass_cors_preflight,omitempty"`
	// contains filtered or unexported fields
}

func (*JwtAuthentication) Descriptor deprecated

func (*JwtAuthentication) Descriptor() ([]byte, []int)

Deprecated: Use JwtAuthentication.ProtoReflect.Descriptor instead.

func (*JwtAuthentication) GetBypassCorsPreflight added in v0.9.2

func (x *JwtAuthentication) GetBypassCorsPreflight() bool

func (*JwtAuthentication) GetFilterStateRules added in v0.7.1

func (x *JwtAuthentication) GetFilterStateRules() *FilterStateRule

func (*JwtAuthentication) GetProviders

func (x *JwtAuthentication) GetProviders() map[string]*JwtProvider

func (*JwtAuthentication) GetRules

func (x *JwtAuthentication) GetRules() []*RequirementRule

func (*JwtAuthentication) ProtoMessage

func (*JwtAuthentication) ProtoMessage()

func (*JwtAuthentication) ProtoReflect added in v0.9.6

func (x *JwtAuthentication) ProtoReflect() protoreflect.Message

func (*JwtAuthentication) Reset

func (x *JwtAuthentication) Reset()

func (*JwtAuthentication) String

func (x *JwtAuthentication) String() string

func (*JwtAuthentication) Validate

func (m *JwtAuthentication) Validate() error

Validate checks the field values on JwtAuthentication with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type JwtAuthenticationValidationError

type JwtAuthenticationValidationError struct {
	// contains filtered or unexported fields
}

JwtAuthenticationValidationError is the validation error returned by JwtAuthentication.Validate if the designated constraints aren't met.

func (JwtAuthenticationValidationError) Cause

Cause function returns cause value.

func (JwtAuthenticationValidationError) Error

Error satisfies the builtin error interface

func (JwtAuthenticationValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (JwtAuthenticationValidationError) Field

Field function returns field value.

func (JwtAuthenticationValidationError) Key

Key function returns key value.

func (JwtAuthenticationValidationError) Reason

Reason function returns reason value.

type JwtHeader

type JwtHeader struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ValuePrefix string `protobuf:"bytes,2,opt,name=value_prefix,json=valuePrefix,proto3" json:"value_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*JwtHeader) Descriptor deprecated

func (*JwtHeader) Descriptor() ([]byte, []int)

Deprecated: Use JwtHeader.ProtoReflect.Descriptor instead.

func (*JwtHeader) GetName

func (x *JwtHeader) GetName() string

func (*JwtHeader) GetValuePrefix

func (x *JwtHeader) GetValuePrefix() string

func (*JwtHeader) ProtoMessage

func (*JwtHeader) ProtoMessage()

func (*JwtHeader) ProtoReflect added in v0.9.6

func (x *JwtHeader) ProtoReflect() protoreflect.Message

func (*JwtHeader) Reset

func (x *JwtHeader) Reset()

func (*JwtHeader) String

func (x *JwtHeader) String() string

func (*JwtHeader) Validate

func (m *JwtHeader) Validate() error

Validate checks the field values on JwtHeader with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type JwtHeaderValidationError

type JwtHeaderValidationError struct {
	// contains filtered or unexported fields
}

JwtHeaderValidationError is the validation error returned by JwtHeader.Validate if the designated constraints aren't met.

func (JwtHeaderValidationError) Cause

func (e JwtHeaderValidationError) Cause() error

Cause function returns cause value.

func (JwtHeaderValidationError) Error

func (e JwtHeaderValidationError) Error() string

Error satisfies the builtin error interface

func (JwtHeaderValidationError) ErrorName added in v0.7.0

func (e JwtHeaderValidationError) ErrorName() string

ErrorName returns error name.

func (JwtHeaderValidationError) Field

func (e JwtHeaderValidationError) Field() string

Field function returns field value.

func (JwtHeaderValidationError) Key

Key function returns key value.

func (JwtHeaderValidationError) Reason

func (e JwtHeaderValidationError) Reason() string

Reason function returns reason value.

type JwtProvider

type JwtProvider struct {
	Issuer    string   `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Audiences []string `protobuf:"bytes,2,rep,name=audiences,proto3" json:"audiences,omitempty"`
	// Types that are assignable to JwksSourceSpecifier:
	//	*JwtProvider_RemoteJwks
	//	*JwtProvider_LocalJwks
	JwksSourceSpecifier  isJwtProvider_JwksSourceSpecifier `protobuf_oneof:"jwks_source_specifier"`
	Forward              bool                              `protobuf:"varint,5,opt,name=forward,proto3" json:"forward,omitempty"`
	FromHeaders          []*JwtHeader                      `protobuf:"bytes,6,rep,name=from_headers,json=fromHeaders,proto3" json:"from_headers,omitempty"`
	FromParams           []string                          `protobuf:"bytes,7,rep,name=from_params,json=fromParams,proto3" json:"from_params,omitempty"`
	ForwardPayloadHeader string                            `protobuf:"bytes,8,opt,name=forward_payload_header,json=forwardPayloadHeader,proto3" json:"forward_payload_header,omitempty"`
	PayloadInMetadata    string                            `protobuf:"bytes,9,opt,name=payload_in_metadata,json=payloadInMetadata,proto3" json:"payload_in_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*JwtProvider) Descriptor deprecated

func (*JwtProvider) Descriptor() ([]byte, []int)

Deprecated: Use JwtProvider.ProtoReflect.Descriptor instead.

func (*JwtProvider) GetAudiences

func (x *JwtProvider) GetAudiences() []string

func (*JwtProvider) GetForward

func (x *JwtProvider) GetForward() bool

func (*JwtProvider) GetForwardPayloadHeader

func (x *JwtProvider) GetForwardPayloadHeader() string

func (*JwtProvider) GetFromHeaders

func (x *JwtProvider) GetFromHeaders() []*JwtHeader

func (*JwtProvider) GetFromParams

func (x *JwtProvider) GetFromParams() []string

func (*JwtProvider) GetIssuer

func (x *JwtProvider) GetIssuer() string

func (*JwtProvider) GetJwksSourceSpecifier

func (m *JwtProvider) GetJwksSourceSpecifier() isJwtProvider_JwksSourceSpecifier

func (*JwtProvider) GetLocalJwks

func (x *JwtProvider) GetLocalJwks() *core.DataSource

func (*JwtProvider) GetPayloadInMetadata added in v0.6.2

func (x *JwtProvider) GetPayloadInMetadata() string

func (*JwtProvider) GetRemoteJwks

func (x *JwtProvider) GetRemoteJwks() *RemoteJwks

func (*JwtProvider) ProtoMessage

func (*JwtProvider) ProtoMessage()

func (*JwtProvider) ProtoReflect added in v0.9.6

func (x *JwtProvider) ProtoReflect() protoreflect.Message

func (*JwtProvider) Reset

func (x *JwtProvider) Reset()

func (*JwtProvider) String

func (x *JwtProvider) String() string

func (*JwtProvider) Validate

func (m *JwtProvider) Validate() error

Validate checks the field values on JwtProvider with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type JwtProviderValidationError

type JwtProviderValidationError struct {
	// contains filtered or unexported fields
}

JwtProviderValidationError is the validation error returned by JwtProvider.Validate if the designated constraints aren't met.

func (JwtProviderValidationError) Cause

Cause function returns cause value.

func (JwtProviderValidationError) Error

Error satisfies the builtin error interface

func (JwtProviderValidationError) ErrorName added in v0.7.0

func (e JwtProviderValidationError) ErrorName() string

ErrorName returns error name.

func (JwtProviderValidationError) Field

Field function returns field value.

func (JwtProviderValidationError) Key

Key function returns key value.

func (JwtProviderValidationError) Reason

Reason function returns reason value.

type JwtProvider_LocalJwks

type JwtProvider_LocalJwks struct {
	LocalJwks *core.DataSource `protobuf:"bytes,4,opt,name=local_jwks,json=localJwks,proto3,oneof"`
}

type JwtProvider_RemoteJwks

type JwtProvider_RemoteJwks struct {
	RemoteJwks *RemoteJwks `protobuf:"bytes,3,opt,name=remote_jwks,json=remoteJwks,proto3,oneof"`
}

type JwtRequirement

type JwtRequirement struct {

	// Types that are assignable to RequiresType:
	//	*JwtRequirement_ProviderName
	//	*JwtRequirement_ProviderAndAudiences
	//	*JwtRequirement_RequiresAny
	//	*JwtRequirement_RequiresAll
	//	*JwtRequirement_AllowMissingOrFailed
	//	*JwtRequirement_AllowMissing
	RequiresType isJwtRequirement_RequiresType `protobuf_oneof:"requires_type"`
	// contains filtered or unexported fields
}

func (*JwtRequirement) Descriptor deprecated

func (*JwtRequirement) Descriptor() ([]byte, []int)

Deprecated: Use JwtRequirement.ProtoReflect.Descriptor instead.

func (*JwtRequirement) GetAllowMissing added in v0.9.2

func (x *JwtRequirement) GetAllowMissing() *empty.Empty

func (*JwtRequirement) GetAllowMissingOrFailed

func (x *JwtRequirement) GetAllowMissingOrFailed() *empty.Empty

func (*JwtRequirement) GetProviderAndAudiences

func (x *JwtRequirement) GetProviderAndAudiences() *ProviderWithAudiences

func (*JwtRequirement) GetProviderName

func (x *JwtRequirement) GetProviderName() string

func (*JwtRequirement) GetRequiresAll

func (x *JwtRequirement) GetRequiresAll() *JwtRequirementAndList

func (*JwtRequirement) GetRequiresAny

func (x *JwtRequirement) GetRequiresAny() *JwtRequirementOrList

func (*JwtRequirement) GetRequiresType

func (m *JwtRequirement) GetRequiresType() isJwtRequirement_RequiresType

func (*JwtRequirement) ProtoMessage

func (*JwtRequirement) ProtoMessage()

func (*JwtRequirement) ProtoReflect added in v0.9.6

func (x *JwtRequirement) ProtoReflect() protoreflect.Message

func (*JwtRequirement) Reset

func (x *JwtRequirement) Reset()

func (*JwtRequirement) String

func (x *JwtRequirement) String() string

func (*JwtRequirement) Validate

func (m *JwtRequirement) Validate() error

Validate checks the field values on JwtRequirement with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type JwtRequirementAndList

type JwtRequirementAndList struct {
	Requirements []*JwtRequirement `protobuf:"bytes,1,rep,name=requirements,proto3" json:"requirements,omitempty"`
	// contains filtered or unexported fields
}

func (*JwtRequirementAndList) Descriptor deprecated

func (*JwtRequirementAndList) Descriptor() ([]byte, []int)

Deprecated: Use JwtRequirementAndList.ProtoReflect.Descriptor instead.

func (*JwtRequirementAndList) GetRequirements

func (x *JwtRequirementAndList) GetRequirements() []*JwtRequirement

func (*JwtRequirementAndList) ProtoMessage

func (*JwtRequirementAndList) ProtoMessage()

func (*JwtRequirementAndList) ProtoReflect added in v0.9.6

func (x *JwtRequirementAndList) ProtoReflect() protoreflect.Message

func (*JwtRequirementAndList) Reset

func (x *JwtRequirementAndList) Reset()

func (*JwtRequirementAndList) String

func (x *JwtRequirementAndList) String() string

func (*JwtRequirementAndList) Validate

func (m *JwtRequirementAndList) Validate() error

Validate checks the field values on JwtRequirementAndList with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type JwtRequirementAndListValidationError

type JwtRequirementAndListValidationError struct {
	// contains filtered or unexported fields
}

JwtRequirementAndListValidationError is the validation error returned by JwtRequirementAndList.Validate if the designated constraints aren't met.

func (JwtRequirementAndListValidationError) Cause

Cause function returns cause value.

func (JwtRequirementAndListValidationError) Error

Error satisfies the builtin error interface

func (JwtRequirementAndListValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (JwtRequirementAndListValidationError) Field

Field function returns field value.

func (JwtRequirementAndListValidationError) Key

Key function returns key value.

func (JwtRequirementAndListValidationError) Reason

Reason function returns reason value.

type JwtRequirementOrList

type JwtRequirementOrList struct {
	Requirements []*JwtRequirement `protobuf:"bytes,1,rep,name=requirements,proto3" json:"requirements,omitempty"`
	// contains filtered or unexported fields
}

func (*JwtRequirementOrList) Descriptor deprecated

func (*JwtRequirementOrList) Descriptor() ([]byte, []int)

Deprecated: Use JwtRequirementOrList.ProtoReflect.Descriptor instead.

func (*JwtRequirementOrList) GetRequirements

func (x *JwtRequirementOrList) GetRequirements() []*JwtRequirement

func (*JwtRequirementOrList) ProtoMessage

func (*JwtRequirementOrList) ProtoMessage()

func (*JwtRequirementOrList) ProtoReflect added in v0.9.6

func (x *JwtRequirementOrList) ProtoReflect() protoreflect.Message

func (*JwtRequirementOrList) Reset

func (x *JwtRequirementOrList) Reset()

func (*JwtRequirementOrList) String

func (x *JwtRequirementOrList) String() string

func (*JwtRequirementOrList) Validate

func (m *JwtRequirementOrList) Validate() error

Validate checks the field values on JwtRequirementOrList with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type JwtRequirementOrListValidationError

type JwtRequirementOrListValidationError struct {
	// contains filtered or unexported fields
}

JwtRequirementOrListValidationError is the validation error returned by JwtRequirementOrList.Validate if the designated constraints aren't met.

func (JwtRequirementOrListValidationError) Cause

Cause function returns cause value.

func (JwtRequirementOrListValidationError) Error

Error satisfies the builtin error interface

func (JwtRequirementOrListValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (JwtRequirementOrListValidationError) Field

Field function returns field value.

func (JwtRequirementOrListValidationError) Key

Key function returns key value.

func (JwtRequirementOrListValidationError) Reason

Reason function returns reason value.

type JwtRequirementValidationError

type JwtRequirementValidationError struct {
	// contains filtered or unexported fields
}

JwtRequirementValidationError is the validation error returned by JwtRequirement.Validate if the designated constraints aren't met.

func (JwtRequirementValidationError) Cause

Cause function returns cause value.

func (JwtRequirementValidationError) Error

Error satisfies the builtin error interface

func (JwtRequirementValidationError) ErrorName added in v0.7.0

func (e JwtRequirementValidationError) ErrorName() string

ErrorName returns error name.

func (JwtRequirementValidationError) Field

Field function returns field value.

func (JwtRequirementValidationError) Key

Key function returns key value.

func (JwtRequirementValidationError) Reason

Reason function returns reason value.

type JwtRequirement_AllowMissing added in v0.9.2

type JwtRequirement_AllowMissing struct {
	AllowMissing *empty.Empty `protobuf:"bytes,6,opt,name=allow_missing,json=allowMissing,proto3,oneof"`
}

type JwtRequirement_AllowMissingOrFailed

type JwtRequirement_AllowMissingOrFailed struct {
	AllowMissingOrFailed *empty.Empty `protobuf:"bytes,5,opt,name=allow_missing_or_failed,json=allowMissingOrFailed,proto3,oneof"`
}

type JwtRequirement_ProviderAndAudiences

type JwtRequirement_ProviderAndAudiences struct {
	ProviderAndAudiences *ProviderWithAudiences `protobuf:"bytes,2,opt,name=provider_and_audiences,json=providerAndAudiences,proto3,oneof"`
}

type JwtRequirement_ProviderName

type JwtRequirement_ProviderName struct {
	ProviderName string `protobuf:"bytes,1,opt,name=provider_name,json=providerName,proto3,oneof"`
}

type JwtRequirement_RequiresAll

type JwtRequirement_RequiresAll struct {
	RequiresAll *JwtRequirementAndList `protobuf:"bytes,4,opt,name=requires_all,json=requiresAll,proto3,oneof"`
}

type JwtRequirement_RequiresAny

type JwtRequirement_RequiresAny struct {
	RequiresAny *JwtRequirementOrList `protobuf:"bytes,3,opt,name=requires_any,json=requiresAny,proto3,oneof"`
}

type ProviderWithAudiences

type ProviderWithAudiences struct {
	ProviderName string   `protobuf:"bytes,1,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
	Audiences    []string `protobuf:"bytes,2,rep,name=audiences,proto3" json:"audiences,omitempty"`
	// contains filtered or unexported fields
}

func (*ProviderWithAudiences) Descriptor deprecated

func (*ProviderWithAudiences) Descriptor() ([]byte, []int)

Deprecated: Use ProviderWithAudiences.ProtoReflect.Descriptor instead.

func (*ProviderWithAudiences) GetAudiences

func (x *ProviderWithAudiences) GetAudiences() []string

func (*ProviderWithAudiences) GetProviderName

func (x *ProviderWithAudiences) GetProviderName() string

func (*ProviderWithAudiences) ProtoMessage

func (*ProviderWithAudiences) ProtoMessage()

func (*ProviderWithAudiences) ProtoReflect added in v0.9.6

func (x *ProviderWithAudiences) ProtoReflect() protoreflect.Message

func (*ProviderWithAudiences) Reset

func (x *ProviderWithAudiences) Reset()

func (*ProviderWithAudiences) String

func (x *ProviderWithAudiences) String() string

func (*ProviderWithAudiences) Validate

func (m *ProviderWithAudiences) Validate() error

Validate checks the field values on ProviderWithAudiences with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ProviderWithAudiencesValidationError

type ProviderWithAudiencesValidationError struct {
	// contains filtered or unexported fields
}

ProviderWithAudiencesValidationError is the validation error returned by ProviderWithAudiences.Validate if the designated constraints aren't met.

func (ProviderWithAudiencesValidationError) Cause

Cause function returns cause value.

func (ProviderWithAudiencesValidationError) Error

Error satisfies the builtin error interface

func (ProviderWithAudiencesValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (ProviderWithAudiencesValidationError) Field

Field function returns field value.

func (ProviderWithAudiencesValidationError) Key

Key function returns key value.

func (ProviderWithAudiencesValidationError) Reason

Reason function returns reason value.

type RemoteJwks

type RemoteJwks struct {
	HttpUri       *core.HttpUri      `protobuf:"bytes,1,opt,name=http_uri,json=httpUri,proto3" json:"http_uri,omitempty"`
	CacheDuration *duration.Duration `protobuf:"bytes,2,opt,name=cache_duration,json=cacheDuration,proto3" json:"cache_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoteJwks) Descriptor deprecated

func (*RemoteJwks) Descriptor() ([]byte, []int)

Deprecated: Use RemoteJwks.ProtoReflect.Descriptor instead.

func (*RemoteJwks) GetCacheDuration

func (x *RemoteJwks) GetCacheDuration() *duration.Duration

func (*RemoteJwks) GetHttpUri

func (x *RemoteJwks) GetHttpUri() *core.HttpUri

func (*RemoteJwks) ProtoMessage

func (*RemoteJwks) ProtoMessage()

func (*RemoteJwks) ProtoReflect added in v0.9.6

func (x *RemoteJwks) ProtoReflect() protoreflect.Message

func (*RemoteJwks) Reset

func (x *RemoteJwks) Reset()

func (*RemoteJwks) String

func (x *RemoteJwks) String() string

func (*RemoteJwks) Validate

func (m *RemoteJwks) Validate() error

Validate checks the field values on RemoteJwks with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RemoteJwksValidationError

type RemoteJwksValidationError struct {
	// contains filtered or unexported fields
}

RemoteJwksValidationError is the validation error returned by RemoteJwks.Validate if the designated constraints aren't met.

func (RemoteJwksValidationError) Cause

func (e RemoteJwksValidationError) Cause() error

Cause function returns cause value.

func (RemoteJwksValidationError) Error

Error satisfies the builtin error interface

func (RemoteJwksValidationError) ErrorName added in v0.7.0

func (e RemoteJwksValidationError) ErrorName() string

ErrorName returns error name.

func (RemoteJwksValidationError) Field

Field function returns field value.

func (RemoteJwksValidationError) Key

Key function returns key value.

func (RemoteJwksValidationError) Reason

func (e RemoteJwksValidationError) Reason() string

Reason function returns reason value.

type RequirementRule

type RequirementRule struct {
	Match    *route.RouteMatch `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"`
	Requires *JwtRequirement   `protobuf:"bytes,2,opt,name=requires,proto3" json:"requires,omitempty"`
	// contains filtered or unexported fields
}

func (*RequirementRule) Descriptor deprecated

func (*RequirementRule) Descriptor() ([]byte, []int)

Deprecated: Use RequirementRule.ProtoReflect.Descriptor instead.

func (*RequirementRule) GetMatch

func (x *RequirementRule) GetMatch() *route.RouteMatch

func (*RequirementRule) GetRequires

func (x *RequirementRule) GetRequires() *JwtRequirement

func (*RequirementRule) ProtoMessage

func (*RequirementRule) ProtoMessage()

func (*RequirementRule) ProtoReflect added in v0.9.6

func (x *RequirementRule) ProtoReflect() protoreflect.Message

func (*RequirementRule) Reset

func (x *RequirementRule) Reset()

func (*RequirementRule) String

func (x *RequirementRule) String() string

func (*RequirementRule) Validate

func (m *RequirementRule) Validate() error

Validate checks the field values on RequirementRule with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RequirementRuleValidationError

type RequirementRuleValidationError struct {
	// contains filtered or unexported fields
}

RequirementRuleValidationError is the validation error returned by RequirementRule.Validate if the designated constraints aren't met.

func (RequirementRuleValidationError) Cause

Cause function returns cause value.

func (RequirementRuleValidationError) Error

Error satisfies the builtin error interface

func (RequirementRuleValidationError) ErrorName added in v0.7.0

func (e RequirementRuleValidationError) ErrorName() string

ErrorName returns error name.

func (RequirementRuleValidationError) Field

Field function returns field value.

func (RequirementRuleValidationError) Key

Key function returns key value.

func (RequirementRuleValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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