lib

package
v0.0.0-...-aeb0a9b Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Change

type Change struct {
	JobName       string
	NewValue      string
	PreviousValue string
}

type Deployment

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

func NewDeployment

func NewDeployment(opts *DeploymentOptions) *Deployment

func (*Deployment) Build

func (d *Deployment) Build() error

func (Deployment) Deploy

func (d Deployment) Deploy() error

func (Deployment) HasChanges

func (d Deployment) HasChanges() bool

func (Deployment) String

func (d Deployment) String() string

type DeploymentOptions

type DeploymentOptions struct {
	// Application name as it exists in ECS
	Artifact string
	// Desired version of ECS Application
	Version string
	// Environment (ECS Cluster Name) you would like to deploy to
	Environment string
	// Role is the IAM role to use when invoking a deployment.
	Role string
	// Automatically approve changes
	AutoApprove bool
	// AWS session
	Sess *session.Session
}

Jump to

Keyboard shortcuts

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