Documentation ¶
Index ¶
- func CreateNetwork(ctx context.Context, name, driver string) error
- func DeleteContainer(ctx context.Context, cont *types.Container) error
- func DeleteContainerByID(ctx context.Context, dog *dogger.DeploymentLogger, id string) error
- func DeleteContainerByName(ctx context.Context, nameFilter string) error
- func DeleteContainersByLabel(ctx context.Context, label string) error
- func DeleteImage(ctx context.Context, imageID string) error
- func DeleteNetworkByID(ctx context.Context, networkID string) error
- func GetAllContainers(ctx context.Context) ([]types.Container, error)
- func GetAllContainersByLabel(ctx context.Context, label string) ([]types.Container, error)
- func GetAllContainersByName(ctx context.Context, nameFilter string) ([]types.Container, error)
- func GetAllNetworks(ctx context.Context) ([]types.NetworkResource, error)
- func GetContainerByID(ctx context.Context, idFilter string) (*types.Container, error)
- func GetContainerByName(ctx context.Context, nameFilter string) (*types.Container, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteContainerByID ¶
func DeleteContainerByName ¶
func DeleteContainersByLabel ¶
func GetAllContainersByLabel ¶
func GetAllContainersByName ¶
Check the existence of containers, then return it
func GetAllNetworks ¶
func GetAllNetworks(ctx context.Context) ([]types.NetworkResource, error)
func GetContainerByID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.