Documentation ¶
Index ¶
- func AddUsageHandler(prefix string, app *appsrv.Application)
- type Usage
- func BaremetalUsage(userCred mcclient.TokenCredential, rangeObj db.IStandaloneModel, ...) Usage
- func EipUsage(rangeObj db.IStandaloneModel, hostTypes []string) Usage
- func GuestNormalUsage(cred mcclient.TokenCredential, rangeObj db.IStandaloneModel, ...) Usage
- func GuestPendingDeleteUsage(cred mcclient.TokenCredential, rangeObj db.IStandaloneModel, ...) Usage
- func GuestReadyUsage(cred mcclient.TokenCredential, rangeObj db.IStandaloneModel, ...) Usage
- func GuestRunningUsage(cred mcclient.TokenCredential, rangeObj db.IStandaloneModel, ...) Usage
- func HostAllUsage(userCred mcclient.TokenCredential, rangeObj db.IStandaloneModel, ...) Usage
- func HostEnabledUsage(userCred mcclient.TokenCredential, rangeObj db.IStandaloneModel, ...) Usage
- func IsolatedDeviceUsage(rangeObj db.IStandaloneModel, hostType []string) Usage
- func NetworkUsage(userCred mcclient.TokenCredential, rangeObj db.IStandaloneModel) Usage
- func ReportCloudRegionUsage(userCred mcclient.TokenCredential, cloudRegion db.IStandaloneModel, ...) (Usage, error)
- func ReportGeneralUsage(userCred mcclient.TokenCredential, rangeObj db.IStandaloneModel, ...) (count Usage, err error)
- func ReportHostUsage(userCred mcclient.TokenCredential, host db.IStandaloneModel, ...) (Usage, error)
- func ReportSchedtagUsage(userCred mcclient.TokenCredential, schedtag db.IStandaloneModel, ...) (Usage, error)
- func ReportVCenterUsage(userCred mcclient.TokenCredential, vcenter db.IStandaloneModel, ...) (Usage, error)
- func ReportWireUsage(userCred mcclient.TokenCredential, wire db.IStandaloneModel, ...) (Usage, error)
- func ReportZoneUsage(userCred mcclient.TokenCredential, zone db.IStandaloneModel, ...) (Usage, error)
- func StorageUsage(rangeObj db.IStandaloneModel, hostTypes []string) Usage
- func WireUsage(rangeObj db.IStandaloneModel, hostTypes []string) Usage
- func ZoneUsage() Usage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUsageHandler ¶
func AddUsageHandler(prefix string, app *appsrv.Application)
Types ¶
type Usage ¶
type Usage map[string]interface{}
func BaremetalUsage ¶
func BaremetalUsage(userCred mcclient.TokenCredential, rangeObj db.IStandaloneModel, hostTypes []string) Usage
func GuestNormalUsage ¶
func GuestNormalUsage(cred mcclient.TokenCredential, rangeObj db.IStandaloneModel, hostTypes []string) Usage
func GuestPendingDeleteUsage ¶
func GuestPendingDeleteUsage(cred mcclient.TokenCredential, rangeObj db.IStandaloneModel, hostTypes []string) Usage
func GuestReadyUsage ¶
func GuestReadyUsage(cred mcclient.TokenCredential, rangeObj db.IStandaloneModel, hostTypes []string) Usage
func GuestRunningUsage ¶
func GuestRunningUsage(cred mcclient.TokenCredential, rangeObj db.IStandaloneModel, hostTypes []string) Usage
func HostAllUsage ¶
func HostAllUsage(userCred mcclient.TokenCredential, rangeObj db.IStandaloneModel, hostTypes []string) Usage
func HostEnabledUsage ¶
func HostEnabledUsage(userCred mcclient.TokenCredential, rangeObj db.IStandaloneModel, hostTypes []string) Usage
func IsolatedDeviceUsage ¶
func IsolatedDeviceUsage(rangeObj db.IStandaloneModel, hostType []string) Usage
func NetworkUsage ¶
func NetworkUsage(userCred mcclient.TokenCredential, rangeObj db.IStandaloneModel) Usage
func ReportCloudRegionUsage ¶
func ReportCloudRegionUsage(userCred mcclient.TokenCredential, cloudRegion db.IStandaloneModel, hostTypes []string) (Usage, error)
func ReportGeneralUsage ¶
func ReportGeneralUsage(userCred mcclient.TokenCredential, rangeObj db.IStandaloneModel, hostTypes []string) (count Usage, err error)
func ReportHostUsage ¶
func ReportHostUsage(userCred mcclient.TokenCredential, host db.IStandaloneModel, hostTypes []string) (Usage, error)
func ReportSchedtagUsage ¶
func ReportSchedtagUsage(userCred mcclient.TokenCredential, schedtag db.IStandaloneModel, hostTypes []string) (Usage, error)
func ReportVCenterUsage ¶
func ReportVCenterUsage(userCred mcclient.TokenCredential, vcenter db.IStandaloneModel, hostTypes []string) (Usage, error)
func ReportWireUsage ¶
func ReportWireUsage(userCred mcclient.TokenCredential, wire db.IStandaloneModel, hostTypes []string) (Usage, error)
func ReportZoneUsage ¶
func ReportZoneUsage(userCred mcclient.TokenCredential, zone db.IStandaloneModel, hostTypes []string) (Usage, error)
func StorageUsage ¶
func StorageUsage(rangeObj db.IStandaloneModel, hostTypes []string) Usage
Click to show internal directories.
Click to hide internal directories.