From 93c5c52eee06efea97cefa007434ad89415fd914 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Mon, 3 Feb 2020 11:29:44 -0700 Subject: [PATCH] Update generated code --- apis/management.cattle.io/v3/zz_generated_deepcopy.go | 7 +++++++ client/management/v3/zz_generated_cluster.go | 2 ++ client/management/v3/zz_generated_cluster_status.go | 2 ++ 3 files changed, 11 insertions(+) diff --git a/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/apis/management.cattle.io/v3/zz_generated_deepcopy.go index e7fea821e5..21ccf69de7 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -2244,6 +2244,13 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { *out = make([]ClusterCondition, len(*in)) copy(*out, *in) } + if in.AgentFeatures != nil { + in, out := &in.AgentFeatures, &out.AgentFeatures + *out = make(map[string]bool, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } if in.ComponentStatuses != nil { in, out := &in.ComponentStatuses, &out.ComponentStatuses *out = make([]ClusterComponentStatus, len(*in)) diff --git a/client/management/v3/zz_generated_cluster.go b/client/management/v3/zz_generated_cluster.go index 00f097bc79..e04a975fa0 100644 --- a/client/management/v3/zz_generated_cluster.go +++ b/client/management/v3/zz_generated_cluster.go @@ -7,6 +7,7 @@ import ( const ( ClusterType = "cluster" ClusterFieldAPIEndpoint = "apiEndpoint" + ClusterFieldAgentFeatures = "agentFeatures" ClusterFieldAgentImage = "agentImage" ClusterFieldAgentImageOverride = "agentImageOverride" ClusterFieldAllocatable = "allocatable" @@ -61,6 +62,7 @@ const ( type Cluster struct { types.Resource APIEndpoint string `json:"apiEndpoint,omitempty" yaml:"apiEndpoint,omitempty"` + AgentFeatures map[string]bool `json:"agentFeatures,omitempty" yaml:"agentFeatures,omitempty"` AgentImage string `json:"agentImage,omitempty" yaml:"agentImage,omitempty"` AgentImageOverride string `json:"agentImageOverride,omitempty" yaml:"agentImageOverride,omitempty"` Allocatable map[string]string `json:"allocatable,omitempty" yaml:"allocatable,omitempty"` diff --git a/client/management/v3/zz_generated_cluster_status.go b/client/management/v3/zz_generated_cluster_status.go index 793d46c5e1..6ac55e8414 100644 --- a/client/management/v3/zz_generated_cluster_status.go +++ b/client/management/v3/zz_generated_cluster_status.go @@ -3,6 +3,7 @@ package client const ( ClusterStatusType = "clusterStatus" ClusterStatusFieldAPIEndpoint = "apiEndpoint" + ClusterStatusFieldAgentFeatures = "agentFeatures" ClusterStatusFieldAgentImage = "agentImage" ClusterStatusFieldAllocatable = "allocatable" ClusterStatusFieldAppliedEnableNetworkPolicy = "appliedEnableNetworkPolicy" @@ -26,6 +27,7 @@ const ( type ClusterStatus struct { APIEndpoint string `json:"apiEndpoint,omitempty" yaml:"apiEndpoint,omitempty"` + AgentFeatures map[string]bool `json:"agentFeatures,omitempty" yaml:"agentFeatures,omitempty"` AgentImage string `json:"agentImage,omitempty" yaml:"agentImage,omitempty"` Allocatable map[string]string `json:"allocatable,omitempty" yaml:"allocatable,omitempty"` AppliedEnableNetworkPolicy bool `json:"appliedEnableNetworkPolicy,omitempty" yaml:"appliedEnableNetworkPolicy,omitempty"`