v1beta1

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for alloydb/v1beta1 API group

Package v1beta1 contains API Schema definitions for the alloydb v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/alloydb +k8s:defaulter-gen=TypeMeta +groupName=alloydb.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: "alloydb.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

	AlloyDBBackupGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(AlloyDBBackup{}).Name(),
	}

	AlloyDBClusterGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(AlloyDBCluster{}).Name(),
	}

	AlloyDBInstanceGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(AlloyDBInstance{}).Name(),
	}

	AlloyDBUserGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(AlloyDBUser{}).Name(),
	}
)

Functions

This section is empty.

Types

type AlloyDBBackup

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

	Spec   AlloyDBBackupSpec   `json:"spec,omitempty"`
	Status AlloyDBBackupStatus `json:"status,omitempty"`
}

AlloyDBBackup is the Schema for the alloydb API +k8s:openapi-gen=true

func (*AlloyDBBackup) DeepCopy

func (in *AlloyDBBackup) DeepCopy() *AlloyDBBackup

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

func (*AlloyDBBackup) DeepCopyInto

func (in *AlloyDBBackup) DeepCopyInto(out *AlloyDBBackup)

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

func (*AlloyDBBackup) DeepCopyObject

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

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

type AlloyDBBackupList

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

AlloyDBBackupList contains a list of AlloyDBBackup

func (*AlloyDBBackupList) DeepCopy

func (in *AlloyDBBackupList) DeepCopy() *AlloyDBBackupList

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

func (*AlloyDBBackupList) DeepCopyInto

func (in *AlloyDBBackupList) DeepCopyInto(out *AlloyDBBackupList)

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

func (*AlloyDBBackupList) DeepCopyObject

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

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

type AlloyDBBackupSpec

