...

Package v1beta1

import "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/sql/v1beta1"
Overview
Index

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
    func (in *InstanceActiveDirectoryConfig) DeepCopy() *InstanceActiveDirectoryConfig
    func (in *InstanceActiveDirectoryConfig) DeepCopyInto(out *InstanceActiveDirectoryConfig)
type InstanceAdvancedMachineFeatures
    func (in *InstanceAdvancedMachineFeatures) DeepCopy() *InstanceAdvancedMachineFeatures
    func (in *InstanceAdvancedMachineFeatures) DeepCopyInto(out *InstanceAdvancedMachineFeatures)
type InstanceAuthorizedNetworks
    func (in *InstanceAuthorizedNetworks) DeepCopy() *InstanceAuthorizedNetworks
    func (in *InstanceAuthorizedNetworks) DeepCopyInto(out *InstanceAuthorizedNetworks)
type InstanceBackupConfiguration
    func (in *InstanceBackupConfiguration) DeepCopy() *InstanceBackupConfiguration
    func (in *InstanceBackupConfiguration) DeepCopyInto(out *InstanceBackupConfiguration)
type InstanceBackupRetentionSettings
    func (in *InstanceBackupRetentionSettings) DeepCopy() *InstanceBackupRetentionSettings
    func (in *InstanceBackupRetentionSettings) DeepCopyInto(out *InstanceBackupRetentionSettings)
type InstanceDatabaseFlags
    func (in *InstanceDatabaseFlags) DeepCopy() *InstanceDatabaseFlags
    func (in *InstanceDatabaseFlags) DeepCopyInto(out *InstanceDatabaseFlags)
type InstanceDenyMaintenancePeriod
    func (in *InstanceDenyMaintenancePeriod) DeepCopy() *InstanceDenyMaintenancePeriod
    func (in *InstanceDenyMaintenancePeriod) DeepCopyInto(out *InstanceDenyMaintenancePeriod)
type InstanceInsightsConfig
    func (in *InstanceInsightsConfig) DeepCopy() *InstanceInsightsConfig
    func (in *InstanceInsightsConfig) DeepCopyInto(out *InstanceInsightsConfig)
type InstanceIpAddressStatus
    func (in *InstanceIpAddressStatus) DeepCopy() *InstanceIpAddressStatus
    func (in *InstanceIpAddressStatus) DeepCopyInto(out *InstanceIpAddressStatus)
type InstanceIpConfiguration
    func (in *InstanceIpConfiguration) DeepCopy() *InstanceIpConfiguration
    func (in *InstanceIpConfiguration) DeepCopyInto(out *InstanceIpConfiguration)
type InstanceLocationPreference
    func (in *InstanceLocationPreference) DeepCopy() *InstanceLocationPreference
    func (in *InstanceLocationPreference) DeepCopyInto(out *InstanceLocationPreference)
type InstanceMaintenanceWindow
    func (in *InstanceMaintenanceWindow) DeepCopy() *InstanceMaintenanceWindow
    func (in *InstanceMaintenanceWindow) DeepCopyInto(out *InstanceMaintenanceWindow)
type InstancePassword
    func (in *InstancePassword) DeepCopy() *InstancePassword
    func (in *InstancePassword) DeepCopyInto(out *InstancePassword)
type InstancePasswordValidationPolicy
    func (in *InstancePasswordValidationPolicy) DeepCopy() *InstancePasswordValidationPolicy
    func (in *InstancePasswordValidationPolicy) DeepCopyInto(out *InstancePasswordValidationPolicy)
type InstanceReplicaConfiguration
    func (in *InstanceReplicaConfiguration) DeepCopy() *InstanceReplicaConfiguration
    func (in *InstanceReplicaConfiguration) DeepCopyInto(out *InstanceReplicaConfiguration)
type InstanceRootPassword
    func (in *InstanceRootPassword) DeepCopy() *InstanceRootPassword
    func (in *InstanceRootPassword) DeepCopyInto(out *InstanceRootPassword)
