Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cluster)!: use pointers for cluster update #31

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkg/acloudapi/apitypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ type IPWhitelistEntry struct {

// UpdateCluster represents the data structure for updating a cluster.
type UpdateCluster struct {
Status string `json:"status,omitempty" yaml:"Status,omitempty"`
Version string `json:"version,omitempty" yaml:"Version,omitempty"`
Status *string `json:"status,omitempty" yaml:"Status,omitempty"`
Version *string `json:"version,omitempty" yaml:"Version,omitempty"`
CNI *string `json:"cni,omitempty" yaml:"CNI,omitempty"`
UpdateChannel string `json:"updateChannel,omitempty" yaml:"UpdateChannel,omitempty"`
UpdateChannel *string `json:"updateChannel,omitempty" yaml:"UpdateChannel,omitempty"`
EnableNetworkProxy *bool `json:"enableNetworkProxy,omitempty" yaml:"EnableNetworkProxy,omitempty"`
EnableNetworkEncryption *bool `json:"enableNetworkEncryption,omitempty" yaml:"EnableNetworkEncryption,omitempty"`
EnableAutoUpgrade *bool `json:"enableAutoUpgrade,omitempty" yaml:"EnableAutoUpgrade,omitempty"`
Expand Down
Loading