tables

package
v0.0.0-...-6fb96df Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderAssetsTable

func RenderAssetsTable(t TableDetails)

Types

type AssetDetails

type AssetDetails struct {
	Id           string
	SizeInGB     string
	CostPerMonth string
	TableInput   []string
}

type TableDetails

type TableDetails struct {
	Assets    []AssetDetails
	TotalCost string
	Header    []string
	Footer    []string
}

func ParseDuplicateSnapshotsForTable

func ParseDuplicateSnapshotsForTable(details map[string]volumes.VolumeSnapshotData, limit int64) TableDetails

func ParseSnapshotsForTable

func ParseSnapshotsForTable(snapshots []*ec2.Snapshot, amis []string) TableDetails

func ParseVolumesForTable

func ParseVolumesForTable(volumes []*ec2.Volume) (TableDetails, error)

Jump to

Keyboard shortcuts

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