v1beta1

package
v1.41.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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/apis/sql +k8s:defaulter-gen=TypeMeta +groupName=sql.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
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 AuthorizedNetworks

type AuthorizedNetworks struct {
	/*  */
	ExpirationTime string `json:"expirationTime,omitempty"`
	/*  */
	Name string `json:"name,omitempty"`
	/*  */
	Value string `json:"value,omitempty"`
}

func (*AuthorizedNetworks) DeepCopy

func (in *AuthorizedNetworks) DeepCopy() *AuthorizedNetworks

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

func (*AuthorizedNetworks) DeepCopyInto

func (in *AuthorizedNetworks) DeepCopyInto(out *AuthorizedNetworks)

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

type BackupConfiguration

type BackupConfiguration struct {
	/* True if binary logging is enabled. If settings.backup_configuration.enabled is false, this must be as well. Cannot be used with Postgres. */
	BinaryLogEnabled bool `json:"binaryLogEnabled,omitempty"`
	/* True if backup configuration is enabled. */
	Enabled bool `json:"enabled,omitempty"`
	/* Location of the backup configuration. */
	Location string `json:"location,omitempty"`
	/* True if Point-in-time recovery is enabled. */
	PointInTimeRecoveryEnabled bool `json:"pointInTimeRecoveryEnabled,omitempty"`
	/* HH:MM format time indicating when backup configuration starts. */
	StartTime string `json:"startTime,omitempty"`
}

func (*BackupConfiguration) DeepCopy

func (in *BackupConfiguration) DeepCopy() *BackupConfiguration

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

func (*BackupConfiguration) DeepCopyInto

func (in *BackupConfiguration) DeepCopyInto(out *BackupConfiguration)

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

type DatabaseFlags

type DatabaseFlags struct {
	/* Name of the flag. */
	Name string `json:"name,omitempty"`
	/* Value of the flag. */
	Value string `json:"value,omitempty"`
}

func (*DatabaseFlags) DeepCopy

func (in *DatabaseFlags) DeepCopy() *DatabaseFlags

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

func (*DatabaseFlags) DeepCopyInto

func (in *DatabaseFlags) DeepCopyInto(out *DatabaseFlags)

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

type IpAddress

type IpAddress struct {
	/*  */
	IpAddress string `json:"ipAddress,omitempty"`
	/*  */
	TimeToRetire string `json:"timeToRetire,omitempty"`
	/*  */
	Type string `json:"type,omitempty"`
}

func (*IpAddress) DeepCopy

func (in *IpAddress) DeepCopy() *IpAddress

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

func (*IpAddress) DeepCopyInto

func (in *IpAddress) DeepCopyInto(out *IpAddress)

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

type IpConfiguration

type IpConfiguration struct {
	/*  */
	AuthorizedNetworks []AuthorizedNetworks `json:"authorizedNetworks,omitempty"`
	/* Whether this Cloud SQL instance should be assigned a public IPV4 address. Either ipv4_enabled must be enabled or a private_network must be configured. */
	Ipv4Enabled bool `json:"ipv4Enabled,omitempty"`
	/*  */
	PrivateNetworkRef v1alpha1.ResourceRef `json:"privateNetworkRef,omitempty"`
	/*  */
	RequireSsl bool `json:"requireSsl,omitempty"`
}

func (*IpConfiguration) DeepCopy

func (in *IpConfiguration) DeepCopy() *IpConfiguration

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

func (*IpConfiguration) DeepCopyInto

func (in *IpConfiguration) DeepCopyInto(out *IpConfiguration)

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

type LocationPreference

type LocationPreference struct {
	/* A Google App Engine application whose zone to remain in. Must be in the same region as this instance. */
	FollowGaeApplication string `json:"followGaeApplication,omitempty"`
	/* The preferred compute engine zone. */
	Zone string `json:"zone,omitempty"`
}

func (*LocationPreference) DeepCopy

func (in *LocationPreference) DeepCopy() *LocationPreference

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

func (*LocationPreference) DeepCopyInto

func (in *LocationPreference) DeepCopyInto(out *LocationPreference)

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

type MaintenanceWindow

type MaintenanceWindow struct {
	/* Day of week (1-7), starting on Monday */
	Day int `json:"day,omitempty"`
	/* Hour of day (0-23), ignored if day not set */
	Hour int `json:"hour,omitempty"`
	/* Receive updates earlier (canary) or later (stable) */
	UpdateTrack string `json:"updateTrack,omitempty"`
}

func (*MaintenanceWindow) DeepCopy

func (in *MaintenanceWindow) DeepCopy() *MaintenanceWindow

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

func (*MaintenanceWindow) DeepCopyInto

func (in *MaintenanceWindow) DeepCopyInto(out *MaintenanceWindow)

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

