v1alpha2

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=sql.gcp.jet.crossplane.io +versionName=v1alpha2

Index

Constants

View Source
const (
	CRDGroup   = "sql.gcp.jet.crossplane.io"
	CRDVersion = "v1alpha2"
)

Package type metadata.

Variables

View Source
var (
	Database_Kind             = "Database"
	Database_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Database_Kind}.String()
	Database_KindAPIVersion   = Database_Kind + "." + CRDGroupVersion.String()
	Database_GroupVersionKind = CRDGroupVersion.WithKind(Database_Kind)
)

Repository type metadata.

View Source
var (
	DatabaseInstance_Kind             = "DatabaseInstance"
	DatabaseInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DatabaseInstance_Kind}.String()
	DatabaseInstance_KindAPIVersion   = DatabaseInstance_Kind + "." + CRDGroupVersion.String()
	DatabaseInstance_GroupVersionKind = CRDGroupVersion.WithKind(DatabaseInstance_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	SourceRepresentationInstance_Kind             = "SourceRepresentationInstance"
	SourceRepresentationInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SourceRepresentationInstance_Kind}.String()
	SourceRepresentationInstance_KindAPIVersion   = SourceRepresentationInstance_Kind + "." + CRDGroupVersion.String()
	SourceRepresentationInstance_GroupVersionKind = CRDGroupVersion.WithKind(SourceRepresentationInstance_Kind)
)

Repository type metadata.

View Source
var (
	SSLCert_Kind             = "SSLCert"
	SSLCert_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SSLCert_Kind}.String()
	SSLCert_KindAPIVersion   = SSLCert_Kind + "." + CRDGroupVersion.String()
	SSLCert_GroupVersionKind = CRDGroupVersion.WithKind(SSLCert_Kind)
)

Repository type metadata.

View Source
var (
	User_Kind             = "User"
	User_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String()
	User_KindAPIVersion   = User_Kind + "." + CRDGroupVersion.String()
	User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AuthorizedNetworksObservation

type AuthorizedNetworksObservation struct {
}

func (*AuthorizedNetworksObservation) DeepCopy

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

func (*AuthorizedNetworksObservation) DeepCopyInto

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

type AuthorizedNetworksParameters

type AuthorizedNetworksParameters struct {

	// +kubebuilder:validation:Optional
	ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"`

	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*AuthorizedNetworksParameters) DeepCopy

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

func (*AuthorizedNetworksParameters) DeepCopyInto

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

type BackupConfigurationObservation

type BackupConfigurationObservation struct {
}

func (*BackupConfigurationObservation) DeepCopy

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

func (*BackupConfigurationObservation) DeepCopyInto

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

type BackupConfigurationParameters

type BackupConfigurationParameters struct {

	// +kubebuilder:validation:Optional
	BackupRetentionSettings []BackupRetentionSettingsParameters `json:"backupRetentionSettings,omitempty" tf:"backup_retention_settings,omitempty"`

	// True if binary logging is enabled. If settings.backup_configuration.enabled is false, this must be as well. Cannot be used with Postgres.
	// +kubebuilder:validation:Optional
	BinaryLogEnabled *bool `json:"binaryLogEnabled,omitempty" tf:"binary_log_enabled,omitempty"`

	// True if backup configuration is enabled.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Location of the backup configuration.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// True if Point-in-time recovery is enabled.
	// +kubebuilder:validation:Optional
	PointInTimeRecoveryEnabled *bool `json:"pointInTimeRecoveryEnabled,omitempty" tf:"point_in_time_recovery_enabled,omitempty"`

	// HH:MM format time indicating when backup configuration starts.
	// +kubebuilder:validation:Optional
	StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"`

	// The number of days of transaction logs we retain for point in time restore, from 1-7.
	// +kubebuilder:validation:Optional
	TransactionLogRetentionDays *float64 `json:"transactionLogRetentionDays,omitempty" tf:"transaction_log_retention_days,omitempty"`
}

func (*BackupConfigurationParameters) DeepCopy

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

func (*BackupConfigurationParameters) DeepCopyInto

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

type BackupRetentionSettingsObservation

type BackupRetentionSettingsObservation struct {
}

func (*BackupRetentionSettingsObservation) DeepCopy

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

func (*BackupRetentionSettingsObservation) DeepCopyInto

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

type BackupRetentionSettingsParameters

type BackupRetentionSettingsParameters struct {

	// Number of backups to retain.
	// +kubebuilder:validation:Required
	RetainedBackups *float64 `json:"retainedBackups" tf:"retained_backups,omitempty"`

	// The unit that 'retainedBackups' represents. Defaults to COUNT
	// +kubebuilder:validation:Optional
	RetentionUnit *string `json:"retentionUnit,omitempty" tf:"retention_unit,omitempty"`
}

func (*BackupRetentionSettingsParameters) DeepCopy

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

func (*BackupRetentionSettingsParameters) DeepCopyInto

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

type CloneObservation

type CloneObservation struct {
}

func (*CloneObservation) DeepCopy

func (in *CloneObservation) DeepCopy() *CloneObservation

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

func (*CloneObservation) DeepCopyInto

func (in *CloneObservation) DeepCopyInto(out *CloneObservation)

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

type CloneParameters

type CloneParameters struct {

	// The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
	// +kubebuilder:validation:Optional
	AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"`

	// The timestamp of the point in time that should be restored.
	// +kubebuilder:validation:Optional
	PointInTime *string `json:"pointInTime,omitempty" tf:"point_in_time,omitempty"`

	// The name of the instance from which the point in time should be restored.
	// +kubebuilder:validation:Required
	SourceInstanceName *string `json:"sourceInstanceName" tf:"source_instance_name,omitempty"`
}

func (*CloneParameters) DeepCopy

func (in *CloneParameters) DeepCopy() *CloneParameters

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

func (*CloneParameters) DeepCopyInto

func (in *CloneParameters) DeepCopyInto(out *CloneParameters)

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

type Database

type Database struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatabaseSpec   `json:"spec"`
	Status            DatabaseStatus `json:"status,omitempty"`
}

