docker

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerContainer

type DockerContainer struct {
	ID    string
	Name  string
	Image string
	State string
}

type DockerWrapper

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

func (*DockerWrapper) CloseClient

func (dc *DockerWrapper) CloseClient()

func (*DockerWrapper) GetContainerState

func (dc *DockerWrapper) GetContainerState(id string) string

func (*DockerWrapper) GetContainers

func (dc *DockerWrapper) GetContainers() []DockerContainer

func (*DockerWrapper) NewClient

func (dc *DockerWrapper) NewClient()

func (*DockerWrapper) PauseContainer

func (dc *DockerWrapper) PauseContainer(id string)

func (*DockerWrapper) PauseContainers

func (dc *DockerWrapper) PauseContainers(ids []string)

func (*DockerWrapper) StartContainer

func (dc *DockerWrapper) StartContainer(id string)

func (*DockerWrapper) StartContainers

func (dc *DockerWrapper) StartContainers(ids []string)

func (*DockerWrapper) StopContainer

func (dc *DockerWrapper) StopContainer(id string)

func (*DockerWrapper) StopContainers

func (dc *DockerWrapper) StopContainers(ids []string)

func (*DockerWrapper) UnpauseContainer

func (dc *DockerWrapper) UnpauseContainer(id string)

func (*DockerWrapper) UnpauseContainers

func (dc *DockerWrapper) UnpauseContainers(ids []string)

Jump to

Keyboard shortcuts

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