destroy

package
v0.11.1-0...-8ab92b3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 17 Imported by: 0

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.

Jump to

Keyboard shortcuts

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