Documentation
¶
Index ¶
Constants ¶
View Source
const ( INSTANCES_FLAG = "instances" STEP_DELAY_FLAG = "stepdel" RESUME_FLAG = "resume" LB_FLAG = "lb" LB_TIMEOUT_FLAG = "lb-timeout" BG_DRYRUN_FLAG = "dry" )
View Source
const ( HOST_FLAG = "host" SCALE_FLAG = "scale" )
View Source
const ( STDERR_FLAG = "stderr" FOLLOW_FLAG = "follow" POLL_FLAG = "poll" )
View Source
const ( WAIT_FLAG string = "wait" TIMEOUT_FLAG string = "wait-timeout" FORCE_FLAG string = "force" DETAIL_FLAG string = "detail" PARAMS_FLAG string = "param" ENV_FILE_FLAG string = "env-file" IGNORE_MISSING string = "ignore" INSECURE_FLAG string = "insecure" )
View Source
const ( T_APPLICATIONS = `` /* 277-byte string literal not displayed */ T_APPLICATION = `` /* 766-byte string literal not displayed */ T_VERSIONS = ` {{ "VERSIONS" }} {{ range .Versions }}{{ . }} {{end}}` T_DEPLOYMENT_ID = ` {{ "DEPLOYMENT_ID" }} {{ "VERSION" }} {{ .DeploymentID }} {{ .Version }}` T_TASKS = `` /* 172-byte string literal not displayed */ T_TASK = `` /* 199-byte string literal not displayed */ T_DEPLOYMENTS = `` /* 217-byte string literal not displayed */ T_LEADER_INFO = ` {{ "Leader:" }} {{ .Leader }} ` T_PING = ` {{ "HOST" }} {{ "DURATION" }} {{ .Host }} {{ .Elapsed | msDur }} ` T_MARATHON_INFO = `` /* 862-byte string literal not displayed */ T_QUEUED_TASKS = `` /* 139-byte string literal not displayed */ T_MESSAGE = ` {{ "Message:" }} {{ .Message }} ` T_GROUPS = `` /* 168-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func AddJailedMarathonToCmd ¶
func AddJailedMarathonToCmd(rc *cobra.Command, c *cliconfig.ConfigFile)
Jails (chroots) marathon by including only it's sub commands when we only have a single environment declared and already know the cluster type
func AddMarathonToCmd ¶
func AddMarathonToCmd(rc *cobra.Command, c *cliconfig.ConfigFile)
Associates the marathon service to the given command
Types ¶
Click to show internal directories.
Click to hide internal directories.