marathon

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Marathon

type Marathon struct {
	//Hostname for the Marathon Master
	Host string `yaml:"host,omitempty"`
	App  string `yaml:"app,omitempty"`

	// The app config for marathon
	//https://mesosphere.github.io/marathon/docs/rest-api.html#post-v2-apps
	// Examples:
	//    /path/to/file
	//    /path/to/*.txt
	//    /path/to/*/*.txt
	//    /path/to/**
	ConfigFile string               `yaml:"config_file,omitempty"`
	Condition  *condition.Condition `yaml:"when,omitempty"`
}

func (*Marathon) GetCondition

func (m *Marathon) GetCondition() *condition.Condition

func (*Marathon) Write

func (m *Marathon) Write(f *buildfile.Buildfile)

Jump to

Keyboard shortcuts

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