Documentation ¶
Index ¶
- func All(vs []string, f func(string) bool) bool
- func Any(vs []string, f func(string) bool) bool
- func Connect(inst Instance, user string, keyPath string)
- func Filter(vs []string, f func(string) bool) []string
- func Include(vs []string, t string) bool
- func Index(vs []string, t string) int
- func Map(vs []string, f func(string) string) []string
- func RemoveDuplicatesUnordered(elements []string) []*string
- type Instance
- type Instances
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveDuplicatesUnordered ¶
RemoveDuplicatesUnordered dedupe
Types ¶
type Instance ¶
type Instance struct { Id string User string Host string PrivateIp string Key string Name string Port string State string Type string ImageId string FullKeyPath string Tags []Tag }
Instance ec2 instance type
type Instances ¶
type Instances []Instance
Instances Instance Collection type
func (Instances) CollectString ¶
CollectString collects
func (Instances) CreateTable ¶
CreateTable creates a formated table of instances
func (Instances) FilterByName ¶
FilterByName filters collection by instance name
Click to show internal directories.
Click to hide internal directories.