type AlloyDBBackupSpec struct {
	/* The full resource name of the backup source cluster (e.g., projects/{project}/locations/{location}/clusters/{clusterId}). */
	ClusterNameRef v1alpha1.ResourceRef `json:"clusterNameRef"`

	/* Immutable. User-provided description of the backup. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). */
	// +optional
	EncryptionConfig *BackupEncryptionConfig `json:"encryptionConfig,omitempty"`

	/* Immutable. The location where the alloydb backup should reside. */
	Location string `json:"location"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The backupId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*AlloyDBBackupSpec) DeepCopy

func (in *AlloyDBBackupSpec) DeepCopy() *AlloyDBBackupSpec

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

func (*AlloyDBBackupSpec) DeepCopyInto

func (in *AlloyDBBackupSpec) DeepCopyInto(out *AlloyDBBackupSpec)

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

type AlloyDBBackupStatus

type AlloyDBBackupStatus struct {
	/* Conditions represent the latest available observations of the
	   AlloyDBBackup's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Time the Backup was created in UTC. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* EncryptionInfo describes the encryption information of a cluster or a backup. */
	// +optional
	EncryptionInfo []BackupEncryptionInfoStatus `json:"encryptionInfo,omitempty"`

	/* A hash of the resource. */
	// +optional
	Etag *string `json:"etag,omitempty"`

	/* Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backupId}. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int `json:"observedGeneration,omitempty"`

	/* If true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance. */
	// +optional
	Reconciling *bool `json:"reconciling,omitempty"`

	/* The current state of the backup. */
	// +optional
	State *string `json:"state,omitempty"`

	/* Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted. */
	// +optional
	Uid *string `json:"uid,omitempty"`

	/* Time the Backup was updated in UTC. */
	// +optional
	UpdateTime *string `json:"updateTime,omitempty"`
}

func (*AlloyDBBackupStatus) DeepCopy

func (in *AlloyDBBackupStatus) DeepCopy() *AlloyDBBackupStatus

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

func (*AlloyDBBackupStatus) DeepCopyInto

func (in *AlloyDBBackupStatus) DeepCopyInto(out *AlloyDBBackupStatus)

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

type AlloyDBCluster

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

	Spec   AlloyDBClusterSpec   `json:"spec,omitempty"`
	Status AlloyDBClusterStatus `json:"status,omitempty"`
}

AlloyDBCluster is the Schema for the alloydb API +k8s:openapi-gen=true

func (*AlloyDBCluster) DeepCopy

func (in *AlloyDBCluster) DeepCopy() *AlloyDBCluster

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

func (*AlloyDBCluster) DeepCopyInto

func (in *AlloyDBCluster) DeepCopyInto(out *AlloyDBCluster)

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

func (*AlloyDBCluster) DeepCopyObject

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

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

type AlloyDBClusterList

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

AlloyDBClusterList contains a list of AlloyDBCluster

func (*AlloyDBClusterList) DeepCopy

func (in *AlloyDBClusterList) DeepCopy() *AlloyDBClusterList

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

func (*AlloyDBClusterList) DeepCopyInto

func (in *AlloyDBClusterList) DeepCopyInto(out *AlloyDBClusterList)

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

func (*AlloyDBClusterList) DeepCopyObject

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

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

type AlloyDBClusterSpec

type AlloyDBClusterSpec struct {
	/* The automated backup policy for this cluster. AutomatedBackupPolicy is disabled by default. */
	// +optional
	AutomatedBackupPolicy *ClusterAutomatedBackupPolicy `json:"automatedBackupPolicy,omitempty"`

	/* The type of cluster. If not set, defaults to PRIMARY. Default value: "PRIMARY" Possible values: ["PRIMARY", "SECONDARY"]. */
	// +optional
	ClusterType *string `json:"clusterType,omitempty"`

	/* The continuous backup config for this cluster.

	If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days. */
	// +optional
	ContinuousBackupConfig *ClusterContinuousBackupConfig `json:"continuousBackupConfig,omitempty"`

	/* Policy to determine if the cluster should be deleted forcefully.
	Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
	Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance. */
	// +optional
	DeletionPolicy *string `json:"deletionPolicy,omitempty"`

	/* User-settable and human-readable display name for the Cluster. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). */
	// +optional
	EncryptionConfig *ClusterEncryptionConfig `json:"encryptionConfig,omitempty"`

	/* Initial user to setup during cluster creation. */
	// +optional
	InitialUser *ClusterInitialUser `json:"initialUser,omitempty"`

	/* Immutable. The location where the alloydb cluster should reside. */
	Location string `json:"location"`

	/* Metadata related to network configuration. */
	// +optional
	NetworkConfig *ClusterNetworkConfig `json:"networkConfig,omitempty"`

	/* (Required) The relative resource name of the VPC network on which
	the instance can be accessed. It is specified in the following form:
	projects/{project}/global/networks/{network_id}. */
	// +optional
	NetworkRef *v1alpha1.ResourceRef `json:"networkRef,omitempty"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The clusterId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Immutable. The source when restoring from a backup. Conflicts with 'restore_continuous_backup_source', both can't be set together. */
	// +optional
	RestoreBackupSource *ClusterRestoreBackupSource `json:"restoreBackupSource,omitempty"`

	/* Immutable. The source when restoring via point in time recovery (PITR). Conflicts with 'restore_backup_source', both can't be set together. */
	// +optional
	RestoreContinuousBackupSource *ClusterRestoreContinuousBackupSource `json:"restoreContinuousBackupSource,omitempty"`

	/* Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY. */
	// +optional
	SecondaryConfig *ClusterSecondaryConfig `json:"secondaryConfig,omitempty"`
}

func (*AlloyDBClusterSpec) DeepCopy

func (in *AlloyDBClusterSpec) DeepCopy() *AlloyDBClusterSpec

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

func (*AlloyDBClusterSpec) DeepCopyInto

func (in *AlloyDBClusterSpec) DeepCopyInto(out *AlloyDBClusterSpec)

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

type AlloyDBClusterStatus

type AlloyDBClusterStatus struct {
	/* Conditions represent the latest available observations of the
	   AlloyDBCluster's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Cluster created from backup. */
	// +optional
	BackupSource []ClusterBackupSourceStatus `json:"backupSource,omitempty"`

	/* ContinuousBackupInfo describes the continuous backup properties of a cluster. */
	// +optional
	ContinuousBackupInfo []ClusterContinuousBackupInfoStatus `json:"continuousBackupInfo,omitempty"`

	/* The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation. */
	// +optional
	DatabaseVersion *string `json:"databaseVersion,omitempty"`

	/* EncryptionInfo describes the encryption information of a cluster or a backup. */
	// +optional
	EncryptionInfo []ClusterEncryptionInfoStatus `json:"encryptionInfo,omitempty"`

	/* Cluster created via DMS migration. */
	// +optional
	MigrationSource []ClusterMigrationSourceStatus `json:"migrationSource,omitempty"`

	/* The name of the cluster resource. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int `json:"observedGeneration,omitempty"`

	/* The system-generated UID of the resource. */
	// +optional
	Uid *string `json:"uid,omitempty"`
}

