1
0
mirror of https://github.com/rancher/types.git synced 2025-08-30 10:17:53 +00:00

Generated Code

This commit is contained in:
Nathan Jenan 2018-08-03 10:48:05 -07:00 committed by Craig Jellick
parent 86a73e7cfc
commit d919b35add
2 changed files with 94 additions and 51 deletions

View File

@ -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
}

View File

@ -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"`
}