api

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 37 Imported by: 4 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 AutoscalingController added in v0.0.39

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

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) UpdateRuleForTarget added in v0.0.39

func (c *Controller) UpdateRuleForTarget(serviceName string, r *service.DeployRuleConditions, rLast *service.DeployRuleConditions, targetGroupArn *string, alb *ecs.ALB, listener string) error

Update rule for a specific targetGroups

type ControllerIf added in v0.0.39

type ControllerIf interface {
	// contains filtered or unexported methods
}

controller interface (for tests)

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
	LoadBalancers         []service.LoadBalancer
}

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
}

type User added in v0.0.39

type User struct {
	UserID string
}

Jump to

Keyboard shortcuts

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