Database is the Schema for the Databases API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto

func (in *Database) DeepCopyInto(out *Database)

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

func (*Database) DeepCopyObject

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

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

func (*Database) GetCondition

func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Database.

func (*Database) GetConnectionDetailsMapping

func (tr *Database) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Database

func (*Database) GetDeletionPolicy

func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Database.

func (*Database) GetID

func (tr *Database) GetID() string

GetID returns ID of underlying Terraform resource of this Database

func (*Database) GetObservation

func (tr *Database) GetObservation() (map[string]interface{}, error)

GetObservation of this Database

func (*Database) GetParameters

func (tr *Database) GetParameters() (map[string]interface{}, error)

GetParameters of this Database

func (*Database) GetProviderConfigReference

func (mg *Database) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Database.

func (*Database) GetProviderReference

func (mg *Database) GetProviderReference() *xpv1.Reference

GetProviderReference of this Database. Deprecated: Use GetProviderConfigReference.

func (*Database) GetPublishConnectionDetailsTo added in v0.3.0

func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Database.

func (*Database) GetTerraformResourceType

func (mg *Database) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Database

func (*Database) GetTerraformSchemaVersion

func (tr *Database) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Database) GetWriteConnectionSecretToReference

func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Database.

func (*Database) LateInitialize

func (tr *Database) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Database using its observed tfState. returns True if there are any spec changes for the resource.

func (*Database) ResolveReferences

func (mg *Database) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Database.

func (*Database) SetConditions

func (mg *Database) SetConditions(c ...xpv1.Condition)

SetConditions of this Database.

func (*Database) SetDeletionPolicy

func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Database.

func (*Database) SetObservation

func (tr *Database) SetObservation(obs map[string]interface{}) error

SetObservation for this Database

func (*Database) SetParameters

func (tr *Database) SetParameters(params map[string]interface{}) error

SetParameters for this Database

func (*Database) SetProviderConfigReference

func (mg *Database) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Database.

func (*Database) SetProviderReference

func (mg *Database) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Database. Deprecated: Use SetProviderConfigReference.

func (*Database) SetPublishConnectionDetailsTo added in v0.3.0

func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Database.

func (*Database) SetWriteConnectionSecretToReference

func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Database.

type DatabaseFlagsObservation

type DatabaseFlagsObservation struct {
}

func (*DatabaseFlagsObservation) DeepCopy

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

func (*DatabaseFlagsObservation) DeepCopyInto

func (in *DatabaseFlagsObservation) DeepCopyInto(out *DatabaseFlagsObservation)

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

type DatabaseFlagsParameters

type DatabaseFlagsParameters struct {

	// Name of the flag.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Value of the flag.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*DatabaseFlagsParameters) DeepCopy

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

func (*DatabaseFlagsParameters) DeepCopyInto

func (in *DatabaseFlagsParameters) DeepCopyInto(out *DatabaseFlagsParameters)

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

type DatabaseInstance

type DatabaseInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatabaseInstanceSpec   `json:"spec"`
	Status            DatabaseInstanceStatus `json:"status,omitempty"`
}

DatabaseInstance is the Schema for the DatabaseInstances API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*DatabaseInstance) DeepCopy

func (in *DatabaseInstance) DeepCopy() *DatabaseInstance

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

func (*DatabaseInstance) DeepCopyInto

func (in *DatabaseInstance) DeepCopyInto(out *DatabaseInstance)

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

func (*DatabaseInstance) DeepCopyObject

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

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

func (*DatabaseInstance) GetCondition

