Documentation ¶
Index ¶
- Constants
- func EnsurePorterNetwork() error
- func ExtractRepoDigest(inspectOutput string) (string, error)
- func NetworkExists(name string) bool
- func RemoveContainer(name string) error
- func RestartDockerRegistry() error
- func StartDocker() error
- func StartDockerRegistry() error
- func StopDockerRegistry() error
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 ¶
ExtractRepoDigest returns the first repository digest associated with the specified image.
func NetworkExists ¶
func RemoveContainer ¶
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.
Click to show internal directories.
Click to hide internal directories.