marathon

package
v0.0.0-...-6494f6f Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	ReadMarathonFile() (string, error)
	CreateOrUpdateApplication() error
}

func NewClient

func NewClient(params *Marathon) Client

type Marathon

type Marathon struct {
	Branch            string `json:"branch"`
	BuildNumber       string `json:"build_number"`
	CommitSha         string `json:"commit_sha"`
	CommitAuthor      string `json:"commit_author"`
	CommitAuthorEmail string `json:"commit_author_email"`
	CommitBranch      string `json:"commit_branch"`
	CommitLink        string `json:"commit_link"`
	Debug             bool   `json:"debug"`
	DeployTo          string `json:"deploy_to"`
	GroupName         string `json:"group_name"`
	MarathonFile      string `json:"marathonfile"`
	Server            string `json:"server"`
	Tag               string `json:"tag"`
}

Jump to

Keyboard shortcuts

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