@@ -17,16 +17,17 @@ type AckClusterActionRequest struct {
1717}
1818
1919type ClusterAction struct {
20- ID string `json:"id"`
21- ActionDeleteNode * ActionDeleteNode `json:"actionDeleteNode,omitempty"`
22- ActionDrainNode * ActionDrainNode `json:"actionDrainNode,omitempty"`
23- ActionPatchNode * ActionPatchNode `json:"actionPatchNode,omitempty"`
24- ActionCreateEvent * ActionCreateEvent `json:"actionCreateEvent,omitempty"`
25- ActionApproveCSR * ActionApproveCSR `json:"actionApproveCsr,omitempty"`
26- ActionChartUpsert * ActionChartUpsert `json:"actionChartUpsert,omitempty"`
27- CreatedAt time.Time `json:"createdAt"`
28- DoneAt * time.Time `json:"doneAt,omitempty"`
29- Error * string `json:"error,omitempty"`
20+ ID string `json:"id"`
21+ ActionDeleteNode * ActionDeleteNode `json:"actionDeleteNode,omitempty"`
22+ ActionDrainNode * ActionDrainNode `json:"actionDrainNode,omitempty"`
23+ ActionPatchNode * ActionPatchNode `json:"actionPatchNode,omitempty"`
24+ ActionCreateEvent * ActionCreateEvent `json:"actionCreateEvent,omitempty"`
25+ ActionApproveCSR * ActionApproveCSR `json:"actionApproveCsr,omitempty"`
26+ ActionChartUpsert * ActionChartUpsert `json:"actionChartUpsert,omitempty"`
27+ ActionDisconnectCluster * ActionDisconnectCluster `json:"actionDisconnectCluster,omitempty"`
28+ CreatedAt time.Time `json:"createdAt"`
29+ DoneAt * time.Time `json:"doneAt,omitempty"`
30+ Error * string `json:"error,omitempty"`
3031}
3132
3233func (c * ClusterAction ) Data () interface {} {
@@ -48,7 +49,9 @@ func (c *ClusterAction) Data() interface{} {
4849 if c .ActionChartUpsert != nil {
4950 return c .ActionChartUpsert
5051 }
51-
52+ if c .ActionDisconnectCluster != nil {
53+ return c .ActionDisconnectCluster
54+ }
5255 return nil
5356}
5457
@@ -95,6 +98,9 @@ type ActionCreateEvent struct {
9598 Message string `json:"message"`
9699}
97100
101+ type ActionDisconnectCluster struct {
102+ }
103+
98104type ActionChartUpsert struct {
99105 Namespace string `json:"namespace"`
100106 ReleaseName string `json:"releaseName"`
0 commit comments