type InstanceServerCaCertStatus
    func (in *InstanceServerCaCertStatus) DeepCopy() *InstanceServerCaCertStatus
    func (in *InstanceServerCaCertStatus) DeepCopyInto(out *InstanceServerCaCertStatus)
type InstanceSettings
    func (in *InstanceSettings) DeepCopy() *InstanceSettings
    func (in *InstanceSettings) DeepCopyInto(out *InstanceSettings)
type InstanceSqlServerAuditConfig
    func (in *InstanceSqlServerAuditConfig) DeepCopy() *InstanceSqlServerAuditConfig
    func (in *InstanceSqlServerAuditConfig) DeepCopyInto(out *InstanceSqlServerAuditConfig)
type InstanceValueFrom
    func (in *InstanceValueFrom) DeepCopy() *InstanceValueFrom
    func (in *InstanceValueFrom) DeepCopyInto(out *InstanceValueFrom)
type SQLDatabase
    func (in *SQLDatabase) DeepCopy() *SQLDatabase
    func (in *SQLDatabase) DeepCopyInto(out *SQLDatabase)
    func (in *SQLDatabase) DeepCopyObject() runtime.Object
type SQLDatabaseList
    func (in *SQLDatabaseList) DeepCopy() *SQLDatabaseList
    func (in *SQLDatabaseList) DeepCopyInto(out *SQLDatabaseList)
    func (in *SQLDatabaseList) DeepCopyObject() runtime.Object
type SQLDatabaseSpec
    func (in *SQLDatabaseSpec) DeepCopy() *SQLDatabaseSpec
    func (in *SQLDatabaseSpec) DeepCopyInto(out *SQLDatabaseSpec)
type SQLDatabaseStatus
    func (in *SQLDatabaseStatus) DeepCopy() *SQLDatabaseStatus
    func (in *SQLDatabaseStatus) DeepCopyInto(out *SQLDatabaseStatus)
type SQLInstance
    func (in *SQLInstance) DeepCopy() *SQLInstance
    func (in *SQLInstance) DeepCopyInto(out *SQLInstance)
    func (in *SQLInstance) DeepCopyObject() runtime.Object
type SQLInstanceList
    func (in *SQLInstanceList) DeepCopy() *SQLInstanceList
    func (in *SQLInstanceList) DeepCopyInto(out *SQLInstanceList)
    func (in *SQLInstanceList) DeepCopyObject() runtime.Object
type SQLInstanceSpec
    func (in *SQLInstanceSpec) DeepCopy() *SQLInstanceSpec
    func (in *SQLInstanceSpec) DeepCopyInto(out *SQLInstanceSpec)
type SQLInstanceStatus
    func (in *SQLInstanceStatus) DeepCopy() *SQLInstanceStatus
    func (in *SQLInstanceStatus) DeepCopyInto(out *SQLInstanceStatus)
type SQLSSLCert
    func (in *SQLSSLCert) DeepCopy() *SQLSSLCert
    func (in *SQLSSLCert) DeepCopyInto(out *SQLSSLCert)
    func (in *SQLSSLCert) DeepCopyObject() runtime.Object
type SQLSSLCertList
    func (in *SQLSSLCertList) DeepCopy() *SQLSSLCertList
    func (in *SQLSSLCertList) DeepCopyInto(out *SQLSSLCertList)
    func (in *SQLSSLCertList) DeepCopyObject() runtime.Object
type SQLSSLCertSpec
    func (in *SQLSSLCertSpec) DeepCopy() *SQLSSLCertSpec
    func (in *SQLSSLCertSpec) DeepCopyInto(out *SQLSSLCertSpec)
type SQLSSLCertStatus
    func (in *SQLSSLCertStatus) DeepCopy() *SQLSSLCertStatus
    func (in *SQLSSLCertStatus) DeepCopyInto(out *SQLSSLCertStatus)
