deployer

package
v0.0.0-...-77c897b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpectedDeployment

type ExpectedDeployment struct {
	AppId         string
	NewDeployment bool
	DeploymentIds []string
}

ExpectedDeployment expected marathon deployment

type IDeployer

type IDeployer interface {
	Deploy(jsonContent []byte) (*ExpectedDeployment, error)
}

IDeployer deploys application

func NewDeployer

func NewDeployer(url string) IDeployer

NewDeployer iniitializes a deployer

type MarathonDeployer

type MarathonDeployer struct {
	URL string
}

MarathonDeployer deploys marathon apps

func (*MarathonDeployer) Deploy

func (dep *MarathonDeployer) Deploy(jsonContent []byte) (*ExpectedDeployment, error)

Deploy deploys the marathon app

Jump to

Keyboard shortcuts

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