test

package
v0.0.0-...-af13ce4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Context   context.Context
	Certs     certs
	TempDir   string
	RelayAddr string
}

func NewEnvironment

func NewEnvironment() (*Environment, error)

func (*Environment) Destroy

func (e *Environment) Destroy() error

func (*Environment) NewClient

func (e *Environment) NewClient(signer ssh.Signer) *sdk.RelayClient

func (*Environment) NewEd25519Keypair

func (e *Environment) NewEd25519Keypair() ssh.Signer

func (*Environment) NewRSAKeypair

func (e *Environment) NewRSAKeypair() ssh.Signer

func (*Environment) SpawnAgent

func (e *Environment) SpawnAgent(authorizedKeys ...ssh.PublicKey)

func (*Environment) SpawnRelay

func (e *Environment) SpawnRelay()

Directories

Path Synopsis
mock
api
Package mock_api is a generated GoMock package.
Package mock_api is a generated GoMock package.
mock_api
Package mock_api is a generated GoMock package.
Package mock_api is a generated GoMock package.

Jump to

Keyboard shortcuts

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