containers

package
v0.0.0-...-f27934d Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachToContainer

func AttachToContainer(containerID string) error

func DeleteContainer

func DeleteContainer(containerID string)

func ExecFunction

func ExecFunction(containerID string, command []string) error

func GetRunningContainers

func GetRunningContainers() []types.Container

func GetStoppedContainers

func GetStoppedContainers() []types.Container

func ShowAllContainers

func ShowAllContainers()

func ShowRunning

func ShowRunning()

func StartContainer

func StartContainer(containerID string)

func StopAllContainers

func StopAllContainers()

func StopContainer

func StopContainer(containerID string)

Types

type StopOptions

type StopOptions struct {
	Timeout *int
}

Jump to

Keyboard shortcuts

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