Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCapacityWithUnits ¶
Converts an float64 capacity (Kbps) to a string representing a human readeable capacity with units (Mbps, Gbps) The human representation will have a precision of 1
The returned capacity will be in Mbps for capacity < 1Gbps The returned capacity will be in Gbps for capacity >= 1Gbps
examples:
- 5 000 => 5Mbps
- 35 000 000 => 3.5Gbps (precision of 1)
func RevertCapacityWithUnits ¶
RevertCapacityWithUnits converts a human readable representation of a capacity to an integer capacity (Kbps)
examples:
- 5Mbps => 5 000
- 3.5Gbps => 35 000 000
Types ¶
type Registration ¶
type Registration struct{}
func (Registration) SupportedDataSources ¶
func (r Registration) SupportedDataSources() map[string]*schema.Resource
SupportedDataSources returns the supported Data Sources supported by this Service
func (Registration) SupportedResources ¶
func (r Registration) SupportedResources() map[string]*schema.Resource
SupportedResources returns the supported Resources supported by this Service
Click to show internal directories.
Click to hide internal directories.