/
model_instance_details.go
51 lines (50 loc) · 2.91 KB
/
model_instance_details.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* Harness NextGen Software Delivery Platform API Reference
*
* This is the Open Api Spec 3 for the NextGen Manager. This is under active development. Beware of the breaking change with respect to the generated code stub # Authentication <!-- ReDoc-Inject: <security-definitions> -->
*
* API version: 3.0
* Contact: contact@harness.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package nextgen
type InstanceDetails struct {
Name string `json:"name,omitempty"`
Id string `json:"id,omitempty"`
NodeId string `json:"nodeId,omitempty"`
Namespace string `json:"namespace,omitempty"`
Workload string `json:"workload,omitempty"`
ClusterName string `json:"clusterName,omitempty"`
ClusterId string `json:"clusterId,omitempty"`
Node string `json:"node,omitempty"`
NodePoolName string `json:"nodePoolName,omitempty"`
CloudProviderInstanceId string `json:"cloudProviderInstanceId,omitempty"`
PodCapacity string `json:"podCapacity,omitempty"`
TotalCost float64 `json:"totalCost,omitempty"`
IdleCost float64 `json:"idleCost,omitempty"`
SystemCost float64 `json:"systemCost,omitempty"`
NetworkCost float64 `json:"networkCost,omitempty"`
UnallocatedCost float64 `json:"unallocatedCost,omitempty"`
CpuAllocatable float64 `json:"cpuAllocatable,omitempty"`
MemoryAllocatable float64 `json:"memoryAllocatable,omitempty"`
CpuRequested float64 `json:"cpuRequested,omitempty"`
MemoryRequested float64 `json:"memoryRequested,omitempty"`
CpuUnitPrice float64 `json:"cpuUnitPrice,omitempty"`
MemoryUnitPrice float64 `json:"memoryUnitPrice,omitempty"`
InstanceCategory string `json:"instanceCategory,omitempty"`
MachineType string `json:"machineType,omitempty"`
CreateTime int64 `json:"createTime,omitempty"`
DeleteTime int64 `json:"deleteTime,omitempty"`
QosClass string `json:"qosClass,omitempty"`
MemoryBillingAmount float64 `json:"memoryBillingAmount,omitempty"`
CpuBillingAmount float64 `json:"cpuBillingAmount,omitempty"`
StorageUnallocatedCost float64 `json:"storageUnallocatedCost,omitempty"`
MemoryUnallocatedCost float64 `json:"memoryUnallocatedCost,omitempty"`
CpuUnallocatedCost float64 `json:"cpuUnallocatedCost,omitempty"`
MemoryIdleCost float64 `json:"memoryIdleCost,omitempty"`
CpuIdleCost float64 `json:"cpuIdleCost,omitempty"`
StorageCost float64 `json:"storageCost,omitempty"`
StorageActualIdleCost float64 `json:"storageActualIdleCost,omitempty"`
StorageUtilizationValue float64 `json:"storageUtilizationValue,omitempty"`
StorageRequest float64 `json:"storageRequest,omitempty"`
}