docker_cli

package
v0.0.0-...-5fda629 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MulanPSL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewDockerClient

func NewDockerClient(ctx context.Context, prefix string) *Client

func (*Client) Close

func (r *Client) Close() error

func (*Client) InitFlags

func (r *Client) InitFlags(flags *pflag.FlagSet)

func (*Client) InitViper

func (r *Client) InitViper(viper *viper.Viper)

func (*Client) Initialize

func (r *Client) Initialize(opts ...option)

func (*Client) OptionConfig

func (r *Client) OptionConfig(opts ...option)

func (*Client) Remove

func (r *Client) Remove(compose *compose.Containers) error

func (*Client) Restart

func (r *Client) Restart(compose *compose.Containers) error

func (*Client) Run

func (*Client) Stop

func (r *Client) Stop(compose *compose.Containers) error

func (*Client) ViperConfig

func (r *Client) ViperConfig(viper *viper.Viper)

Jump to

Keyboard shortcuts

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