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 ¶
NewProvider creates a new instance of Provider implementation, and return it. For cosh, generated instance is used inside cli.Actionfunc.
Click to show internal directories.
Click to hide internal directories.