v1alpha1

package
v1.107.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for alloydb/v1alpha1 API group

Package v1alpha1 contains API Schema definitions for the alloydb v1alpha1 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(),
	}
)

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 {
	/* Immutable. The full resource name of the backup source cluster (e.g., projects/{project}/locations/{location}/clusters/{clusterId}). */
	ClusterName string `json:"clusterName"`

	/* 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.

	If no policy is provided then the default policy will be used. The default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. */
	// +optional
	AutomatedBackupPolicy *ClusterAutomatedBackupPolicy `json:"automatedBackupPolicy,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"`

	/* The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:

	"projects/{projectNumber}/global/networks/{network_id}". */
	Network string `json:"network"`

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

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

	/* 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. Possible values: ["AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL"]. */
	// +optional
	AvailabilityType *string `json:"availabilityType,omitempty"`

	/* Immutable. Identifies the alloydb cluster. Must be in the format
	'projects/{project}/locations/{location}/clusters/{cluster_id}'. */
	Cluster string `json:"cluster"`

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

	/* Immutable. The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the 'depends_on' meta-data attribute. Possible values: ["PRIMARY", "READ_POOL"]. */
	InstanceType string `json:"instanceType"`

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

	/* Read pool specific config. */
	// +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 BackupEncryptionConfig added in v1.105.0

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 added in v1.105.0

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

func (*BackupEncryptionConfig) DeepCopyInto added in v1.105.0

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 added in v1.105.0

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 added in v1.105.0

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

func (*BackupEncryptionInfoStatus) DeepCopyInto added in v1.105.0

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 ClusterEncryptionConfig added in v1.105.0

type ClusterEncryptionConfig 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 (*ClusterEncryptionConfig) DeepCopy added in v1.105.0

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

func (*ClusterEncryptionConfig) DeepCopyInto added in v1.105.0

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 added in v1.105.0

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 added in v1.105.0

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

func (*ClusterEncryptionInfoStatus) DeepCopyInto added in v1.105.0

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 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 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.ResourceRef `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.

Jump to

Keyboard shortcuts

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