Skip to content
This repository was archived by the owner on Mar 25, 2024. It is now read-only.

Commit 93c5c52

Browse files
ibuildthecloudshanewxy
authored andcommitted
Update generated code
1 parent 7803661 commit 93c5c52

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

apis/management.cattle.io/v3/zz_generated_deepcopy.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2244,6 +2244,13 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
22442244
*out = make([]ClusterCondition, len(*in))
22452245
copy(*out, *in)
22462246
}
2247+
if in.AgentFeatures != nil {
2248+
in, out := &in.AgentFeatures, &out.AgentFeatures
2249+
*out = make(map[string]bool, len(*in))
2250+
for key, val := range *in {
2251+
(*out)[key] = val
2252+
}
2253+
}
22472254
if in.ComponentStatuses != nil {
22482255
in, out := &in.ComponentStatuses, &out.ComponentStatuses
22492256
*out = make([]ClusterComponentStatus, len(*in))

client/management/v3/zz_generated_cluster.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
const (
88
ClusterType = "cluster"
99
ClusterFieldAPIEndpoint = "apiEndpoint"
10+
ClusterFieldAgentFeatures = "agentFeatures"
1011
ClusterFieldAgentImage = "agentImage"
1112
ClusterFieldAgentImageOverride = "agentImageOverride"
1213
ClusterFieldAllocatable = "allocatable"
@@ -61,6 +62,7 @@ const (
6162
type Cluster struct {
6263
types.Resource
6364
APIEndpoint string `json:"apiEndpoint,omitempty" yaml:"apiEndpoint,omitempty"`
65+
AgentFeatures map[string]bool `json:"agentFeatures,omitempty" yaml:"agentFeatures,omitempty"`
6466
AgentImage string `json:"agentImage,omitempty" yaml:"agentImage,omitempty"`
6567
AgentImageOverride string `json:"agentImageOverride,omitempty" yaml:"agentImageOverride,omitempty"`
6668
Allocatable map[string]string `json:"allocatable,omitempty" yaml:"allocatable,omitempty"`

client/management/v3/zz_generated_cluster_status.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package client
33
const (
44
ClusterStatusType = "clusterStatus"
55
ClusterStatusFieldAPIEndpoint = "apiEndpoint"
6+
ClusterStatusFieldAgentFeatures = "agentFeatures"
67
ClusterStatusFieldAgentImage = "agentImage"
78
ClusterStatusFieldAllocatable = "allocatable"
89
ClusterStatusFieldAppliedEnableNetworkPolicy = "appliedEnableNetworkPolicy"
@@ -26,6 +27,7 @@ const (
2627

2728
type ClusterStatus struct {
2829
APIEndpoint string `json:"apiEndpoint,omitempty" yaml:"apiEndpoint,omitempty"`
30+
AgentFeatures map[string]bool `json:"agentFeatures,omitempty" yaml:"agentFeatures,omitempty"`
2931
AgentImage string `json:"agentImage,omitempty" yaml:"agentImage,omitempty"`
3032
Allocatable map[string]string `json:"allocatable,omitempty" yaml:"allocatable,omitempty"`
3133
AppliedEnableNetworkPolicy bool `json:"appliedEnableNetworkPolicy,omitempty" yaml:"appliedEnableNetworkPolicy,omitempty"`

0 commit comments

Comments
 (0)