docker

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDockerClient

func NewDockerClient() (*client.Client, error)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() (Client, error)

func (Client) CreateNetwork

func (c Client) CreateNetwork(name string) error

func (Client) ListAllContainers

func (c Client) ListAllContainers() ([]types.Container, error)

func (Client) ListContainersByName

func (c Client) ListContainersByName(names []string) ([]types.Container, error)

func (Client) NetworkExist

func (c Client) NetworkExist(name string) bool

Jump to

Keyboard shortcuts

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