Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseCommand ¶
type BaseCommand interface { Handle(...string) ExtractOptionsAndParams(opts ...string) ([]string, []string) }
Base interface for docker commands
type CommandParameter ¶
type CommandParameter struct {
Name string
}
type PrintContainersCommand ¶
type PrintContainersCommand struct {
Docker *Docker
}
Command to print containers
func (PrintContainersCommand) ExtractOptionsAndParams ¶
func (p PrintContainersCommand) ExtractOptionsAndParams(opts ...string) ([]string, []string)
func (PrintContainersCommand) Handle ¶
func (p PrintContainersCommand) Handle(opts ...string)
type StopContainersCommand ¶
type StopContainersCommand struct {
Docker *Docker
}
Command to stop containers
func (StopContainersCommand) ExtractOptionsAndParams ¶
func (s StopContainersCommand) ExtractOptionsAndParams(opts ...string) ([]string, []string)
func (StopContainersCommand) Handle ¶
func (s StopContainersCommand) Handle(opts ...string)
Click to show internal directories.
Click to hide internal directories.