auth

package
v0.0.0-...-f24d5ce Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_proto_configuration_auth_auth_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthorizerConfiguration

type AuthorizerConfiguration struct {

	// Types that are valid to be assigned to Policy:
	//
	//	*AuthorizerConfiguration_Allow
	//	*AuthorizerConfiguration_InstanceNamePrefix
	//	*AuthorizerConfiguration_Deny
	//	*AuthorizerConfiguration_JmespathExpression
	//	*AuthorizerConfiguration_Remote
	Policy isAuthorizerConfiguration_Policy `protobuf_oneof:"policy"`
	// contains filtered or unexported fields
}

func (*AuthorizerConfiguration) Descriptor deprecated

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

Deprecated: Use AuthorizerConfiguration.ProtoReflect.Descriptor instead.

func (*AuthorizerConfiguration) GetAllow

func (x *AuthorizerConfiguration) GetAllow() *emptypb.Empty

func (*AuthorizerConfiguration) GetDeny

func (x *AuthorizerConfiguration) GetDeny() *emptypb.Empty

func (*AuthorizerConfiguration) GetInstanceNamePrefix

func (x *AuthorizerConfiguration) GetInstanceNamePrefix() *InstanceNameAuthorizer

func (*AuthorizerConfiguration) GetJmespathExpression

func (x *AuthorizerConfiguration) GetJmespathExpression() string

func (*AuthorizerConfiguration) GetPolicy

func (x *AuthorizerConfiguration) GetPolicy() isAuthorizerConfiguration_Policy

func (*AuthorizerConfiguration) GetRemote

func (x *AuthorizerConfiguration) GetRemote() *RemoteAuthorizer

func (*AuthorizerConfiguration) ProtoMessage

func (*AuthorizerConfiguration) ProtoMessage()

func (*AuthorizerConfiguration) ProtoReflect

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

func (*AuthorizerConfiguration) Reset

func (x *AuthorizerConfiguration) Reset()

func (*AuthorizerConfiguration) String

func (x *AuthorizerConfiguration) String() string

type AuthorizerConfiguration_Allow

type AuthorizerConfiguration_Allow struct {
	Allow *emptypb.Empty `protobuf:"bytes,1,opt,name=allow,proto3,oneof"`
}

type AuthorizerConfiguration_Deny

type AuthorizerConfiguration_Deny struct {
	Deny *emptypb.Empty `protobuf:"bytes,3,opt,name=deny,proto3,oneof"`
}

type AuthorizerConfiguration_InstanceNamePrefix

type AuthorizerConfiguration_InstanceNamePrefix struct {
	InstanceNamePrefix *InstanceNameAuthorizer `protobuf:"bytes,2,opt,name=instance_name_prefix,json=instanceNamePrefix,proto3,oneof"`
}

type AuthorizerConfiguration_JmespathExpression

type AuthorizerConfiguration_JmespathExpression struct {
	JmespathExpression string `protobuf:"bytes,4,opt,name=jmespath_expression,json=jmespathExpression,proto3,oneof"`
}

type AuthorizerConfiguration_Remote

type AuthorizerConfiguration_Remote struct {
	Remote *RemoteAuthorizer `protobuf:"bytes,7,opt,name=remote,proto3,oneof"`
}

type InstanceNameAuthorizer

type InstanceNameAuthorizer struct {
	AllowedInstanceNamePrefixes []string `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InstanceNameAuthorizer) Descriptor deprecated

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

Deprecated: Use InstanceNameAuthorizer.ProtoReflect.Descriptor instead.

func (*InstanceNameAuthorizer) GetAllowedInstanceNamePrefixes

func (x *InstanceNameAuthorizer) GetAllowedInstanceNamePrefixes() []string

func (*InstanceNameAuthorizer) ProtoMessage

func (*InstanceNameAuthorizer) ProtoMessage()

func (*InstanceNameAuthorizer) ProtoReflect

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

func (*InstanceNameAuthorizer) Reset

func (x *InstanceNameAuthorizer) Reset()

func (*InstanceNameAuthorizer) String

func (x *InstanceNameAuthorizer) String() string

type RemoteAuthorizer

type RemoteAuthorizer struct {
	Endpoint               *grpc.ClientConfiguration       `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Scope                  *structpb.Value                 `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	MaximumCacheSize       int32                           `protobuf:"varint,3,opt,name=maximum_cache_size,json=maximumCacheSize,proto3" json:"maximum_cache_size,omitempty"`
	CacheReplacementPolicy eviction.CacheReplacementPolicy `` /* 191-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RemoteAuthorizer) Descriptor deprecated

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

Deprecated: Use RemoteAuthorizer.ProtoReflect.Descriptor instead.

func (*RemoteAuthorizer) GetCacheReplacementPolicy

func (x *RemoteAuthorizer) GetCacheReplacementPolicy() eviction.CacheReplacementPolicy

func (*RemoteAuthorizer) GetEndpoint

func (x *RemoteAuthorizer) GetEndpoint() *grpc.ClientConfiguration

func (*RemoteAuthorizer) GetMaximumCacheSize

func (x *RemoteAuthorizer) GetMaximumCacheSize() int32

func (*RemoteAuthorizer) GetScope

func (x *RemoteAuthorizer) GetScope() *structpb.Value

func (*RemoteAuthorizer) ProtoMessage

func (*RemoteAuthorizer) ProtoMessage()

func (*RemoteAuthorizer) ProtoReflect

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

func (*RemoteAuthorizer) Reset

func (x *RemoteAuthorizer) Reset()

func (*RemoteAuthorizer) String

func (x *RemoteAuthorizer) String() string

Jump to

Keyboard shortcuts

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