func (mg *DatabaseInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DatabaseInstance.

func (*DatabaseInstance) GetConnectionDetailsMapping

func (tr *DatabaseInstance) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DatabaseInstance

func (*DatabaseInstance) GetDeletionPolicy

func (mg *DatabaseInstance) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DatabaseInstance.

func (*DatabaseInstance) GetID

func (tr *DatabaseInstance) GetID() string

GetID returns ID of underlying Terraform resource of this DatabaseInstance

func (*DatabaseInstance) GetObservation

func (tr *DatabaseInstance) GetObservation() (map[string]interface{}, error)

GetObservation of this DatabaseInstance

func (*DatabaseInstance) GetParameters

func (tr *DatabaseInstance) GetParameters() (map[string]interface{}, error)

GetParameters of this DatabaseInstance

func (*DatabaseInstance) GetProviderConfigReference

func (mg *DatabaseInstance) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DatabaseInstance.

func (*DatabaseInstance) GetProviderReference

func (mg *DatabaseInstance) GetProviderReference() *xpv1.Reference

GetProviderReference of this DatabaseInstance. Deprecated: Use GetProviderConfigReference.

func (*DatabaseInstance) GetPublishConnectionDetailsTo added in v0.3.0

func (mg *DatabaseInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DatabaseInstance.

func (*DatabaseInstance) GetTerraformResourceType

func (mg *DatabaseInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DatabaseInstance

func (*DatabaseInstance) GetTerraformSchemaVersion

func (tr *DatabaseInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DatabaseInstance) GetWriteConnectionSecretToReference

func (mg *DatabaseInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DatabaseInstance.

func (*DatabaseInstance) LateInitialize

func (tr *DatabaseInstance) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DatabaseInstance using its observed tfState. returns True if there are any spec changes for the resource.

func (*DatabaseInstance) SetConditions

func (mg *DatabaseInstance) SetConditions(c ...xpv1.Condition)

SetConditions of this DatabaseInstance.

func (*DatabaseInstance) SetDeletionPolicy

func (mg *DatabaseInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DatabaseInstance.

func (*DatabaseInstance) SetObservation

func (tr *DatabaseInstance) SetObservation(obs map[string]interface{}) error

SetObservation for this DatabaseInstance

func (*DatabaseInstance) SetParameters

func (tr *DatabaseInstance) SetParameters(params map[string]interface{}) error

SetParameters for this DatabaseInstance

func (*DatabaseInstance) SetProviderConfigReference

func (mg *DatabaseInstance) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DatabaseInstance.

func (*DatabaseInstance) SetProviderReference

func (mg *DatabaseInstance) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this DatabaseInstance. Deprecated: Use SetProviderConfigReference.

func (*DatabaseInstance) SetPublishConnectionDetailsTo added in v0.3.0

func (mg *DatabaseInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DatabaseInstance.

func (*DatabaseInstance) SetWriteConnectionSecretToReference

func (mg *DatabaseInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DatabaseInstance.

type DatabaseInstanceList

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

DatabaseInstanceList contains a list of DatabaseInstances

func (*DatabaseInstanceList) DeepCopy

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

func (*DatabaseInstanceList) DeepCopyInto

func (in *DatabaseInstanceList) DeepCopyInto(out *DatabaseInstanceList)

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

func (*DatabaseInstanceList) DeepCopyObject

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

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

func (*DatabaseInstanceList) GetItems

func (l *DatabaseInstanceList) GetItems() []resource.Managed

GetItems of this DatabaseInstanceList.

type DatabaseInstanceObservation

type DatabaseInstanceObservation struct {
	ConnectionName *string `json:"connectionName,omitempty" tf:"connection_name,omitempty"`

	FirstIPAddress *string `json:"firstIpAddress,omitempty" tf:"first_ip_address,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	IPAddress []IPAddressObservation `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"`

	PublicIPAddress *string `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"`

	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`

	ServerCACert []ServerCACertObservation `json:"serverCaCert,omitempty" tf:"server_ca_cert,omitempty"`

	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty" tf:"service_account_email_address,omitempty"`
}

func (*DatabaseInstanceObservation) DeepCopy

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

func (*DatabaseInstanceObservation) DeepCopyInto

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

type DatabaseInstanceParameters

type DatabaseInstanceParameters struct {

	// Configuration for creating a new instance as a clone of another instance.
	// +kubebuilder:validation:Optional
	Clone []CloneParameters `json:"clone,omitempty" tf:"clone,omitempty"`

	// The MySQL, PostgreSQL or SQL Server (beta) version to use. Supported values include MYSQL_5_6, MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6, POSTGRES_10, POSTGRES_11, POSTGRES_12, POSTGRES_13, SQLSERVER_2017_STANDARD, SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB. Database Version Policies includes an up-to-date reference of supported versions.
	// +kubebuilder:validation:Required
	DatabaseVersion *string `json:"databaseVersion" tf:"database_version,omitempty"`

	// Used to block Terraform from deleting a SQL Instance.
	// +kubebuilder:validation:Optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// The name of the instance that will act as the master in the replication setup. Note, this requires the master to have binary_log_enabled set, as well as existing backups.
	// +kubebuilder:validation:Optional
	MasterInstanceName *string `json:"masterInstanceName,omitempty" tf:"master_instance_name,omitempty"`

	// The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// 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.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The configuration for replication.
	// +kubebuilder:validation:Optional
	ReplicaConfiguration []ReplicaConfigurationParameters `json:"replicaConfiguration,omitempty" tf:"replica_configuration,omitempty"`

	// +kubebuilder:validation:Optional
	RestoreBackupContext []RestoreBackupContextParameters `json:"restoreBackupContext,omitempty" tf:"restore_backup_context,omitempty"`

	// Initial root password. Required for MS SQL Server, ignored by MySQL and PostgreSQL.
	// +kubebuilder:validation:Optional
	RootPasswordSecretRef *v1.SecretKeySelector `json:"rootPasswordSecretRef,omitempty" tf:"-"`

	// The settings to use for the database. The configuration is detailed below.
	// +kubebuilder:validation:Optional
	Settings []SettingsParameters `json:"settings,omitempty" tf:"settings,omitempty"`
}

func (*DatabaseInstanceParameters) DeepCopy

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

func (*DatabaseInstanceParameters) DeepCopyInto

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

type DatabaseInstanceSpec

type DatabaseInstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatabaseInstanceParameters `json:"forProvider"`
}

DatabaseInstanceSpec defines the desired state of DatabaseInstance

func (*DatabaseInstanceSpec) DeepCopy

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

func (*DatabaseInstanceSpec) DeepCopyInto

func (in *DatabaseInstanceSpec) DeepCopyInto(out *DatabaseInstanceSpec)

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

type DatabaseInstanceStatus

type DatabaseInstanceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DatabaseInstanceObservation `json:"atProvider,omitempty"`
}

DatabaseInstanceStatus defines the observed state of DatabaseInstance.

func (*DatabaseInstanceStatus) DeepCopy

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

func (*DatabaseInstanceStatus) DeepCopyInto

func (in *DatabaseInstanceStatus) DeepCopyInto(out *DatabaseInstanceStatus)

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

type DatabaseList

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

DatabaseList contains a list of Databases

func (*DatabaseList) DeepCopy

func (in *DatabaseList) DeepCopy() *DatabaseList

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

func (*DatabaseList) DeepCopyInto

func (in *DatabaseList) DeepCopyInto(out *DatabaseList)

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

func (*DatabaseList) DeepCopyObject

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

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

func (*DatabaseList) GetItems

func (l *DatabaseList) GetItems() []resource.Managed

GetItems of this DatabaseList.

type DatabaseObservation

type DatabaseObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`
}

func (*DatabaseObservation) DeepCopy

func (in *DatabaseObservation) DeepCopy() *DatabaseObservation

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

func (*DatabaseObservation) DeepCopyInto

func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation)

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

type DatabaseParameters

type DatabaseParameters 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.
	// +kubebuilder:validation:Optional
	Charset *string `json:"charset,omitempty" tf:"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.
	// +kubebuilder:validation:Optional
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The name of the Cloud SQL instance. This does not include the project
	// ID.
	// +crossplane:generate:reference:type=DatabaseInstance
	// +kubebuilder:validation:Optional
	Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`

	// +kubebuilder:validation:Optional
	InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*DatabaseParameters) DeepCopy

func (in *DatabaseParameters) DeepCopy() *DatabaseParameters

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

func (*DatabaseParameters) DeepCopyInto

func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters)

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

type DatabaseSpec

type DatabaseSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatabaseParameters `json:"forProvider"`
}

DatabaseSpec defines the desired state of Database

func (*DatabaseSpec) DeepCopy

func (in *DatabaseSpec) DeepCopy() *DatabaseSpec

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

func (*DatabaseSpec) DeepCopyInto

func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)

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

type DatabaseStatus

type DatabaseStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DatabaseObservation `json:"atProvider,omitempty"`
}

DatabaseStatus defines the observed state of Database.

func (*DatabaseStatus) DeepCopy

func (in *DatabaseStatus) DeepCopy() *DatabaseStatus

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

func (*DatabaseStatus) DeepCopyInto

func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)

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

type IPAddressObservation

type IPAddressObservation struct {
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	TimeToRetire *string `json:"timeToRetire,omitempty" tf:"time_to_retire,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IPAddressObservation) DeepCopy

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

func (*IPAddressObservation) DeepCopyInto

func (in *IPAddressObservation) DeepCopyInto(out *IPAddressObservation)

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

type IPAddressParameters

type IPAddressParameters struct {
}

func (*IPAddressParameters) DeepCopy

func (in *IPAddressParameters) DeepCopy() *IPAddressParameters

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

func (*IPAddressParameters) DeepCopyInto

func (in *IPAddressParameters) DeepCopyInto(out *IPAddressParameters)

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

type IPConfigurationObservation

type IPConfigurationObservation struct {
}

func (*IPConfigurationObservation) DeepCopy

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

func (*IPConfigurationObservation) DeepCopyInto

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

type IPConfigurationParameters

type IPConfigurationParameters 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])?.
	// +kubebuilder:validation:Optional
	AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"`

	// +kubebuilder:validation:Optional
	AuthorizedNetworks []AuthorizedNetworksParameters `json:"authorizedNetworks,omitempty" tf:"authorized_networks,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.
	// +kubebuilder:validation:Optional
	IPv4Enabled *bool `json:"ipv4Enabled,omitempty" tf:"ipv4_enabled,omitempty"`

	// The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
	// +kubebuilder:validation:Optional
	PrivateNetwork *string `json:"privateNetwork,omitempty" tf:"private_network,omitempty"`

	// +kubebuilder:validation:Optional
	RequireSSL *bool `json:"requireSsl,omitempty" tf:"require_ssl,omitempty"`
}

func (*IPConfigurationParameters) DeepCopy

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

func (*IPConfigurationParameters) DeepCopyInto

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

type InsightsConfigObservation

type InsightsConfigObservation struct {
}

func (*InsightsConfigObservation) DeepCopy

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

func (*InsightsConfigObservation) DeepCopyInto

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

type InsightsConfigParameters

type InsightsConfigParameters struct {

	// True if Query Insights feature is enabled.
	// +kubebuilder:validation:Optional
	QueryInsightsEnabled *bool `json:"queryInsightsEnabled,omitempty" tf:"query_insights_enabled,omitempty"`

	// Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
	// +kubebuilder:validation:Optional
	QueryStringLength *float64 `json:"queryStringLength,omitempty" tf:"query_string_length,omitempty"`

	// True if Query Insights will record application tags from query when enabled.
	// +kubebuilder:validation:Optional
	RecordApplicationTags *bool `json:"recordApplicationTags,omitempty" tf:"record_application_tags,omitempty"`

	// True if Query Insights will record client address when enabled.
	// +kubebuilder:validation:Optional
	RecordClientAddress *bool `json:"recordClientAddress,omitempty" tf:"record_client_address,omitempty"`
}

func (*InsightsConfigParameters) DeepCopy

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

func (*InsightsConfigParameters) DeepCopyInto

func (in *InsightsConfigParameters) DeepCopyInto(out *InsightsConfigParameters)

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

type LocationPreferenceObservation

type LocationPreferenceObservation struct {
}

func (*LocationPreferenceObservation) DeepCopy

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

func (*LocationPreferenceObservation) DeepCopyInto

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

type LocationPreferenceParameters

type LocationPreferenceParameters struct {

	// A Google App Engine application whose zone to remain in. Must be in the same region as this instance.
	// +kubebuilder:validation:Optional
	FollowGaeApplication *string `json:"followGaeApplication,omitempty" tf:"follow_gae_application,omitempty"`

	// The preferred compute engine zone.
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*LocationPreferenceParameters) DeepCopy

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

func (*LocationPreferenceParameters) DeepCopyInto

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

type MaintenanceWindowObservation

type MaintenanceWindowObservation struct {
}

func (*MaintenanceWindowObservation) DeepCopy

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

func (*MaintenanceWindowObservation) DeepCopyInto

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

type MaintenanceWindowParameters

type MaintenanceWindowParameters struct {

	// Day of week (1-7), starting on Monday
	// +kubebuilder:validation:Optional
	Day *float64 `json:"day,omitempty" tf:"day,omitempty"`

	// Hour of day (0-23), ignored if day not set
	// +kubebuilder:validation:Optional
	Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"`

	// Receive updates earlier (canary) or later (stable)
	// +kubebuilder:validation:Optional
	UpdateTrack *string `json:"updateTrack,omitempty" tf:"update_track,omitempty"`
}

func (*MaintenanceWindowParameters) DeepCopy

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

func (*MaintenanceWindowParameters) DeepCopyInto

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

type ReplicaConfigurationObservation

type ReplicaConfigurationObservation struct {
}

func (*ReplicaConfigurationObservation) DeepCopy

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

func (*ReplicaConfigurationObservation) DeepCopyInto

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

type ReplicaConfigurationParameters

type ReplicaConfigurationParameters struct {

	// PEM representation of the trusted CA's x509 certificate.
	// +kubebuilder:validation:Optional
	CACertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate,omitempty"`

	// PEM representation of the replica's x509 certificate.
	// +kubebuilder:validation:Optional
	ClientCertificate *string `json:"clientCertificate,omitempty" tf:"client_certificate,omitempty"`

	// PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.
	// +kubebuilder:validation:Optional
	ClientKey *string `json:"clientKey,omitempty" tf:"client_key,omitempty"`

	// The number of seconds between connect retries.
	// +kubebuilder:validation:Optional
	ConnectRetryInterval *float64 `json:"connectRetryInterval,omitempty" tf:"connect_retry_interval,omitempty"`

	// Path to a SQL file in Google Cloud Storage from which replica instances are created. Format is gs://bucket/filename.
	// +kubebuilder:validation:Optional
	DumpFilePath *string `json:"dumpFilePath,omitempty" tf:"dump_file_path,omitempty"`

	// 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.
	// +kubebuilder:validation:Optional
	FailoverTarget *bool `json:"failoverTarget,omitempty" tf:"failover_target,omitempty"`

	// Time in ms between replication heartbeats.
	// +kubebuilder:validation:Optional
	MasterHeartbeatPeriod *float64 `json:"masterHeartbeatPeriod,omitempty" tf:"master_heartbeat_period,omitempty"`

	// Password for the replication connection.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Permissible ciphers for use in SSL encryption.
	// +kubebuilder:validation:Optional
	SSLCipher *string `json:"sslCipher,omitempty" tf:"ssl_cipher,omitempty"`

	// Username for replication connection.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`

	// True if the master's common name value is checked during the SSL handshake.
	// +kubebuilder:validation:Optional
	VerifyServerCertificate *bool `json:"verifyServerCertificate,omitempty" tf:"verify_server_certificate,omitempty"`
}

func (*ReplicaConfigurationParameters) DeepCopy

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

func (*ReplicaConfigurationParameters) DeepCopyInto

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

type RestoreBackupContextObservation

type RestoreBackupContextObservation struct {
}

func (*RestoreBackupContextObservation) DeepCopy

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

func (*RestoreBackupContextObservation) DeepCopyInto

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

type RestoreBackupContextParameters

type RestoreBackupContextParameters struct {

	// The ID of the backup run to restore from.
	// +kubebuilder:validation:Required
	BackupRunID *float64 `json:"backupRunId" tf:"backup_run_id,omitempty"`

	// The ID of the instance that the backup was taken from.
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// The full project ID of the source instance.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*RestoreBackupContextParameters) DeepCopy

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

func (*RestoreBackupContextParameters) DeepCopyInto

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

type SSLCert

type SSLCert struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SSLCertSpec   `json:"spec"`
	Status            SSLCertStatus `json:"status,omitempty"`
}

SSLCert is the Schema for the SSLCerts API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*SSLCert) DeepCopy

func (in *SSLCert) DeepCopy() *SSLCert

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

func (*SSLCert) DeepCopyInto

func (in *SSLCert) DeepCopyInto(out *SSLCert)

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

func (*SSLCert) DeepCopyObject

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

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

func (*SSLCert) GetCondition

func (mg *SSLCert) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this SSLCert.

func (*SSLCert) GetConnectionDetailsMapping

func (tr *SSLCert) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SSLCert

func (*SSLCert) GetDeletionPolicy

func (mg *SSLCert) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SSLCert.

func (*SSLCert) GetID

func (tr *SSLCert) GetID() string

GetID returns ID of underlying Terraform resource of this SSLCert

func (*SSLCert) GetObservation

func (tr *SSLCert) GetObservation() (map[string]interface{}, error)

GetObservation of this SSLCert

func (*SSLCert) GetParameters

func (tr *SSLCert) GetParameters() (map[string]interface{}, error)

GetParameters of this SSLCert

func (*SSLCert) GetProviderConfigReference

func (mg *SSLCert) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SSLCert.

func (*SSLCert) GetProviderReference

func (mg *SSLCert) GetProviderReference() *xpv1.Reference

GetProviderReference of this SSLCert. Deprecated: Use GetProviderConfigReference.

func (*SSLCert) GetPublishConnectionDetailsTo added in v0.3.0

func (mg *SSLCert) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SSLCert.

func (*SSLCert) GetTerraformResourceType

func (mg *SSLCert) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SSLCert

func (*SSLCert) GetTerraformSchemaVersion

func (tr *SSLCert) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SSLCert) GetWriteConnectionSecretToReference