type Password

type Password struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	Value string `json:"value,omitempty"`
	/* Source for the field's value. Cannot be used if 'value' is specified. */
	ValueFrom ValueFrom `json:"valueFrom,omitempty"`
}

func (*Password) DeepCopy

func (in *Password) DeepCopy() *Password

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

func (*Password) DeepCopyInto

func (in *Password) DeepCopyInto(out *Password)

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

type ReplicaConfiguration

type ReplicaConfiguration struct {
	/* Immutable. PEM representation of the trusted CA's x509 certificate. */
	CaCertificate string `json:"caCertificate,omitempty"`
	/* Immutable. PEM representation of the slave's x509 certificate. */
	ClientCertificate string `json:"clientCertificate,omitempty"`
	/* Immutable. PEM representation of the slave's private key. The corresponding public key in encoded in the client_certificate. */
	ClientKey string `json:"clientKey,omitempty"`
	/* Immutable. The number of seconds between connect retries. */
	ConnectRetryInterval int `json:"connectRetryInterval,omitempty"`
	/* Immutable. Path to a SQL file in Google Cloud Storage from which slave instances are created. Format is gs://bucket/filename. */
	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. */
	FailoverTarget bool `json:"failoverTarget,omitempty"`
	/* Immutable. Time in ms between replication heartbeats. */
	MasterHeartbeatPeriod int `json:"masterHeartbeatPeriod,omitempty"`
	/* Immutable. Password for the replication connection. */
	Password Password `json:"password,omitempty"`
	/* Immutable. Permissible ciphers for use in SSL encryption. */
	SslCipher string `json:"sslCipher,omitempty"`
	/* Immutable. Username for replication connection. */
	Username string `json:"username,omitempty"`
	/* Immutable. True if the master's common name value is checked during the SSL handshake. */
	VerifyServerCertificate bool `json:"verifyServerCertificate,omitempty"`
}

func (*ReplicaConfiguration) DeepCopy

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

func (*ReplicaConfiguration) DeepCopyInto

func (in *ReplicaConfiguration) DeepCopyInto(out *ReplicaConfiguration)

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

type RootPassword

type RootPassword struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	Value string `json:"value,omitempty"`
	/* Source for the field's value. Cannot be used if 'value' is specified. */
	ValueFrom ValueFrom `json:"valueFrom,omitempty"`
}

func (*RootPassword) DeepCopy

func (in *RootPassword) DeepCopy() *RootPassword

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

func (*RootPassword) DeepCopyInto

