Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disk ¶
Disk handles the disk struct
func (*Disk) GetDiskCost ¶ added in v1.1.0
func (d *Disk) GetDiskCost(skus *billingsku.BillingSKUs) float64
GetDiskCost returns the disk monthly cost
func (*Disk) GetDiskLastAttached ¶ added in v1.1.0
func (*Disk) GetDiskType ¶ added in v1.1.0
func (*Disk) GetDiskZone ¶ added in v1.1.0
type Disks ¶
type Disks []*Disk
Disks holds a slice of disks
func (*Disks) GetAbandoned ¶ added in v1.1.3
GetAbandoned returns a slice of Disks
func (Disks) GetDisksCost ¶ added in v1.1.0
func (d Disks) GetDisksCost(skus *billingsku.BillingSKUs) float64
GetDisksCost returns the sum of the disks' cost
func (Disks) GetDisksCount ¶ added in v1.1.0
GetDisksCount returns the length of disks
Click to show internal directories.
Click to hide internal directories.