Help us shape the future of Go! Take the 2026 Go Developer Survey

docker

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetList

func GetList(opts GetOpts) ([]types.Container, error)

func PrintContainersList

func PrintContainersList(containers []types.Container, w io.Writer) error

Types

type ContainerInfo

type ContainerInfo struct {
	Name        string
	ID          string
	Image       string
	Command     string
	CreatedTime string
	Status      string
	Network     string
	IPAddresses string
	Ports       string
	Mounts      string
}

type GetOpts

type GetOpts struct {
	Client command.Cli

	ShowAll bool
}

Jump to

Keyboard shortcuts

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