func (*AlloyDBClusterStatus) DeepCopy

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

func (*AlloyDBClusterStatus) DeepCopyInto

func (in *AlloyDBClusterStatus) DeepCopyInto(out *AlloyDBClusterStatus)

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

type AlloyDBInstance

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

	Spec   AlloyDBInstanceSpec   `json:"spec,omitempty"`
	Status AlloyDBInstanceStatus `json:"status,omitempty"`
}

AlloyDBInstance is the Schema for the alloydb API +k8s:openapi-gen=true

func (*AlloyDBInstance) DeepCopy

func (in *AlloyDBInstance) DeepCopy() *AlloyDBInstance

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

func (*AlloyDBInstance) DeepCopyInto

func (in *AlloyDBInstance) DeepCopyInto(out *AlloyDBInstance)

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

func (*AlloyDBInstance) DeepCopyObject

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

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

type AlloyDBInstanceList

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

AlloyDBInstanceList contains a list of AlloyDBInstance

func (*AlloyDBInstanceList) DeepCopy

func (in *AlloyDBInstanceList) DeepCopy() *AlloyDBInstanceList

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

func (*AlloyDBInstanceList) DeepCopyInto

func (in *AlloyDBInstanceList) DeepCopyInto(out *AlloyDBInstanceList)

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

func (*AlloyDBInstanceList) DeepCopyObject

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

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

type AlloyDBInstanceSpec

type AlloyDBInstanceSpec struct {
	/* Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. */
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	/* 'Availability type of an Instance. Defaults to REGIONAL for both primary and read instances.
	Note that primary and read instances can have different availability types.
	Only READ_POOL instance supports ZONAL type. Users can't specify the zone for READ_POOL instance.
	Zone is automatically chosen from the list of zones in the region specified.
	Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
	can have regional availability (nodes are present in 2 or more zones in a region).' Possible values: ["AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL"]. */
	// +optional
	AvailabilityType *string `json:"availabilityType,omitempty"`

	ClusterRef v1alpha1.ResourceRef `json:"clusterRef"`

	/* Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. */
	// +optional
	DatabaseFlags map[string]string `json:"databaseFlags,omitempty"`

	/* User-settable and human-readable display name for the Instance. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity. */
	// +optional
	GceZone *string `json:"gceZone,omitempty"`

	/* We recommend that you use `instanceTypeRef` instead.
	The type of the instance. Possible values: [PRIMARY, READ_POOL, SECONDARY] */
	// +optional
	InstanceType *string `json:"instanceType,omitempty"`

	/* The type of instance.
	Possible values: ["PRIMARY", "READ_POOL", "SECONDARY"]
	For PRIMARY and SECONDARY instances, set the value to refer to the name of the associated cluster.
	This is recommended because the instance type of primary and secondary instances is tied to the cluster type of the associated cluster.
	If the secondary cluster is promoted to primary cluster, then the associated secondary instance also becomes primary instance.
	Example:
	instanceTypeRef:
	name: clusterName
	For instances of type READ_POOL, set the value using external keyword.
	Example:
	instanceTypeRef:
	external: READ_POOL
	If the instance type is SECONDARY, the delete instance operation does not delete the secondary instance but abandons it instead.
	Use deletionPolicy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete the secondary cluster as well its associated secondary instance. */
	// +optional
	InstanceTypeRef *v1alpha1.ResourceRef `json:"instanceTypeRef,omitempty"`

	/* Configurations for the machines that host the underlying database engine. */
	// +optional
	MachineConfig *InstanceMachineConfig `json:"machineConfig,omitempty"`

	/* Read pool specific config. If the instance type is READ_POOL, this configuration must be provided. */
	// +optional
	ReadPoolConfig *InstanceReadPoolConfig `json:"readPoolConfig,omitempty"`

	/* Immutable. Optional. The instanceId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*AlloyDBInstanceSpec) DeepCopy

func (in *AlloyDBInstanceSpec) DeepCopy() *AlloyDBInstanceSpec

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

func (*AlloyDBInstanceSpec) DeepCopyInto

func (in *AlloyDBInstanceSpec) DeepCopyInto(out *AlloyDBInstanceSpec)

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

type AlloyDBInstanceStatus

type AlloyDBInstanceStatus struct {
	/* Conditions represent the latest available observations of the
	   AlloyDBInstance's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Time the Instance was created in UTC. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* The IP address for the Instance. This is the connection endpoint for an end-user application. */
	// +optional
	IpAddress *string `json:"ipAddress,omitempty"`

	/* The name of the instance resource. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int `json:"observedGeneration,omitempty"`

	/* Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance. */
	// +optional
	Reconciling *bool `json:"reconciling,omitempty"`

	/* The current state of the alloydb instance. */
	// +optional
	State *string `json:"state,omitempty"`

	/* The system-generated UID of the resource. */
	// +optional
	Uid *string `json:"uid,omitempty"`

	/* Time the Instance was updated in UTC. */
	// +optional
	UpdateTime *string `json:"updateTime,omitempty"`
}

