Documentation ¶
Overview ¶
+groupName=composer.google.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Environment
- func (in *Environment) DeepCopy() *Environment
- func (in *Environment) DeepCopyInto(out *Environment)
- func (in *Environment) DeepCopyObject() runtime.Object
- func (r *Environment) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Environment) ValidateCreate() error
- func (r *Environment) ValidateDelete() error
- func (r *Environment) ValidateUpdate(old runtime.Object) error
- type EnvironmentList
- type EnvironmentSpec
- type EnvironmentSpecConfig
- type EnvironmentSpecConfigCodec
- type EnvironmentSpecConfigDatabaseConfig
- type EnvironmentSpecConfigDatabaseConfigCodec
- type EnvironmentSpecConfigEncryptionConfig
- type EnvironmentSpecConfigEncryptionConfigCodec
- type EnvironmentSpecConfigMaintenanceWindow
- type EnvironmentSpecConfigMaintenanceWindowCodec
- type EnvironmentSpecConfigNodeConfig
- type EnvironmentSpecConfigNodeConfigCodec
- type EnvironmentSpecConfigNodeConfigIpAllocationPolicy
- type EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec
- func (EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec) IsEmpty(ptr unsafe.Pointer) bool
- type EnvironmentSpecConfigPrivateEnvironmentConfig
- type EnvironmentSpecConfigPrivateEnvironmentConfigCodec
- func (EnvironmentSpecConfigPrivateEnvironmentConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (EnvironmentSpecConfigPrivateEnvironmentConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (EnvironmentSpecConfigPrivateEnvironmentConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
- type EnvironmentSpecConfigSoftwareConfig
- type EnvironmentSpecConfigSoftwareConfigCodec
- type EnvironmentSpecConfigWebServerConfig
- type EnvironmentSpecConfigWebServerConfigCodec
- type EnvironmentSpecConfigWebServerNetworkAccessControl
- type EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange
- func (in *EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange) DeepCopy() *EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange
- func (in *EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange) DeepCopyInto(out *EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange)
- type EnvironmentSpecConfigWebServerNetworkAccessControlCodec
- func (EnvironmentSpecConfigWebServerNetworkAccessControlCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (EnvironmentSpecConfigWebServerNetworkAccessControlCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (EnvironmentSpecConfigWebServerNetworkAccessControlCodec) IsEmpty(ptr unsafe.Pointer) bool
- type EnvironmentSpecConfigWorkloadsConfig
- type EnvironmentSpecConfigWorkloadsConfigCodec
- type EnvironmentSpecConfigWorkloadsConfigScheduler
- type EnvironmentSpecConfigWorkloadsConfigSchedulerCodec
- func (EnvironmentSpecConfigWorkloadsConfigSchedulerCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (EnvironmentSpecConfigWorkloadsConfigSchedulerCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (EnvironmentSpecConfigWorkloadsConfigSchedulerCodec) IsEmpty(ptr unsafe.Pointer) bool
- type EnvironmentSpecConfigWorkloadsConfigWebServer
- type EnvironmentSpecConfigWorkloadsConfigWebServerCodec
- func (EnvironmentSpecConfigWorkloadsConfigWebServerCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (EnvironmentSpecConfigWorkloadsConfigWebServerCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (EnvironmentSpecConfigWorkloadsConfigWebServerCodec) IsEmpty(ptr unsafe.Pointer) bool
- type EnvironmentSpecConfigWorkloadsConfigWorker
- type EnvironmentSpecConfigWorkloadsConfigWorkerCodec
- func (EnvironmentSpecConfigWorkloadsConfigWorkerCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (EnvironmentSpecConfigWorkloadsConfigWorkerCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (EnvironmentSpecConfigWorkloadsConfigWorkerCodec) IsEmpty(ptr unsafe.Pointer) bool
- type EnvironmentSpecResource
- type EnvironmentStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: composer.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Environment ¶
type Environment struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EnvironmentSpec `json:"spec,omitempty"` Status EnvironmentStatus `json:"status,omitempty"` }
func (*Environment) DeepCopy ¶
func (in *Environment) DeepCopy() *Environment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.
func (*Environment) DeepCopyInto ¶
func (in *Environment) DeepCopyInto(out *Environment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Environment) DeepCopyObject ¶
func (in *Environment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Environment) SetupWebhookWithManager ¶
func (r *Environment) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Environment) ValidateCreate ¶
func (r *Environment) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Environment) ValidateDelete ¶
func (r *Environment) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Environment) ValidateUpdate ¶
func (r *Environment) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type EnvironmentList ¶
type EnvironmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Environment CRD objects Items []Environment `json:"items,omitempty"` }
EnvironmentList is a list of Environments
func (*EnvironmentList) DeepCopy ¶
func (in *EnvironmentList) DeepCopy() *EnvironmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentList.
func (*EnvironmentList) DeepCopyInto ¶
func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentList) DeepCopyObject ¶
func (in *EnvironmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentSpec ¶
type EnvironmentSpec struct { State *EnvironmentSpecResource `json:"state,omitempty" tf:"-"` Resource EnvironmentSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*EnvironmentSpec) DeepCopy ¶
func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpec.
func (*EnvironmentSpec) DeepCopyInto ¶
func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfig ¶
type EnvironmentSpecConfig struct { // The URI of the Apache Airflow Web UI hosted within this environment. // +optional AirflowURI *string `json:"airflowURI,omitempty" tf:"airflow_uri"` // The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using '/'-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with this prefix. // +optional DagGcsPrefix *string `json:"dagGcsPrefix,omitempty" tf:"dag_gcs_prefix"` // The configuration of Cloud SQL instance that is used by the Apache Airflow software. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional DatabaseConfig *EnvironmentSpecConfigDatabaseConfig `json:"databaseConfig,omitempty" tf:"database_config"` // The encryption options for the Composer environment and its dependencies. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional EncryptionConfig *EnvironmentSpecConfigEncryptionConfig `json:"encryptionConfig,omitempty" tf:"encryption_config"` // The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. // +optional EnvironmentSize *string `json:"environmentSize,omitempty" tf:"environment_size"` // The Kubernetes Engine cluster used to run this environment. // +optional GkeCluster *string `json:"gkeCluster,omitempty" tf:"gke_cluster"` // The configuration for Cloud Composer maintenance window. // +optional MaintenanceWindow *EnvironmentSpecConfigMaintenanceWindow `json:"maintenanceWindow,omitempty" tf:"maintenance_window"` // The configuration used for the Kubernetes Engine cluster. // +optional NodeConfig *EnvironmentSpecConfigNodeConfig `json:"nodeConfig,omitempty" tf:"node_config"` // The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional NodeCount *int64 `json:"nodeCount,omitempty" tf:"node_count"` // The configuration used for the Private IP Cloud Composer environment. // +optional PrivateEnvironmentConfig *EnvironmentSpecConfigPrivateEnvironmentConfig `json:"privateEnvironmentConfig,omitempty" tf:"private_environment_config"` // The configuration settings for software inside the environment. // +optional SoftwareConfig *EnvironmentSpecConfigSoftwareConfig `json:"softwareConfig,omitempty" tf:"software_config"` // The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional WebServerConfig *EnvironmentSpecConfigWebServerConfig `json:"webServerConfig,omitempty" tf:"web_server_config"` // The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional WebServerNetworkAccessControl *EnvironmentSpecConfigWebServerNetworkAccessControl `json:"webServerNetworkAccessControl,omitempty" tf:"web_server_network_access_control"` // The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. // +optional WorkloadsConfig *EnvironmentSpecConfigWorkloadsConfig `json:"workloadsConfig,omitempty" tf:"workloads_config"` }
func (*EnvironmentSpecConfig) DeepCopy ¶
func (in *EnvironmentSpecConfig) DeepCopy() *EnvironmentSpecConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfig.
func (*EnvironmentSpecConfig) DeepCopyInto ¶
func (in *EnvironmentSpecConfig) DeepCopyInto(out *EnvironmentSpecConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigCodec ¶
type EnvironmentSpecConfigCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigCodec) Decode ¶
func (EnvironmentSpecConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigCodec) Encode ¶
func (EnvironmentSpecConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigCodec) IsEmpty ¶
func (EnvironmentSpecConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigDatabaseConfig ¶ added in v0.5.0
type EnvironmentSpecConfigDatabaseConfig struct { // Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. MachineType *string `json:"machineType" tf:"machine_type"` }
func (*EnvironmentSpecConfigDatabaseConfig) DeepCopy ¶ added in v0.5.0
func (in *EnvironmentSpecConfigDatabaseConfig) DeepCopy() *EnvironmentSpecConfigDatabaseConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigDatabaseConfig.
func (*EnvironmentSpecConfigDatabaseConfig) DeepCopyInto ¶ added in v0.5.0
func (in *EnvironmentSpecConfigDatabaseConfig) DeepCopyInto(out *EnvironmentSpecConfigDatabaseConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigDatabaseConfigCodec ¶ added in v0.5.0
type EnvironmentSpecConfigDatabaseConfigCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigDatabaseConfigCodec) Decode ¶ added in v0.5.0
func (EnvironmentSpecConfigDatabaseConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigDatabaseConfigCodec) Encode ¶ added in v0.5.0
func (EnvironmentSpecConfigDatabaseConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigDatabaseConfigCodec) IsEmpty ¶ added in v0.5.0
func (EnvironmentSpecConfigDatabaseConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigEncryptionConfig ¶ added in v0.5.0
type EnvironmentSpecConfigEncryptionConfig struct { // Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. KmsKeyName *string `json:"kmsKeyName" tf:"kms_key_name"` }
func (*EnvironmentSpecConfigEncryptionConfig) DeepCopy ¶ added in v0.5.0
func (in *EnvironmentSpecConfigEncryptionConfig) DeepCopy() *EnvironmentSpecConfigEncryptionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigEncryptionConfig.
func (*EnvironmentSpecConfigEncryptionConfig) DeepCopyInto ¶ added in v0.5.0
func (in *EnvironmentSpecConfigEncryptionConfig) DeepCopyInto(out *EnvironmentSpecConfigEncryptionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigEncryptionConfigCodec ¶ added in v0.5.0
type EnvironmentSpecConfigEncryptionConfigCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigEncryptionConfigCodec) Decode ¶ added in v0.5.0
func (EnvironmentSpecConfigEncryptionConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigEncryptionConfigCodec) Encode ¶ added in v0.5.0
func (EnvironmentSpecConfigEncryptionConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigEncryptionConfigCodec) IsEmpty ¶ added in v0.5.0
func (EnvironmentSpecConfigEncryptionConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigMaintenanceWindow ¶ added in v0.5.0
type EnvironmentSpecConfigMaintenanceWindow struct { // Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to 'start_time'. EndTime *string `json:"endTime" tf:"end_time"` // Maintenance window recurrence. Format is a subset of RFC-5545 (https://tools.ietf.org/html/rfc5545) 'RRULE'. The only allowed values for 'FREQ' field are 'FREQ=DAILY' and 'FREQ=WEEKLY;BYDAY=...'. Example values: 'FREQ=WEEKLY;BYDAY=TU,WE', 'FREQ=DAILY'. Recurrence *string `json:"recurrence" tf:"recurrence"` // Start time of the first recurrence of the maintenance window. StartTime *string `json:"startTime" tf:"start_time"` }
func (*EnvironmentSpecConfigMaintenanceWindow) DeepCopy ¶ added in v0.5.0
func (in *EnvironmentSpecConfigMaintenanceWindow) DeepCopy() *EnvironmentSpecConfigMaintenanceWindow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigMaintenanceWindow.
func (*EnvironmentSpecConfigMaintenanceWindow) DeepCopyInto ¶ added in v0.5.0
func (in *EnvironmentSpecConfigMaintenanceWindow) DeepCopyInto(out *EnvironmentSpecConfigMaintenanceWindow)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigMaintenanceWindowCodec ¶ added in v0.5.0
type EnvironmentSpecConfigMaintenanceWindowCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigMaintenanceWindowCodec) Decode ¶ added in v0.5.0
func (EnvironmentSpecConfigMaintenanceWindowCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigMaintenanceWindowCodec) Encode ¶ added in v0.5.0
func (EnvironmentSpecConfigMaintenanceWindowCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigMaintenanceWindowCodec) IsEmpty ¶ added in v0.5.0
func (EnvironmentSpecConfigMaintenanceWindowCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigNodeConfig ¶
type EnvironmentSpecConfigNodeConfig struct { // The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional DiskSizeGb *int64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb"` // Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated. // +optional IpAllocationPolicy *EnvironmentSpecConfigNodeConfigIpAllocationPolicy `json:"ipAllocationPolicy,omitempty" tf:"ip_allocation_policy"` // The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional MachineType *string `json:"machineType,omitempty" tf:"machine_type"` // The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. The network must belong to the environment's project. If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided, subnetwork must also be provided. // +optional Network *string `json:"network,omitempty" tf:"network"` // The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional OauthScopes []string `json:"oauthScopes,omitempty" tf:"oauth_scopes"` // The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have roles/composer.worker for any GCP resources created under the Cloud Composer Environment. // +optional ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account"` // The Compute Engine subnetwork to be used for machine communications, , specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region. // +optional Subnetwork *string `json:"subnetwork,omitempty" tf:"subnetwork"` // The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional Zone *string `json:"zone,omitempty" tf:"zone"` }
func (*EnvironmentSpecConfigNodeConfig) DeepCopy ¶
func (in *EnvironmentSpecConfigNodeConfig) DeepCopy() *EnvironmentSpecConfigNodeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigNodeConfig.
func (*EnvironmentSpecConfigNodeConfig) DeepCopyInto ¶
func (in *EnvironmentSpecConfigNodeConfig) DeepCopyInto(out *EnvironmentSpecConfigNodeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigNodeConfigCodec ¶
type EnvironmentSpecConfigNodeConfigCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigNodeConfigCodec) Decode ¶
func (EnvironmentSpecConfigNodeConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigNodeConfigCodec) Encode ¶
func (EnvironmentSpecConfigNodeConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigNodeConfigCodec) IsEmpty ¶
func (EnvironmentSpecConfigNodeConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigNodeConfigIpAllocationPolicy ¶
type EnvironmentSpecConfigNodeConfigIpAllocationPolicy struct { // The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both. // +optional ClusterIpv4CIDRBlock *string `json:"clusterIpv4CIDRBlock,omitempty" tf:"cluster_ipv4_cidr_block"` // The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. // +optional ClusterSecondaryRangeName *string `json:"clusterSecondaryRangeName,omitempty" tf:"cluster_secondary_range_name"` // The IP address range used to allocate IP addresses in this cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both. // +optional ServicesIpv4CIDRBlock *string `json:"servicesIpv4CIDRBlock,omitempty" tf:"services_ipv4_cidr_block"` // The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. // +optional ServicesSecondaryRangeName *string `json:"servicesSecondaryRangeName,omitempty" tf:"services_secondary_range_name"` // Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created. Defaults to true if the ip_allocation_policy block is present in config. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters. // +optional UseIPAliases *bool `json:"useIPAliases,omitempty" tf:"use_ip_aliases"` }
func (*EnvironmentSpecConfigNodeConfigIpAllocationPolicy) DeepCopy ¶
func (in *EnvironmentSpecConfigNodeConfigIpAllocationPolicy) DeepCopy() *EnvironmentSpecConfigNodeConfigIpAllocationPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigNodeConfigIpAllocationPolicy.
func (*EnvironmentSpecConfigNodeConfigIpAllocationPolicy) DeepCopyInto ¶
func (in *EnvironmentSpecConfigNodeConfigIpAllocationPolicy) DeepCopyInto(out *EnvironmentSpecConfigNodeConfigIpAllocationPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec ¶
type EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec) Decode ¶
func (EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec) Encode ¶
func (EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec) IsEmpty ¶
func (EnvironmentSpecConfigNodeConfigIpAllocationPolicyCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigPrivateEnvironmentConfig ¶
type EnvironmentSpecConfigPrivateEnvironmentConfig struct { // The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. // +optional CloudComposerNetworkIpv4CIDRBlock *string `json:"cloudComposerNetworkIpv4CIDRBlock,omitempty" tf:"cloud_composer_network_ipv4_cidr_block"` // The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block. // +optional CloudSQLIpv4CIDRBlock *string `json:"cloudSQLIpv4CIDRBlock,omitempty" tf:"cloud_sql_ipv4_cidr_block"` // If true, access to the public endpoint of the GKE cluster is denied. If this field is set to true, ip_allocation_policy.use_ip_aliases must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional EnablePrivateEndpoint *bool `json:"enablePrivateEndpoint,omitempty" tf:"enable_private_endpoint"` // The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. If left blank, the default value of '172.16.0.0/28' is used. // +optional MasterIpv4CIDRBlock *string `json:"masterIpv4CIDRBlock,omitempty" tf:"master_ipv4_cidr_block"` // The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. // +optional WebServerIpv4CIDRBlock *string `json:"webServerIpv4CIDRBlock,omitempty" tf:"web_server_ipv4_cidr_block"` }
func (*EnvironmentSpecConfigPrivateEnvironmentConfig) DeepCopy ¶
func (in *EnvironmentSpecConfigPrivateEnvironmentConfig) DeepCopy() *EnvironmentSpecConfigPrivateEnvironmentConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigPrivateEnvironmentConfig.
func (*EnvironmentSpecConfigPrivateEnvironmentConfig) DeepCopyInto ¶
func (in *EnvironmentSpecConfigPrivateEnvironmentConfig) DeepCopyInto(out *EnvironmentSpecConfigPrivateEnvironmentConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigPrivateEnvironmentConfigCodec ¶
type EnvironmentSpecConfigPrivateEnvironmentConfigCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigPrivateEnvironmentConfigCodec) Decode ¶
func (EnvironmentSpecConfigPrivateEnvironmentConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigPrivateEnvironmentConfigCodec) Encode ¶
func (EnvironmentSpecConfigPrivateEnvironmentConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigPrivateEnvironmentConfigCodec) IsEmpty ¶
func (EnvironmentSpecConfigPrivateEnvironmentConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigSoftwareConfig ¶
type EnvironmentSpecConfigSoftwareConfig struct { // Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and cannot contain "=" or ";". Section and property names cannot contain characters: "." Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are blacklisted, and cannot be overridden. // +optional AirflowConfigOverrides *map[string]string `json:"airflowConfigOverrides,omitempty" tf:"airflow_config_overrides"` // Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression [a-zA-Z_][a-zA-Z0-9_]*. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+), and they cannot match any of the following reserved names: AIRFLOW_HOME C_FORCE_ROOT CONTAINER_NAME DAGS_FOLDER GCP_PROJECT GCS_BUCKET GKE_CLUSTER_NAME SQL_DATABASE SQL_INSTANCE SQL_PASSWORD SQL_PROJECT SQL_REGION SQL_USER. // +optional EnvVariables *map[string]string `json:"envVariables,omitempty" tf:"env_variables"` // The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression composer-[0-9]+\\.[0-9]+(\\.[0-9]+)?-airflow-[0-9]+\\.[0-9]+(\\.[0-9]+.*)?. The Cloud Composer portion of the version is a semantic version. The portion of the image version following 'airflow-' is an official Apache Airflow repository release name. See documentation for allowed release names. // +optional ImageVersion *string `json:"imageVersion,omitempty" tf:"image_version"` // Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without pinning it to a version specifier, use the empty string as the value. // +optional PypiPackages *map[string]string `json:"pypiPackages,omitempty" tf:"pypi_packages"` // The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3. // +optional PythonVersion *string `json:"pythonVersion,omitempty" tf:"python_version"` // The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*. // +optional SchedulerCount *int64 `json:"schedulerCount,omitempty" tf:"scheduler_count"` }
func (*EnvironmentSpecConfigSoftwareConfig) DeepCopy ¶
func (in *EnvironmentSpecConfigSoftwareConfig) DeepCopy() *EnvironmentSpecConfigSoftwareConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigSoftwareConfig.
func (*EnvironmentSpecConfigSoftwareConfig) DeepCopyInto ¶
func (in *EnvironmentSpecConfigSoftwareConfig) DeepCopyInto(out *EnvironmentSpecConfigSoftwareConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigSoftwareConfigCodec ¶
type EnvironmentSpecConfigSoftwareConfigCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigSoftwareConfigCodec) Decode ¶
func (EnvironmentSpecConfigSoftwareConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigSoftwareConfigCodec) Encode ¶
func (EnvironmentSpecConfigSoftwareConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigSoftwareConfigCodec) IsEmpty ¶
func (EnvironmentSpecConfigSoftwareConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigWebServerConfig ¶ added in v0.5.0
type EnvironmentSpecConfigWebServerConfig struct { // Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values. MachineType *string `json:"machineType" tf:"machine_type"` }
func (*EnvironmentSpecConfigWebServerConfig) DeepCopy ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWebServerConfig) DeepCopy() *EnvironmentSpecConfigWebServerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigWebServerConfig.
func (*EnvironmentSpecConfigWebServerConfig) DeepCopyInto ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWebServerConfig) DeepCopyInto(out *EnvironmentSpecConfigWebServerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigWebServerConfigCodec ¶ added in v0.5.0
type EnvironmentSpecConfigWebServerConfigCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigWebServerConfigCodec) Decode ¶ added in v0.5.0
func (EnvironmentSpecConfigWebServerConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigWebServerConfigCodec) Encode ¶ added in v0.5.0
func (EnvironmentSpecConfigWebServerConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigWebServerConfigCodec) IsEmpty ¶ added in v0.5.0
func (EnvironmentSpecConfigWebServerConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigWebServerNetworkAccessControl ¶ added in v0.5.0
type EnvironmentSpecConfigWebServerNetworkAccessControl struct { // A collection of allowed IP ranges with descriptions. // +optional AllowedIPRange []EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange `json:"allowedIPRange,omitempty" tf:"allowed_ip_range"` }
func (*EnvironmentSpecConfigWebServerNetworkAccessControl) DeepCopy ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWebServerNetworkAccessControl) DeepCopy() *EnvironmentSpecConfigWebServerNetworkAccessControl
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigWebServerNetworkAccessControl.
func (*EnvironmentSpecConfigWebServerNetworkAccessControl) DeepCopyInto ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWebServerNetworkAccessControl) DeepCopyInto(out *EnvironmentSpecConfigWebServerNetworkAccessControl)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange ¶ added in v0.5.0
type EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange struct { // A description of this ip range. // +optional Description *string `json:"description,omitempty" tf:"description"` // IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32. Value *string `json:"value" tf:"value"` }
func (*EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange) DeepCopy ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange) DeepCopy() *EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange.
func (*EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange) DeepCopyInto ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange) DeepCopyInto(out *EnvironmentSpecConfigWebServerNetworkAccessControlAllowedIPRange)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigWebServerNetworkAccessControlCodec ¶ added in v0.5.0
type EnvironmentSpecConfigWebServerNetworkAccessControlCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigWebServerNetworkAccessControlCodec) Decode ¶ added in v0.5.0
func (EnvironmentSpecConfigWebServerNetworkAccessControlCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigWebServerNetworkAccessControlCodec) Encode ¶ added in v0.5.0
func (EnvironmentSpecConfigWebServerNetworkAccessControlCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigWebServerNetworkAccessControlCodec) IsEmpty ¶ added in v0.5.0
func (EnvironmentSpecConfigWebServerNetworkAccessControlCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigWorkloadsConfig ¶ added in v0.5.0
type EnvironmentSpecConfigWorkloadsConfig struct { // Configuration for resources used by Airflow schedulers. // +optional Scheduler *EnvironmentSpecConfigWorkloadsConfigScheduler `json:"scheduler,omitempty" tf:"scheduler"` // Configuration for resources used by Airflow web server. // +optional WebServer *EnvironmentSpecConfigWorkloadsConfigWebServer `json:"webServer,omitempty" tf:"web_server"` // Configuration for resources used by Airflow workers. // +optional Worker *EnvironmentSpecConfigWorkloadsConfigWorker `json:"worker,omitempty" tf:"worker"` }
func (*EnvironmentSpecConfigWorkloadsConfig) DeepCopy ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWorkloadsConfig) DeepCopy() *EnvironmentSpecConfigWorkloadsConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigWorkloadsConfig.
func (*EnvironmentSpecConfigWorkloadsConfig) DeepCopyInto ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWorkloadsConfig) DeepCopyInto(out *EnvironmentSpecConfigWorkloadsConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigWorkloadsConfigCodec ¶ added in v0.5.0
type EnvironmentSpecConfigWorkloadsConfigCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigWorkloadsConfigCodec) Decode ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigWorkloadsConfigCodec) Encode ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigWorkloadsConfigCodec) IsEmpty ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigWorkloadsConfigScheduler ¶ added in v0.5.0
type EnvironmentSpecConfigWorkloadsConfigScheduler struct { // The number of schedulers. // +optional Count *int64 `json:"count,omitempty" tf:"count"` // CPU request and limit for a single Airflow scheduler replica // +optional Cpu *float64 `json:"cpu,omitempty" tf:"cpu"` // Memory (GB) request and limit for a single Airflow scheduler replica. // +optional MemoryGb *float64 `json:"memoryGb,omitempty" tf:"memory_gb"` // Storage (GB) request and limit for a single Airflow scheduler replica. // +optional StorageGb *float64 `json:"storageGb,omitempty" tf:"storage_gb"` }
func (*EnvironmentSpecConfigWorkloadsConfigScheduler) DeepCopy ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWorkloadsConfigScheduler) DeepCopy() *EnvironmentSpecConfigWorkloadsConfigScheduler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigWorkloadsConfigScheduler.
func (*EnvironmentSpecConfigWorkloadsConfigScheduler) DeepCopyInto ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWorkloadsConfigScheduler) DeepCopyInto(out *EnvironmentSpecConfigWorkloadsConfigScheduler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigWorkloadsConfigSchedulerCodec ¶ added in v0.5.0
type EnvironmentSpecConfigWorkloadsConfigSchedulerCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigWorkloadsConfigSchedulerCodec) Decode ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigSchedulerCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigWorkloadsConfigSchedulerCodec) Encode ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigSchedulerCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigWorkloadsConfigSchedulerCodec) IsEmpty ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigSchedulerCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigWorkloadsConfigWebServer ¶ added in v0.5.0
type EnvironmentSpecConfigWorkloadsConfigWebServer struct { // CPU request and limit for Airflow web server. // +optional Cpu *float64 `json:"cpu,omitempty" tf:"cpu"` // Memory (GB) request and limit for Airflow web server. // +optional MemoryGb *float64 `json:"memoryGb,omitempty" tf:"memory_gb"` // Storage (GB) request and limit for Airflow web server. // +optional StorageGb *float64 `json:"storageGb,omitempty" tf:"storage_gb"` }
func (*EnvironmentSpecConfigWorkloadsConfigWebServer) DeepCopy ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWorkloadsConfigWebServer) DeepCopy() *EnvironmentSpecConfigWorkloadsConfigWebServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigWorkloadsConfigWebServer.
func (*EnvironmentSpecConfigWorkloadsConfigWebServer) DeepCopyInto ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWorkloadsConfigWebServer) DeepCopyInto(out *EnvironmentSpecConfigWorkloadsConfigWebServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigWorkloadsConfigWebServerCodec ¶ added in v0.5.0
type EnvironmentSpecConfigWorkloadsConfigWebServerCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigWorkloadsConfigWebServerCodec) Decode ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigWebServerCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigWorkloadsConfigWebServerCodec) Encode ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigWebServerCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigWorkloadsConfigWebServerCodec) IsEmpty ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigWebServerCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecConfigWorkloadsConfigWorker ¶ added in v0.5.0
type EnvironmentSpecConfigWorkloadsConfigWorker struct { // CPU request and limit for a single Airflow worker replica. // +optional Cpu *float64 `json:"cpu,omitempty" tf:"cpu"` // Maximum number of workers for autoscaling. // +optional MaxCount *int64 `json:"maxCount,omitempty" tf:"max_count"` // Memory (GB) request and limit for a single Airflow worker replica. // +optional MemoryGb *float64 `json:"memoryGb,omitempty" tf:"memory_gb"` // Minimum number of workers for autoscaling. // +optional MinCount *int64 `json:"minCount,omitempty" tf:"min_count"` // Storage (GB) request and limit for a single Airflow worker replica. // +optional StorageGb *float64 `json:"storageGb,omitempty" tf:"storage_gb"` }
func (*EnvironmentSpecConfigWorkloadsConfigWorker) DeepCopy ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWorkloadsConfigWorker) DeepCopy() *EnvironmentSpecConfigWorkloadsConfigWorker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecConfigWorkloadsConfigWorker.
func (*EnvironmentSpecConfigWorkloadsConfigWorker) DeepCopyInto ¶ added in v0.5.0
func (in *EnvironmentSpecConfigWorkloadsConfigWorker) DeepCopyInto(out *EnvironmentSpecConfigWorkloadsConfigWorker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpecConfigWorkloadsConfigWorkerCodec ¶ added in v0.5.0
type EnvironmentSpecConfigWorkloadsConfigWorkerCodec struct { }
+k8s:deepcopy-gen=false
func (EnvironmentSpecConfigWorkloadsConfigWorkerCodec) Decode ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigWorkerCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (EnvironmentSpecConfigWorkloadsConfigWorkerCodec) Encode ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigWorkerCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (EnvironmentSpecConfigWorkloadsConfigWorkerCodec) IsEmpty ¶ added in v0.5.0
func (EnvironmentSpecConfigWorkloadsConfigWorkerCodec) IsEmpty(ptr unsafe.Pointer) bool
type EnvironmentSpecResource ¶
type EnvironmentSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // Configuration parameters for this environment. // +optional Config *EnvironmentSpecConfig `json:"config,omitempty" tf:"config"` // User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be associated with a given environment. Both keys and values must be <= 128 bytes in size. // +optional Labels *map[string]string `json:"labels,omitempty" tf:"labels"` // Name of the environment. Name *string `json:"name" tf:"name"` // The ID of the project in which the resource belongs. If it is not provided, the provider project is used. // +optional Project *string `json:"project,omitempty" tf:"project"` // The location or Compute Engine region for the environment. // +optional Region *string `json:"region,omitempty" tf:"region"` }
func (*EnvironmentSpecResource) DeepCopy ¶
func (in *EnvironmentSpecResource) DeepCopy() *EnvironmentSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecResource.
func (*EnvironmentSpecResource) DeepCopyInto ¶
func (in *EnvironmentSpecResource) DeepCopyInto(out *EnvironmentSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentStatus ¶
type EnvironmentStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*EnvironmentStatus) DeepCopy ¶
func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentStatus.
func (*EnvironmentStatus) DeepCopyInto ¶
func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.