test

package
v0.0.0-...-26dc691 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RestartContainer

func RestartContainer(ctx context.Context, cfg *ContainerConfig) error

func RunContainer

func RunContainer(ctx context.Context, cfg *ContainerConfig) (string, error)

func StartContainer

func StartContainer(ctx context.Context, cfg *ContainerConfig) error

func StopAndRemoveContainer

func StopAndRemoveContainer(ctx context.Context, containername string) error

func StopContainer

func StopContainer(ctx context.Context, containername string) error

Types

type ExecResult

type ExecResult struct {
	ExitCode int
	// contains filtered or unexported fields
}

func DockerExec

func DockerExec(ctx context.Context, id string, cmd []string) (ExecResult, error)

Jump to

Keyboard shortcuts

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