Documentation ¶
Index ¶
- func AddResourceAToResourceB(resA, resB *resource.Quantity)
- func BytesToGB(val int64) float64
- func ConvertToFloat64CPU(quantity *resource.Quantity) float64
- func ConvertToFloat64GB(quantity *resource.Quantity) float64
- func JSONMarshal(obj interface{}) []byte
- func PurgeTCP6Data(data string) []string
- func PurgeTCPData(data string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddResourceAToResourceB ¶
AddResourceAToResourceB ...
func ConvertToFloat64CPU ¶
ConvertToFloat64CPU quantity to float64 vCPU
func ConvertToFloat64GB ¶
ConvertToFloat64GB quantity to float64 GB
func JSONMarshal ¶
func JSONMarshal(obj interface{}) []byte
JSONMarshal marshal object and returns in byte. If there is an error then it return nil.
func PurgeTCP6Data ¶
PurgeTCP6Data handles IP conversion from Hex to Dec and cleans up data to contain only inter pod address information.
func PurgeTCPData ¶
PurgeTCPData handles IP conversion from Hex to Dec and cleans up data to contain only inter pod address information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.