cmd

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Version of the ecsctl

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type CompleteInstance added in v0.7.0

type CompleteInstance struct {
	EC2 *ec2.Instance
	ECS *ecs.ContainerInstance
}

CompleteInstance has both ECS and EC2 instance description

func GetInstances added in v0.9.0

func GetInstances(c *ecs.Cluster) ([]*CompleteInstance, error)

GetInstances return a slice of CompleteInstance from specified Cluster

func (*CompleteInstance) SpotFleetRequestID added in v0.7.0

func (i *CompleteInstance) SpotFleetRequestID() *string

SpotFleetRequestID get the Spot Fleet Request ID from the EC2 tags

Jump to

Keyboard shortcuts

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