api

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2018 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API struct

func (*API) Launch

func (a *API) Launch() error

type Controller

type Controller struct {
}

Controller struct

func (*Controller) Bootstrap

func (c *Controller) Bootstrap(b *Flags) error

func (*Controller) DeleteCluster

func (c *Controller) DeleteCluster(b *Flags) error

func (*Controller) Deploy

func (c *Controller) Deploy(serviceName string, d service.Deploy) (*service.DeployResult, error)

func (*Controller) Resume

func (c *Controller) Resume() error

func (*Controller) SetDeployDefaults

func (c *Controller) SetDeployDefaults(d *service.Deploy)

type Export

type Export struct {
	// contains filtered or unexported fields
}

type ExportedApps

type ExportedApps map[string]string

type Flags

type Flags struct {
	Bootstrap             bool
	DisableEcsDeploy      bool
	Profile               string
	Region                string
	ClusterName           string
	Environment           string
	AlbSecurityGroups     string
	EcsSubnets            string
	CloudwatchLogsPrefix  string
	CloudwatchLogsEnabled bool
	KeyName               string
	InstanceType          string
	EcsSecurityGroups     string
	EcsMinSize            string
	EcsMaxSize            string
	EcsDesiredSize        string
	ParamstoreEnabled     bool
	ParamstoreKmsArn      string
	ParamstorePrefix      string
	LoadbalancerDomain    string
	Server                bool
	DeleteCluster         string
}

func NewFlags

func NewFlags() *Flags

type ListenerRule

type ListenerRule struct {
	ListenerRuleArn string                  `json:"listenerRuleArn"`
	TargetGroupArn  string                  `json:"targetGroupArn" binding:"dive"`
	Conditions      []ListenerRuleCondition `json:"conditions" binding:"dive"`
}

type ListenerRuleCondition

type ListenerRuleCondition struct {
	Field  string `json:"field" binding:"dive"`
	Values string `json:"values" binding:"dive"`
}

type ListenerRuleExport

type ListenerRuleExport struct {
	RuleKeys RulePriority           `json:"ruleKeys" binding:"dive"`
	Rules    map[int64]ListenerRule `json:"rules" binding:"dive"`
}

type Migration

type Migration struct {
}

Migration struct

type RulePriority

type RulePriority []int64

func (RulePriority) Len

func (a RulePriority) Len() int

func (RulePriority) Less

func (a RulePriority) Less(i, j int) bool

func (RulePriority) Swap

func (a RulePriority) Swap(i, j int)

type SAML

type SAML struct {
	AllowIDPInitiated bool
	TimeFunc          func() time.Time
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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