fixture

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImageDistrolessNodejs  = "gcr.io/distroless/nodejs20-debian12"
	ImageNginx             = "docker.io/library/nginx:1.25"
	ImageNginxUnprivileged = "docker.io/nginxinc/nginx-unprivileged:1.25"

	ContainerdCtrNamespace = "cdebug-test-ctr"
)

Variables

This section is empty.

Functions

func ContainerdRunBackground

func ContainerdRunBackground(
	t *testing.T,
	image string,
	flags []string,
	args ...string,
) (string, func())

func DockerImageBuild added in v0.0.16

func DockerImageBuild(
	t *testing.T,
	name string,
) (string, func())

func DockerImageRemove added in v0.0.16

func DockerImageRemove(
	t *testing.T,
	name string,
)

func DockerRunBackground

func DockerRunBackground(
	t *testing.T,
	image string,
	flags []string,
	args ...string,
) (string, func())

func KubectlApply added in v0.0.17

func KubectlApply(
	t *testing.T,
	manifestTmpl *template.Template,
	data interface{},
) func()

func KubectlWaitFor added in v0.0.17

func KubectlWaitFor(
	t *testing.T,
	kind string,
	name string,
	condition string,
)

func NerdctlRunBackground added in v0.0.5

func NerdctlRunBackground(
	t *testing.T,
	image string,
	flags []string,
	args ...string,
) (string, func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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