cfn

package
v0.0.0-...-a5f8819 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreatedByTagKey   = "CreatedBy"
	CreatedByTagValue = awsecs.CrunProjectName
)
View Source
const TemplateRevision = 1 // bump this when the template changes!

Variables

This section is empty.

Functions

func OptionVPCAndSubnetID

func OptionVPCAndSubnetID(ctx context.Context, vpcID, subnetID string) func(types.Driver) error

Types

type AwsEcs

type AwsEcs struct {
	ecs.AwsEcs
	// contains filtered or unexported fields
}

func New

func New(stack string, region region.Region) *AwsEcs

func (*AwsEcs) FillOutputs

func (a *AwsEcs) FillOutputs(ctx context.Context) error

func (*AwsEcs) GetInfo

func (a *AwsEcs) GetInfo(ctx context.Context, taskArn ecs.TaskArn) (*types.TaskInfo, error)

func (*AwsEcs) Run

func (a *AwsEcs) Run(ctx context.Context, env map[string]string, cmd ...string) (ecs.TaskArn, error)

func (*AwsEcs) SetUp

func (a *AwsEcs) SetUp(ctx context.Context, containers []types.Container) error

func (*AwsEcs) Stop

func (a *AwsEcs) Stop(ctx context.Context, taskArn ecs.TaskArn) error

func (*AwsEcs) Tail

func (a *AwsEcs) Tail(ctx context.Context, taskArn ecs.TaskArn) error

func (*AwsEcs) TearDown

func (a *AwsEcs) TearDown(ctx context.Context) error

type TemplateOverrides

type TemplateOverrides struct {
	Spot  bool
	VpcID string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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