func (*AlloyDBInstanceStatus) DeepCopy

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

func (*AlloyDBInstanceStatus) DeepCopyInto

func (in *AlloyDBInstanceStatus) DeepCopyInto(out *AlloyDBInstanceStatus)

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

type AlloyDBUser added in v1.112.0

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

	Spec   AlloyDBUserSpec   `json:"spec,omitempty"`
	Status AlloyDBUserStatus `json:"status,omitempty"`
}

AlloyDBUser is the Schema for the alloydb API +k8s:openapi-gen=true

func (*AlloyDBUser) DeepCopy added in v1.112.0

func (in *AlloyDBUser) DeepCopy() *AlloyDBUser

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

func (*AlloyDBUser) DeepCopyInto added in v1.112.0

func (in *AlloyDBUser) DeepCopyInto(out *AlloyDBUser)

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

func (*AlloyDBUser) DeepCopyObject added in v1.112.0

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

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

type AlloyDBUserList added in v1.112.0

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

AlloyDBUserList contains a list of AlloyDBUser

func (*AlloyDBUserList) DeepCopy added in v1.112.0

func (in *AlloyDBUserList) DeepCopy() *AlloyDBUserList

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

func (*AlloyDBUserList) DeepCopyInto added in v1.112.0

func (in *AlloyDBUserList) DeepCopyInto(out *AlloyDBUserList)

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

func (*AlloyDBUserList) DeepCopyObject added in v1.112.0

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

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

type AlloyDBUserSpec added in v1.112.0

type AlloyDBUserSpec struct {
	ClusterRef v1alpha1.ResourceRef `json:"clusterRef"`

	/* List of database roles this database user has. */
	// +optional
	DatabaseRoles []string `json:"databaseRoles,omitempty"`

	/* Password for this database user. */
	// +optional
	Password *UserPassword `json:"password,omitempty"`

	/* Immutable. Optional. The userId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Immutable. The type of this user. Possible values: ["ALLOYDB_BUILT_IN", "ALLOYDB_IAM_USER"]. */
	UserType string `json:"userType"`
}

func (*AlloyDBUserSpec) DeepCopy added in v1.112.0

func (in *AlloyDBUserSpec) DeepCopy() *AlloyDBUserSpec

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

func (*AlloyDBUserSpec) DeepCopyInto added in v1.112.0

func (in *AlloyDBUserSpec) DeepCopyInto(out *AlloyDBUserSpec)

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

type AlloyDBUserStatus added in v1.112.0

type AlloyDBUserStatus struct {
	/* Conditions represent the latest available observations of the
	   AlloyDBUser's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int `json:"observedGeneration,omitempty"`
}

func (*AlloyDBUserStatus) DeepCopy added in v1.112.0

func (in *AlloyDBUserStatus) DeepCopy() *AlloyDBUserStatus

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

func (*AlloyDBUserStatus) DeepCopyInto added in v1.112.0

func (in *AlloyDBUserStatus) DeepCopyInto(out *AlloyDBUserStatus)

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

type BackupEncryptionConfig

type BackupEncryptionConfig struct {
	/* Immutable. The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. */
	// +optional
	KmsKeyName *string `json:"kmsKeyName,omitempty"`
}

func (*BackupEncryptionConfig) DeepCopy

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

