Documentation ¶
Index ¶
- func ParseInstance(in *Ec2Instance) (*data.InstanceType, error)
- func ParseRegion(in *ec2.Region) *data.Region
- type AwsData
- type Client
- func (g *Client) GetCredentials() []data.CredentialFormat
- func (g *Client) GetEnvs() []string
- func (g *Client) GetInstanceTypes() ([]data.InstanceType, error)
- func (g *Client) GetKubernets() []data.Kubernetes
- func (g *Client) GetName() string
- func (g *Client) GetRegions() ([]data.Region, error)
- func (g *Client) GetZones() ([]string, error)
- type Ec2Instance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseInstance ¶
func ParseInstance(in *Ec2Instance) (*data.InstanceType, error)
Types ¶
type Client ¶
func (*Client) GetCredentials ¶
func (g *Client) GetCredentials() []data.CredentialFormat
func (*Client) GetInstanceTypes ¶
func (g *Client) GetInstanceTypes() ([]data.InstanceType, error)
https://ec2instances.info/instances.json https://github.com/powdahound/ec2instances.info
func (*Client) GetKubernets ¶
func (g *Client) GetKubernets() []data.Kubernetes
Click to show internal directories.
Click to hide internal directories.