func (mg *SSLCert) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SSLCert.

func (*SSLCert) LateInitialize

func (tr *SSLCert) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SSLCert using its observed tfState. returns True if there are any spec changes for the resource.

func (*SSLCert) ResolveReferences

func (mg *SSLCert) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this SSLCert.

func (*SSLCert) SetConditions

func (mg *SSLCert) SetConditions(c ...xpv1.Condition)

SetConditions of this SSLCert.

func (*SSLCert) SetDeletionPolicy

func (mg *SSLCert) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SSLCert.

func (*SSLCert) SetObservation

func (tr *SSLCert) SetObservation(obs map[string]interface{}) error

SetObservation for this SSLCert

func (*SSLCert) SetParameters

func (tr *SSLCert) SetParameters(params map[string]interface{}) error

SetParameters for this SSLCert

func (*SSLCert) SetProviderConfigReference

func (mg *SSLCert) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SSLCert.

func (*SSLCert) SetProviderReference

func (mg *SSLCert) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this SSLCert. Deprecated: Use SetProviderConfigReference.

func (*SSLCert) SetPublishConnectionDetailsTo added in v0.3.0

func (mg *SSLCert) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SSLCert.

func (*SSLCert) SetWriteConnectionSecretToReference

func (mg *SSLCert) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SSLCert.