func (*BackupEncryptionConfig) DeepCopyInto

func (in *BackupEncryptionConfig) DeepCopyInto(out *BackupEncryptionConfig)

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

type BackupEncryptionInfoStatus

type BackupEncryptionInfoStatus struct {
	/* Output only. Type of encryption. */
	// +optional
	EncryptionType *string `json:"encryptionType,omitempty"`

	/* Output only. Cloud KMS key versions that are being used to protect the database or the backup. */
	// +optional
	KmsKeyVersions []string `json:"kmsKeyVersions,omitempty"`
}

func (*BackupEncryptionInfoStatus) DeepCopy

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

func (*BackupEncryptionInfoStatus) DeepCopyInto

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

type ClusterAutomatedBackupPolicy

type ClusterAutomatedBackupPolicy struct {
	/* The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed.

	The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour.

	A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". */
	// +optional
	BackupWindow *string `json:"backupWindow,omitempty"`

	/* Whether automated backups are enabled. */
	// +optional
	Enabled *bool `json:"enabled,omitempty"`

	/* EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). */
	// +optional
	EncryptionConfig *ClusterEncryptionConfig `json:"encryptionConfig,omitempty"`

	/* Labels to apply to backups created using this configuration. */
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	/* The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. */
	// +optional
	Location *string `json:"location,omitempty"`

	/* Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together. */
	// +optional
	QuantityBasedRetention *ClusterQuantityBasedRetention `json:"quantityBasedRetention,omitempty"`

	/* Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together. */
	// +optional
	TimeBasedRetention *ClusterTimeBasedRetention `json:"timeBasedRetention,omitempty"`

	/* Weekly schedule for the Backup. */
	// +optional
	WeeklySchedule *ClusterWeeklySchedule `json:"weeklySchedule,omitempty"`
}

func (*ClusterAutomatedBackupPolicy) DeepCopy

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

func (*ClusterAutomatedBackupPolicy) DeepCopyInto

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

type ClusterBackupSourceStatus

type ClusterBackupSourceStatus struct {
	/* The name of the backup resource. */
	// +optional
	BackupName *string `json:"backupName,omitempty"`
}

func (*ClusterBackupSourceStatus) DeepCopy

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

func (*ClusterBackupSourceStatus) DeepCopyInto

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

type ClusterContinuousBackupConfig

type ClusterContinuousBackupConfig struct {
	/* Whether continuous backup recovery is enabled. If not set, defaults to true. */
	// +optional
	Enabled *bool `json:"enabled,omitempty"`

	/* EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). */
	// +optional
	EncryptionConfig *ClusterEncryptionConfig `json:"encryptionConfig,omitempty"`

	/* The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window.

	If not set, defaults to 14 days. */
	// +optional
	RecoveryWindowDays *int `json:"recoveryWindowDays,omitempty"`
}

func (*ClusterContinuousBackupConfig) DeepCopy

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

func (*ClusterContinuousBackupConfig) DeepCopyInto

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

type ClusterContinuousBackupInfoStatus

type ClusterContinuousBackupInfoStatus struct {
	/* The earliest restorable time that can be restored to. Output only field. */
	// +optional
	EarliestRestorableTime *string `json:"earliestRestorableTime,omitempty"`

	/* When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled. */
	// +optional
	EnabledTime *string `json:"enabledTime,omitempty"`

	/* Output only. The encryption information for the WALs and backups required for ContinuousBackup. */
	// +optional
	EncryptionInfo []ClusterEncryptionInfoStatus `json:"encryptionInfo,omitempty"`

	/* Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request. */
	// +optional
	Schedule []string `json:"schedule,omitempty"`
}

func (*ClusterContinuousBackupInfoStatus) DeepCopy

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

func (*ClusterContinuousBackupInfoStatus) DeepCopyInto

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

type ClusterEncryptionConfig

type ClusterEncryptionConfig struct {
	/* (Optional) The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. */
	// +optional
	KmsKeyNameRef *v1alpha1.ResourceRef `json:"kmsKeyNameRef,omitempty"`
}

func (*ClusterEncryptionConfig) DeepCopy

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

func (*ClusterEncryptionConfig) DeepCopyInto

func (in *ClusterEncryptionConfig) DeepCopyInto(out *ClusterEncryptionConfig)

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