type SQLUser
    func (in *SQLUser) DeepCopy() *SQLUser
    func (in *SQLUser) DeepCopyInto(out *SQLUser)
    func (in *SQLUser) DeepCopyObject() runtime.Object
type SQLUserList
    func (in *SQLUserList) DeepCopy() *SQLUserList
    func (in *SQLUserList) DeepCopyInto(out *SQLUserList)
    func (in *SQLUserList) DeepCopyObject() runtime.Object
type SQLUserSpec
    func (in *SQLUserSpec) DeepCopy() *SQLUserSpec
    func (in *SQLUserSpec) DeepCopyInto(out *SQLUserSpec)
type SQLUserStatus
    func (in *SQLUserStatus) DeepCopy() *SQLUserStatus
    func (in *SQLUserStatus) DeepCopyInto(out *SQLUserStatus)
type UserPassword
    func (in *UserPassword) DeepCopy() *UserPassword
    func (in *UserPassword) DeepCopyInto(out *UserPassword)
type UserPasswordPolicy
    func (in *UserPasswordPolicy) DeepCopy() *UserPasswordPolicy
    func (in *UserPasswordPolicy) DeepCopyInto(out *UserPasswordPolicy)
type UserSqlServerUserDetailsStatus
    func (in *UserSqlServerUserDetailsStatus) DeepCopy() *UserSqlServerUserDetailsStatus
    func (in *UserSqlServerUserDetailsStatus) DeepCopyInto(out *UserSqlServerUserDetailsStatus)
type UserStatus
    func (in *UserStatus) DeepCopy() *UserStatus
    func (in *UserStatus) DeepCopyInto(out *UserStatus)
type UserValueFrom
    func (in *UserValueFrom) DeepCopy() *UserValueFrom
    func (in *UserValueFrom) DeepCopyInto(out *UserValueFrom)

Package files

doc.go register.go sqldatabase_types.go sqlinstance_types.go sqlsslcert_types.go sqluser_types.go zz_generated.deepcopy.go

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(),
    }
)

type InstanceActiveDirectoryConfig

type InstanceActiveDirectoryConfig struct {
    /* Domain name of the Active Directory for SQL Server (e.g., mydomain.com). */
    Domain string `json:"domain"`
}

func (*InstanceActiveDirectoryConfig) DeepCopy

func (in *InstanceActiveDirectoryConfig) DeepCopy() *InstanceActiveDirectoryConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceActiveDirectoryConfig.

func (*InstanceActiveDirectoryConfig) DeepCopyInto

