list

package
v0.0.0-...-00f4f89 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FormatText points to the text format type
	FormatText = "text"
	// FormatWide points to the wide format type
	FormatWide = "wide"
	// FormatJSON points to the json format type
	FormatJSON = "json"
	// FormatYAML points to the yaml format type
	FormatYAML = "yaml"
	// TypeListInstances points to the instances list type
	TypeListInstances = "instances"
	// TypeListSessions points to the sessions list type
	TypeListSessions = "sessions"
)

Variables

This section is empty.

Functions

func Start

func Start(input *StartInput) error

Start will output a ist of all available EC2 instances

Types

type List

type List interface {
	Start(input *StartInput) error
}

List wraps methods used from the pkg/list package

type StartInput

type StartInput struct {
	// Define output format
	OutputFormat *string
	Interactive  *bool
	Type         *string
	MFAToken     *string
	Region       *string
	Profile      *string
	Filters      *aws.Filters
	Trace        *bool
}

StartInput struct contains all input data

Jump to

Keyboard shortcuts

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