cost

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ec2Modernization

func Ec2Modernization()

Ec2Modernization outputs all ec2 instances bucketed by latest generation criteria

Types

type InstanceInfo

type InstanceInfo struct {
	InstanceID   string `json:"instance_id"`
	InstanceName string `json:"instance_name,omitempty"`
}

InstanceInfo type for holding some metadata for an instance

type InstanceTypeInventory

type InstanceTypeInventory struct {
	LatestGeneration map[string][]InstanceInfo `json:"latest_generation"`
	OlderGeneration  map[string][]InstanceInfo `json:"older_generation"`
}

InstanceTypeInventory type for housing a map of instance types divided by whether they are latest generation or not

Jump to

Keyboard shortcuts

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