ssm

package
v0.15.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(parser *flags.Parser)

func SSMGetInstanceID

func SSMGetInstanceID(ssmOutputs []*awsssm.DescribeInstanceInformationOutput) []string

Types

type FzfData

type FzfData struct {
	Instances []Instance
}

func NewFzfData

func NewFzfData(instancesOutput *ec2.DescribeInstancesOutput) *FzfData

func (FzfData) FzfInputLen

func (f FzfData) FzfInputLen() int

func (FzfData) FzfInputList

func (f FzfData) FzfInputList() []string

type Instance

type Instance struct {
	ec2types.Instance
}

func (Instance) PrintDetails

func (i Instance) PrintDetails() string

func (Instance) PrintName

func (i Instance) PrintName() string

type Session

type Session struct {
	Profile string `short:"p" long:"profile" env:"AWS_PROFILE" default:"default" description:"What profile to use"`
	Region  string `` /* 136-byte string literal not displayed */
}

func (*Session) DoSsm

func (p *Session) DoSsm(ctx context.Context, id string) error

func (*Session) Execute

func (p *Session) Execute(args []string) error

func (*Session) GetInstances

func (p *Session) GetInstances(ctx context.Context) (*ec2.DescribeInstancesOutput, error)

type Tui

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

func NewTui

func NewTui() *Tui

Jump to

Keyboard shortcuts

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