docker

package
v0.1.2-0...-3e0559f Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNetwork

func CreateNetwork(ctx context.Context, name, driver string) error

func DeleteContainer

func DeleteContainer(ctx context.Context, cont *types.Container) error

func DeleteContainerByID

func DeleteContainerByID(ctx context.Context, dog *dogger.DeploymentLogger, id string) error

func DeleteContainerByName

func DeleteContainerByName(ctx context.Context, nameFilter string) error

func DeleteContainersByLabel

func DeleteContainersByLabel(ctx context.Context, label string) error

func DeleteImage

func DeleteImage(ctx context.Context, imageID string) error

func DeleteNetworkByID

func DeleteNetworkByID(ctx context.Context, networkID string) error

func GetAllContainers

func GetAllContainers(ctx context.Context) ([]types.Container, error)

func GetAllContainersByLabel

func GetAllContainersByLabel(ctx context.Context, label string) ([]types.Container, error)

func GetAllContainersByName

func GetAllContainersByName(ctx context.Context, nameFilter string) ([]types.Container, error)

Check the existence of containers, then return it

func GetAllNetworks

func GetAllNetworks(ctx context.Context) ([]types.NetworkResource, error)

func GetContainerByID

func GetContainerByID(ctx context.Context, idFilter string) (*types.Container, error)

func GetContainerByName

func GetContainerByName(ctx context.Context, nameFilter string) (*types.Container, error)

Using exact match!

Types

This section is empty.

Jump to

Keyboard shortcuts

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