functions

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	ContainerList(forAll bool, withIds bool, filter string) error
	ContainerRun(imageName string, autoRemove bool, command []string) error
	ImageList(withIds bool, filter string) error
	ContainerStop(filter string) error
}

Provider is the interface for various container runtimes that is different in their APIs and designs.

func NewProvider

func NewProvider(providerName string) Provider

NewProvider creates a new instance of Provider implementation, and return it. For cosh, generated instance is used inside cli.Actionfunc.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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