Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAuthenticatorServer(s grpc.ServiceRegistrar, srv AuthenticatorServer)
- type AuthenticatorClient
- type AuthenticatorServer
- type GetContextExecCredentialsRequest
- func (*GetContextExecCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetContextExecCredentialsRequest) GetContextName() string
- func (*GetContextExecCredentialsRequest) ProtoMessage()
- func (x *GetContextExecCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *GetContextExecCredentialsRequest) Reset()
- func (x *GetContextExecCredentialsRequest) String() string
- type GetContextExecCredentialsResponse
- func (*GetContextExecCredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetContextExecCredentialsResponse) GetRawCredentials() []byte
- func (*GetContextExecCredentialsResponse) ProtoMessage()
- func (x *GetContextExecCredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *GetContextExecCredentialsResponse) Reset()
- func (x *GetContextExecCredentialsResponse) String() string
- type UnimplementedAuthenticatorServer
- type UnsafeAuthenticatorServer
Constants ¶
const (
Authenticator_GetContextExecCredentials_FullMethodName = "/telepresence.authenticator.Authenticator/GetContextExecCredentials"
)
Variables ¶
var Authenticator_ServiceDesc = grpc.ServiceDesc{ ServiceName: "telepresence.authenticator.Authenticator", HandlerType: (*AuthenticatorServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetContextExecCredentials", Handler: _Authenticator_GetContextExecCredentials_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authenticator/authenticator.proto", }
Authenticator_ServiceDesc is the grpc.ServiceDesc for Authenticator service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_authenticator_authenticator_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthenticatorServer ¶
func RegisterAuthenticatorServer(s grpc.ServiceRegistrar, srv AuthenticatorServer)
Types ¶
type AuthenticatorClient ¶
type AuthenticatorClient interface {
GetContextExecCredentials(ctx context.Context, in *GetContextExecCredentialsRequest, opts ...grpc.CallOption) (*GetContextExecCredentialsResponse, error)
}
AuthenticatorClient is the client API for Authenticator 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.
func NewAuthenticatorClient ¶
func NewAuthenticatorClient(cc grpc.ClientConnInterface) AuthenticatorClient
type AuthenticatorServer ¶
type AuthenticatorServer interface { GetContextExecCredentials(context.Context, *GetContextExecCredentialsRequest) (*GetContextExecCredentialsResponse, error) // contains filtered or unexported methods }
AuthenticatorServer is the server API for Authenticator service. All implementations must embed UnimplementedAuthenticatorServer for forward compatibility
type GetContextExecCredentialsRequest ¶
type GetContextExecCredentialsRequest struct { ContextName string `protobuf:"bytes,1,opt,name=context_name,json=contextName,proto3" json:"context_name,omitempty"` // contains filtered or unexported fields }
func (*GetContextExecCredentialsRequest) Descriptor
deprecated
func (*GetContextExecCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContextExecCredentialsRequest.ProtoReflect.Descriptor instead.
func (*GetContextExecCredentialsRequest) GetContextName ¶
func (x *GetContextExecCredentialsRequest) GetContextName() string
func (*GetContextExecCredentialsRequest) ProtoMessage ¶
func (*GetContextExecCredentialsRequest) ProtoMessage()
func (*GetContextExecCredentialsRequest) ProtoReflect ¶
func (x *GetContextExecCredentialsRequest) ProtoReflect() protoreflect.Message
func (*GetContextExecCredentialsRequest) Reset ¶
func (x *GetContextExecCredentialsRequest) Reset()
func (*GetContextExecCredentialsRequest) String ¶
func (x *GetContextExecCredentialsRequest) String() string
type GetContextExecCredentialsResponse ¶
type GetContextExecCredentialsResponse struct { RawCredentials []byte `protobuf:"bytes,1,opt,name=raw_credentials,json=rawCredentials,proto3" json:"raw_credentials,omitempty"` // contains filtered or unexported fields }
func (*GetContextExecCredentialsResponse) Descriptor
deprecated
func (*GetContextExecCredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetContextExecCredentialsResponse.ProtoReflect.Descriptor instead.
func (*GetContextExecCredentialsResponse) GetRawCredentials ¶
func (x *GetContextExecCredentialsResponse) GetRawCredentials() []byte
func (*GetContextExecCredentialsResponse) ProtoMessage ¶
func (*GetContextExecCredentialsResponse) ProtoMessage()
func (*GetContextExecCredentialsResponse) ProtoReflect ¶
func (x *GetContextExecCredentialsResponse) ProtoReflect() protoreflect.Message
func (*GetContextExecCredentialsResponse) Reset ¶
func (x *GetContextExecCredentialsResponse) Reset()
func (*GetContextExecCredentialsResponse) String ¶
func (x *GetContextExecCredentialsResponse) String() string
type UnimplementedAuthenticatorServer ¶
type UnimplementedAuthenticatorServer struct { }
UnimplementedAuthenticatorServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthenticatorServer) GetContextExecCredentials ¶
func (UnimplementedAuthenticatorServer) GetContextExecCredentials(context.Context, *GetContextExecCredentialsRequest) (*GetContextExecCredentialsResponse, error)
type UnsafeAuthenticatorServer ¶
type UnsafeAuthenticatorServer interface {
// contains filtered or unexported methods
}
UnsafeAuthenticatorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthenticatorServer will result in compilation errors.