Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoNetworks is returned when no networks are running for an environment ErrNoNetworks = fmt.Errorf("there are no networks") // ErrNoContainers is returned when no containers are running for an environment ErrNoContainers = fmt.Errorf("there are no running containers") // ErrNoVolumes is returned when no volumes are running for an environment ErrNoVolumes = fmt.Errorf("there are no volumes") )
Functions ¶
func NewCommand ¶
func NewCommand(home string, docker client.CommonAPIClient, output terminal.Outputer) *cobra.Command
NewCommand is used to destroy all resources for an environment. It will prompt for user verification and defaults to no. Part of the destroy process is to perform a backup for all databases in each container database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.