Documentation
¶
Index ¶
Constants ¶
const (
RedisProxyExternalAuth_Authenticate_FullMethodName = "/envoy.service.redis_auth.v3.RedisProxyExternalAuth/Authenticate"
)
Variables ¶
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 ¶
func (UnimplementedRedisProxyExternalAuthServer) Authenticate(context.Context, *v3.RedisProxyExternalAuthRequest) (*v3.RedisProxyExternalAuthResponse, error)
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