type ClusterEncryptionInfoStatus

type ClusterEncryptionInfoStatus struct {
	/* Output only. Type of encryption. */
	// +optional
	EncryptionType *string `json:"encryptionType,omitempty"`

	/* Output only. Cloud KMS key versions that are being used to protect the database or the backup. */
	// +optional
	KmsKeyVersions []string `json:"kmsKeyVersions,omitempty"`
}

func (*ClusterEncryptionInfoStatus) DeepCopy

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

func (*ClusterEncryptionInfoStatus) DeepCopyInto

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

type ClusterInitialUser

type ClusterInitialUser struct {
	/* The initial password for the user. */
	Password ClusterPassword `json:"password"`

	/* The database username. */
	// +optional
	User *string `json:"user,omitempty"`
}

func (*ClusterInitialUser) DeepCopy

func (in *ClusterInitialUser) DeepCopy() *ClusterInitialUser

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

func (*ClusterInitialUser) DeepCopyInto

func (in *ClusterInitialUser) DeepCopyInto(out *ClusterInitialUser)

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

type ClusterMigrationSourceStatus

type ClusterMigrationSourceStatus struct {
	/* The host and port of the on-premises instance in host:port format. */
	// +optional
	HostPort *string `json:"hostPort,omitempty"`

	/* Place holder for the external source identifier(e.g DMS job name) that created the cluster. */
	// +optional
	ReferenceId *string `json:"referenceId,omitempty"`

	/* Type of migration source. */
	// +optional
	SourceType *string `json:"sourceType,omitempty"`
}

func (*ClusterMigrationSourceStatus) DeepCopy

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

func (*ClusterMigrationSourceStatus) DeepCopyInto

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

type ClusterNetworkConfig

type ClusterNetworkConfig struct {
	/* The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default".
	If set, the instance IPs for this cluster will be created in the allocated range. */
	// +optional
	AllocatedIpRange *string `json:"allocatedIpRange,omitempty"`

	/* (Required) The relative resource name of the VPC network on which
	the instance can be accessed. It is specified in the following form:
	projects/{project}/global/networks/{network_id}. */
	// +optional
	NetworkRef *v1alpha1.ResourceRef `json:"networkRef,omitempty"`
}

func (*ClusterNetworkConfig) DeepCopy

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

func (*ClusterNetworkConfig) DeepCopyInto

func (in *ClusterNetworkConfig) DeepCopyInto(out *ClusterNetworkConfig)

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

type ClusterPassword

type ClusterPassword struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the field's value. Cannot be used if 'value' is specified. */
	// +optional
	ValueFrom *ClusterValueFrom `json:"valueFrom,omitempty"`
}

func (*ClusterPassword) DeepCopy

func (in *ClusterPassword) DeepCopy() *ClusterPassword

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

func (*ClusterPassword) DeepCopyInto

func (in *ClusterPassword) DeepCopyInto(out *ClusterPassword)

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

type ClusterQuantityBasedRetention

type ClusterQuantityBasedRetention struct {
	/* The number of backups to retain. */
	// +optional
	Count *int `json:"count,omitempty"`
}

func (*ClusterQuantityBasedRetention) DeepCopy

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

func (*ClusterQuantityBasedRetention) DeepCopyInto

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

type ClusterRestoreBackupSource

type ClusterRestoreBackupSource struct {
	/* (Required) The name of the backup that this cluster is restored from. */
	BackupNameRef v1alpha1.ResourceRef `json:"backupNameRef"`
}

func (*ClusterRestoreBackupSource) DeepCopy

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

func (*ClusterRestoreBackupSource) DeepCopyInto

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

type ClusterRestoreContinuousBackupSource

type ClusterRestoreContinuousBackupSource struct {
	/* (Required) The name of the source cluster that this cluster is restored from. */
	ClusterRef v1alpha1.ResourceRef `json:"clusterRef"`

	/* Immutable. The point in time that this cluster is restored to, in RFC 3339 format. */
	PointInTime string `json:"pointInTime"`
}

func (*ClusterRestoreContinuousBackupSource) DeepCopy

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

func (*ClusterRestoreContinuousBackupSource) DeepCopyInto

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

type ClusterSecondaryConfig added in v1.114.1

