marathon

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2016 License: Apache-2.0 Imports: 17 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 (
	OBJ_FMT       string = "%s:\t%s\n"
	OBJ_FLFMT     string = "%s:\t%.2f\n"
	OBJ_VFMT      string = "%s:\t%v\n"
	OBJ_VAL_SFMT  string = "\t%s\n"
	OBJ_KVFMT     string = "%s:\t%-25s: %s\n"
	OBJ_VAL_KVFMT string = "\t%-25s: %s\n"
)
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"
)

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 AppGroup

type AppGroup struct {
	*marathon.Group
}

func (AppGroup) ToColumns

func (g AppGroup) ToColumns(output io.Writer) error

type AppGroups

type AppGroups struct {
	*marathon.Groups
}

func (AppGroups) ToColumns

func (g AppGroups) ToColumns(output io.Writer) error

type Application

type Application struct {
	*marathon.Application
}

func (Application) ToColumns

func (a Application) ToColumns(output io.Writer) error

type Applications

type Applications struct {
	*marathon.Applications
}

func (Applications) ToColumns

func (a Applications) ToColumns(output io.Writer) error

type DeploymentId

type DeploymentId struct {
	*marathon.DeploymentID
}

func (DeploymentId) ToColumns

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

type Deployments

type Deployments struct {
	Deploys []*marathon.Deploy
}

func (Deployments) ToColumns

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

type MarInfo

type MarInfo struct {
	*marathon.MarathonInfo
}

func (MarInfo) ToColumns

func (m MarInfo) ToColumns(output io.Writer) error

type MarLeaderInfo

type MarLeaderInfo struct {
	*marathon.LeaderInfo
}

func (MarLeaderInfo) ToColumns

func (m MarLeaderInfo) ToColumns(output io.Writer) error

type MarPing

type MarPing struct {
	*marathon.MarathonPing
}

func (MarPing) ToColumns

func (m MarPing) ToColumns(output io.Writer) error

type Message

type Message struct {
	*marathon.Message
}

func (Message) ToColumns

func (m Message) ToColumns(output io.Writer) error

type QueuedTasks

type QueuedTasks struct {
	*marathon.Queue
}

func (QueuedTasks) ToColumns

func (q QueuedTasks) ToColumns(output io.Writer) error

type Task

type Task struct {
	*marathon.Task
}

func (Task) ToColumns

func (t Task) ToColumns(output io.Writer) error

type Tasks

type Tasks struct {
	Tasks []*marathon.Task
}

func (Tasks) ToColumns

func (t Tasks) ToColumns(output io.Writer) error

type Versions

type Versions struct {
	*marathon.Versions
}

func (Versions) ToColumns

func (v Versions) ToColumns(output io.Writer) error

Jump to

Keyboard shortcuts

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