type SSLCertList

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

SSLCertList contains a list of SSLCerts

func (*SSLCertList) DeepCopy

func (in *SSLCertList) DeepCopy() *SSLCertList

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

func (*SSLCertList) DeepCopyInto

func (in *SSLCertList) DeepCopyInto(out *SSLCertList)

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

func (*SSLCertList) DeepCopyObject

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

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

func (*SSLCertList) GetItems

func (l *SSLCertList) GetItems() []resource.Managed

GetItems of this SSLCertList.

type SSLCertObservation

type SSLCertObservation struct {
	Cert *string `json:"cert,omitempty" tf:"cert,omitempty"`

	CertSerialNumber *string `json:"certSerialNumber,omitempty" tf:"cert_serial_number,omitempty"`

	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	ServerCACert *string `json:"serverCaCert,omitempty" tf:"server_ca_cert,omitempty"`

	Sha1Fingerprint *string `json:"sha1Fingerprint,omitempty" tf:"sha1_fingerprint,omitempty"`
}

func (*SSLCertObservation) DeepCopy

func (in *SSLCertObservation) DeepCopy() *SSLCertObservation

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

func (*SSLCertObservation) DeepCopyInto

func (in *SSLCertObservation) DeepCopyInto(out *SSLCertObservation)

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

type SSLCertParameters

