docker

package
v0.6.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Container name of the local registry
	DefaultRegistryName = "registry"

	// Name of the docker network shared by the local registry and KIND
	DefaultNetworkName = "porter"
)

Variables

This section is empty.

Functions

func EnsurePorterNetwork

func EnsurePorterNetwork() error

func ExtractRepoDigest

func ExtractRepoDigest(inspectOutput string) (string, error)

ExtractRepoDigest returns the first repository digest associated with the specified image.

func NetworkExists

func NetworkExists(name string) bool

func RemoveContainer

func RemoveContainer(name string) error

Remove the specified container, if it is present.

func RestartDockerRegistry

func RestartDockerRegistry() error

func StartDocker

func StartDocker() error

Ensure the docker daemon is started and ready to accept connections.

func StartDockerRegistry

func StartDockerRegistry() error

Start a Docker registry to use with the tests.

func StopDockerRegistry

func StopDockerRegistry() error

Stop the Docker registry used by the tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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