authenticator

package
v2.15.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

View Source
const (
	Authenticator_GetContextExecCredentials_FullMethodName = "/telepresence.authenticator.Authenticator/GetContextExecCredentials"
)

Variables

View Source
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)

View Source
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.

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 (*GetContextExecCredentialsRequest) Reset

func (*GetContextExecCredentialsRequest) 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 (*GetContextExecCredentialsResponse) Reset

func (*GetContextExecCredentialsResponse) String

type UnimplementedAuthenticatorServer

type UnimplementedAuthenticatorServer struct {
}

UnimplementedAuthenticatorServer must be embedded to have forward compatible implementations.

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.

Jump to

Keyboard shortcuts

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