func (in *InstanceActiveDirectoryConfig) DeepCopyInto(out *InstanceActiveDirectoryConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceAdvancedMachineFeatures

type InstanceAdvancedMachineFeatures struct {
    /* The number of threads per physical core. Can be 1 or 2. */
    // +optional
    ThreadsPerCore *int `json:"threadsPerCore,omitempty"`
}

func (*InstanceAdvancedMachineFeatures) DeepCopy

func (in *InstanceAdvancedMachineFeatures) DeepCopy() *InstanceAdvancedMachineFeatures

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceAdvancedMachineFeatures.

func (*InstanceAdvancedMachineFeatures) DeepCopyInto

func (in *InstanceAdvancedMachineFeatures) DeepCopyInto(out *InstanceAdvancedMachineFeatures)

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 InstanceDenyMaintenancePeriod

type InstanceDenyMaintenancePeriod struct {
    /* End date before which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01. */
    EndDate string `json:"endDate"`

    /* Start date after which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01. */
    StartDate string `json:"startDate"`

    /* Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00. */
    Time string `json:"time"`
}

func (*InstanceDenyMaintenancePeriod) DeepCopy

func (in *InstanceDenyMaintenancePeriod) DeepCopy() *InstanceDenyMaintenancePeriod

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceDenyMaintenancePeriod.

func (*InstanceDenyMaintenancePeriod) DeepCopyInto

func (in *InstanceDenyMaintenancePeriod) DeepCopyInto(out *InstanceDenyMaintenancePeriod)

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

    /* Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5. */
    // +optional
    QueryPlansPerMinute *int `json:"queryPlansPerMinute,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 {
    // +optional
    IpAddress *string `json:"ipAddress,omitempty"`

    // +optional
    TimeToRetire *string `json:"timeToRetire,omitempty"`

    // +optional
    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 Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported. */
    // +optional
    EnablePrivatePathForGoogleCloudServices *bool `json:"enablePrivatePathForGoogleCloudServices,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 for the secondary/failover. */
    // +optional
    SecondaryZone *string `json:"secondaryZone,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 InstancePasswordValidationPolicy

type InstancePasswordValidationPolicy struct {
    /* Password complexity. */
    // +optional
    Complexity *string `json:"complexity,omitempty"`

    /* Disallow username as a part of the password. */
    // +optional
    DisallowUsernameSubstring *bool `json:"disallowUsernameSubstring,omitempty"`

    /* Whether the password policy is enabled or not. */
    EnablePasswordPolicy bool `json:"enablePasswordPolicy"`

    /* Minimum number of characters allowed. */
    // +optional
    MinLength *int `json:"minLength,omitempty"`

    /* Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL. */
    // +optional
    PasswordChangeInterval *string `json:"passwordChangeInterval,omitempty"`

    /* Number of previous passwords that cannot be reused. */
    // +optional
    ReuseInterval *int `json:"reuseInterval,omitempty"`
}

func (*InstancePasswordValidationPolicy) DeepCopy

func (in *InstancePasswordValidationPolicy) DeepCopy() *InstancePasswordValidationPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancePasswordValidationPolicy.

func (*InstancePasswordValidationPolicy) DeepCopyInto

func (in *InstancePasswordValidationPolicy) DeepCopyInto(out *InstancePasswordValidationPolicy)

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. MySQL's default is 60 seconds. */
    // +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. */
    // +optional
    Cert *string `json:"cert,omitempty"`

    /* The CN valid for the CA Cert. */
    // +optional
    CommonName *string `json:"commonName,omitempty"`

    /* Creation time of the CA Cert. */
    // +optional
    CreateTime *string `json:"createTime,omitempty"`

    /* Expiration time of the CA Cert. */
    // +optional
    ExpirationTime *string `json:"expirationTime,omitempty"`

    /* SHA Fingerprint of the CA Cert. */
    // +optional
    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"`

    // +optional
    AdvancedMachineFeatures *InstanceAdvancedMachineFeatures `json:"advancedMachineFeatures,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. Defaults to ZONAL. */
    // +optional
    AvailabilityType *string `json:"availabilityType,omitempty"`

    // +optional
    BackupConfiguration *InstanceBackupConfiguration `json:"backupConfiguration,omitempty"`

    /* Immutable. The name of server instance collation. */
    // +optional
    Collation *string `json:"collation,omitempty"`

    /* Specifies if connections must use Cloud SQL connectors. */
    // +optional
    ConnectorEnforcement *string `json:"connectorEnforcement,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"`

    /* Configuration to protect against accidental instance deletion. */
    // +optional
    DeletionProtectionEnabled *bool `json:"deletionProtectionEnabled,omitempty"`

    // +optional
    DenyMaintenancePeriod *InstanceDenyMaintenancePeriod `json:"denyMaintenancePeriod,omitempty"`

    /* Enables auto-resizing of the storage size. Defaults to true. */
    // +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. The minimum value is 10GB. */
    // +optional
    DiskSize *int `json:"diskSize,omitempty"`

    /* Immutable. The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD. */
    // +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"`

    // +optional
    PasswordValidationPolicy *InstancePasswordValidationPolicy `json:"passwordValidationPolicy,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"`

    // +optional
    SqlServerAuditConfig *InstanceSqlServerAuditConfig `json:"sqlServerAuditConfig,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"`

    /* Immutable. The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format. */
    // +optional
    TimeZone *string `json:"timeZone,omitempty"`
}

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 InstanceSqlServerAuditConfig