type SSLCertParameters struct {

	// 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.
	// +kubebuilder:validation:Required
	CommonName *string `json:"commonName" tf:"common_name,omitempty"`

	// The name of the Cloud SQL instance. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=DatabaseInstance
	// +kubebuilder:validation:Optional
	Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`

	// +kubebuilder:validation:Optional
	InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"`

	// The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*SSLCertParameters) DeepCopy

func (in *SSLCertParameters) DeepCopy() *SSLCertParameters

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

func (*SSLCertParameters) DeepCopyInto

func (in *SSLCertParameters) DeepCopyInto(out *SSLCertParameters)

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

type SSLCertSpec

type SSLCertSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SSLCertParameters `json:"forProvider"`
}

SSLCertSpec defines the desired state of SSLCert

func (*SSLCertSpec) DeepCopy

func (in *SSLCertSpec) DeepCopy() *SSLCertSpec

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

func (*SSLCertSpec) DeepCopyInto

func (in *SSLCertSpec) DeepCopyInto(out *SSLCertSpec)

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

type SSLCertStatus

type SSLCertStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SSLCertObservation `json:"atProvider,omitempty"`
}

SSLCertStatus defines the observed state of SSLCert.

func (*SSLCertStatus) DeepCopy

func (in *SSLCertStatus) DeepCopy() *SSLCertStatus

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

func (*SSLCertStatus) DeepCopyInto

func (in *SSLCertStatus) DeepCopyInto(out *SSLCertStatus)

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

type ServerCACertObservation

type ServerCACertObservation struct {
	Cert *string `json:"cert,omitempty" tf:"cert,omitempty"`

	CommonName *string `json:"commonName,omitempty" tf:"common_name,omitempty"`

	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"`

	Sha1Fingerprint *string `json:"sha1Fingerprint,omitempty" tf:"sha1_fingerprint,omitempty"`
}

func (*ServerCACertObservation) DeepCopy

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

func (*ServerCACertObservation) DeepCopyInto

func (in *ServerCACertObservation) DeepCopyInto(out *ServerCACertObservation)

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

type ServerCACertParameters

type ServerCACertParameters struct {
}

func (*ServerCACertParameters) DeepCopy

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

func (*ServerCACertParameters) DeepCopyInto

func (in *ServerCACertParameters) DeepCopyInto(out *ServerCACertParameters)

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

type SettingsObservation

type SettingsObservation struct {
	Version *float64 `json:"version,omitempty" tf:"version,omitempty"`
}

func (*SettingsObservation) DeepCopy

func (in *SettingsObservation) DeepCopy() *SettingsObservation

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

func (*SettingsObservation) DeepCopyInto

func (in *SettingsObservation) DeepCopyInto(out *SettingsObservation)

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

