Documentation ¶
Overview ¶
Generate deepcopy object for sql/v1beta1 API group
Package v1beta1 contains API Schema definitions for the sql v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/sql +k8s:defaulter-gen=TypeMeta +groupName=sql.cnrm.cloud.google.com
Index ¶
- Variables
- type InstanceActiveDirectoryConfig
- type InstanceAuthorizedNetworks
- type InstanceBackupConfiguration
- type InstanceBackupRetentionSettings
- type InstanceDatabaseFlags
- type InstanceInsightsConfig
- type InstanceIpAddressStatus
- type InstanceIpConfiguration
- type InstanceLocationPreference
- type InstanceMaintenanceWindow
- type InstancePassword
- type InstanceReplicaConfiguration
- type InstanceRootPassword
- type InstanceServerCaCertStatus
- type InstanceSettings
- type InstanceValueFrom
- type SQLDatabase
- type SQLDatabaseList
- type SQLDatabaseSpec
- type SQLDatabaseStatus
- type SQLInstance
- type SQLInstanceList
- type SQLInstanceSpec
- type SQLInstanceStatus
- type SQLSSLCert
- type SQLSSLCertList
- type SQLSSLCertSpec
- type SQLSSLCertStatus
- type SQLUser
- type SQLUserList
- type SQLUserSpec
- type SQLUserStatus
- type UserPassword
- type UserSqlServerUserDetails
- type UserValueFrom
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "sql.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme SQLDatabaseGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(SQLDatabase{}).Name(), } SQLInstanceGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(SQLInstance{}).Name(), } SQLSSLCertGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(SQLSSLCert{}).Name(), } SQLUserGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(SQLUser{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type InstanceActiveDirectoryConfig ¶ added in v1.87.0
type InstanceActiveDirectoryConfig struct { /* Domain name of the Active Directory for SQL Server (e.g., mydomain.com). */ Domain string `json:"domain"` }
func (*InstanceActiveDirectoryConfig) DeepCopy ¶ added in v1.87.0
func (in *InstanceActiveDirectoryConfig) DeepCopy() *InstanceActiveDirectoryConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceActiveDirectoryConfig.
func (*InstanceActiveDirectoryConfig) DeepCopyInto ¶ added in v1.87.0
func (in *InstanceActiveDirectoryConfig) DeepCopyInto(out *InstanceActiveDirectoryConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceAuthorizedNetworks ¶
type InstanceAuthorizedNetworks struct { /* */ // +optional ExpirationTime *string `json:"expirationTime,omitempty"` /* */ // +optional Name *string `json:"name,omitempty"` /* */ Value string `json:"value"` }
func (*InstanceAuthorizedNetworks) DeepCopy ¶
func (in *InstanceAuthorizedNetworks) DeepCopy() *InstanceAuthorizedNetworks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceAuthorizedNetworks.
func (*InstanceAuthorizedNetworks) DeepCopyInto ¶
func (in *InstanceAuthorizedNetworks) DeepCopyInto(out *InstanceAuthorizedNetworks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceBackupConfiguration ¶
type InstanceBackupConfiguration struct { /* */ // +optional BackupRetentionSettings *InstanceBackupRetentionSettings `json:"backupRetentionSettings,omitempty"` /* True if binary logging is enabled. If settings.backup_configuration.enabled is false, this must be as well. Can only be used with MySQL. */ // +optional BinaryLogEnabled *bool `json:"binaryLogEnabled,omitempty"` /* True if backup configuration is enabled. */ // +optional Enabled *bool `json:"enabled,omitempty"` /* Location of the backup configuration. */ // +optional Location *string `json:"location,omitempty"` /* True if Point-in-time recovery is enabled. */ // +optional PointInTimeRecoveryEnabled *bool `json:"pointInTimeRecoveryEnabled,omitempty"` /* HH:MM format time indicating when backup configuration starts. */ // +optional StartTime *string `json:"startTime,omitempty"` /* The number of days of transaction logs we retain for point in time restore, from 1-7. */ // +optional TransactionLogRetentionDays *int `json:"transactionLogRetentionDays,omitempty"` }
func (*InstanceBackupConfiguration) DeepCopy ¶
func (in *InstanceBackupConfiguration) DeepCopy() *InstanceBackupConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceBackupConfiguration.
func (*InstanceBackupConfiguration) DeepCopyInto ¶
func (in *InstanceBackupConfiguration) DeepCopyInto(out *InstanceBackupConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceBackupRetentionSettings ¶
type InstanceBackupRetentionSettings struct { /* Number of backups to retain. */ RetainedBackups int `json:"retainedBackups"` /* The unit that 'retainedBackups' represents. Defaults to COUNT. */ // +optional RetentionUnit *string `json:"retentionUnit,omitempty"` }
func (*InstanceBackupRetentionSettings) DeepCopy ¶
func (in *InstanceBackupRetentionSettings) DeepCopy() *InstanceBackupRetentionSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceBackupRetentionSettings.
func (*InstanceBackupRetentionSettings) DeepCopyInto ¶
func (in *InstanceBackupRetentionSettings) DeepCopyInto(out *InstanceBackupRetentionSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceDatabaseFlags ¶
type InstanceDatabaseFlags struct { /* Name of the flag. */ Name string `json:"name"` /* Value of the flag. */ Value string `json:"value"` }
func (*InstanceDatabaseFlags) DeepCopy ¶
func (in *InstanceDatabaseFlags) DeepCopy() *InstanceDatabaseFlags
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceDatabaseFlags.
func (*InstanceDatabaseFlags) DeepCopyInto ¶
func (in *InstanceDatabaseFlags) DeepCopyInto(out *InstanceDatabaseFlags)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceInsightsConfig ¶
type InstanceInsightsConfig struct { /* True if Query Insights feature is enabled. */ // +optional QueryInsightsEnabled *bool `json:"queryInsightsEnabled,omitempty"` /* Maximum query length stored in bytes. Between 256 and 4500. Default to 1024. */ // +optional QueryStringLength *int `json:"queryStringLength,omitempty"` /* True if Query Insights will record application tags from query when enabled. */ // +optional RecordApplicationTags *bool `json:"recordApplicationTags,omitempty"` /* True if Query Insights will record client address when enabled. */ // +optional RecordClientAddress *bool `json:"recordClientAddress,omitempty"` }
func (*InstanceInsightsConfig) DeepCopy ¶
func (in *InstanceInsightsConfig) DeepCopy() *InstanceInsightsConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceInsightsConfig.
func (*InstanceInsightsConfig) DeepCopyInto ¶
func (in *InstanceInsightsConfig) DeepCopyInto(out *InstanceInsightsConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceIpAddressStatus ¶
type InstanceIpAddressStatus struct { /* */ IpAddress string `json:"ipAddress,omitempty"` /* */ TimeToRetire string `json:"timeToRetire,omitempty"` /* */ Type string `json:"type,omitempty"` }
func (*InstanceIpAddressStatus) DeepCopy ¶
func (in *InstanceIpAddressStatus) DeepCopy() *InstanceIpAddressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceIpAddressStatus.
func (*InstanceIpAddressStatus) DeepCopyInto ¶
func (in *InstanceIpAddressStatus) DeepCopyInto(out *InstanceIpAddressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceIpConfiguration ¶
type InstanceIpConfiguration struct { /* The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. */ // +optional AllocatedIpRange *string `json:"allocatedIpRange,omitempty"` /* */ // +optional AuthorizedNetworks []InstanceAuthorizedNetworks `json:"authorizedNetworks,omitempty"` /* 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"` /* */ // +optional PrivateNetworkRef *v1alpha1.ResourceRef `json:"privateNetworkRef,omitempty"` /* */ // +optional RequireSsl *bool `json:"requireSsl,omitempty"` }
func (*InstanceIpConfiguration) DeepCopy ¶
func (in *InstanceIpConfiguration) DeepCopy() *InstanceIpConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceIpConfiguration.
func (*InstanceIpConfiguration) DeepCopyInto ¶
func (in *InstanceIpConfiguration) DeepCopyInto(out *InstanceIpConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceLocationPreference ¶
type InstanceLocationPreference 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"` /* The preferred compute engine zone. */ // +optional Zone *string `json:"zone,omitempty"` }
func (*InstanceLocationPreference) DeepCopy ¶
func (in *InstanceLocationPreference) DeepCopy() *InstanceLocationPreference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceLocationPreference.
func (*InstanceLocationPreference) DeepCopyInto ¶
func (in *InstanceLocationPreference) DeepCopyInto(out *InstanceLocationPreference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceMaintenanceWindow ¶
type InstanceMaintenanceWindow struct { /* Day of week (1-7), starting on Monday. */ // +optional Day *int `json:"day,omitempty"` /* Hour of day (0-23), ignored if day not set. */ // +optional Hour *int `json:"hour,omitempty"` /* Receive updates earlier (canary) or later (stable). */ // +optional UpdateTrack *string `json:"updateTrack,omitempty"` }
func (*InstanceMaintenanceWindow) DeepCopy ¶
func (in *InstanceMaintenanceWindow) DeepCopy() *InstanceMaintenanceWindow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMaintenanceWindow.
func (*InstanceMaintenanceWindow) DeepCopyInto ¶
func (in *InstanceMaintenanceWindow) DeepCopyInto(out *InstanceMaintenanceWindow)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstancePassword ¶
type InstancePassword struct { /* Value of the field. Cannot be used if 'valueFrom' is specified. */ // +optional Value *string `json:"value,omitempty"` /* Source for the field's value. Cannot be used if 'value' is specified. */ // +optional ValueFrom *InstanceValueFrom `json:"valueFrom,omitempty"` }
func (*InstancePassword) DeepCopy ¶
func (in *InstancePassword) DeepCopy() *InstancePassword
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancePassword.
func (*InstancePassword) DeepCopyInto ¶
func (in *InstancePassword) DeepCopyInto(out *InstancePassword)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceReplicaConfiguration ¶
type InstanceReplicaConfiguration struct { /* Immutable. PEM representation of the trusted CA's x509 certificate. */ // +optional CaCertificate *string `json:"caCertificate,omitempty"` /* Immutable. PEM representation of the replica's x509 certificate. */ // +optional ClientCertificate *string `json:"clientCertificate,omitempty"` /* Immutable. PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate. */ // +optional ClientKey *string `json:"clientKey,omitempty"` /* Immutable. The number of seconds between connect retries. */ // +optional ConnectRetryInterval *int `json:"connectRetryInterval,omitempty"` /* Immutable. 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"` /* Immutable. 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"` /* Immutable. Time in ms between replication heartbeats. */ // +optional MasterHeartbeatPeriod *int `json:"masterHeartbeatPeriod,omitempty"` /* Immutable. Password for the replication connection. */ // +optional Password *InstancePassword `json:"password,omitempty"` /* Immutable. Permissible ciphers for use in SSL encryption. */ // +optional SslCipher *string `json:"sslCipher,omitempty"` /* Immutable. Username for replication connection. */ // +optional Username *string `json:"username,omitempty"` /* Immutable. True if the master's common name value is checked during the SSL handshake. */ // +optional VerifyServerCertificate *bool `json:"verifyServerCertificate,omitempty"` }
func (*InstanceReplicaConfiguration) DeepCopy ¶
func (in *InstanceReplicaConfiguration) DeepCopy() *InstanceReplicaConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceReplicaConfiguration.
func (*InstanceReplicaConfiguration) DeepCopyInto ¶
func (in *InstanceReplicaConfiguration) DeepCopyInto(out *InstanceReplicaConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceRootPassword ¶
type InstanceRootPassword struct { /* Value of the field. Cannot be used if 'valueFrom' is specified. */ // +optional Value *string `json:"value,omitempty"` /* Source for the field's value. Cannot be used if 'value' is specified. */ // +optional ValueFrom *InstanceValueFrom `json:"valueFrom,omitempty"` }
func (*InstanceRootPassword) DeepCopy ¶
func (in *InstanceRootPassword) DeepCopy() *InstanceRootPassword
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRootPassword.
func (*InstanceRootPassword) DeepCopyInto ¶
func (in *InstanceRootPassword) DeepCopyInto(out *InstanceRootPassword)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceServerCaCertStatus ¶
type InstanceServerCaCertStatus struct { /* The CA Certificate used to connect to the SQL Instance via SSL. */ Cert string `json:"cert,omitempty"` /* The CN valid for the CA Cert. */ CommonName string `json:"commonName,omitempty"` /* Creation time of the CA Cert. */ CreateTime string `json:"createTime,omitempty"` /* Expiration time of the CA Cert. */ ExpirationTime string `json:"expirationTime,omitempty"` /* SHA Fingerprint of the CA Cert. */ Sha1Fingerprint string `json:"sha1Fingerprint,omitempty"` }
func (*InstanceServerCaCertStatus) DeepCopy ¶
func (in *InstanceServerCaCertStatus) DeepCopy() *InstanceServerCaCertStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceServerCaCertStatus.
func (*InstanceServerCaCertStatus) DeepCopyInto ¶
func (in *InstanceServerCaCertStatus) DeepCopyInto(out *InstanceServerCaCertStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSettings ¶
type InstanceSettings struct { /* This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND. */ // +optional ActivationPolicy *string `json:"activationPolicy,omitempty"` /* */ // +optional ActiveDirectoryConfig *InstanceActiveDirectoryConfig `json:"activeDirectoryConfig,omitempty"` /* DEPRECATED. This property is only applicable to First Generation instances, and 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. Specifying this field has no-ops; it's recommended to remove this field from your configuration. */ // +optional AuthorizedGaeApplications []string `json:"authorizedGaeApplications,omitempty"` /* The availability type of the Cloud SQL instance, high availability (REGIONAL) or single zone (ZONAL). For all instances, ensure that settings.backup_configuration.enabled is set to true. For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. For Postgres instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled is set to true. */ // +optional AvailabilityType *string `json:"availabilityType,omitempty"` /* */ // +optional BackupConfiguration *InstanceBackupConfiguration `json:"backupConfiguration,omitempty"` /* The name of server instance collation. */ // +optional Collation *string `json:"collation,omitempty"` /* DEPRECATED. This property is only applicable to First Generation instances, and 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. Specifying this field has no-ops; it's recommended to remove this field from your configuration. */ // +optional CrashSafeReplication *bool `json:"crashSafeReplication,omitempty"` /* */ // +optional DatabaseFlags []InstanceDatabaseFlags `json:"databaseFlags,omitempty"` /* Enables auto-resizing of the storage size. Defaults to true. Set to false if you want to set disk_size. */ // +optional DiskAutoresize *bool `json:"diskAutoresize,omitempty"` /* 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 *int `json:"diskAutoresizeLimit,omitempty"` /* The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. If you want to set this field, set disk_autoresize to false. */ // +optional DiskSize *int `json:"diskSize,omitempty"` /* The type of data disk: PD_SSD or PD_HDD. */ // +optional DiskType *string `json:"diskType,omitempty"` /* Configuration of Query Insights. */ // +optional InsightsConfig *InstanceInsightsConfig `json:"insightsConfig,omitempty"` /* */ // +optional IpConfiguration *InstanceIpConfiguration `json:"ipConfiguration,omitempty"` /* */ // +optional LocationPreference *InstanceLocationPreference `json:"locationPreference,omitempty"` /* 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 *InstanceMaintenanceWindow `json:"maintenanceWindow,omitempty"` /* Pricing plan for this instance, can only be PER_USE. */ // +optional PricingPlan *string `json:"pricingPlan,omitempty"` /* DEPRECATED. This property is only applicable to First Generation instances, and 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. Specifying this field has no-ops; it's recommended to remove this field from your configuration. */ // +optional ReplicationType *string `json:"replicationType,omitempty"` /* 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"` }
func (*InstanceSettings) DeepCopy ¶
func (in *InstanceSettings) DeepCopy() *InstanceSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSettings.
func (*InstanceSettings) DeepCopyInto ¶
func (in *InstanceSettings) DeepCopyInto(out *InstanceSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceValueFrom ¶
type InstanceValueFrom struct { /* Reference to a value with the given key in the given Secret in the resource's namespace. */ // +optional SecretKeyRef *v1alpha1.ResourceRef `json:"secretKeyRef,omitempty"` }
func (*InstanceValueFrom) DeepCopy ¶
func (in *InstanceValueFrom) DeepCopy() *InstanceValueFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceValueFrom.
func (*InstanceValueFrom) DeepCopyInto ¶
func (in *InstanceValueFrom) DeepCopyInto(out *InstanceValueFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLDatabase ¶
type SQLDatabase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SQLDatabaseSpec `json:"spec,omitempty"` Status SQLDatabaseStatus `json:"status,omitempty"` }
SQLDatabase is the Schema for the sql API +k8s:openapi-gen=true
func (*SQLDatabase) DeepCopy ¶
func (in *SQLDatabase) DeepCopy() *SQLDatabase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLDatabase.
func (*SQLDatabase) DeepCopyInto ¶
func (in *SQLDatabase) DeepCopyInto(out *SQLDatabase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SQLDatabase) DeepCopyObject ¶
func (in *SQLDatabase) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SQLDatabaseList ¶
type SQLDatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SQLDatabase `json:"items"` }
SQLDatabaseList contains a list of SQLDatabase
func (*SQLDatabaseList) DeepCopy ¶
func (in *SQLDatabaseList) DeepCopy() *SQLDatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLDatabaseList.
func (*SQLDatabaseList) DeepCopyInto ¶
func (in *SQLDatabaseList) DeepCopyInto(out *SQLDatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SQLDatabaseList) DeepCopyObject ¶
func (in *SQLDatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SQLDatabaseSpec ¶
type SQLDatabaseSpec struct { /* 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"` /* 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"` /* The Cloud SQL instance. */ InstanceRef v1alpha1.ResourceRef `json:"instanceRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` }
func (*SQLDatabaseSpec) DeepCopy ¶
func (in *SQLDatabaseSpec) DeepCopy() *SQLDatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLDatabaseSpec.
func (*SQLDatabaseSpec) DeepCopyInto ¶
func (in *SQLDatabaseSpec) DeepCopyInto(out *SQLDatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLDatabaseStatus ¶
type SQLDatabaseStatus struct { /* Conditions represent the latest available observations of the SQLDatabase's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* */ SelfLink string `json:"selfLink,omitempty"` }
func (*SQLDatabaseStatus) DeepCopy ¶
func (in *SQLDatabaseStatus) DeepCopy() *SQLDatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLDatabaseStatus.
func (*SQLDatabaseStatus) DeepCopyInto ¶
func (in *SQLDatabaseStatus) DeepCopyInto(out *SQLDatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLInstance ¶
type SQLInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SQLInstanceSpec `json:"spec,omitempty"` Status SQLInstanceStatus `json:"status,omitempty"` }
SQLInstance is the Schema for the sql API +k8s:openapi-gen=true
func (*SQLInstance) DeepCopy ¶
func (in *SQLInstance) DeepCopy() *SQLInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLInstance.
func (*SQLInstance) DeepCopyInto ¶
func (in *SQLInstance) DeepCopyInto(out *SQLInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SQLInstance) DeepCopyObject ¶
func (in *SQLInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SQLInstanceList ¶
type SQLInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SQLInstance `json:"items"` }
SQLInstanceList contains a list of SQLInstance
func (*SQLInstanceList) DeepCopy ¶
func (in *SQLInstanceList) DeepCopy() *SQLInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLInstanceList.
func (*SQLInstanceList) DeepCopyInto ¶
func (in *SQLInstanceList) DeepCopyInto(out *SQLInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SQLInstanceList) DeepCopyObject ¶
func (in *SQLInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SQLInstanceSpec ¶
type SQLInstanceSpec struct { /* Immutable. 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, POSTGRES_14, 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"` /* */ // +optional EncryptionKMSCryptoKeyRef *v1alpha1.ResourceRef `json:"encryptionKMSCryptoKeyRef,omitempty"` /* */ // +optional MasterInstanceRef *v1alpha1.ResourceRef `json:"masterInstanceRef,omitempty"` /* Immutable. 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"` /* The configuration for replication. */ // +optional ReplicaConfiguration *InstanceReplicaConfiguration `json:"replicaConfiguration,omitempty"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Immutable. Initial root password. Required for MS SQL Server, ignored by MySQL and PostgreSQL. */ // +optional RootPassword *InstanceRootPassword `json:"rootPassword,omitempty"` /* The settings to use for the database. The configuration is detailed below. */ Settings InstanceSettings `json:"settings"` }
func (*SQLInstanceSpec) DeepCopy ¶
func (in *SQLInstanceSpec) DeepCopy() *SQLInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLInstanceSpec.
func (*SQLInstanceSpec) DeepCopyInto ¶
func (in *SQLInstanceSpec) DeepCopyInto(out *SQLInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLInstanceStatus ¶
type SQLInstanceStatus struct { /* Conditions represent the latest available observations of the SQLInstance's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The connection name of the instance to be used in connection strings. For example, when connecting with Cloud SQL Proxy. */ ConnectionName string `json:"connectionName,omitempty"` /* */ FirstIpAddress string `json:"firstIpAddress,omitempty"` /* */ IpAddress []InstanceIpAddressStatus `json:"ipAddress,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* */ PrivateIpAddress string `json:"privateIpAddress,omitempty"` /* */ PublicIpAddress string `json:"publicIpAddress,omitempty"` /* The URI of the created resource. */ SelfLink string `json:"selfLink,omitempty"` /* */ ServerCaCert InstanceServerCaCertStatus `json:"serverCaCert,omitempty"` /* The service account email address assigned to the instance. */ ServiceAccountEmailAddress string `json:"serviceAccountEmailAddress,omitempty"` }
func (*SQLInstanceStatus) DeepCopy ¶
func (in *SQLInstanceStatus) DeepCopy() *SQLInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLInstanceStatus.
func (*SQLInstanceStatus) DeepCopyInto ¶
func (in *SQLInstanceStatus) DeepCopyInto(out *SQLInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLSSLCert ¶
type SQLSSLCert struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SQLSSLCertSpec `json:"spec,omitempty"` Status SQLSSLCertStatus `json:"status,omitempty"` }
SQLSSLCert is the Schema for the sql API +k8s:openapi-gen=true
func (*SQLSSLCert) DeepCopy ¶
func (in *SQLSSLCert) DeepCopy() *SQLSSLCert
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLSSLCert.
func (*SQLSSLCert) DeepCopyInto ¶
func (in *SQLSSLCert) DeepCopyInto(out *SQLSSLCert)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SQLSSLCert) DeepCopyObject ¶
func (in *SQLSSLCert) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SQLSSLCertList ¶
type SQLSSLCertList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SQLSSLCert `json:"items"` }
SQLSSLCertList contains a list of SQLSSLCert
func (*SQLSSLCertList) DeepCopy ¶
func (in *SQLSSLCertList) DeepCopy() *SQLSSLCertList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLSSLCertList.
func (*SQLSSLCertList) DeepCopyInto ¶
func (in *SQLSSLCertList) DeepCopyInto(out *SQLSSLCertList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SQLSSLCertList) DeepCopyObject ¶
func (in *SQLSSLCertList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SQLSSLCertSpec ¶
type SQLSSLCertSpec struct { /* Immutable. 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"` /* The Cloud SQL instance. */ InstanceRef v1alpha1.ResourceRef `json:"instanceRef"` /* Immutable. Optional. The service-generated sha1Fingerprint of the resource. Used for acquisition only. Leave unset to create a new resource. */ // +optional ResourceID *string `json:"resourceID,omitempty"` }
func (*SQLSSLCertSpec) DeepCopy ¶
func (in *SQLSSLCertSpec) DeepCopy() *SQLSSLCertSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLSSLCertSpec.
func (*SQLSSLCertSpec) DeepCopyInto ¶
func (in *SQLSSLCertSpec) DeepCopyInto(out *SQLSSLCertSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLSSLCertStatus ¶
type SQLSSLCertStatus struct { /* Conditions represent the latest available observations of the SQLSSLCert's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The actual certificate data for this client certificate. */ Cert string `json:"cert,omitempty"` /* The serial number extracted from the certificate data. */ CertSerialNumber string `json:"certSerialNumber,omitempty"` /* The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */ CreateTime string `json:"createTime,omitempty"` /* The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */ ExpirationTime string `json:"expirationTime,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* The private key associated with the client certificate. */ PrivateKey string `json:"privateKey,omitempty"` /* The CA cert of the server this client cert was generated from. */ ServerCaCert string `json:"serverCaCert,omitempty"` /* The SHA1 Fingerprint of the certificate. */ Sha1Fingerprint string `json:"sha1Fingerprint,omitempty"` }
func (*SQLSSLCertStatus) DeepCopy ¶
func (in *SQLSSLCertStatus) DeepCopy() *SQLSSLCertStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLSSLCertStatus.
func (*SQLSSLCertStatus) DeepCopyInto ¶
func (in *SQLSSLCertStatus) DeepCopyInto(out *SQLSSLCertStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLUser ¶
type SQLUser struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SQLUserSpec `json:"spec,omitempty"` Status SQLUserStatus `json:"status,omitempty"` }
SQLUser is the Schema for the sql API +k8s:openapi-gen=true
func (*SQLUser) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLUser.
func (*SQLUser) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SQLUser) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SQLUserList ¶
type SQLUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SQLUser `json:"items"` }
SQLUserList contains a list of SQLUser
func (*SQLUserList) DeepCopy ¶
func (in *SQLUserList) DeepCopy() *SQLUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLUserList.
func (*SQLUserList) DeepCopyInto ¶
func (in *SQLUserList) DeepCopyInto(out *SQLUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SQLUserList) DeepCopyObject ¶
func (in *SQLUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SQLUserSpec ¶
type SQLUserSpec struct { /* Immutable. 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"` /* */ InstanceRef v1alpha1.ResourceRef `json:"instanceRef"` /* 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 *UserPassword `json:"password,omitempty"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* */ // +optional SqlServerUserDetails *UserSqlServerUserDetails `json:"sqlServerUserDetails,omitempty"` /* Immutable. 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"` }
func (*SQLUserSpec) DeepCopy ¶
func (in *SQLUserSpec) DeepCopy() *SQLUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLUserSpec.
func (*SQLUserSpec) DeepCopyInto ¶
func (in *SQLUserSpec) DeepCopyInto(out *SQLUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLUserStatus ¶
type SQLUserStatus struct { /* Conditions represent the latest available observations of the SQLUser's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` }
func (*SQLUserStatus) DeepCopy ¶
func (in *SQLUserStatus) DeepCopy() *SQLUserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLUserStatus.
func (*SQLUserStatus) DeepCopyInto ¶
func (in *SQLUserStatus) DeepCopyInto(out *SQLUserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserPassword ¶
type UserPassword struct { /* Value of the field. Cannot be used if 'valueFrom' is specified. */ // +optional Value *string `json:"value,omitempty"` /* Source for the field's value. Cannot be used if 'value' is specified. */ // +optional ValueFrom *UserValueFrom `json:"valueFrom,omitempty"` }
func (*UserPassword) DeepCopy ¶
func (in *UserPassword) DeepCopy() *UserPassword
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserPassword.
func (*UserPassword) DeepCopyInto ¶
func (in *UserPassword) DeepCopyInto(out *UserPassword)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserSqlServerUserDetails ¶ added in v1.90.0
type UserSqlServerUserDetails struct { /* If the user has been disabled. */ // +optional Disabled *bool `json:"disabled,omitempty"` /* The server roles for this user in the database. */ // +optional ServerRoles []string `json:"serverRoles,omitempty"` }
func (*UserSqlServerUserDetails) DeepCopy ¶ added in v1.90.0
func (in *UserSqlServerUserDetails) DeepCopy() *UserSqlServerUserDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSqlServerUserDetails.
func (*UserSqlServerUserDetails) DeepCopyInto ¶ added in v1.90.0
func (in *UserSqlServerUserDetails) DeepCopyInto(out *UserSqlServerUserDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserValueFrom ¶
type UserValueFrom struct { /* Reference to a value with the given key in the given Secret in the resource's namespace. */ // +optional SecretKeyRef *v1alpha1.ResourceRef `json:"secretKeyRef,omitempty"` }
func (*UserValueFrom) DeepCopy ¶
func (in *UserValueFrom) DeepCopy() *UserValueFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserValueFrom.
func (*UserValueFrom) DeepCopyInto ¶
func (in *UserValueFrom) DeepCopyInto(out *UserValueFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.