type InstanceSqlServerAuditConfig struct {
    /* The name of the destination bucket (e.g., gs://mybucket). */
    // +optional
    BucketRef *v1alpha1.ResourceRef `json:"bucketRef,omitempty"`

    /* How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".. */
    // +optional
    RetentionInterval *string `json:"retentionInterval,omitempty"`

    /* How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". */
    // +optional
    UploadInterval *string `json:"uploadInterval,omitempty"`
}

func (*InstanceSqlServerAuditConfig) DeepCopy

func (in *InstanceSqlServerAuditConfig) DeepCopy() *InstanceSqlServerAuditConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSqlServerAuditConfig.

func (*InstanceSqlServerAuditConfig) DeepCopyInto

func (in *InstanceSqlServerAuditConfig) DeepCopyInto(out *InstanceSqlServerAuditConfig)

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

SQLDatabase is the Schema for the sql API +k8s:openapi-gen=true

type SQLDatabase struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   SQLDatabaseSpec   `json:"spec,omitempty"`
    Status SQLDatabaseStatus `json:"status,omitempty"`
}

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

SQLDatabaseList contains a list of SQLDatabase

type SQLDatabaseList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata,omitempty"`
    Items           []SQLDatabase `json:"items"`
}

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 deletion policy for the database. Setting ABANDON allows the resource
    to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be
    deleted from the API if there are users other than cloudsqlsuperuser with access. Possible
    values are: "ABANDON", "DELETE". Defaults to "DELETE". */
    // +optional
    DeletionPolicy *string `json:"deletionPolicy,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. */
    // +optional
    ObservedGeneration *int `json:"observedGeneration,omitempty"`

    // +optional
    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

SQLInstance is the Schema for the sql API +k8s:openapi-gen=true

type SQLInstance struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   SQLInstanceSpec   `json:"spec,omitempty"`
    Status SQLInstanceStatus `json:"status,omitempty"`
}

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

SQLInstanceList contains a list of SQLInstance

type SQLInstanceList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata,omitempty"`
    Items           []SQLInstance `json:"items"`
}

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 {
    /* 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"`

    /* The type of the instance. The valid values are:- 'SQL_INSTANCE_TYPE_UNSPECIFIED', 'CLOUD_SQL_INSTANCE', 'ON_PREMISES_INSTANCE' and 'READ_REPLICA_INSTANCE'. */
    // +optional
    InstanceType *string `json:"instanceType,omitempty"`

    /* Maintenance version. */
    // +optional
    MaintenanceVersion *string `json:"maintenanceVersion,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"`

    /* Initial root password. Required for MS SQL Server. */
    // +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"`
    /* Available Maintenance versions. */
    // +optional
    AvailableMaintenanceVersions []string `json:"availableMaintenanceVersions,omitempty"`

    /* 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"`

    // +optional
    FirstIpAddress *string `json:"firstIpAddress,omitempty"`

    /* The type of the instance. The valid values are:- 'SQL_INSTANCE_TYPE_UNSPECIFIED', 'CLOUD_SQL_INSTANCE', 'ON_PREMISES_INSTANCE' and 'READ_REPLICA_INSTANCE'. */
    // +optional
    InstanceType *string `json:"instanceType,omitempty"`

    // +optional
    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. */
    // +optional
    ObservedGeneration *int `json:"observedGeneration,omitempty"`

    // +optional
    PrivateIpAddress *string `json:"privateIpAddress,omitempty"`

    // +optional
    PublicIpAddress *string `json:"publicIpAddress,omitempty"`

    /* The URI of the created resource. */
    // +optional
    SelfLink *string `json:"selfLink,omitempty"`

    // +optional
    ServerCaCert *InstanceServerCaCertStatus `json:"serverCaCert,omitempty"`

    /* The service account email address assigned to the instance. */
    // +optional
    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

SQLSSLCert is the Schema for the sql API +k8s:openapi-gen=true

type SQLSSLCert struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   SQLSSLCertSpec   `json:"spec,omitempty"`
    Status SQLSSLCertStatus `json:"status,omitempty"`
}

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

