redis_authv3grpc

package
v1.5.1-20251020202141-... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RedisProxyExternalAuth_Authenticate_FullMethodName = "/envoy.service.redis_auth.v3.RedisProxyExternalAuth/Authenticate"
)

Variables

View Source
var RedisProxyExternalAuth_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "envoy.service.redis_auth.v3.RedisProxyExternalAuth",
	HandlerType: (*RedisProxyExternalAuthServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Authenticate",
			Handler:    _RedisProxyExternalAuth_Authenticate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "envoy/service/redis_auth/v3/redis_external_auth.proto",
}

RedisProxyExternalAuth_ServiceDesc is the grpc.ServiceDesc for RedisProxyExternalAuth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRedisProxyExternalAuthServer

func RegisterRedisProxyExternalAuthServer(s grpc.ServiceRegistrar, srv RedisProxyExternalAuthServer)

Types

type RedisProxyExternalAuthClient

type RedisProxyExternalAuthClient interface {
	// Performs authentication check based on the data sent with the AUTH request.
	// Returns either an OK status or an error status.
	Authenticate(ctx context.Context, in *v3.RedisProxyExternalAuthRequest, opts ...grpc.CallOption) (*v3.RedisProxyExternalAuthResponse, error)
}

RedisProxyExternalAuthClient is the client API for RedisProxyExternalAuth service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

A generic interface for performing external password authentication on incoming AUTH commands.

func NewRedisProxyExternalAuthClient

func NewRedisProxyExternalAuthClient(cc grpc.ClientConnInterface) RedisProxyExternalAuthClient

type RedisProxyExternalAuthServer

type RedisProxyExternalAuthServer interface {
	// Performs authentication check based on the data sent with the AUTH request.
	// Returns either an OK status or an error status.
	Authenticate(context.Context, *v3.RedisProxyExternalAuthRequest) (*v3.RedisProxyExternalAuthResponse, error)
}

RedisProxyExternalAuthServer is the server API for RedisProxyExternalAuth service. All implementations should embed UnimplementedRedisProxyExternalAuthServer for forward compatibility.

A generic interface for performing external password authentication on incoming AUTH commands.

type UnimplementedRedisProxyExternalAuthServer

type UnimplementedRedisProxyExternalAuthServer struct{}

UnimplementedRedisProxyExternalAuthServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRedisProxyExternalAuthServer) Authenticate

type UnsafeRedisProxyExternalAuthServer

type UnsafeRedisProxyExternalAuthServer interface {
	// contains filtered or unexported methods
}

UnsafeRedisProxyExternalAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RedisProxyExternalAuthServer will result in compilation errors.

Source Files

  • redis_external_auth_grpc.pb.go

Jump to

Keyboard shortcuts

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