Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstances ¶
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 (FzfData) FzfInputList ¶
type Instance ¶
func (Instance) PrintDetails ¶
type PortForward ¶
type PortForward 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 */ Ports string `long:"ports" default:"8080:80" description:"Binds remote port to local, '<local>:<remote>'"` }
func (*PortForward) DoPortForward ¶
func (p *PortForward) DoPortForward(ctx context.Context, id, local, remote string) error
func (*PortForward) Execute ¶
func (p *PortForward) Execute(args []string) error
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 */ Shell string `short:"s" long:"shell" default:"bash" description:"What shell to use on the remote instance"` }
Click to show internal directories.
Click to hide internal directories.