Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶ added in v1.1.0
AbandonedInstance handles the instance struct
func (*Instance) GetInstanceCost ¶ added in v1.1.0
func (i *Instance) GetInstanceCost(skus *billingsku.BillingSKUs) float64
GetCost returns the instance cost
func (*Instance) GetInstanceLastStart ¶ added in v1.1.0
func (*Instance) GetInstanceType ¶ added in v1.1.0
func (*Instance) GetInstanceZone ¶ added in v1.1.0
type Instances ¶ added in v1.1.0
type Instances []*Instance
Instances handles the instances struct
func (*Instances) GetAbandoned ¶ added in v1.1.3
GetAbandoned returns a slice of abandoned Instances
func (Instances) GetCost ¶ added in v1.1.0
func (i Instances) GetCost(skus *billingsku.BillingSKUs) float64
GetCost returns the sum costs
Click to show internal directories.
Click to hide internal directories.