Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metering ¶
type Metering struct { Id string `json:"id"` Namespace string `json:"namespace"` Cpu float64 `json:"cpu"` Memory uint64 `json:"memory"` Storage uint64 `json:"storage"` Gpu float64 `json:"gpu"` PublicIp uint64 `json:"publicIp"` PrivateIp uint64 `json:"privateIp"` TrafficIn uint64 `json:"trafficIn"` TrafficOut uint64 `json:"trafficOut"` MeteringTime time.Time `json:"meteringTime"` }
type MetricDataList ¶
type MetricResponse ¶
type MetricResponse struct { Status string `json:"status"` Data MetricDataList `json:"data"` }
Click to show internal directories.
Click to hide internal directories.