cmd

package
v0.0.0-...-437b0eb Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2017 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const KubernetesRequiredMajorVersion = 1

KubernetesRequiredMajorVersion is minimal required major version of Kubernetes cluster

View Source
const KubernetesRequiredMinorVersion = 4

KubernetesRequiredMinorVersion is minimal required minor version of Kubernetes cluster

Variables

View Source
var Bootstrap = &cobra.Command{
	Use:   "bootstrap",
	Short: "Bootstrap AppController",
	Long:  "Create ThirdPartyResources required for AppController pod to function properly",
	Run:   bootstrap,
}

Bootstrap is cobra command for bootstrapping AppController, meant to be run in an init container

View Source
var Deploy = initDeployCommand()

Deploy is the deploy CLI command object

View Source
var RootCmd *cobra.Command

RootCmd is top-level AppController command. It is not executable, but it has sub-commands attached

View Source
var Wrap = &cobra.Command{
	Use:   "wrap",
	Short: "Echo wrapped k8s object to stdout",
	Long:  "Echo wrapped k8s object to stdout",
	Run:   wrap,
}

Wrap is cobra command for wrapping K8s objects in AppController definitions

Functions

func Init

func Init()

Init initializes RootCmd, adds flags to subcommands and attaches subcommands to root command

func InitGetStatusCommand

func InitGetStatusCommand() (*cobra.Command, error)

InitGetStatusCommand is an initialiser for get-status

func InitRunCommand

func InitRunCommand() (*cobra.Command, error)

InitRunCommand returns cobra command for creating AppController graph deployment

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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