docker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() *client.Client

NewClient returns an object to communicate with the Docker Engine API.

Types

type Docker

type Docker struct {
	*types.Zapgo
}

func (Docker) ContainerLogs

func (c Docker) ContainerLogs(dockerClient containerClient, containerID string)

func (Docker) IfContainerExists

func (c Docker) IfContainerExists(dockerClient containerClient, container string) (string, bool)

func (Docker) IfZapNetworkExists

func (c Docker) IfZapNetworkExists(dockerClient networkClient) bool

func (Docker) ImageExists

func (c Docker) ImageExists(dockerClient imageClient, image string) bool

func (Docker) PullImage

func (c Docker) PullImage(dockerClient imageClient, image string) bool

func (Docker) RemoveContainer

func (c Docker) RemoveContainer(dockerClient containerClient, containerID string)

func (Docker) RemoveZapNetwork

func (c Docker) RemoveZapNetwork(dockerClient networkClient)

Remove ZAP Network

func (Docker) RunNewman

func (c Docker) RunNewman(dockerClient containerClient)

func (Docker) RunZap

func (c Docker) RunZap(dockerClient containerClient) string

func (Docker) SetupZapNetwork

func (c Docker) SetupZapNetwork(dockerClient networkClient)

Setup ZAP Network

Jump to

Keyboard shortcuts

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