From d919b35add8a4421882b9b9f1a8b1bd467ed4654 Mon Sep 17 00:00:00 2001 From: Nathan Jenan Date: Fri, 3 Aug 2018 10:48:05 -0700 Subject: [PATCH] Generated Code --- .../v3/zz_generated_deepcopy.go | 45 ++++++++ ...nerated_google_kubernetes_engine_config.go | 100 +++++++++--------- 2 files changed, 94 insertions(+), 51 deletions(-) diff --git a/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/apis/management.cattle.io/v3/zz_generated_deepcopy.go index 3d1bd706..2b90754a 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -2305,11 +2305,56 @@ func (in *GoogleKubernetesEngineConfig) DeepCopyInto(out *GoogleKubernetesEngine (*out)[key] = val } } + if in.EnableHTTPLoadBalancing != nil { + in, out := &in.EnableHTTPLoadBalancing, &out.EnableHTTPLoadBalancing + if *in == nil { + *out = nil + } else { + *out = new(bool) + **out = **in + } + } + if in.EnableHorizontalPodAutoscaling != nil { + in, out := &in.EnableHorizontalPodAutoscaling, &out.EnableHorizontalPodAutoscaling + if *in == nil { + *out = nil + } else { + *out = new(bool) + **out = **in + } + } + if in.EnableNetworkPolicyConfig != nil { + in, out := &in.EnableNetworkPolicyConfig, &out.EnableNetworkPolicyConfig + if *in == nil { + *out = nil + } else { + *out = new(bool) + **out = **in + } + } if in.Locations != nil { in, out := &in.Locations, &out.Locations *out = make([]string, len(*in)) copy(*out, *in) } + if in.EnableStackdriverLogging != nil { + in, out := &in.EnableStackdriverLogging, &out.EnableStackdriverLogging + if *in == nil { + *out = nil + } else { + *out = new(bool) + **out = **in + } + } + if in.EnableStackdriverMonitoring != nil { + in, out := &in.EnableStackdriverMonitoring, &out.EnableStackdriverMonitoring + if *in == nil { + *out = nil + } else { + *out = new(bool) + **out = **in + } + } return } diff --git a/client/management/v3/zz_generated_google_kubernetes_engine_config.go b/client/management/v3/zz_generated_google_kubernetes_engine_config.go index 8e4141e3..c877d9c3 100644 --- a/client/management/v3/zz_generated_google_kubernetes_engine_config.go +++ b/client/management/v3/zz_generated_google_kubernetes_engine_config.go @@ -1,58 +1,56 @@ package client const ( - GoogleKubernetesEngineConfigType = "googleKubernetesEngineConfig" - GoogleKubernetesEngineConfigFieldClusterIpv4Cidr = "clusterIpv4Cidr" - GoogleKubernetesEngineConfigFieldCredential = "credential" - GoogleKubernetesEngineConfigFieldDescription = "description" - GoogleKubernetesEngineConfigFieldDisableHTTPLoadBalancing = "disableHttpLoadBalancing" - GoogleKubernetesEngineConfigFieldDisableHorizontalPodAutoscaling = "disableHorizontalPodAutoscaling" - GoogleKubernetesEngineConfigFieldDisableNetworkPolicyConfig = "disableNetworkPolicyConfig" - GoogleKubernetesEngineConfigFieldDiskSizeGb = "diskSizeGb" - GoogleKubernetesEngineConfigFieldEnableAlphaFeature = "enableAlphaFeature" - GoogleKubernetesEngineConfigFieldEnableKubernetesDashboard = "enableKubernetesDashboard" - GoogleKubernetesEngineConfigFieldEnableLegacyAbac = "enableLegacyAbac" - GoogleKubernetesEngineConfigFieldImageType = "imageType" - GoogleKubernetesEngineConfigFieldLabels = "labels" - GoogleKubernetesEngineConfigFieldLocations = "locations" - GoogleKubernetesEngineConfigFieldMachineType = "machineType" - GoogleKubernetesEngineConfigFieldMaintenanceWindow = "maintenanceWindow" - GoogleKubernetesEngineConfigFieldMasterVersion = "masterVersion" - GoogleKubernetesEngineConfigFieldNetwork = "network" - GoogleKubernetesEngineConfigFieldNoNetworkPolicy = "noNetworkPolicy" - GoogleKubernetesEngineConfigFieldNoStackdriverLogging = "noStackdriverLogging" - GoogleKubernetesEngineConfigFieldNoStackdriverMonitoring = "noStackdriverMonitoring" - GoogleKubernetesEngineConfigFieldNodeCount = "nodeCount" - GoogleKubernetesEngineConfigFieldNodeVersion = "nodeVersion" - GoogleKubernetesEngineConfigFieldProjectID = "projectId" - GoogleKubernetesEngineConfigFieldSubNetwork = "subNetwork" - GoogleKubernetesEngineConfigFieldZone = "zone" + GoogleKubernetesEngineConfigType = "googleKubernetesEngineConfig" + GoogleKubernetesEngineConfigFieldClusterIpv4Cidr = "clusterIpv4Cidr" + GoogleKubernetesEngineConfigFieldCredential = "credential" + GoogleKubernetesEngineConfigFieldDescription = "description" + GoogleKubernetesEngineConfigFieldDiskSizeGb = "diskSizeGb" + GoogleKubernetesEngineConfigFieldEnableAlphaFeature = "enableAlphaFeature" + GoogleKubernetesEngineConfigFieldEnableHTTPLoadBalancing = "enableHttpLoadBalancing" + GoogleKubernetesEngineConfigFieldEnableHorizontalPodAutoscaling = "enableHorizontalPodAutoscaling" + GoogleKubernetesEngineConfigFieldEnableKubernetesDashboard = "enableKubernetesDashboard" + GoogleKubernetesEngineConfigFieldEnableLegacyAbac = "enableLegacyAbac" + GoogleKubernetesEngineConfigFieldEnableNetworkPolicyConfig = "enableNetworkPolicyConfig" + GoogleKubernetesEngineConfigFieldEnableStackdriverLogging = "enableStackdriverLogging" + GoogleKubernetesEngineConfigFieldEnableStackdriverMonitoring = "enableStackdriverMonitoring" + GoogleKubernetesEngineConfigFieldImageType = "imageType" + GoogleKubernetesEngineConfigFieldLabels = "labels" + GoogleKubernetesEngineConfigFieldLocations = "locations" + GoogleKubernetesEngineConfigFieldMachineType = "machineType" + GoogleKubernetesEngineConfigFieldMaintenanceWindow = "maintenanceWindow" + GoogleKubernetesEngineConfigFieldMasterVersion = "masterVersion" + GoogleKubernetesEngineConfigFieldNetwork = "network" + GoogleKubernetesEngineConfigFieldNodeCount = "nodeCount" + GoogleKubernetesEngineConfigFieldNodeVersion = "nodeVersion" + GoogleKubernetesEngineConfigFieldProjectID = "projectId" + GoogleKubernetesEngineConfigFieldSubNetwork = "subNetwork" + GoogleKubernetesEngineConfigFieldZone = "zone" ) type GoogleKubernetesEngineConfig struct { - ClusterIpv4Cidr string `json:"clusterIpv4Cidr,omitempty" yaml:"clusterIpv4Cidr,omitempty"` - Credential string `json:"credential,omitempty" yaml:"credential,omitempty"` - Description string `json:"description,omitempty" yaml:"description,omitempty"` - DisableHTTPLoadBalancing bool `json:"disableHttpLoadBalancing,omitempty" yaml:"disableHttpLoadBalancing,omitempty"` - DisableHorizontalPodAutoscaling bool `json:"disableHorizontalPodAutoscaling,omitempty" yaml:"disableHorizontalPodAutoscaling,omitempty"` - DisableNetworkPolicyConfig bool `json:"disableNetworkPolicyConfig,omitempty" yaml:"disableNetworkPolicyConfig,omitempty"` - DiskSizeGb int64 `json:"diskSizeGb,omitempty" yaml:"diskSizeGb,omitempty"` - EnableAlphaFeature bool `json:"enableAlphaFeature,omitempty" yaml:"enableAlphaFeature,omitempty"` - EnableKubernetesDashboard bool `json:"enableKubernetesDashboard,omitempty" yaml:"enableKubernetesDashboard,omitempty"` - EnableLegacyAbac bool `json:"enableLegacyAbac,omitempty" yaml:"enableLegacyAbac,omitempty"` - ImageType string `json:"imageType,omitempty" yaml:"imageType,omitempty"` - Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` - Locations []string `json:"locations,omitempty" yaml:"locations,omitempty"` - MachineType string `json:"machineType,omitempty" yaml:"machineType,omitempty"` - MaintenanceWindow string `json:"maintenanceWindow,omitempty" yaml:"maintenanceWindow,omitempty"` - MasterVersion string `json:"masterVersion,omitempty" yaml:"masterVersion,omitempty"` - Network string `json:"network,omitempty" yaml:"network,omitempty"` - NoNetworkPolicy bool `json:"noNetworkPolicy,omitempty" yaml:"noNetworkPolicy,omitempty"` - NoStackdriverLogging bool `json:"noStackdriverLogging,omitempty" yaml:"noStackdriverLogging,omitempty"` - NoStackdriverMonitoring bool `json:"noStackdriverMonitoring,omitempty" yaml:"noStackdriverMonitoring,omitempty"` - NodeCount int64 `json:"nodeCount,omitempty" yaml:"nodeCount,omitempty"` - NodeVersion string `json:"nodeVersion,omitempty" yaml:"nodeVersion,omitempty"` - ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` - SubNetwork string `json:"subNetwork,omitempty" yaml:"subNetwork,omitempty"` - Zone string `json:"zone,omitempty" yaml:"zone,omitempty"` + ClusterIpv4Cidr string `json:"clusterIpv4Cidr,omitempty" yaml:"clusterIpv4Cidr,omitempty"` + Credential string `json:"credential,omitempty" yaml:"credential,omitempty"` + Description string `json:"description,omitempty" yaml:"description,omitempty"` + DiskSizeGb int64 `json:"diskSizeGb,omitempty" yaml:"diskSizeGb,omitempty"` + EnableAlphaFeature bool `json:"enableAlphaFeature,omitempty" yaml:"enableAlphaFeature,omitempty"` + EnableHTTPLoadBalancing *bool `json:"enableHttpLoadBalancing,omitempty" yaml:"enableHttpLoadBalancing,omitempty"` + EnableHorizontalPodAutoscaling *bool `json:"enableHorizontalPodAutoscaling,omitempty" yaml:"enableHorizontalPodAutoscaling,omitempty"` + EnableKubernetesDashboard bool `json:"enableKubernetesDashboard,omitempty" yaml:"enableKubernetesDashboard,omitempty"` + EnableLegacyAbac bool `json:"enableLegacyAbac,omitempty" yaml:"enableLegacyAbac,omitempty"` + EnableNetworkPolicyConfig *bool `json:"enableNetworkPolicyConfig,omitempty" yaml:"enableNetworkPolicyConfig,omitempty"` + EnableStackdriverLogging *bool `json:"enableStackdriverLogging,omitempty" yaml:"enableStackdriverLogging,omitempty"` + EnableStackdriverMonitoring *bool `json:"enableStackdriverMonitoring,omitempty" yaml:"enableStackdriverMonitoring,omitempty"` + ImageType string `json:"imageType,omitempty" yaml:"imageType,omitempty"` + Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` + Locations []string `json:"locations,omitempty" yaml:"locations,omitempty"` + MachineType string `json:"machineType,omitempty" yaml:"machineType,omitempty"` + MaintenanceWindow string `json:"maintenanceWindow,omitempty" yaml:"maintenanceWindow,omitempty"` + MasterVersion string `json:"masterVersion,omitempty" yaml:"masterVersion,omitempty"` + Network string `json:"network,omitempty" yaml:"network,omitempty"` + NodeCount int64 `json:"nodeCount,omitempty" yaml:"nodeCount,omitempty"` + NodeVersion string `json:"nodeVersion,omitempty" yaml:"nodeVersion,omitempty"` + ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` + SubNetwork string `json:"subNetwork,omitempty" yaml:"subNetwork,omitempty"` + Zone string `json:"zone,omitempty" yaml:"zone,omitempty"` }