manager

package
v0.0.0-...-ba0b86d Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CapiCRD   = filepath.Join("..", "integration", "crds", "capi")
	CapvCRD   = filepath.Join("..", "integration", "crds", "capv")
	M3IpamCRD = filepath.Join("..", "integration", "crds", "capm3")
)

Functions

This section is empty.

Types

type Env

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

type InitEnvironmentInput

type InitEnvironmentInput struct {
	Name string
	CRDs []string
}

type Manager

type Manager struct {
	*testenv.TestData
	// contains filtered or unexported fields
}

func NewTestManager

func NewTestManager() *Manager

func (*Manager) DestroyEnvironment

func (m *Manager) DestroyEnvironment()

func (*Manager) GetClient

func (m *Manager) GetClient() client.Client

func (*Manager) InitEnvironment

func (m *Manager) InitEnvironment(input InitEnvironmentInput)

func (*Manager) LoadTestEnv

func (m *Manager) LoadTestEnv()

func (*Manager) SaveKubeconfig

func (m *Manager) SaveKubeconfig(path string)

type TestManager

type TestManager interface {
	LoadTestEnv()
	InitEnvironment()
}

Jump to

Keyboard shortcuts

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