Documentation ¶
Overview ¶
+groupName=sql.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 Database
- func (in *Database) DeepCopy() *Database
- func (in *Database) DeepCopyInto(out *Database)
- func (in *Database) DeepCopyObject() runtime.Object
- func (r *Database) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Database) ValidateCreate() error
- func (r *Database) ValidateDelete() error
- func (r *Database) ValidateUpdate(old runtime.Object) error
- type DatabaseInstance
- func (in *DatabaseInstance) DeepCopy() *DatabaseInstance
- func (in *DatabaseInstance) DeepCopyInto(out *DatabaseInstance)
- func (in *DatabaseInstance) DeepCopyObject() runtime.Object
- func (r *DatabaseInstance) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DatabaseInstance) ValidateCreate() error
- func (r *DatabaseInstance) ValidateDelete() error
- func (r *DatabaseInstance) ValidateUpdate(old runtime.Object) error
- type DatabaseInstanceList
- type DatabaseInstanceSpec
- type DatabaseInstanceSpecClone
- type DatabaseInstanceSpecCloneCodec
- type DatabaseInstanceSpecIpAddress
- type DatabaseInstanceSpecReplicaConfiguration
- type DatabaseInstanceSpecReplicaConfigurationCodec
- type DatabaseInstanceSpecResource
- type DatabaseInstanceSpecRestoreBackupContext
- type DatabaseInstanceSpecRestoreBackupContextCodec
- type DatabaseInstanceSpecServerCaCert
- type DatabaseInstanceSpecSettings
- type DatabaseInstanceSpecSettingsBackupConfiguration
- type DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings
- func (in *DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings) DeepCopy() *DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings
- func (in *DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings) DeepCopyInto(out *DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings)
- type DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettingsCodec
- func (DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettingsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettingsCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettingsCodec) IsEmpty(ptr unsafe.Pointer) bool
- type DatabaseInstanceSpecSettingsBackupConfigurationCodec
- func (DatabaseInstanceSpecSettingsBackupConfigurationCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (DatabaseInstanceSpecSettingsBackupConfigurationCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (DatabaseInstanceSpecSettingsBackupConfigurationCodec) IsEmpty(ptr unsafe.Pointer) bool
- type DatabaseInstanceSpecSettingsCodec
- type DatabaseInstanceSpecSettingsDatabaseFlags
- type DatabaseInstanceSpecSettingsInsightsConfig
- type DatabaseInstanceSpecSettingsInsightsConfigCodec
- func (DatabaseInstanceSpecSettingsInsightsConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (DatabaseInstanceSpecSettingsInsightsConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (DatabaseInstanceSpecSettingsInsightsConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
- type DatabaseInstanceSpecSettingsIpConfiguration
- type DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks
- func (in *DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks) DeepCopy() *DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks
- func (in *DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks) DeepCopyInto(out *DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks)
- type DatabaseInstanceSpecSettingsIpConfigurationCodec
- func (DatabaseInstanceSpecSettingsIpConfigurationCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (DatabaseInstanceSpecSettingsIpConfigurationCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (DatabaseInstanceSpecSettingsIpConfigurationCodec) IsEmpty(ptr unsafe.Pointer) bool
- type DatabaseInstanceSpecSettingsLocationPreference
- type DatabaseInstanceSpecSettingsLocationPreferenceCodec
- func (DatabaseInstanceSpecSettingsLocationPreferenceCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (DatabaseInstanceSpecSettingsLocationPreferenceCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (DatabaseInstanceSpecSettingsLocationPreferenceCodec) IsEmpty(ptr unsafe.Pointer) bool
- type DatabaseInstanceSpecSettingsMaintenanceWindow
- type DatabaseInstanceSpecSettingsMaintenanceWindowCodec
- func (DatabaseInstanceSpecSettingsMaintenanceWindowCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (DatabaseInstanceSpecSettingsMaintenanceWindowCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (DatabaseInstanceSpecSettingsMaintenanceWindowCodec) IsEmpty(ptr unsafe.Pointer) bool
- type DatabaseInstanceStatus
- type DatabaseList
- type DatabaseSpec
- type DatabaseSpecResource
- type DatabaseStatus
- type SourceRepresentationInstance
- func (in *SourceRepresentationInstance) DeepCopy() *SourceRepresentationInstance
- func (in *SourceRepresentationInstance) DeepCopyInto(out *SourceRepresentationInstance)
- func (in *SourceRepresentationInstance) DeepCopyObject() runtime.Object
- func (r *SourceRepresentationInstance) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *SourceRepresentationInstance) ValidateCreate() error
- func (r *SourceRepresentationInstance) ValidateDelete() error
- func (r *SourceRepresentationInstance) ValidateUpdate(old runtime.Object) error
- type SourceRepresentationInstanceList
- type SourceRepresentationInstanceSpec
- type SourceRepresentationInstanceSpecResource
- type SourceRepresentationInstanceStatus
- type SslCert
- func (in *SslCert) DeepCopy() *SslCert
- func (in *SslCert) DeepCopyInto(out *SslCert)
- func (in *SslCert) DeepCopyObject() runtime.Object
- func (r *SslCert) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *SslCert) ValidateCreate() error
- func (r *SslCert) ValidateDelete() error
- func (r *SslCert) ValidateUpdate(old runtime.Object) error
- type SslCertList
- type SslCertSpec
- type SslCertSpecResource
- type SslCertStatus
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (r *User) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *User) ValidateCreate() error
- func (r *User) ValidateDelete() error
- func (r *User) ValidateUpdate(old runtime.Object) error
- type UserList
- type UserSpec
- type UserSpecResource
- type UserStatus
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: sql.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Database ¶
type Database struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseSpec `json:"spec,omitempty"` Status DatabaseStatus `json:"status,omitempty"` }
func (*Database) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Database) SetupWebhookWithManager ¶
func (*Database) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Database) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type DatabaseInstance ¶
type DatabaseInstance struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseInstanceSpec `json:"spec,omitempty"` Status DatabaseInstanceStatus `json:"status,omitempty"` }
func (*DatabaseInstance) DeepCopy ¶
func (in *DatabaseInstance) DeepCopy() *DatabaseInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstance.
func (*DatabaseInstance) DeepCopyInto ¶
func (in *DatabaseInstance) DeepCopyInto(out *DatabaseInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseInstance) DeepCopyObject ¶
func (in *DatabaseInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DatabaseInstance) SetupWebhookWithManager ¶
func (r *DatabaseInstance) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*DatabaseInstance) ValidateCreate ¶
func (r *DatabaseInstance) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*DatabaseInstance) ValidateDelete ¶
func (r *DatabaseInstance) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*DatabaseInstance) ValidateUpdate ¶
func (r *DatabaseInstance) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type DatabaseInstanceList ¶
type DatabaseInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of DatabaseInstance CRD objects Items []DatabaseInstance `json:"items,omitempty"` }
DatabaseInstanceList is a list of DatabaseInstances
func (*DatabaseInstanceList) DeepCopy ¶
func (in *DatabaseInstanceList) DeepCopy() *DatabaseInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceList.
func (*DatabaseInstanceList) DeepCopyInto ¶
func (in *DatabaseInstanceList) DeepCopyInto(out *DatabaseInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseInstanceList) DeepCopyObject ¶
func (in *DatabaseInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseInstanceSpec ¶
type DatabaseInstanceSpec struct { State *DatabaseInstanceSpecResource `json:"state,omitempty" tf:"-"` Resource DatabaseInstanceSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*DatabaseInstanceSpec) DeepCopy ¶
func (in *DatabaseInstanceSpec) DeepCopy() *DatabaseInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpec.
func (*DatabaseInstanceSpec) DeepCopyInto ¶
func (in *DatabaseInstanceSpec) DeepCopyInto(out *DatabaseInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecClone ¶
type DatabaseInstanceSpecClone struct { // The timestamp of the point in time that should be restored. // +optional PointInTime *string `json:"pointInTime,omitempty" tf:"point_in_time"` // The name of the instance from which the point in time should be restored. SourceInstanceName *string `json:"sourceInstanceName" tf:"source_instance_name"` }
func (*DatabaseInstanceSpecClone) DeepCopy ¶
func (in *DatabaseInstanceSpecClone) DeepCopy() *DatabaseInstanceSpecClone
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecClone.
func (*DatabaseInstanceSpecClone) DeepCopyInto ¶
func (in *DatabaseInstanceSpecClone) DeepCopyInto(out *DatabaseInstanceSpecClone)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecCloneCodec ¶
type DatabaseInstanceSpecCloneCodec struct { }
+k8s:deepcopy-gen=false
func (DatabaseInstanceSpecCloneCodec) Decode ¶
func (DatabaseInstanceSpecCloneCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type DatabaseInstanceSpecIpAddress ¶
type DatabaseInstanceSpecIpAddress struct { // +optional IpAddress *string `json:"ipAddress,omitempty" tf:"ip_address"` // +optional TimeToRetire *string `json:"timeToRetire,omitempty" tf:"time_to_retire"` // +optional Type *string `json:"type,omitempty" tf:"type"` }
func (*DatabaseInstanceSpecIpAddress) DeepCopy ¶
func (in *DatabaseInstanceSpecIpAddress) DeepCopy() *DatabaseInstanceSpecIpAddress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecIpAddress.
func (*DatabaseInstanceSpecIpAddress) DeepCopyInto ¶
func (in *DatabaseInstanceSpecIpAddress) DeepCopyInto(out *DatabaseInstanceSpecIpAddress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecReplicaConfiguration ¶
type DatabaseInstanceSpecReplicaConfiguration struct { // PEM representation of the trusted CA's x509 certificate. // +optional CaCertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate"` // PEM representation of the replica's x509 certificate. // +optional ClientCertificate *string `json:"clientCertificate,omitempty" tf:"client_certificate"` // PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate. // +optional ClientKey *string `json:"clientKey,omitempty" tf:"client_key"` // The number of seconds between connect retries. // +optional ConnectRetryInterval *int64 `json:"connectRetryInterval,omitempty" tf:"connect_retry_interval"` // Path to a SQL file in Google Cloud Storage from which replica instances are created. Format is gs://bucket/filename. // +optional DumpFilePath *string `json:"dumpFilePath,omitempty" tf:"dump_file_path"` // Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance. // +optional FailoverTarget *bool `json:"failoverTarget,omitempty" tf:"failover_target"` // Time in ms between replication heartbeats. // +optional MasterHeartbeatPeriod *int64 `json:"masterHeartbeatPeriod,omitempty" tf:"master_heartbeat_period"` // Password for the replication connection. // +optional Password *string `json:"-" sensitive:"true" tf:"password"` // Permissible ciphers for use in SSL encryption. // +optional SslCipher *string `json:"sslCipher,omitempty" tf:"ssl_cipher"` // Username for replication connection. // +optional Username *string `json:"username,omitempty" tf:"username"` // True if the master's common name value is checked during the SSL handshake. // +optional VerifyServerCertificate *bool `json:"verifyServerCertificate,omitempty" tf:"verify_server_certificate"` }
func (*DatabaseInstanceSpecReplicaConfiguration) DeepCopy ¶
func (in *DatabaseInstanceSpecReplicaConfiguration) DeepCopy() *DatabaseInstanceSpecReplicaConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecReplicaConfiguration.
func (*DatabaseInstanceSpecReplicaConfiguration) DeepCopyInto ¶
func (in *DatabaseInstanceSpecReplicaConfiguration) DeepCopyInto(out *DatabaseInstanceSpecReplicaConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecReplicaConfigurationCodec ¶
type DatabaseInstanceSpecReplicaConfigurationCodec struct { }
+k8s:deepcopy-gen=false
func (DatabaseInstanceSpecReplicaConfigurationCodec) Decode ¶
func (DatabaseInstanceSpecReplicaConfigurationCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type DatabaseInstanceSpecResource ¶
type DatabaseInstanceSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // Configuration for creating a new instance as a clone of another instance. // +optional Clone *DatabaseInstanceSpecClone `json:"clone,omitempty" tf:"clone"` // The connection name of the instance to be used in connection strings. For example, when connecting with Cloud SQL Proxy. // +optional ConnectionName *string `json:"connectionName,omitempty" tf:"connection_name"` // The MySQL, PostgreSQL or SQL Server (beta) version to use. Supported values include MYSQL_5_6, MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6, POSTGRES_10, POSTGRES_11, POSTGRES_12, POSTGRES_13, SQLSERVER_2017_STANDARD, SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB. Database Version Policies includes an up-to-date reference of supported versions. // +optional DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version"` // Used to block Terraform from deleting a SQL Instance. // +optional DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection"` // The first IPv4 address of any type assigned. This is to support accessing the first address in the list in a terraform output when the resource is configured with a count. // +optional FirstIPAddress *string `json:"firstIPAddress,omitempty" tf:"first_ip_address"` // +optional IpAddress []DatabaseInstanceSpecIpAddress `json:"ipAddress,omitempty" tf:"ip_address"` // The name of the instance that will act as the master in the replication setup. Note, this requires the master to have binary_log_enabled set, as well as existing backups. // +optional MasterInstanceName *string `json:"masterInstanceName,omitempty" tf:"master_instance_name"` // The name of the instance. If the name is left blank, Terraform will randomly generate one when the instance is first created. This is done because after a name is used, it cannot be reused for up to one week. // +optional Name *string `json:"name,omitempty" tf:"name"` // IPv4 address assigned. This is a workaround for an issue fixed in Terraform 0.12 but also provides a convenient way to access an IP of a specific type without performing filtering in a Terraform config. // +optional PrivateIPAddress *string `json:"privateIPAddress,omitempty" tf:"private_ip_address"` // 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"` // IPv4 address assigned. This is a workaround for an issue fixed in Terraform 0.12 but also provides a convenient way to access an IP of a specific type without performing filtering in a Terraform config. // +optional PublicIPAddress *string `json:"publicIPAddress,omitempty" tf:"public_ip_address"` // The region the instance will sit in. Note, Cloud SQL is not available in all regions. A valid region must be provided to use this resource. If a region is not provided in the resource definition, the provider region will be used instead, but this will be an apply-time error for instances if the provider region is not supported with Cloud SQL. If you choose not to provide the region argument for this resource, make sure you understand this. // +optional Region *string `json:"region,omitempty" tf:"region"` // The configuration for replication. // +optional ReplicaConfiguration *DatabaseInstanceSpecReplicaConfiguration `json:"replicaConfiguration,omitempty" tf:"replica_configuration"` // +optional RestoreBackupContext *DatabaseInstanceSpecRestoreBackupContext `json:"restoreBackupContext,omitempty" tf:"restore_backup_context"` // Initial root password. Required for MS SQL Server, ignored by MySQL and PostgreSQL. // +optional RootPassword *string `json:"-" sensitive:"true" tf:"root_password"` // The URI of the created resource. // +optional SelfLink *string `json:"selfLink,omitempty" tf:"self_link"` // +optional ServerCaCert []DatabaseInstanceSpecServerCaCert `json:"serverCaCert,omitempty" tf:"server_ca_cert"` // The service account email address assigned to the instance. // +optional ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty" tf:"service_account_email_address"` // The settings to use for the database. The configuration is detailed below. // +optional Settings *DatabaseInstanceSpecSettings `json:"settings,omitempty" tf:"settings"` }
func (*DatabaseInstanceSpecResource) DeepCopy ¶
func (in *DatabaseInstanceSpecResource) DeepCopy() *DatabaseInstanceSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecResource.
func (*DatabaseInstanceSpecResource) DeepCopyInto ¶
func (in *DatabaseInstanceSpecResource) DeepCopyInto(out *DatabaseInstanceSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecRestoreBackupContext ¶
type DatabaseInstanceSpecRestoreBackupContext struct { // The ID of the backup run to restore from. BackupRunID *int64 `json:"backupRunID" tf:"backup_run_id"` // The ID of the instance that the backup was taken from. // +optional InstanceID *string `json:"instanceID,omitempty" tf:"instance_id"` // The full project ID of the source instance. // +optional Project *string `json:"project,omitempty" tf:"project"` }
func (*DatabaseInstanceSpecRestoreBackupContext) DeepCopy ¶
func (in *DatabaseInstanceSpecRestoreBackupContext) DeepCopy() *DatabaseInstanceSpecRestoreBackupContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecRestoreBackupContext.
func (*DatabaseInstanceSpecRestoreBackupContext) DeepCopyInto ¶
func (in *DatabaseInstanceSpecRestoreBackupContext) DeepCopyInto(out *DatabaseInstanceSpecRestoreBackupContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecRestoreBackupContextCodec ¶
type DatabaseInstanceSpecRestoreBackupContextCodec struct { }
+k8s:deepcopy-gen=false
func (DatabaseInstanceSpecRestoreBackupContextCodec) Decode ¶
func (DatabaseInstanceSpecRestoreBackupContextCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type DatabaseInstanceSpecServerCaCert ¶
type DatabaseInstanceSpecServerCaCert struct { // The CA Certificate used to connect to the SQL Instance via SSL. // +optional Cert *string `json:"cert,omitempty" tf:"cert"` // The CN valid for the CA Cert. // +optional CommonName *string `json:"commonName,omitempty" tf:"common_name"` // Creation time of the CA Cert. // +optional CreateTime *string `json:"createTime,omitempty" tf:"create_time"` // Expiration time of the CA Cert. // +optional ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time"` // SHA Fingerprint of the CA Cert. // +optional Sha1Fingerprint *string `json:"sha1Fingerprint,omitempty" tf:"sha1_fingerprint"` }
func (*DatabaseInstanceSpecServerCaCert) DeepCopy ¶
func (in *DatabaseInstanceSpecServerCaCert) DeepCopy() *DatabaseInstanceSpecServerCaCert
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecServerCaCert.
func (*DatabaseInstanceSpecServerCaCert) DeepCopyInto ¶
func (in *DatabaseInstanceSpecServerCaCert) DeepCopyInto(out *DatabaseInstanceSpecServerCaCert)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecSettings ¶
type DatabaseInstanceSpecSettings struct { // This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND. // +optional ActivationPolicy *string `json:"activationPolicy,omitempty" tf:"activation_policy"` // This property is only applicable to First Generation instances. First Generation instances are now deprecated, see https://cloud.google.com/sql/docs/mysql/deprecation-notice for information on how to upgrade to Second Generation instances. A list of Google App Engine project names that are allowed to access this instance. // +optional // Deprecated AuthorizedGaeApplications []string `json:"authorizedGaeApplications,omitempty" tf:"authorized_gae_applications"` // The availability type of the Cloud SQL instance, high availability // (REGIONAL) or single zone (ZONAL). For MySQL instances, ensure that // settings.backup_configuration.enabled and // settings.backup_configuration.binary_log_enabled are both set to true. // +optional AvailabilityType *string `json:"availabilityType,omitempty" tf:"availability_type"` // +optional BackupConfiguration *DatabaseInstanceSpecSettingsBackupConfiguration `json:"backupConfiguration,omitempty" tf:"backup_configuration"` // The name of server instance collation. // +optional Collation *string `json:"collation,omitempty" tf:"collation"` // This property is only applicable to First Generation instances. First Generation instances are now deprecated, see here for information on how to upgrade to Second Generation instances. Specific to read instances, indicates when crash-safe replication flags are enabled. // +optional // Deprecated CrashSafeReplication *bool `json:"crashSafeReplication,omitempty" tf:"crash_safe_replication"` // +optional DatabaseFlags []DatabaseInstanceSpecSettingsDatabaseFlags `json:"databaseFlags,omitempty" tf:"database_flags"` // Configuration to increase storage size automatically. Note that future terraform apply calls will attempt to resize the disk to the value specified in disk_size - if this is set, do not set disk_size. // +optional DiskAutoresize *bool `json:"diskAutoresize,omitempty" tf:"disk_autoresize"` // The maximum size, in GB, to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit. // +optional DiskAutoresizeLimit *int64 `json:"diskAutoresizeLimit,omitempty" tf:"disk_autoresize_limit"` // The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. // +optional DiskSize *int64 `json:"diskSize,omitempty" tf:"disk_size"` // The type of data disk: PD_SSD or PD_HDD. // +optional DiskType *string `json:"diskType,omitempty" tf:"disk_type"` // Configuration of Query Insights. // +optional InsightsConfig *DatabaseInstanceSpecSettingsInsightsConfig `json:"insightsConfig,omitempty" tf:"insights_config"` // +optional IpConfiguration *DatabaseInstanceSpecSettingsIpConfiguration `json:"ipConfiguration,omitempty" tf:"ip_configuration"` // +optional LocationPreference *DatabaseInstanceSpecSettingsLocationPreference `json:"locationPreference,omitempty" tf:"location_preference"` // Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time. // +optional MaintenanceWindow *DatabaseInstanceSpecSettingsMaintenanceWindow `json:"maintenanceWindow,omitempty" tf:"maintenance_window"` // Pricing plan for this instance, can only be PER_USE. // +optional PricingPlan *string `json:"pricingPlan,omitempty" tf:"pricing_plan"` // This property is only applicable to First Generation instances. First Generation instances are now deprecated, see here for information on how to upgrade to Second Generation instances. Replication type for this instance, can be one of ASYNCHRONOUS or SYNCHRONOUS. // +optional // Deprecated ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type"` // The machine type to use. See tiers for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types. Tier *string `json:"tier" tf:"tier"` // A set of key/value user label pairs to assign to the instance. // +optional UserLabels *map[string]string `json:"userLabels,omitempty" tf:"user_labels"` // Used to make sure changes to the settings block are atomic. // +optional Version *int64 `json:"version,omitempty" tf:"version"` }
func (*DatabaseInstanceSpecSettings) DeepCopy ¶
func (in *DatabaseInstanceSpecSettings) DeepCopy() *DatabaseInstanceSpecSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecSettings.
func (*DatabaseInstanceSpecSettings) DeepCopyInto ¶
func (in *DatabaseInstanceSpecSettings) DeepCopyInto(out *DatabaseInstanceSpecSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecSettingsBackupConfiguration ¶
type DatabaseInstanceSpecSettingsBackupConfiguration struct { // +optional BackupRetentionSettings *DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings `json:"backupRetentionSettings,omitempty" tf:"backup_retention_settings"` // True if binary logging is enabled. If settings.backup_configuration.enabled is false, this must be as well. Cannot be used with Postgres. // +optional BinaryLogEnabled *bool `json:"binaryLogEnabled,omitempty" tf:"binary_log_enabled"` // True if backup configuration is enabled. // +optional Enabled *bool `json:"enabled,omitempty" tf:"enabled"` // Location of the backup configuration. // +optional Location *string `json:"location,omitempty" tf:"location"` // True if Point-in-time recovery is enabled. // +optional PointInTimeRecoveryEnabled *bool `json:"pointInTimeRecoveryEnabled,omitempty" tf:"point_in_time_recovery_enabled"` // HH:MM format time indicating when backup configuration starts. // +optional StartTime *string `json:"startTime,omitempty" tf:"start_time"` // The number of days of transaction logs we retain for point in time restore, from 1-7. // +optional TransactionLogRetentionDays *int64 `json:"transactionLogRetentionDays,omitempty" tf:"transaction_log_retention_days"` }
func (*DatabaseInstanceSpecSettingsBackupConfiguration) DeepCopy ¶
func (in *DatabaseInstanceSpecSettingsBackupConfiguration) DeepCopy() *DatabaseInstanceSpecSettingsBackupConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecSettingsBackupConfiguration.
func (*DatabaseInstanceSpecSettingsBackupConfiguration) DeepCopyInto ¶
func (in *DatabaseInstanceSpecSettingsBackupConfiguration) DeepCopyInto(out *DatabaseInstanceSpecSettingsBackupConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings ¶
type DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings struct { // Number of backups to retain. RetainedBackups *int64 `json:"retainedBackups" tf:"retained_backups"` // The unit that 'retainedBackups' represents. Defaults to COUNT // +optional RetentionUnit *string `json:"retentionUnit,omitempty" tf:"retention_unit"` }
func (*DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings) DeepCopy ¶
func (in *DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings) DeepCopy() *DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings.
func (*DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings) DeepCopyInto ¶
func (in *DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings) DeepCopyInto(out *DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettingsCodec ¶
type DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettingsCodec struct { }
+k8s:deepcopy-gen=false
func (DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettingsCodec) Decode ¶
func (DatabaseInstanceSpecSettingsBackupConfigurationBackupRetentionSettingsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type DatabaseInstanceSpecSettingsBackupConfigurationCodec ¶
type DatabaseInstanceSpecSettingsBackupConfigurationCodec struct { }
+k8s:deepcopy-gen=false
func (DatabaseInstanceSpecSettingsBackupConfigurationCodec) Decode ¶
func (DatabaseInstanceSpecSettingsBackupConfigurationCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type DatabaseInstanceSpecSettingsCodec ¶
type DatabaseInstanceSpecSettingsCodec struct { }
+k8s:deepcopy-gen=false
func (DatabaseInstanceSpecSettingsCodec) Decode ¶
func (DatabaseInstanceSpecSettingsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type DatabaseInstanceSpecSettingsDatabaseFlags ¶
type DatabaseInstanceSpecSettingsDatabaseFlags struct { // Name of the flag. Name *string `json:"name" tf:"name"` // Value of the flag. Value *string `json:"value" tf:"value"` }
func (*DatabaseInstanceSpecSettingsDatabaseFlags) DeepCopy ¶
func (in *DatabaseInstanceSpecSettingsDatabaseFlags) DeepCopy() *DatabaseInstanceSpecSettingsDatabaseFlags
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecSettingsDatabaseFlags.
func (*DatabaseInstanceSpecSettingsDatabaseFlags) DeepCopyInto ¶
func (in *DatabaseInstanceSpecSettingsDatabaseFlags) DeepCopyInto(out *DatabaseInstanceSpecSettingsDatabaseFlags)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecSettingsInsightsConfig ¶
type DatabaseInstanceSpecSettingsInsightsConfig struct { // True if Query Insights feature is enabled. // +optional QueryInsightsEnabled *bool `json:"queryInsightsEnabled,omitempty" tf:"query_insights_enabled"` // Maximum query length stored in bytes. Between 256 and 4500. Default to 1024. // +optional QueryStringLength *int64 `json:"queryStringLength,omitempty" tf:"query_string_length"` // True if Query Insights will record application tags from query when enabled. // +optional RecordApplicationTags *bool `json:"recordApplicationTags,omitempty" tf:"record_application_tags"` // True if Query Insights will record client address when enabled. // +optional RecordClientAddress *bool `json:"recordClientAddress,omitempty" tf:"record_client_address"` }
func (*DatabaseInstanceSpecSettingsInsightsConfig) DeepCopy ¶
func (in *DatabaseInstanceSpecSettingsInsightsConfig) DeepCopy() *DatabaseInstanceSpecSettingsInsightsConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecSettingsInsightsConfig.
func (*DatabaseInstanceSpecSettingsInsightsConfig) DeepCopyInto ¶
func (in *DatabaseInstanceSpecSettingsInsightsConfig) DeepCopyInto(out *DatabaseInstanceSpecSettingsInsightsConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecSettingsInsightsConfigCodec ¶
type DatabaseInstanceSpecSettingsInsightsConfigCodec struct { }
+k8s:deepcopy-gen=false
func (DatabaseInstanceSpecSettingsInsightsConfigCodec) Decode ¶
func (DatabaseInstanceSpecSettingsInsightsConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type DatabaseInstanceSpecSettingsIpConfiguration ¶
type DatabaseInstanceSpecSettingsIpConfiguration struct { // +optional AuthorizedNetworks []DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks `json:"authorizedNetworks,omitempty" tf:"authorized_networks"` // Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured. // +optional Ipv4Enabled *bool `json:"ipv4Enabled,omitempty" tf:"ipv4_enabled"` // The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set. // +optional PrivateNetwork *string `json:"privateNetwork,omitempty" tf:"private_network"` // +optional RequireSsl *bool `json:"requireSsl,omitempty" tf:"require_ssl"` }
func (*DatabaseInstanceSpecSettingsIpConfiguration) DeepCopy ¶
func (in *DatabaseInstanceSpecSettingsIpConfiguration) DeepCopy() *DatabaseInstanceSpecSettingsIpConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecSettingsIpConfiguration.
func (*DatabaseInstanceSpecSettingsIpConfiguration) DeepCopyInto ¶
func (in *DatabaseInstanceSpecSettingsIpConfiguration) DeepCopyInto(out *DatabaseInstanceSpecSettingsIpConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks ¶
type DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks struct { // +optional ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time"` // +optional Name *string `json:"name,omitempty" tf:"name"` Value *string `json:"value" tf:"value"` }
func (*DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks) DeepCopy ¶
func (in *DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks) DeepCopy() *DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks.
func (*DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks) DeepCopyInto ¶
func (in *DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks) DeepCopyInto(out *DatabaseInstanceSpecSettingsIpConfigurationAuthorizedNetworks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecSettingsIpConfigurationCodec ¶
type DatabaseInstanceSpecSettingsIpConfigurationCodec struct { }
+k8s:deepcopy-gen=false
func (DatabaseInstanceSpecSettingsIpConfigurationCodec) Decode ¶
func (DatabaseInstanceSpecSettingsIpConfigurationCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type DatabaseInstanceSpecSettingsLocationPreference ¶
type DatabaseInstanceSpecSettingsLocationPreference struct { // A Google App Engine application whose zone to remain in. Must be in the same region as this instance. // +optional FollowGaeApplication *string `json:"followGaeApplication,omitempty" tf:"follow_gae_application"` // The preferred compute engine zone. // +optional Zone *string `json:"zone,omitempty" tf:"zone"` }
func (*DatabaseInstanceSpecSettingsLocationPreference) DeepCopy ¶
func (in *DatabaseInstanceSpecSettingsLocationPreference) DeepCopy() *DatabaseInstanceSpecSettingsLocationPreference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecSettingsLocationPreference.
func (*DatabaseInstanceSpecSettingsLocationPreference) DeepCopyInto ¶
func (in *DatabaseInstanceSpecSettingsLocationPreference) DeepCopyInto(out *DatabaseInstanceSpecSettingsLocationPreference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecSettingsLocationPreferenceCodec ¶
type DatabaseInstanceSpecSettingsLocationPreferenceCodec struct { }
+k8s:deepcopy-gen=false
func (DatabaseInstanceSpecSettingsLocationPreferenceCodec) Decode ¶
func (DatabaseInstanceSpecSettingsLocationPreferenceCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type DatabaseInstanceSpecSettingsMaintenanceWindow ¶
type DatabaseInstanceSpecSettingsMaintenanceWindow struct { // Day of week (1-7), starting on Monday // +optional Day *int64 `json:"day,omitempty" tf:"day"` // Hour of day (0-23), ignored if day not set // +optional Hour *int64 `json:"hour,omitempty" tf:"hour"` // Receive updates earlier (canary) or later (stable) // +optional UpdateTrack *string `json:"updateTrack,omitempty" tf:"update_track"` }
func (*DatabaseInstanceSpecSettingsMaintenanceWindow) DeepCopy ¶
func (in *DatabaseInstanceSpecSettingsMaintenanceWindow) DeepCopy() *DatabaseInstanceSpecSettingsMaintenanceWindow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpecSettingsMaintenanceWindow.
func (*DatabaseInstanceSpecSettingsMaintenanceWindow) DeepCopyInto ¶
func (in *DatabaseInstanceSpecSettingsMaintenanceWindow) DeepCopyInto(out *DatabaseInstanceSpecSettingsMaintenanceWindow)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpecSettingsMaintenanceWindowCodec ¶
type DatabaseInstanceSpecSettingsMaintenanceWindowCodec struct { }
+k8s:deepcopy-gen=false
func (DatabaseInstanceSpecSettingsMaintenanceWindowCodec) Decode ¶
func (DatabaseInstanceSpecSettingsMaintenanceWindowCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type DatabaseInstanceStatus ¶
type DatabaseInstanceStatus 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 (*DatabaseInstanceStatus) DeepCopy ¶
func (in *DatabaseInstanceStatus) DeepCopy() *DatabaseInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceStatus.
func (*DatabaseInstanceStatus) DeepCopyInto ¶
func (in *DatabaseInstanceStatus) DeepCopyInto(out *DatabaseInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseList ¶
type DatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Database CRD objects Items []Database `json:"items,omitempty"` }
DatabaseList is a list of Databases
func (*DatabaseList) DeepCopy ¶
func (in *DatabaseList) DeepCopy() *DatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList.
func (*DatabaseList) DeepCopyInto ¶
func (in *DatabaseList) DeepCopyInto(out *DatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseList) DeepCopyObject ¶
func (in *DatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseSpec ¶
type DatabaseSpec struct { State *DatabaseSpecResource `json:"state,omitempty" tf:"-"` Resource DatabaseSpecResource `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 (*DatabaseSpec) DeepCopy ¶
func (in *DatabaseSpec) DeepCopy() *DatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.
func (*DatabaseSpec) DeepCopyInto ¶
func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseSpecResource ¶
type DatabaseSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // The charset value. See MySQL's // [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) // and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html) // for more details and supported values. Postgres databases only support // a value of 'UTF8' at creation time. // +optional Charset *string `json:"charset,omitempty" tf:"charset"` // The collation value. See MySQL's // [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) // and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html) // for more details and supported values. Postgres databases only support // a value of 'en_US.UTF8' at creation time. // +optional Collation *string `json:"collation,omitempty" tf:"collation"` // The name of the Cloud SQL instance. This does not include the project // ID. Instance *string `json:"instance" tf:"instance"` // The name of the database in the Cloud SQL instance. // This does not include the project ID or instance name. Name *string `json:"name" tf:"name"` // +optional Project *string `json:"project,omitempty" tf:"project"` // +optional SelfLink *string `json:"selfLink,omitempty" tf:"self_link"` }
func (*DatabaseSpecResource) DeepCopy ¶
func (in *DatabaseSpecResource) DeepCopy() *DatabaseSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpecResource.
func (*DatabaseSpecResource) DeepCopyInto ¶
func (in *DatabaseSpecResource) DeepCopyInto(out *DatabaseSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseStatus ¶
type DatabaseStatus 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 (*DatabaseStatus) DeepCopy ¶
func (in *DatabaseStatus) DeepCopy() *DatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus.
func (*DatabaseStatus) DeepCopyInto ¶
func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceRepresentationInstance ¶
type SourceRepresentationInstance struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SourceRepresentationInstanceSpec `json:"spec,omitempty"` Status SourceRepresentationInstanceStatus `json:"status,omitempty"` }
func (*SourceRepresentationInstance) DeepCopy ¶
func (in *SourceRepresentationInstance) DeepCopy() *SourceRepresentationInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstance.
func (*SourceRepresentationInstance) DeepCopyInto ¶
func (in *SourceRepresentationInstance) DeepCopyInto(out *SourceRepresentationInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SourceRepresentationInstance) DeepCopyObject ¶
func (in *SourceRepresentationInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SourceRepresentationInstance) SetupWebhookWithManager ¶
func (r *SourceRepresentationInstance) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*SourceRepresentationInstance) ValidateCreate ¶
func (r *SourceRepresentationInstance) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*SourceRepresentationInstance) ValidateDelete ¶
func (r *SourceRepresentationInstance) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*SourceRepresentationInstance) ValidateUpdate ¶
func (r *SourceRepresentationInstance) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type SourceRepresentationInstanceList ¶
type SourceRepresentationInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of SourceRepresentationInstance CRD objects Items []SourceRepresentationInstance `json:"items,omitempty"` }
SourceRepresentationInstanceList is a list of SourceRepresentationInstances
func (*SourceRepresentationInstanceList) DeepCopy ¶
func (in *SourceRepresentationInstanceList) DeepCopy() *SourceRepresentationInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceList.
func (*SourceRepresentationInstanceList) DeepCopyInto ¶
func (in *SourceRepresentationInstanceList) DeepCopyInto(out *SourceRepresentationInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SourceRepresentationInstanceList) DeepCopyObject ¶
func (in *SourceRepresentationInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SourceRepresentationInstanceSpec ¶
type SourceRepresentationInstanceSpec struct { State *SourceRepresentationInstanceSpecResource `json:"state,omitempty" tf:"-"` Resource SourceRepresentationInstanceSpecResource `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 (*SourceRepresentationInstanceSpec) DeepCopy ¶
func (in *SourceRepresentationInstanceSpec) DeepCopy() *SourceRepresentationInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceSpec.
func (*SourceRepresentationInstanceSpec) DeepCopyInto ¶
func (in *SourceRepresentationInstanceSpec) DeepCopyInto(out *SourceRepresentationInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceRepresentationInstanceSpecResource ¶
type SourceRepresentationInstanceSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // The MySQL version running on your source database server. Possible values: ["MYSQL_5_5", "MYSQL_5_6", "MYSQL_5_7", "MYSQL_8_0"] DatabaseVersion *string `json:"databaseVersion" tf:"database_version"` // The externally accessible IPv4 address for the source database server. Host *string `json:"host" tf:"host"` // The name of the source representation instance. Use any valid Cloud SQL instance name. Name *string `json:"name" tf:"name"` // The externally accessible port for the source database server. // Defaults to 3306. // +optional Port *int64 `json:"port,omitempty" tf:"port"` // +optional Project *string `json:"project,omitempty" tf:"project"` // The Region in which the created instance should reside. // If it is not provided, the provider region is used. // +optional Region *string `json:"region,omitempty" tf:"region"` }
func (*SourceRepresentationInstanceSpecResource) DeepCopy ¶
func (in *SourceRepresentationInstanceSpecResource) DeepCopy() *SourceRepresentationInstanceSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceSpecResource.
func (*SourceRepresentationInstanceSpecResource) DeepCopyInto ¶
func (in *SourceRepresentationInstanceSpecResource) DeepCopyInto(out *SourceRepresentationInstanceSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceRepresentationInstanceStatus ¶
type SourceRepresentationInstanceStatus 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 (*SourceRepresentationInstanceStatus) DeepCopy ¶
func (in *SourceRepresentationInstanceStatus) DeepCopy() *SourceRepresentationInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceStatus.
func (*SourceRepresentationInstanceStatus) DeepCopyInto ¶
func (in *SourceRepresentationInstanceStatus) DeepCopyInto(out *SourceRepresentationInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SslCert ¶
type SslCert struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SslCertSpec `json:"spec,omitempty"` Status SslCertStatus `json:"status,omitempty"` }
func (*SslCert) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslCert.
func (*SslCert) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SslCert) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SslCert) SetupWebhookWithManager ¶
func (*SslCert) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*SslCert) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type SslCertList ¶
type SslCertList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of SslCert CRD objects Items []SslCert `json:"items,omitempty"` }
SslCertList is a list of SslCerts
func (*SslCertList) DeepCopy ¶
func (in *SslCertList) DeepCopy() *SslCertList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslCertList.
func (*SslCertList) DeepCopyInto ¶
func (in *SslCertList) DeepCopyInto(out *SslCertList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SslCertList) DeepCopyObject ¶
func (in *SslCertList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SslCertSpec ¶
type SslCertSpec struct { State *SslCertSpecResource `json:"state,omitempty" tf:"-"` Resource SslCertSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*SslCertSpec) DeepCopy ¶
func (in *SslCertSpec) DeepCopy() *SslCertSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslCertSpec.
func (*SslCertSpec) DeepCopyInto ¶
func (in *SslCertSpec) DeepCopyInto(out *SslCertSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SslCertSpecResource ¶
type SslCertSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // The actual certificate data for this client certificate. // +optional Cert *string `json:"cert,omitempty" tf:"cert"` // The serial number extracted from the certificate data. // +optional CertSerialNumber *string `json:"certSerialNumber,omitempty" tf:"cert_serial_number"` // The common name to be used in the certificate to identify the client. Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created. CommonName *string `json:"commonName" tf:"common_name"` // The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. // +optional CreateTime *string `json:"createTime,omitempty" tf:"create_time"` // The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. // +optional ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time"` // The name of the Cloud SQL instance. Changing this forces a new resource to be created. Instance *string `json:"instance" tf:"instance"` // The private key associated with the client certificate. // +optional PrivateKey *string `json:"-" sensitive:"true" tf:"private_key"` // 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 CA cert of the server this client cert was generated from. // +optional ServerCaCert *string `json:"serverCaCert,omitempty" tf:"server_ca_cert"` // The SHA1 Fingerprint of the certificate. // +optional Sha1Fingerprint *string `json:"sha1Fingerprint,omitempty" tf:"sha1_fingerprint"` }
func (*SslCertSpecResource) DeepCopy ¶
func (in *SslCertSpecResource) DeepCopy() *SslCertSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslCertSpecResource.
func (*SslCertSpecResource) DeepCopyInto ¶
func (in *SslCertSpecResource) DeepCopyInto(out *SslCertSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SslCertStatus ¶
type SslCertStatus 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 (*SslCertStatus) DeepCopy ¶
func (in *SslCertStatus) DeepCopy() *SslCertStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslCertStatus.
func (*SslCertStatus) DeepCopyInto ¶
func (in *SslCertStatus) DeepCopyInto(out *SslCertStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec,omitempty"` Status UserStatus `json:"status,omitempty"` }
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) SetupWebhookWithManager ¶
func (*User) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*User) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of User CRD objects Items []User `json:"items,omitempty"` }
UserList is a list of Users
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserSpec ¶
type UserSpec struct { State *UserSpecResource `json:"state,omitempty" tf:"-"` Resource UserSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserSpecResource ¶
type UserSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // The deletion policy for the user. Setting ABANDON allows the resource // to be abandoned rather than deleted. This is useful for Postgres, where users cannot be deleted from the API if they // have been granted SQL roles. Possible values are: "ABANDON". // +optional DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy"` // The host the user can connect from. This is only supported for MySQL instances. Don't set this field for PostgreSQL instances. Can be an IP address. Changing this forces a new resource to be created. // +optional Host *string `json:"host,omitempty" tf:"host"` // The name of the Cloud SQL instance. Changing this forces a new resource to be created. Instance *string `json:"instance" tf:"instance"` // The name of the user. Changing this forces a new resource to be created. Name *string `json:"name" tf:"name"` // The password for the user. Can be updated. For Postgres instances this is a Required field, unless type is set to // either CLOUD_IAM_USER or CLOUD_IAM_SERVICE_ACCOUNT. // +optional Password *string `json:"-" sensitive:"true" tf:"password"` // 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 user type. It determines the method to authenticate the user during login. // The default is the database's built-in user type. Flags include "BUILT_IN", "CLOUD_IAM_USER", or "CLOUD_IAM_SERVICE_ACCOUNT". // +optional Type *string `json:"type,omitempty" tf:"type"` }
func (*UserSpecResource) DeepCopy ¶
func (in *UserSpecResource) DeepCopy() *UserSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpecResource.
func (*UserSpecResource) DeepCopyInto ¶
func (in *UserSpecResource) DeepCopyInto(out *UserSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus 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 (*UserStatus) DeepCopy ¶
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.