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

Commit

Permalink
Update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud authored and shanewxy committed Feb 5, 2020
1 parent 7803661 commit 93c5c52
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apis/management.cattle.io/v3/zz_generated_deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 2 additions & 0 deletions client/management/v3/zz_generated_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
const (
ClusterType = "cluster"
ClusterFieldAPIEndpoint = "apiEndpoint"
ClusterFieldAgentFeatures = "agentFeatures"
ClusterFieldAgentImage = "agentImage"
ClusterFieldAgentImageOverride = "agentImageOverride"
ClusterFieldAllocatable = "allocatable"
Expand Down Expand Up @@ -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"`
Expand Down
2 changes: 2 additions & 0 deletions client/management/v3/zz_generated_cluster_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package client
const (
ClusterStatusType = "clusterStatus"
ClusterStatusFieldAPIEndpoint = "apiEndpoint"
ClusterStatusFieldAgentFeatures = "agentFeatures"
ClusterStatusFieldAgentImage = "agentImage"
ClusterStatusFieldAllocatable = "allocatable"
ClusterStatusFieldAppliedEnableNetworkPolicy = "appliedEnableNetworkPolicy"
Expand All @@ -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"`
Expand Down

0 comments on commit 93c5c52

Please sign in to comment.