func (in *RootPassword) DeepCopyInto(out *RootPassword)

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.ObjectMeta `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. */
	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. */
	Collation string `json:"collation,omitempty"`
	/* The Cloud SQL instance. */
	InstanceRef v1alpha1.ResourceRef `json:"instanceRef,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. */
	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 represents the latest available observations of the
	   SQLDatabase's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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.ObjectMeta `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_11, SQLSERVER_2017_STANDARD, SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB. Database Version Policies includes an up-to-date reference of supported versions. */
	DatabaseVersion string `json:"databaseVersion,omitempty"`
	/*  */
	EncryptionKMSCryptoKeyRef v1alpha1.ResourceRef `json:"encryptionKMSCryptoKeyRef,omitempty"`
	/*  */
	MasterInstanceRef v1alpha1.ResourceRef `json:"masterInstanceRef,omitempty"`
	/* Immutable. The region the instance will sit in. Note, Cloud SQL is not available in all regions - choose from one of the options listed here. 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. */
	Region string `json:"region,omitempty"`
	/* The configuration for replication. */
	ReplicaConfiguration ReplicaConfiguration `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. */
	ResourceID string `json:"resourceID,omitempty"`
	/* Immutable. Initial root password. Required for MS SQL Server, ignored by MySQL and PostgreSQL. */
	RootPassword RootPassword `json:"rootPassword,omitempty"`
	/* The settings to use for the database. The configuration is detailed below. */
	Settings Settings `json:"settings,omitempty"`
}

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 represents 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 []IpAddress `json:"ipAddress,omitempty"`
	/*  */
	PrivateIpAddress string `json:"privateIpAddress,omitempty"`
	/*  */
	PublicIpAddress string `json:"publicIpAddress,omitempty"`
	/* The URI of the created resource. */
	SelfLink string `json:"selfLink,omitempty"`
	/*  */
	ServerCaCert ServerCaCert `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.ObjectMeta `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,omitempty"`
	/* The Cloud SQL instance. */
	InstanceRef v1alpha1.ResourceRef `json:"instanceRef,omitempty"`
	/* Immutable. Optional. The service-generated sha1Fingerprint of the resource. Used for acquisition only. Leave unset to create a new resource. */
	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 represents 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"`
	/* 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

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

type SQLUserList struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `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. */
	Host string `json:"host,omitempty"`
	/*  */
	InstanceRef v1alpha1.ResourceRef `json:"instanceRef,omitempty"`
	/* 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. */
	Password SqluserPassword `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. */
	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". */
	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 represents the latest available observations of the
	   SQLUser's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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 ServerCaCert

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

func (in *ServerCaCert) DeepCopy() *ServerCaCert

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

func (*ServerCaCert) DeepCopyInto

func (in *ServerCaCert) DeepCopyInto(out *ServerCaCert)

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

type Settings

type Settings struct {
	/* This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND. */
	ActivationPolicy string `json:"activationPolicy,omitempty"`
	/* DEPRECATED — This property is only applicable to First Generation instances, and First Generation instances are now deprecated. This property is only applicable to First Generation instances. First Generation instances are now deprecated, see https://cloud.google.com/sql/docs/mysql/deprecation-notice for information on how to upgrade to Second Generation instances. A list of Google App Engine project names that are allowed to access this instance. */
	AuthorizedGaeApplications []string `json:"authorizedGaeApplications,omitempty"`
	/* The availability type of the Cloud SQL instance, high availability
	(REGIONAL) or single zone (ZONAL). For MySQL instances, ensure that
	settings.backup_configuration.enabled and
	settings.backup_configuration.binary_log_enabled are both set to true. */
	AvailabilityType string `json:"availabilityType,omitempty"`
	/*  */
	BackupConfiguration BackupConfiguration `json:"backupConfiguration,omitempty"`
	/* DEPRECATED — This property is only applicable to First Generation instances, and First Generation instances are now deprecated. This property is only applicable to First Generation instances. First Generation instances are now deprecated, see here for information on how to upgrade to Second Generation instances. Specific to read instances, indicates when crash-safe replication flags are enabled. */
	CrashSafeReplication bool `json:"crashSafeReplication,omitempty"`
	/*  */
	DatabaseFlags []DatabaseFlags `json:"databaseFlags,omitempty"`
	/*  */
	DiskAutoresize bool `json:"diskAutoresize,omitempty"`
	/* The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. */
	DiskSize int `json:"diskSize,omitempty"`
	/* The type of data disk: PD_SSD or PD_HDD. */
	DiskType string `json:"diskType,omitempty"`
	/*  */
	IpConfiguration IpConfiguration `json:"ipConfiguration,omitempty"`
	/*  */
	LocationPreference LocationPreference `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. */
	MaintenanceWindow MaintenanceWindow `json:"maintenanceWindow,omitempty"`
	/* Pricing plan for this instance, can only be PER_USE. */
	PricingPlan string `json:"pricingPlan,omitempty"`
	/* DEPRECATED — This property is only applicable to First Generation instances, and First Generation instances are now deprecated. This property is only applicable to First Generation instances. First Generation instances are now deprecated, see here for information on how to upgrade to Second Generation instances. Replication type for this instance, can be one of ASYNCHRONOUS or SYNCHRONOUS. */
	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 such as db-f1-micro, 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,omitempty"`
}

func (*Settings) DeepCopy

func (in *Settings) DeepCopy() *Settings

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

func (*Settings) DeepCopyInto

func (in *Settings) DeepCopyInto(out *Settings)

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

type SqluserPassword

type SqluserPassword struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	Value string `json:"value,omitempty"`
	/* Source for the field's value. Cannot be used if 'value' is specified. */
	ValueFrom SqluserValueFrom `json:"valueFrom,omitempty"`
}

func (*SqluserPassword) DeepCopy

func (in *SqluserPassword) DeepCopy() *SqluserPassword

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

func (*SqluserPassword) DeepCopyInto

func (in *SqluserPassword) DeepCopyInto(out *SqluserPassword)

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

type SqluserValueFrom

type SqluserValueFrom struct {
	/* Reference to a value with the given key in the given Secret in the resource's namespace. */
	SecretKeyRef v1alpha1.ResourceRef `json:"secretKeyRef,omitempty"`
}

func (*SqluserValueFrom) DeepCopy

func (in *SqluserValueFrom) DeepCopy() *SqluserValueFrom

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

func (*SqluserValueFrom) DeepCopyInto

func (in *SqluserValueFrom) DeepCopyInto(out *SqluserValueFrom)

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

type ValueFrom

type ValueFrom struct {
	/* Reference to a value with the given key in the given Secret in the resource's namespace. */
	SecretKeyRef v1alpha1.ResourceRef `json:"secretKeyRef,omitempty"`
}

func (*ValueFrom) DeepCopy

func (in *ValueFrom) DeepCopy() *ValueFrom

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

func (*ValueFrom) DeepCopyInto

func (in *ValueFrom) DeepCopyInto(out *ValueFrom)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL