/
zz_generated_gke_cluster_config_spec.go
58 lines (56 loc) · 5.25 KB
/
zz_generated_gke_cluster_config_spec.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package client
const (
GKEClusterConfigSpecType = "gkeClusterConfigSpec"
GKEClusterConfigSpecFieldAutopilotConfig = "autopilotConfig"
GKEClusterConfigSpecFieldClusterAddons = "clusterAddons"
GKEClusterConfigSpecFieldClusterIpv4CidrBlock = "clusterIpv4Cidr"
GKEClusterConfigSpecFieldClusterName = "clusterName"
GKEClusterConfigSpecFieldCustomerManagedEncryptionKey = "customerManagedEncryptionKey"
GKEClusterConfigSpecFieldDescription = "description"
GKEClusterConfigSpecFieldEnableKubernetesAlpha = "enableKubernetesAlpha"
GKEClusterConfigSpecFieldGoogleCredentialSecret = "googleCredentialSecret"
GKEClusterConfigSpecFieldIPAllocationPolicy = "ipAllocationPolicy"
GKEClusterConfigSpecFieldImported = "imported"
GKEClusterConfigSpecFieldKubernetesVersion = "kubernetesVersion"
GKEClusterConfigSpecFieldLabels = "labels"
GKEClusterConfigSpecFieldLocations = "locations"
GKEClusterConfigSpecFieldLoggingService = "loggingService"
GKEClusterConfigSpecFieldMaintenanceWindow = "maintenanceWindow"
GKEClusterConfigSpecFieldMasterAuthorizedNetworksConfig = "masterAuthorizedNetworks"
GKEClusterConfigSpecFieldMonitoringService = "monitoringService"
GKEClusterConfigSpecFieldNetwork = "network"
GKEClusterConfigSpecFieldNetworkPolicyEnabled = "networkPolicyEnabled"
GKEClusterConfigSpecFieldNodePools = "nodePools"
GKEClusterConfigSpecFieldPrivateClusterConfig = "privateClusterConfig"
GKEClusterConfigSpecFieldProjectID = "projectID"
GKEClusterConfigSpecFieldRegion = "region"
GKEClusterConfigSpecFieldSubnetwork = "subnetwork"
GKEClusterConfigSpecFieldZone = "zone"
)
type GKEClusterConfigSpec struct {
AutopilotConfig *GKEAutopilotConfig `json:"autopilotConfig,omitempty" yaml:"autopilotConfig,omitempty"`
ClusterAddons *GKEClusterAddons `json:"clusterAddons,omitempty" yaml:"clusterAddons,omitempty"`
ClusterIpv4CidrBlock *string `json:"clusterIpv4Cidr,omitempty" yaml:"clusterIpv4Cidr,omitempty"`
ClusterName string `json:"clusterName,omitempty" yaml:"clusterName,omitempty"`
CustomerManagedEncryptionKey *CMEKConfig `json:"customerManagedEncryptionKey,omitempty" yaml:"customerManagedEncryptionKey,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
EnableKubernetesAlpha *bool `json:"enableKubernetesAlpha,omitempty" yaml:"enableKubernetesAlpha,omitempty"`
GoogleCredentialSecret string `json:"googleCredentialSecret,omitempty" yaml:"googleCredentialSecret,omitempty"`
IPAllocationPolicy *GKEIPAllocationPolicy `json:"ipAllocationPolicy,omitempty" yaml:"ipAllocationPolicy,omitempty"`
Imported bool `json:"imported,omitempty" yaml:"imported,omitempty"`
KubernetesVersion *string `json:"kubernetesVersion,omitempty" yaml:"kubernetesVersion,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Locations []string `json:"locations,omitempty" yaml:"locations,omitempty"`
LoggingService *string `json:"loggingService,omitempty" yaml:"loggingService,omitempty"`
MaintenanceWindow *string `json:"maintenanceWindow,omitempty" yaml:"maintenanceWindow,omitempty"`
MasterAuthorizedNetworksConfig *GKEMasterAuthorizedNetworksConfig `json:"masterAuthorizedNetworks,omitempty" yaml:"masterAuthorizedNetworks,omitempty"`
MonitoringService *string `json:"monitoringService,omitempty" yaml:"monitoringService,omitempty"`
Network *string `json:"network,omitempty" yaml:"network,omitempty"`
NetworkPolicyEnabled *bool `json:"networkPolicyEnabled,omitempty" yaml:"networkPolicyEnabled,omitempty"`
NodePools []GKENodePoolConfig `json:"nodePools,omitempty" yaml:"nodePools,omitempty"`
PrivateClusterConfig *GKEPrivateClusterConfig `json:"privateClusterConfig,omitempty" yaml:"privateClusterConfig,omitempty"`
ProjectID string `json:"projectID,omitempty" yaml:"projectID,omitempty"`
Region string `json:"region,omitempty" yaml:"region,omitempty"`
Subnetwork *string `json:"subnetwork,omitempty" yaml:"subnetwork,omitempty"`
Zone string `json:"zone,omitempty" yaml:"zone,omitempty"`
}