Documentation ¶
Index ¶
Constants ¶
const KubernetesRequiredMajorVersion = 1
KubernetesRequiredMajorVersion is minimal required major version of Kubernetes cluster
const KubernetesRequiredMinorVersion = 4
KubernetesRequiredMinorVersion is minimal required minor version of Kubernetes cluster
Variables ¶
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
var Deploy = initDeployCommand()
Deploy is the deploy CLI command object
var RootCmd *cobra.Command
RootCmd is top-level AppController command. It is not executable, but it has sub-commands attached
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 ¶
InitGetStatusCommand is an initialiser for get-status
func InitRunCommand ¶
InitRunCommand returns cobra command for creating AppController graph deployment
Types ¶
This section is empty.