grpc

package
v2.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAuthenticatorServer

func RegisterAuthenticatorServer(srv *grpc.Server, kubeClientConfig clientcmd.ClientConfig)

Types

type Authenticator

type Authenticator interface {
	GetExecCredentials(ctx context.Context, contextName string) ([]byte, error)
}

type AuthenticatorServer

type AuthenticatorServer struct {
	rpc.UnsafeAuthenticatorServer
	// contains filtered or unexported fields
}

func (*AuthenticatorServer) GetContextExecCredentials

GetContextExecCredentials returns credentials for a particular Kubernetes context on the host machine.

Jump to

Keyboard shortcuts

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