controlplane

package
v1.8.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrKeyNotFound = errors.New("request key not found")

Functions

This section is empty.

Types

type BasicAuth

type BasicAuth struct {
	Username string
	Password string
}

type InternalControlPlane

type InternalControlPlane interface {
	GetDestinationSSHKeys(ctx context.Context, id string) (*PublicPrivateKeyPair, error)
	GetSSHKeys(ctx context.Context, id string) (*PublicPrivateKeyPair, error)
}

func NewInternalClient

func NewInternalClient(baseURI string, auth BasicAuth) InternalControlPlane

func NewInternalClientWithCache

func NewInternalClientWithCache(baseURI string, auth BasicAuth) InternalControlPlane

type PublicPrivateKeyPair

type PublicPrivateKeyPair struct {
	PublicKey  string
	PrivateKey string
}

Jump to

Keyboard shortcuts

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