SQLSSLCertList contains a list of SQLSSLCert

type SQLSSLCertList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata,omitempty"`
    Items           []SQLSSLCert `json:"items"`
}

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. */
    // +optional
    Cert *string `json:"cert,omitempty"`

    /* The serial number extracted from the certificate data. */
    // +optional
    CertSerialNumber *string `json:"certSerialNumber,omitempty"`

    /* 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"`

    /* The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */
    // +optional
    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. */
    // +optional
    ObservedGeneration *int `json:"observedGeneration,omitempty"`

    /* The private key associated with the client certificate. */
    // +optional
    PrivateKey *string `json:"privateKey,omitempty"`

    /* The CA cert of the server this client cert was generated from. */
    // +optional
    ServerCaCert *string `json:"serverCaCert,omitempty"`

    /* The SHA1 Fingerprint of the certificate. */
    // +optional
    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

SQLUser is the Schema for the sql API +k8s:openapi-gen=true

type SQLUser struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   SQLUserSpec   `json:"spec,omitempty"`
    Status SQLUserStatus `json:"status,omitempty"`
}

func (*SQLUser) DeepCopy

func (in *SQLUser) DeepCopy() *SQLUser

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLUser.

func (*SQLUser) DeepCopyInto

func (in *SQLUser) DeepCopyInto(out *SQLUser)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SQLUser) DeepCopyObject

func (in *SQLUser) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SQLUserList

SQLUserList contains a list of SQLUser

type SQLUserList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata,omitempty"`
    Items           []SQLUser `json:"items"`
}

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

    // +optional
    PasswordPolicy *UserPasswordPolicy `json:"passwordPolicy,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. 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. */
    // +optional
    ObservedGeneration *int `json:"observedGeneration,omitempty"`

    // +optional
    SqlServerUserDetails []UserSqlServerUserDetailsStatus `json:"sqlServerUserDetails,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 UserPasswordPolicy

type UserPasswordPolicy struct {
    /* Number of failed attempts allowed before the user get locked. */
    // +optional
    AllowedFailedAttempts *int `json:"allowedFailedAttempts,omitempty"`

    /* If true, the check that will lock user after too many failed login attempts will be enabled. */
    // +optional
    EnableFailedAttemptsCheck *bool `json:"enableFailedAttemptsCheck,omitempty"`

    /* If true, the user must specify the current password before changing the password. This flag is supported only for MySQL. */
    // +optional
    EnablePasswordVerification *bool `json:"enablePasswordVerification,omitempty"`

    /* Password expiration duration with one week grace period. */
    // +optional
    PasswordExpirationDuration *string `json:"passwordExpirationDuration,omitempty"`

    // +optional
    Status []UserStatus `json:"status,omitempty"`
}

func (*UserPasswordPolicy) DeepCopy

func (in *UserPasswordPolicy) DeepCopy() *UserPasswordPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserPasswordPolicy.

func (*UserPasswordPolicy) DeepCopyInto

func (in *UserPasswordPolicy) DeepCopyInto(out *UserPasswordPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserSqlServerUserDetailsStatus

type UserSqlServerUserDetailsStatus 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 (*UserSqlServerUserDetailsStatus) DeepCopy

func (in *UserSqlServerUserDetailsStatus) DeepCopy() *UserSqlServerUserDetailsStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSqlServerUserDetailsStatus.

func (*UserSqlServerUserDetailsStatus) DeepCopyInto

func (in *UserSqlServerUserDetailsStatus) DeepCopyInto(out *UserSqlServerUserDetailsStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserStatus

type UserStatus struct {
    /* If true, user does not have login privileges. */
    // +optional
    Locked *bool `json:"locked,omitempty"`

    /* Password expiration duration with one week grace period. */
    // +optional
    PasswordExpirationTime *string `json:"passwordExpirationTime,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.

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.