library

package
v0.0.0-...-b14a047 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error)

func FetchIps

func FetchIps(tags map[string][]string) (*ec2.DescribeInstancesOutput, error)

FetchIps fetch ips based on tag eg tags: map[instance-state-name:[running pending] tag:eksctl.cluster.k8s.io/v1alpha1/cluster-name:[myeks]]

func GenerateConfig

func GenerateConfig(username string, port string, response *ec2.DescribeInstancesOutput, writer io.Writer) error

Types

type HostDefinition

type HostDefinition struct {
	Host, IpAddr, UserName, PortNumber string
}

Jump to

Keyboard shortcuts

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