Documentation ¶
Overview ¶
Package env provides subcommands for the local environment
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cli.Command{ Name: "env", Aliases: []string{"environment"}, Usage: "Manages the local environment", Subcommands: []*cli.Command{ { Name: "clone", Category: "Modify the environment", Usage: "Initializes the local environment from a remote release", ArgsUsage: "[github_repository_path@release]", Flags: []cli.Flag{ &cli.BoolFlag{ Name: "force", Usage: "Deletes the local environment if it already exists", }, }, Action: cloneAction, }, { Name: "fetch", Category: "Modify the environment", Usage: "Updates information about the remote release", Action: fetchAction, }, { Name: "pull", Category: "Modify the environment", Usage: "Fast-forwards the local environment to match the remote release", Action: pullAction, }, { Name: "rm", Aliases: []string{"remove"}, Category: "Modify the environment", Usage: "Removes the local environment", Action: rmAction, }, { Name: "cache-plt", Aliases: []string{"cache-pallets"}, Category: "Use the environment", Usage: "Updates the cache with the pallets available in the local environment", Action: cachePltAction, }, { Name: "cache-img", Aliases: []string{"cache-images"}, Category: "Use the environment", Usage: "Pre-downloads the Docker container images required by the local environment", Action: cacheImgAction, }, { Name: "check", Category: "Use the environment", Usage: "Checks whether the local environment's resource constraints are satisfied", Action: checkAction, }, { Name: "plan", Category: "Use the environment", Usage: "Determines the changes needed to update the Docker Swarm to match the deployments " + "specified by the local environment", Action: planAction, }, { Name: "apply", Category: "Use the environment", Usage: "Updates the Docker Swarm to match the deployments specified by the " + "local environment", Action: applyAction, }, { Name: "show", Category: "Query the environment", Usage: "Describes the local environment", Action: showAction, }, { Name: "ls-plt", Aliases: []string{"list-pallets"}, Category: "Query the environment", Usage: "Lists pallets available in the local environment", Action: lsPltAction, }, { Name: "show-plt", Aliases: []string{"show-pallet"}, Category: "Query the environment", Usage: "Describes a pallet available in the local environment", ArgsUsage: "pallet_path", Action: showPltAction, }, { Name: "ls-pkg", Aliases: []string{"list-packages"}, Category: "Query the environment", Usage: "Lists packages available in the local environment", Action: lsPkgAction, }, { Name: "show-pkg", Aliases: []string{"show-package"}, Category: "Query the environment", Usage: "Describes a package available in the local environment", ArgsUsage: "package_path", Action: showPkgAction, }, { Name: "ls-depl", Aliases: []string{"list-deployments"}, Category: "Query the environment", Usage: "Lists package deployments specified by the local environment", Action: lsDeplAction, }, { Name: "show-depl", Aliases: []string{"show-deployment"}, Category: "Query the environment", Usage: "Describes a package deployment specified by the local environment", ArgsUsage: "package_path", Action: showDeplAction, }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.