File tree 2 files changed +20
-20
lines changed
internal/namespaces/k8s/v1
2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -102,16 +102,16 @@ func clusterGetBuilder(c *core.Command) *core.Command {
102
102
}
103
103
104
104
type customPool struct {
105
- ID string
106
- Name string
107
- Status k8s.PoolStatus
108
- Version string
109
- NodeType string
110
- MinSize uint32
111
- Size uint32
112
- MaxSize uint32
113
- Autoscaling bool
114
- Autohealing bool
105
+ ID string `json:"id"`
106
+ Name string `json:"name"`
107
+ Status k8s.PoolStatus `json:"status"`
108
+ Version string `json:"version"`
109
+ NodeType string `json:"node_type"`
110
+ MinSize uint32 `json:"min_size"`
111
+ Size uint32 `json:"size"`
112
+ MaxSize uint32 `json:"max_size"`
113
+ Autoscaling bool `json:"autoscaling"`
114
+ Autohealing bool `json:"autohealing"`
115
115
}
116
116
117
117
customPools := []customPool {}
Original file line number Diff line number Diff line change @@ -75,16 +75,16 @@ c610deed-139b-4950-aff7-8e2ccd895507 default scaling 1.17.3 dev1_m 0
75
75
"admission_plugins": [],
76
76
"pools": [
77
77
{
78
- "ID ": "c610deed-139b-4950-aff7-8e2ccd895507",
79
- "Name ": "default",
80
- "Status ": "scaling",
81
- "Version ": "1.17.3",
82
- "NodeType ": "dev1_m",
83
- "MinSize ": 0,
84
- "Size ": 1,
85
- "MaxSize ": 1,
86
- "Autoscaling ": false,
87
- "Autohealing ": false
78
+ "id ": "c610deed-139b-4950-aff7-8e2ccd895507",
79
+ "name ": "default",
80
+ "status ": "scaling",
81
+ "version ": "1.17.3",
82
+ "node_type ": "dev1_m",
83
+ "min_size ": 0,
84
+ "size ": 1,
85
+ "max_size ": 1,
86
+ "autoscaling ": false,
87
+ "autohealing ": false
88
88
}
89
89
]
90
90
}
You can’t perform that action at this time.
0 commit comments