dtest

package
v3.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DockerRegistry = dtest_k3s.DockerRegistry
View Source
var GetKubeconfig = dtest_k3s.GetKubeconfig
View Source
var K3sDown = dtest_k3s.K3sDown
View Source
var K3sVersionUp = dtest_k3s.K3sVersionUp
View Source
var KubeVersionConfig = dtest_k3s.KubeVersionConfig
View Source
var RegistryDown = dtest_k3s.RegistryDown
View Source
var RegistryUp = dtest_k3s.RegistryUp
View Source
var WithMachineLock = dtest_k3s.WithMachineLock
View Source
var WithNamedMachineLock = dtest_k3s.WithNamedMachineLock

Functions

func K8sApply

func K8sApply(ctx context.Context, ver KubeVersion, files ...string)

K8sApply applies the supplied manifests to the cluster indicated by the supplied kubeconfig.

func Sudo

func Sudo()

Sudo is intended for use in a TestMain. It will relaunch the test executable via sudo if it isn't already running with an effective userid of root.

Types

type KubeVersion

type KubeVersion = dtest_k3s.KubeVersion

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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