hsic

package
v0.17.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeadscaleInContainer

type HeadscaleInContainer struct {
	// contains filtered or unexported fields
}

func New

func New(
	pool *dockertest.Pool,
	port int,
	network *dockertest.Network,
) (*HeadscaleInContainer, error)

func (*HeadscaleInContainer) CreateAuthKey

func (t *HeadscaleInContainer) CreateAuthKey(
	namespace string,
) (*v1.PreAuthKey, error)

func (*HeadscaleInContainer) CreateNamespace

func (t *HeadscaleInContainer) CreateNamespace(
	namespace string,
) error

func (*HeadscaleInContainer) Execute

func (t *HeadscaleInContainer) Execute(
	command []string,
) (string, error)

func (*HeadscaleInContainer) GetEndpoint

func (t *HeadscaleInContainer) GetEndpoint() string

func (*HeadscaleInContainer) GetHealthEndpoint

func (t *HeadscaleInContainer) GetHealthEndpoint() string

func (*HeadscaleInContainer) GetIP

func (t *HeadscaleInContainer) GetIP() string

func (*HeadscaleInContainer) GetPort

func (t *HeadscaleInContainer) GetPort() string

func (*HeadscaleInContainer) ListMachinesInNamespace

func (t *HeadscaleInContainer) ListMachinesInNamespace(
	namespace string,
) ([]*v1.Machine, error)

func (*HeadscaleInContainer) Shutdown

func (t *HeadscaleInContainer) Shutdown() error

func (*HeadscaleInContainer) WaitForReady

func (t *HeadscaleInContainer) WaitForReady() error

Jump to

Keyboard shortcuts

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