type ClusterSecondaryConfig struct {
	/* Name of the primary cluster must be in the format
	'projects/{project}/locations/{location}/clusters/{cluster_id}' */
	PrimaryClusterNameRef v1alpha1.ResourceRef `json:"primaryClusterNameRef"`
}

func (*ClusterSecondaryConfig) DeepCopy added in v1.114.1

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

func (*ClusterSecondaryConfig) DeepCopyInto added in v1.114.1

func (in *ClusterSecondaryConfig) DeepCopyInto(out *ClusterSecondaryConfig)

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

type ClusterStartTimes

type ClusterStartTimes struct {
	/* Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. */
	// +optional
	Hours *int `json:"hours,omitempty"`

	/* Minutes of hour of day. Currently, only the value 0 is supported. */
	// +optional
	Minutes *int `json:"minutes,omitempty"`

	/* Fractions of seconds in nanoseconds. Currently, only the value 0 is supported. */
	// +optional
	Nanos *int `json:"nanos,omitempty"`

	/* Seconds of minutes of the time. Currently, only the value 0 is supported. */
	// +optional
	Seconds *int `json:"seconds,omitempty"`
}

func (*ClusterStartTimes) DeepCopy

func (in *ClusterStartTimes) DeepCopy() *ClusterStartTimes

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

func (*ClusterStartTimes) DeepCopyInto

func (in *ClusterStartTimes) DeepCopyInto(out *ClusterStartTimes)

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

type ClusterTimeBasedRetention

type ClusterTimeBasedRetention struct {
	/* The retention period.
	A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". */
	// +optional
	RetentionPeriod *string `json:"retentionPeriod,omitempty"`
}

func (*ClusterTimeBasedRetention) DeepCopy

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

func (*ClusterTimeBasedRetention) DeepCopyInto

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

type ClusterValueFrom

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

func (*ClusterValueFrom) DeepCopy

func (in *ClusterValueFrom) DeepCopy() *ClusterValueFrom

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

func (*ClusterValueFrom) DeepCopyInto

func (in *ClusterValueFrom) DeepCopyInto(out *ClusterValueFrom)

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

type ClusterWeeklySchedule

type ClusterWeeklySchedule struct {
	/* The days of the week to perform a backup. At least one day of the week must be provided. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]. */
	// +optional
	DaysOfWeek []string `json:"daysOfWeek,omitempty"`

	/* The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). */
	StartTimes []ClusterStartTimes `json:"startTimes"`
}

func (*ClusterWeeklySchedule) DeepCopy

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

func (*ClusterWeeklySchedule) DeepCopyInto

func (in *ClusterWeeklySchedule) DeepCopyInto(out *ClusterWeeklySchedule)

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

type InstanceMachineConfig

type InstanceMachineConfig struct {
	/* The number of CPU's in the VM instance. */
	// +optional
	CpuCount *int `json:"cpuCount,omitempty"`
}

func (*InstanceMachineConfig) DeepCopy

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

func (*InstanceMachineConfig) DeepCopyInto

func (in *InstanceMachineConfig) DeepCopyInto(out *InstanceMachineConfig)

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

type InstanceReadPoolConfig

type InstanceReadPoolConfig struct {
	/* Read capacity, i.e. number of nodes in a read pool instance. */
	// +optional
	NodeCount *int `json:"nodeCount,omitempty"`
}

func (*InstanceReadPoolConfig) DeepCopy

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

func (*InstanceReadPoolConfig) DeepCopyInto

func (in *InstanceReadPoolConfig) DeepCopyInto(out *InstanceReadPoolConfig)

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

type UserPassword added in v1.112.0

type UserPassword struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the field's value. Cannot be used if 'value' is specified. */
	// +optional
	ValueFrom *UserValueFrom `json:"valueFrom,omitempty"`
}

func (*UserPassword) DeepCopy added in v1.112.0

func (in *UserPassword) DeepCopy() *UserPassword

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

func (*UserPassword) DeepCopyInto added in v1.112.0

func (in *UserPassword) DeepCopyInto(out *UserPassword)

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

type UserValueFrom added in v1.112.0

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

func (*UserValueFrom) DeepCopy added in v1.112.0

func (in *UserValueFrom) DeepCopy() *UserValueFrom

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

func (*UserValueFrom) DeepCopyInto added in v1.112.0

func (in *UserValueFrom) DeepCopyInto(out *UserValueFrom)

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