marathon

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2016 License: Apache-2.0 Imports: 20 Imported by: 0

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

type Templated added in v0.8.6

type Templated struct {
	cli.FormatData
}

func (Templated) Data added in v0.8.6

func (d Templated) Data() cli.FormatData

func (Templated) ToColumns added in v0.8.6

func (d Templated) ToColumns(output io.Writer) error

Jump to

Keyboard shortcuts

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