type SettingsParameters

type SettingsParameters struct {

	// This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND.
	// +kubebuilder:validation:Optional
	ActivationPolicy *string `json:"activationPolicy,omitempty" tf:"activation_policy,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.
	// +kubebuilder:validation:Optional
	AvailabilityType *string `json:"availabilityType,omitempty" tf:"availability_type,omitempty"`

	// +kubebuilder:validation:Optional
	BackupConfiguration []BackupConfigurationParameters `json:"backupConfiguration,omitempty" tf:"backup_configuration,omitempty"`

	// The name of server instance collation.
	// +kubebuilder:validation:Optional
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// +kubebuilder:validation:Optional
	DatabaseFlags []DatabaseFlagsParameters `json:"databaseFlags,omitempty" tf:"database_flags,omitempty"`

	// Configuration to increase storage size automatically.  Note that future terraform apply calls will attempt to resize the disk to the value specified in disk_size - if this is set, do not set disk_size.
	// +kubebuilder:validation:Optional
	DiskAutoresize *bool `json:"diskAutoresize,omitempty" tf:"disk_autoresize,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.
	// +kubebuilder:validation:Optional
	DiskAutoresizeLimit *float64 `json:"diskAutoresizeLimit,omitempty" tf:"disk_autoresize_limit,omitempty"`

	// The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// The type of data disk: PD_SSD or PD_HDD.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// +kubebuilder:validation:Optional
	IPConfiguration []IPConfigurationParameters `json:"ipConfiguration,omitempty" tf:"ip_configuration,omitempty"`

	// Configuration of Query Insights.
	// +kubebuilder:validation:Optional
	InsightsConfig []InsightsConfigParameters `json:"insightsConfig,omitempty" tf:"insights_config,omitempty"`

	// +kubebuilder:validation:Optional
	LocationPreference []LocationPreferenceParameters `json:"locationPreference,omitempty" tf:"location_preference,omitempty"`

	// Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
	// +kubebuilder:validation:Optional
	MaintenanceWindow []MaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

	// Pricing plan for this instance, can only be PER_USE.
	// +kubebuilder:validation:Optional
	PricingPlan *string `json:"pricingPlan,omitempty" tf:"pricing_plan,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.
	// +kubebuilder:validation:Required
	Tier *string `json:"tier" tf:"tier,omitempty"`

	// A set of key/value user label pairs to assign to the instance.
	// +kubebuilder:validation:Optional
	UserLabels map[string]*string `json:"userLabels,omitempty" tf:"user_labels,omitempty"`
}

func (*SettingsParameters) DeepCopy

func (in *SettingsParameters) DeepCopy() *SettingsParameters

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

func (*SettingsParameters) DeepCopyInto

func (in *SettingsParameters) DeepCopyInto(out *SettingsParameters)

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

type SourceRepresentationInstance

type SourceRepresentationInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SourceRepresentationInstanceSpec   `json:"spec"`
	Status            SourceRepresentationInstanceStatus `json:"status,omitempty"`
}

SourceRepresentationInstance is the Schema for the SourceRepresentationInstances API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*SourceRepresentationInstance) DeepCopy

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

func (*SourceRepresentationInstance) DeepCopyInto

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

func (*SourceRepresentationInstance) DeepCopyObject

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

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

func (*SourceRepresentationInstance) GetCondition

GetCondition of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) GetConnectionDetailsMapping

func (tr *SourceRepresentationInstance) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetDeletionPolicy

func (mg *SourceRepresentationInstance) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) GetID

GetID returns ID of underlying Terraform resource of this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetObservation

func (tr *SourceRepresentationInstance) GetObservation() (map[string]interface{}, error)

GetObservation of this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetParameters

func (tr *SourceRepresentationInstance) GetParameters() (map[string]interface{}, error)

GetParameters of this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetProviderConfigReference

func (mg *SourceRepresentationInstance) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) GetProviderReference

func (mg *SourceRepresentationInstance) GetProviderReference() *xpv1.Reference

GetProviderReference of this SourceRepresentationInstance. Deprecated: Use GetProviderConfigReference.

func (*SourceRepresentationInstance) GetPublishConnectionDetailsTo added in v0.3.0

func (mg *SourceRepresentationInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) GetTerraformResourceType

func (mg *SourceRepresentationInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetTerraformSchemaVersion

func (tr *SourceRepresentationInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SourceRepresentationInstance) GetWriteConnectionSecretToReference

func (mg *SourceRepresentationInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) LateInitialize

func (tr *SourceRepresentationInstance) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SourceRepresentationInstance using its observed tfState. returns True if there are any spec changes for the resource.

func (*SourceRepresentationInstance) SetConditions

func (mg *SourceRepresentationInstance) SetConditions(c ...xpv1.Condition)

SetConditions of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) SetDeletionPolicy

func (mg *SourceRepresentationInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) SetObservation

func (tr *SourceRepresentationInstance) SetObservation(obs map[string]interface{}) error

SetObservation for this SourceRepresentationInstance

func (*SourceRepresentationInstance) SetParameters

func (tr *SourceRepresentationInstance) SetParameters(params map[string]interface{}) error

SetParameters for this SourceRepresentationInstance

func (*SourceRepresentationInstance) SetProviderConfigReference

func (mg *SourceRepresentationInstance) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) SetProviderReference

func (mg *SourceRepresentationInstance) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this SourceRepresentationInstance. Deprecated: Use SetProviderConfigReference.

func (*SourceRepresentationInstance) SetPublishConnectionDetailsTo added in v0.3.0

func (mg *SourceRepresentationInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) SetWriteConnectionSecretToReference

func (mg *SourceRepresentationInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SourceRepresentationInstance.

type SourceRepresentationInstanceList

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

SourceRepresentationInstanceList contains a list of SourceRepresentationInstances

func (*SourceRepresentationInstanceList) DeepCopy

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

func (*SourceRepresentationInstanceList) DeepCopyInto

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

func (*SourceRepresentationInstanceList) DeepCopyObject

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

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

func (*SourceRepresentationInstanceList) GetItems

GetItems of this SourceRepresentationInstanceList.

type SourceRepresentationInstanceObservation

type SourceRepresentationInstanceObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*SourceRepresentationInstanceObservation) DeepCopy

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

func (*SourceRepresentationInstanceObservation) DeepCopyInto

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

type SourceRepresentationInstanceParameters

type SourceRepresentationInstanceParameters struct {

	// The MySQL version running on your source database server. Possible values: ["MYSQL_5_5", "MYSQL_5_6", "MYSQL_5_7", "MYSQL_8_0"]
	// +kubebuilder:validation:Required
	DatabaseVersion *string `json:"databaseVersion" tf:"database_version,omitempty"`

	// The externally accessible IPv4 address for the source database server.
	// +kubebuilder:validation:Required
	Host *string `json:"host" tf:"host,omitempty"`

	// The externally accessible port for the source database server.
	// Defaults to 3306.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The Region in which the created instance should reside.
	// If it is not provided, the provider region is used.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*SourceRepresentationInstanceParameters) DeepCopy

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

func (*SourceRepresentationInstanceParameters) DeepCopyInto

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

type SourceRepresentationInstanceSpec

type SourceRepresentationInstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SourceRepresentationInstanceParameters `json:"forProvider"`
}

SourceRepresentationInstanceSpec defines the desired state of SourceRepresentationInstance

func (*SourceRepresentationInstanceSpec) DeepCopy

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

func (*SourceRepresentationInstanceSpec) DeepCopyInto

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

type SourceRepresentationInstanceStatus

type SourceRepresentationInstanceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SourceRepresentationInstanceObservation `json:"atProvider,omitempty"`
}

SourceRepresentationInstanceStatus defines the observed state of SourceRepresentationInstance.

func (*SourceRepresentationInstanceStatus) DeepCopy

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

func (*SourceRepresentationInstanceStatus) DeepCopyInto

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

type User

type User struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              UserSpec   `json:"spec"`
	Status            UserStatus `json:"status,omitempty"`
}

User is the Schema for the Users API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (*User) DeepCopyObject

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

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

func (*User) GetCondition

func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this User.

func (*User) GetConnectionDetailsMapping

func (tr *User) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this User

func (*User) GetDeletionPolicy

func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this User.

func (*User) GetID

func (tr *User) GetID() string

GetID returns ID of underlying Terraform resource of this User

func (*User) GetObservation

func (tr *User) GetObservation() (map[string]interface{}, error)

GetObservation of this User

func (*User) GetParameters

func (tr *User) GetParameters() (map[string]interface{}, error)

GetParameters of this User

func (*User) GetProviderConfigReference

func (mg *User) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this User.

func (*User) GetProviderReference

func (mg *User) GetProviderReference() *xpv1.Reference

GetProviderReference of this User. Deprecated: Use GetProviderConfigReference.

func (*User) GetPublishConnectionDetailsTo added in v0.3.0

func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this User.

func (*User) GetTerraformResourceType

func (mg *User) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this User

func (*User) GetTerraformSchemaVersion

func (tr *User) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*User) GetWriteConnectionSecretToReference

func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this User.

func (*User) LateInitialize

func (tr *User) LateInitialize(attrs []byte) (bool, error)

LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.

func (*User) ResolveReferences

func (mg *User) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this User.

func (*User) SetConditions

func (mg *User) SetConditions(c ...xpv1.Condition)

SetConditions of this User.

func (*User) SetDeletionPolicy

func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this User.

func (*User) SetObservation

func (tr *User) SetObservation(obs map[string]interface{}) error

SetObservation for this User

func (*User) SetParameters

func (tr *User) SetParameters(params map[string]interface{}) error

SetParameters for this User

func (*User) SetProviderConfigReference

func (mg *User) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this User.

func (*User) SetProviderReference

func (mg *User) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this User. Deprecated: Use SetProviderConfigReference.

func (*User) SetPublishConnectionDetailsTo added in v0.3.0

func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this User.

func (*User) SetWriteConnectionSecretToReference

func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this User.

type UserList

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

UserList contains a list of Users

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject

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

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

func (*UserList) GetItems

func (l *UserList) GetItems() []resource.Managed

GetItems of this UserList.

type UserObservation

type UserObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

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

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

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

type UserParameters

type UserParameters struct {

	// The deletion policy for the user. Setting ABANDON allows the resource
	// to be abandoned rather than deleted. This is useful for Postgres, where users cannot be deleted from the API if they
	// have been granted SQL roles. Possible values are: "ABANDON".
	// +kubebuilder:validation:Optional
	DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"`

	// 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.
	// +kubebuilder:validation:Optional
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// The name of the Cloud SQL instance. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=DatabaseInstance
	// +kubebuilder:validation:Optional
	Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`

	// +kubebuilder:validation:Optional
	InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"`

	// 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.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// 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".
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

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

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

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

type UserSpec

type UserSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     UserParameters `json:"forProvider"`
}

UserSpec defines the desired state of User

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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

type UserStatus

type UserStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        UserObservation `json:"atProvider,omitempty"`
}

UserStatus defines the observed state of User.

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.

Jump to

Keyboard shortcuts

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