dataprotection_kubeblocks_io_v1alpha1

package
v0.0.0-...-6209148 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: 0BSD Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataprotectionKubeblocksIoActionSetV1Alpha1Manifest

func NewDataprotectionKubeblocksIoActionSetV1Alpha1Manifest() datasource.DataSource

func NewDataprotectionKubeblocksIoBackupPolicyV1Alpha1Manifest

func NewDataprotectionKubeblocksIoBackupPolicyV1Alpha1Manifest() datasource.DataSource

func NewDataprotectionKubeblocksIoBackupRepoV1Alpha1Manifest

func NewDataprotectionKubeblocksIoBackupRepoV1Alpha1Manifest() datasource.DataSource

func NewDataprotectionKubeblocksIoBackupScheduleV1Alpha1Manifest

func NewDataprotectionKubeblocksIoBackupScheduleV1Alpha1Manifest() datasource.DataSource

func NewDataprotectionKubeblocksIoBackupV1Alpha1Manifest

func NewDataprotectionKubeblocksIoBackupV1Alpha1Manifest() datasource.DataSource

func NewDataprotectionKubeblocksIoRestoreV1Alpha1Manifest

func NewDataprotectionKubeblocksIoRestoreV1Alpha1Manifest() datasource.DataSource

Types

type DataprotectionKubeblocksIoActionSetV1Alpha1Manifest

type DataprotectionKubeblocksIoActionSetV1Alpha1Manifest struct{}

func (*DataprotectionKubeblocksIoActionSetV1Alpha1Manifest) Metadata

func (*DataprotectionKubeblocksIoActionSetV1Alpha1Manifest) Read

func (*DataprotectionKubeblocksIoActionSetV1Alpha1Manifest) Schema

type DataprotectionKubeblocksIoActionSetV1Alpha1ManifestData

type DataprotectionKubeblocksIoActionSetV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		Backup *struct {
			BackupData *struct {
				Command            *[]string `tfsdk:"command" json:"command,omitempty"`
				Image              *string   `tfsdk:"image" json:"image,omitempty"`
				OnError            *string   `tfsdk:"on_error" json:"onError,omitempty"`
				RunOnTargetPodNode *bool     `tfsdk:"run_on_target_pod_node" json:"runOnTargetPodNode,omitempty"`
				SyncProgress       *struct {
					Enabled         *bool  `tfsdk:"enabled" json:"enabled,omitempty"`
					IntervalSeconds *int64 `tfsdk:"interval_seconds" json:"intervalSeconds,omitempty"`
				} `tfsdk:"sync_progress" json:"syncProgress,omitempty"`
			} `tfsdk:"backup_data" json:"backupData,omitempty"`
			PostBackup *[]struct {
				Exec *struct {
					Command   *[]string `tfsdk:"command" json:"command,omitempty"`
					Container *string   `tfsdk:"container" json:"container,omitempty"`
					OnError   *string   `tfsdk:"on_error" json:"onError,omitempty"`
					Timeout   *string   `tfsdk:"timeout" json:"timeout,omitempty"`
				} `tfsdk:"exec" json:"exec,omitempty"`
				Job *struct {
					Command            *[]string `tfsdk:"command" json:"command,omitempty"`
					Image              *string   `tfsdk:"image" json:"image,omitempty"`
					OnError            *string   `tfsdk:"on_error" json:"onError,omitempty"`
					RunOnTargetPodNode *bool     `tfsdk:"run_on_target_pod_node" json:"runOnTargetPodNode,omitempty"`
				} `tfsdk:"job" json:"job,omitempty"`
			} `tfsdk:"post_backup" json:"postBackup,omitempty"`
			PreBackup *[]struct {
				Exec *struct {
					Command   *[]string `tfsdk:"command" json:"command,omitempty"`
					Container *string   `tfsdk:"container" json:"container,omitempty"`
					OnError   *string   `tfsdk:"on_error" json:"onError,omitempty"`
					Timeout   *string   `tfsdk:"timeout" json:"timeout,omitempty"`
				} `tfsdk:"exec" json:"exec,omitempty"`
				Job *struct {
					Command            *[]string `tfsdk:"command" json:"command,omitempty"`
					Image              *string   `tfsdk:"image" json:"image,omitempty"`
					OnError            *string   `tfsdk:"on_error" json:"onError,omitempty"`
					RunOnTargetPodNode *bool     `tfsdk:"run_on_target_pod_node" json:"runOnTargetPodNode,omitempty"`
				} `tfsdk:"job" json:"job,omitempty"`
			} `tfsdk:"pre_backup" json:"preBackup,omitempty"`
			PreDelete *struct {
				Command *[]string `tfsdk:"command" json:"command,omitempty"`
				Image   *string   `tfsdk:"image" json:"image,omitempty"`
			} `tfsdk:"pre_delete" json:"preDelete,omitempty"`
		} `tfsdk:"backup" json:"backup,omitempty"`
		BackupType *string            `tfsdk:"backup_type" json:"backupType,omitempty"`
		Env        *map[string]string `tfsdk:"env" json:"env,omitempty"`
		EnvFrom    *map[string]string `tfsdk:"env_from" json:"envFrom,omitempty"`
		Restore    *struct {
			BaseBackupRequired *bool `tfsdk:"base_backup_required" json:"baseBackupRequired,omitempty"`
			PostReady          *[]struct {
				Exec *struct {
					Command   *[]string `tfsdk:"command" json:"command,omitempty"`
					Container *string   `tfsdk:"container" json:"container,omitempty"`
					OnError   *string   `tfsdk:"on_error" json:"onError,omitempty"`
					Timeout   *string   `tfsdk:"timeout" json:"timeout,omitempty"`
				} `tfsdk:"exec" json:"exec,omitempty"`
				Job *struct {
					Command            *[]string `tfsdk:"command" json:"command,omitempty"`
					Image              *string   `tfsdk:"image" json:"image,omitempty"`
					OnError            *string   `tfsdk:"on_error" json:"onError,omitempty"`
					RunOnTargetPodNode *bool     `tfsdk:"run_on_target_pod_node" json:"runOnTargetPodNode,omitempty"`
				} `tfsdk:"job" json:"job,omitempty"`
			} `tfsdk:"post_ready" json:"postReady,omitempty"`
			PrepareData *struct {
				Command            *[]string `tfsdk:"command" json:"command,omitempty"`
				Image              *string   `tfsdk:"image" json:"image,omitempty"`
				OnError            *string   `tfsdk:"on_error" json:"onError,omitempty"`
				RunOnTargetPodNode *bool     `tfsdk:"run_on_target_pod_node" json:"runOnTargetPodNode,omitempty"`
			} `tfsdk:"prepare_data" json:"prepareData,omitempty"`
		} `tfsdk:"restore" json:"restore,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type DataprotectionKubeblocksIoBackupPolicyV1Alpha1Manifest

type DataprotectionKubeblocksIoBackupPolicyV1Alpha1Manifest struct{}

func (*DataprotectionKubeblocksIoBackupPolicyV1Alpha1Manifest) Metadata

func (*DataprotectionKubeblocksIoBackupPolicyV1Alpha1Manifest) Read

func (*DataprotectionKubeblocksIoBackupPolicyV1Alpha1Manifest) Schema

type DataprotectionKubeblocksIoBackupPolicyV1Alpha1ManifestData

type DataprotectionKubeblocksIoBackupPolicyV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		BackoffLimit  *int64 `tfsdk:"backoff_limit" json:"backoffLimit,omitempty"`
		BackupMethods *[]struct {
			ActionSetName *string `tfsdk:"action_set_name" json:"actionSetName,omitempty"`
			Env           *[]struct {
				Name      *string `tfsdk:"name" json:"name,omitempty"`
				Value     *string `tfsdk:"value" json:"value,omitempty"`
				ValueFrom *struct {
					ConfigMapKeyRef *struct {
						Key      *string `tfsdk:"key" json:"key,omitempty"`
						Name     *string `tfsdk:"name" json:"name,omitempty"`
						Optional *bool   `tfsdk:"optional" json:"optional,omitempty"`
					} `tfsdk:"config_map_key_ref" json:"configMapKeyRef,omitempty"`
					FieldRef *struct {
						ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
						FieldPath  *string `tfsdk:"field_path" json:"fieldPath,omitempty"`
					} `tfsdk:"field_ref" json:"fieldRef,omitempty"`
					ResourceFieldRef *struct {
						ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"`
						Divisor       *string `tfsdk:"divisor" json:"divisor,omitempty"`
						Resource      *string `tfsdk:"resource" json:"resource,omitempty"`
					} `tfsdk:"resource_field_ref" json:"resourceFieldRef,omitempty"`
					SecretKeyRef *struct {
						Key      *string `tfsdk:"key" json:"key,omitempty"`
						Name     *string `tfsdk:"name" json:"name,omitempty"`
						Optional *bool   `tfsdk:"optional" json:"optional,omitempty"`
					} `tfsdk:"secret_key_ref" json:"secretKeyRef,omitempty"`
				} `tfsdk:"value_from" json:"valueFrom,omitempty"`
			} `tfsdk:"env" json:"env,omitempty"`
			Name            *string `tfsdk:"name" json:"name,omitempty"`
			RuntimeSettings *struct {
				Resources *struct {
					Claims *[]struct {
						Name *string `tfsdk:"name" json:"name,omitempty"`
					} `tfsdk:"claims" json:"claims,omitempty"`
					Limits   *map[string]string `tfsdk:"limits" json:"limits,omitempty"`
					Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"`
				} `tfsdk:"resources" json:"resources,omitempty"`
			} `tfsdk:"runtime_settings" json:"runtimeSettings,omitempty"`
			SnapshotVolumes *bool `tfsdk:"snapshot_volumes" json:"snapshotVolumes,omitempty"`
			Target          *struct {
				ConnectionCredential *struct {
					HostKey     *string `tfsdk:"host_key" json:"hostKey,omitempty"`
					PasswordKey *string `tfsdk:"password_key" json:"passwordKey,omitempty"`
					PortKey     *string `tfsdk:"port_key" json:"portKey,omitempty"`
					SecretName  *string `tfsdk:"secret_name" json:"secretName,omitempty"`
					UsernameKey *string `tfsdk:"username_key" json:"usernameKey,omitempty"`
				} `tfsdk:"connection_credential" json:"connectionCredential,omitempty"`
				ContainerPort *struct {
					ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"`
					PortName      *string `tfsdk:"port_name" json:"portName,omitempty"`
				} `tfsdk:"container_port" json:"containerPort,omitempty"`
				Name        *string `tfsdk:"name" json:"name,omitempty"`
				PodSelector *struct {
					FallbackLabelSelector *struct {
						MatchExpressions *[]struct {
							Key      *string   `tfsdk:"key" json:"key,omitempty"`
							Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
							Values   *[]string `tfsdk:"values" json:"values,omitempty"`
						} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
						MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
					} `tfsdk:"fallback_label_selector" json:"fallbackLabelSelector,omitempty"`
					MatchExpressions *[]struct {
						Key      *string   `tfsdk:"key" json:"key,omitempty"`
						Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
						Values   *[]string `tfsdk:"values" json:"values,omitempty"`
					} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
					MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
					Strategy    *string            `tfsdk:"strategy" json:"strategy,omitempty"`
				} `tfsdk:"pod_selector" json:"podSelector,omitempty"`
				Resources *struct {
					Excluded *[]string `tfsdk:"excluded" json:"excluded,omitempty"`
					Included *[]string `tfsdk:"included" json:"included,omitempty"`
					Selector *struct {
						MatchExpressions *[]struct {
							Key      *string   `tfsdk:"key" json:"key,omitempty"`
							Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
							Values   *[]string `tfsdk:"values" json:"values,omitempty"`
						} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
						MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
					} `tfsdk:"selector" json:"selector,omitempty"`
				} `tfsdk:"resources" json:"resources,omitempty"`
				ServiceAccountName *string `tfsdk:"service_account_name" json:"serviceAccountName,omitempty"`
			} `tfsdk:"target" json:"target,omitempty"`
			TargetVolumes *struct {
				VolumeMounts *[]struct {
					MountPath        *string `tfsdk:"mount_path" json:"mountPath,omitempty"`
					MountPropagation *string `tfsdk:"mount_propagation" json:"mountPropagation,omitempty"`
					Name             *string `tfsdk:"name" json:"name,omitempty"`
					ReadOnly         *bool   `tfsdk:"read_only" json:"readOnly,omitempty"`
					SubPath          *string `tfsdk:"sub_path" json:"subPath,omitempty"`
					SubPathExpr      *string `tfsdk:"sub_path_expr" json:"subPathExpr,omitempty"`
				} `tfsdk:"volume_mounts" json:"volumeMounts,omitempty"`
				Volumes *[]string `tfsdk:"volumes" json:"volumes,omitempty"`
			} `tfsdk:"target_volumes" json:"targetVolumes,omitempty"`
			Targets *[]struct {
				ConnectionCredential *struct {
					HostKey     *string `tfsdk:"host_key" json:"hostKey,omitempty"`
					PasswordKey *string `tfsdk:"password_key" json:"passwordKey,omitempty"`
					PortKey     *string `tfsdk:"port_key" json:"portKey,omitempty"`
					SecretName  *string `tfsdk:"secret_name" json:"secretName,omitempty"`
					UsernameKey *string `tfsdk:"username_key" json:"usernameKey,omitempty"`
				} `tfsdk:"connection_credential" json:"connectionCredential,omitempty"`
				ContainerPort *struct {
					ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"`
					PortName      *string `tfsdk:"port_name" json:"portName,omitempty"`
				} `tfsdk:"container_port" json:"containerPort,omitempty"`
				Name        *string `tfsdk:"name" json:"name,omitempty"`
				PodSelector *struct {
					FallbackLabelSelector *struct {
						MatchExpressions *[]struct {
							Key      *string   `tfsdk:"key" json:"key,omitempty"`
							Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
							Values   *[]string `tfsdk:"values" json:"values,omitempty"`
						} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
						MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
					} `tfsdk:"fallback_label_selector" json:"fallbackLabelSelector,omitempty"`
					MatchExpressions *[]struct {
						Key      *string   `tfsdk:"key" json:"key,omitempty"`
						Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
						Values   *[]string `tfsdk:"values" json:"values,omitempty"`
					} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
					MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
					Strategy    *string            `tfsdk:"strategy" json:"strategy,omitempty"`
				} `tfsdk:"pod_selector" json:"podSelector,omitempty"`
				Resources *struct {
					Excluded *[]string `tfsdk:"excluded" json:"excluded,omitempty"`
					Included *[]string `tfsdk:"included" json:"included,omitempty"`
					Selector *struct {
						MatchExpressions *[]struct {
							Key      *string   `tfsdk:"key" json:"key,omitempty"`
							Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
							Values   *[]string `tfsdk:"values" json:"values,omitempty"`
						} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
						MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
					} `tfsdk:"selector" json:"selector,omitempty"`
				} `tfsdk:"resources" json:"resources,omitempty"`
				ServiceAccountName *string `tfsdk:"service_account_name" json:"serviceAccountName,omitempty"`
			} `tfsdk:"targets" json:"targets,omitempty"`
		} `tfsdk:"backup_methods" json:"backupMethods,omitempty"`
		BackupRepoName   *string `tfsdk:"backup_repo_name" json:"backupRepoName,omitempty"`
		EncryptionConfig *struct {
			Algorithm              *string `tfsdk:"algorithm" json:"algorithm,omitempty"`
			PassPhraseSecretKeyRef *struct {
				Key      *string `tfsdk:"key" json:"key,omitempty"`
				Name     *string `tfsdk:"name" json:"name,omitempty"`
				Optional *bool   `tfsdk:"optional" json:"optional,omitempty"`
			} `tfsdk:"pass_phrase_secret_key_ref" json:"passPhraseSecretKeyRef,omitempty"`
		} `tfsdk:"encryption_config" json:"encryptionConfig,omitempty"`
		PathPrefix *string `tfsdk:"path_prefix" json:"pathPrefix,omitempty"`
		Target     *struct {
			ConnectionCredential *struct {
				HostKey     *string `tfsdk:"host_key" json:"hostKey,omitempty"`
				PasswordKey *string `tfsdk:"password_key" json:"passwordKey,omitempty"`
				PortKey     *string `tfsdk:"port_key" json:"portKey,omitempty"`
				SecretName  *string `tfsdk:"secret_name" json:"secretName,omitempty"`
				UsernameKey *string `tfsdk:"username_key" json:"usernameKey,omitempty"`
			} `tfsdk:"connection_credential" json:"connectionCredential,omitempty"`
			ContainerPort *struct {
				ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"`
				PortName      *string `tfsdk:"port_name" json:"portName,omitempty"`
			} `tfsdk:"container_port" json:"containerPort,omitempty"`
			Name        *string `tfsdk:"name" json:"name,omitempty"`
			PodSelector *struct {
				FallbackLabelSelector *struct {
					MatchExpressions *[]struct {
						Key      *string   `tfsdk:"key" json:"key,omitempty"`
						Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
						Values   *[]string `tfsdk:"values" json:"values,omitempty"`
					} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
					MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
				} `tfsdk:"fallback_label_selector" json:"fallbackLabelSelector,omitempty"`
				MatchExpressions *[]struct {
					Key      *string   `tfsdk:"key" json:"key,omitempty"`
					Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
					Values   *[]string `tfsdk:"values" json:"values,omitempty"`
				} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
				MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
				Strategy    *string            `tfsdk:"strategy" json:"strategy,omitempty"`
			} `tfsdk:"pod_selector" json:"podSelector,omitempty"`
			Resources *struct {
				Excluded *[]string `tfsdk:"excluded" json:"excluded,omitempty"`
				Included *[]string `tfsdk:"included" json:"included,omitempty"`
				Selector *struct {
					MatchExpressions *[]struct {
						Key      *string   `tfsdk:"key" json:"key,omitempty"`
						Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
						Values   *[]string `tfsdk:"values" json:"values,omitempty"`
					} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
					MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
				} `tfsdk:"selector" json:"selector,omitempty"`
			} `tfsdk:"resources" json:"resources,omitempty"`
			ServiceAccountName *string `tfsdk:"service_account_name" json:"serviceAccountName,omitempty"`
		} `tfsdk:"target" json:"target,omitempty"`
		Targets *[]struct {
			ConnectionCredential *struct {
				HostKey     *string `tfsdk:"host_key" json:"hostKey,omitempty"`
				PasswordKey *string `tfsdk:"password_key" json:"passwordKey,omitempty"`
				PortKey     *string `tfsdk:"port_key" json:"portKey,omitempty"`
				SecretName  *string `tfsdk:"secret_name" json:"secretName,omitempty"`
				UsernameKey *string `tfsdk:"username_key" json:"usernameKey,omitempty"`
			} `tfsdk:"connection_credential" json:"connectionCredential,omitempty"`
			ContainerPort *struct {
				ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"`
				PortName      *string `tfsdk:"port_name" json:"portName,omitempty"`
			} `tfsdk:"container_port" json:"containerPort,omitempty"`
			Name        *string `tfsdk:"name" json:"name,omitempty"`
			PodSelector *struct {
				FallbackLabelSelector *struct {
					MatchExpressions *[]struct {
						Key      *string   `tfsdk:"key" json:"key,omitempty"`
						Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
						Values   *[]string `tfsdk:"values" json:"values,omitempty"`
					} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
					MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
				} `tfsdk:"fallback_label_selector" json:"fallbackLabelSelector,omitempty"`
				MatchExpressions *[]struct {
					Key      *string   `tfsdk:"key" json:"key,omitempty"`
					Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
					Values   *[]string `tfsdk:"values" json:"values,omitempty"`
				} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
				MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
				Strategy    *string            `tfsdk:"strategy" json:"strategy,omitempty"`
			} `tfsdk:"pod_selector" json:"podSelector,omitempty"`
			Resources *struct {
				Excluded *[]string `tfsdk:"excluded" json:"excluded,omitempty"`
				Included *[]string `tfsdk:"included" json:"included,omitempty"`
				Selector *struct {
					MatchExpressions *[]struct {
						Key      *string   `tfsdk:"key" json:"key,omitempty"`
						Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
						Values   *[]string `tfsdk:"values" json:"values,omitempty"`
					} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
					MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
				} `tfsdk:"selector" json:"selector,omitempty"`
			} `tfsdk:"resources" json:"resources,omitempty"`
			ServiceAccountName *string `tfsdk:"service_account_name" json:"serviceAccountName,omitempty"`
		} `tfsdk:"targets" json:"targets,omitempty"`
		UseKopia *bool `tfsdk:"use_kopia" json:"useKopia,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type DataprotectionKubeblocksIoBackupRepoV1Alpha1Manifest

type DataprotectionKubeblocksIoBackupRepoV1Alpha1Manifest struct{}

func (*DataprotectionKubeblocksIoBackupRepoV1Alpha1Manifest) Metadata

func (*DataprotectionKubeblocksIoBackupRepoV1Alpha1Manifest) Read

func (*DataprotectionKubeblocksIoBackupRepoV1Alpha1Manifest) Schema

type DataprotectionKubeblocksIoBackupRepoV1Alpha1ManifestData

type DataprotectionKubeblocksIoBackupRepoV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		AccessMethod *string            `tfsdk:"access_method" json:"accessMethod,omitempty"`
		Config       *map[string]string `tfsdk:"config" json:"config,omitempty"`
		Credential   *struct {
			Name      *string `tfsdk:"name" json:"name,omitempty"`
			Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
		} `tfsdk:"credential" json:"credential,omitempty"`
		PathPrefix         *string `tfsdk:"path_prefix" json:"pathPrefix,omitempty"`
		PvReclaimPolicy    *string `tfsdk:"pv_reclaim_policy" json:"pvReclaimPolicy,omitempty"`
		StorageProviderRef *string `tfsdk:"storage_provider_ref" json:"storageProviderRef,omitempty"`
		VolumeCapacity     *string `tfsdk:"volume_capacity" json:"volumeCapacity,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type DataprotectionKubeblocksIoBackupScheduleV1Alpha1Manifest

type DataprotectionKubeblocksIoBackupScheduleV1Alpha1Manifest struct{}

func (*DataprotectionKubeblocksIoBackupScheduleV1Alpha1Manifest) Metadata

func (*DataprotectionKubeblocksIoBackupScheduleV1Alpha1Manifest) Read

func (*DataprotectionKubeblocksIoBackupScheduleV1Alpha1Manifest) Schema

type DataprotectionKubeblocksIoBackupScheduleV1Alpha1ManifestData

type DataprotectionKubeblocksIoBackupScheduleV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		BackupPolicyName *string `tfsdk:"backup_policy_name" json:"backupPolicyName,omitempty"`
		Schedules        *[]struct {
			BackupMethod    *string `tfsdk:"backup_method" json:"backupMethod,omitempty"`
			CronExpression  *string `tfsdk:"cron_expression" json:"cronExpression,omitempty"`
			Enabled         *bool   `tfsdk:"enabled" json:"enabled,omitempty"`
			RetentionPeriod *string `tfsdk:"retention_period" json:"retentionPeriod,omitempty"`
		} `tfsdk:"schedules" json:"schedules,omitempty"`
		StartingDeadlineMinutes *int64 `tfsdk:"starting_deadline_minutes" json:"startingDeadlineMinutes,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type DataprotectionKubeblocksIoBackupV1Alpha1Manifest

type DataprotectionKubeblocksIoBackupV1Alpha1Manifest struct{}

func (*DataprotectionKubeblocksIoBackupV1Alpha1Manifest) Metadata

func (*DataprotectionKubeblocksIoBackupV1Alpha1Manifest) Read

func (*DataprotectionKubeblocksIoBackupV1Alpha1Manifest) Schema

type DataprotectionKubeblocksIoBackupV1Alpha1ManifestData

type DataprotectionKubeblocksIoBackupV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		BackupMethod     *string `tfsdk:"backup_method" json:"backupMethod,omitempty"`
		BackupPolicyName *string `tfsdk:"backup_policy_name" json:"backupPolicyName,omitempty"`
		DeletionPolicy   *string `tfsdk:"deletion_policy" json:"deletionPolicy,omitempty"`
		ParentBackupName *string `tfsdk:"parent_backup_name" json:"parentBackupName,omitempty"`
		RetentionPeriod  *string `tfsdk:"retention_period" json:"retentionPeriod,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type DataprotectionKubeblocksIoRestoreV1Alpha1Manifest

type DataprotectionKubeblocksIoRestoreV1Alpha1Manifest struct{}

func (*DataprotectionKubeblocksIoRestoreV1Alpha1Manifest) Metadata

func (*DataprotectionKubeblocksIoRestoreV1Alpha1Manifest) Read

func (*DataprotectionKubeblocksIoRestoreV1Alpha1Manifest) Schema

type DataprotectionKubeblocksIoRestoreV1Alpha1ManifestData

type DataprotectionKubeblocksIoRestoreV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		BackoffLimit *int64 `tfsdk:"backoff_limit" json:"backoffLimit,omitempty"`
		Backup       *struct {
			Name             *string `tfsdk:"name" json:"name,omitempty"`
			Namespace        *string `tfsdk:"namespace" json:"namespace,omitempty"`
			SourceTargetName *string `tfsdk:"source_target_name" json:"sourceTargetName,omitempty"`
		} `tfsdk:"backup" json:"backup,omitempty"`
		ContainerResources *struct {
			Claims *[]struct {
				Name *string `tfsdk:"name" json:"name,omitempty"`
			} `tfsdk:"claims" json:"claims,omitempty"`
			Limits   *map[string]string `tfsdk:"limits" json:"limits,omitempty"`
			Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"`
		} `tfsdk:"container_resources" json:"containerResources,omitempty"`
		Env               *map[string]string `tfsdk:"env" json:"env,omitempty"`
		PrepareDataConfig *struct {
			DataSourceRef *struct {
				MountPath    *string `tfsdk:"mount_path" json:"mountPath,omitempty"`
				VolumeSource *string `tfsdk:"volume_source" json:"volumeSource,omitempty"`
			} `tfsdk:"data_source_ref" json:"dataSourceRef,omitempty"`
			RequiredPolicyForAllPodSelection *struct {
				DataRestorePolicy *string `tfsdk:"data_restore_policy" json:"dataRestorePolicy,omitempty"`
				SourceOfOneToMany *struct {
					TargetPodName *string `tfsdk:"target_pod_name" json:"targetPodName,omitempty"`
				} `tfsdk:"source_of_one_to_many" json:"sourceOfOneToMany,omitempty"`
			} `tfsdk:"required_policy_for_all_pod_selection" json:"requiredPolicyForAllPodSelection,omitempty"`
			SchedulingSpec *struct {
				Affinity *struct {
					NodeAffinity *struct {
						PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
							Preference *struct {
								MatchExpressions *[]struct {
									Key      *string   `tfsdk:"key" json:"key,omitempty"`
									Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
									Values   *[]string `tfsdk:"values" json:"values,omitempty"`
								} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
								MatchFields *[]struct {
									Key      *string   `tfsdk:"key" json:"key,omitempty"`
									Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
									Values   *[]string `tfsdk:"values" json:"values,omitempty"`
								} `tfsdk:"match_fields" json:"matchFields,omitempty"`
							} `tfsdk:"preference" json:"preference,omitempty"`
							Weight *int64 `tfsdk:"weight" json:"weight,omitempty"`
						} `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
						RequiredDuringSchedulingIgnoredDuringExecution *struct {
							NodeSelectorTerms *[]struct {
								MatchExpressions *[]struct {
									Key      *string   `tfsdk:"key" json:"key,omitempty"`
									Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
									Values   *[]string `tfsdk:"values" json:"values,omitempty"`
								} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
								MatchFields *[]struct {
									Key      *string   `tfsdk:"key" json:"key,omitempty"`
									Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
									Values   *[]string `tfsdk:"values" json:"values,omitempty"`
								} `tfsdk:"match_fields" json:"matchFields,omitempty"`
							} `tfsdk:"node_selector_terms" json:"nodeSelectorTerms,omitempty"`
						} `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
					} `tfsdk:"node_affinity" json:"nodeAffinity,omitempty"`
					PodAffinity *struct {
						PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
							PodAffinityTerm *struct {
								LabelSelector *struct {
									MatchExpressions *[]struct {
										Key      *string   `tfsdk:"key" json:"key,omitempty"`
										Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
										Values   *[]string `tfsdk:"values" json:"values,omitempty"`
									} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
									MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
								} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
								MatchLabelKeys    *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"`
								MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,omitempty"`
								NamespaceSelector *struct {
									MatchExpressions *[]struct {
										Key      *string   `tfsdk:"key" json:"key,omitempty"`
										Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
										Values   *[]string `tfsdk:"values" json:"values,omitempty"`
									} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
									MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
								} `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"`
								Namespaces  *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"`
								TopologyKey *string   `tfsdk:"topology_key" json:"topologyKey,omitempty"`
							} `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"`
							Weight *int64 `tfsdk:"weight" json:"weight,omitempty"`
						} `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
						RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
							LabelSelector *struct {
								MatchExpressions *[]struct {
									Key      *string   `tfsdk:"key" json:"key,omitempty"`
									Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
									Values   *[]string `tfsdk:"values" json:"values,omitempty"`
								} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
								MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
							} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
							MatchLabelKeys    *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"`
							MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,omitempty"`
							NamespaceSelector *struct {
								MatchExpressions *[]struct {
									Key      *string   `tfsdk:"key" json:"key,omitempty"`
									Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
									Values   *[]string `tfsdk:"values" json:"values,omitempty"`
								} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
								MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
							} `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"`
							Namespaces  *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"`
							TopologyKey *string   `tfsdk:"topology_key" json:"topologyKey,omitempty"`
						} `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
					} `tfsdk:"pod_affinity" json:"podAffinity,omitempty"`
					PodAntiAffinity *struct {
						PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
							PodAffinityTerm *struct {
								LabelSelector *struct {
									MatchExpressions *[]struct {
										Key      *string   `tfsdk:"key" json:"key,omitempty"`
										Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
										Values   *[]string `tfsdk:"values" json:"values,omitempty"`
									} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
									MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
								} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
								MatchLabelKeys    *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"`
								MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,omitempty"`
								NamespaceSelector *struct {
									MatchExpressions *[]struct {
										Key      *string   `tfsdk:"key" json:"key,omitempty"`
										Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
										Values   *[]string `tfsdk:"values" json:"values,omitempty"`
									} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
									MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
								} `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"`
								Namespaces  *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"`
								TopologyKey *string   `tfsdk:"topology_key" json:"topologyKey,omitempty"`
							} `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"`
							Weight *int64 `tfsdk:"weight" json:"weight,omitempty"`
						} `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
						RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
							LabelSelector *struct {
								MatchExpressions *[]struct {
									Key      *string   `tfsdk:"key" json:"key,omitempty"`
									Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
									Values   *[]string `tfsdk:"values" json:"values,omitempty"`
								} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
								MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
							} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
							MatchLabelKeys    *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"`
							MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,omitempty"`
							NamespaceSelector *struct {
								MatchExpressions *[]struct {
									Key      *string   `tfsdk:"key" json:"key,omitempty"`
									Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
									Values   *[]string `tfsdk:"values" json:"values,omitempty"`
								} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
								MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
							} `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"`
							Namespaces  *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"`
							TopologyKey *string   `tfsdk:"topology_key" json:"topologyKey,omitempty"`
						} `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
					} `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"`
				} `tfsdk:"affinity" json:"affinity,omitempty"`
				NodeName      *string            `tfsdk:"node_name" json:"nodeName,omitempty"`
				NodeSelector  *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"`
				SchedulerName *string            `tfsdk:"scheduler_name" json:"schedulerName,omitempty"`
				Tolerations   *[]struct {
					Effect            *string `tfsdk:"effect" json:"effect,omitempty"`
					Key               *string `tfsdk:"key" json:"key,omitempty"`
					Operator          *string `tfsdk:"operator" json:"operator,omitempty"`
					TolerationSeconds *int64  `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"`
					Value             *string `tfsdk:"value" json:"value,omitempty"`
				} `tfsdk:"tolerations" json:"tolerations,omitempty"`
				TopologySpreadConstraints *[]struct {
					LabelSelector *struct {
						MatchExpressions *[]struct {
							Key      *string   `tfsdk:"key" json:"key,omitempty"`
							Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
							Values   *[]string `tfsdk:"values" json:"values,omitempty"`
						} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
						MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
					} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
					MatchLabelKeys     *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"`
					MaxSkew            *int64    `tfsdk:"max_skew" json:"maxSkew,omitempty"`
					MinDomains         *int64    `tfsdk:"min_domains" json:"minDomains,omitempty"`
					NodeAffinityPolicy *string   `tfsdk:"node_affinity_policy" json:"nodeAffinityPolicy,omitempty"`
					NodeTaintsPolicy   *string   `tfsdk:"node_taints_policy" json:"nodeTaintsPolicy,omitempty"`
					TopologyKey        *string   `tfsdk:"topology_key" json:"topologyKey,omitempty"`
					WhenUnsatisfiable  *string   `tfsdk:"when_unsatisfiable" json:"whenUnsatisfiable,omitempty"`
				} `tfsdk:"topology_spread_constraints" json:"topologySpreadConstraints,omitempty"`
			} `tfsdk:"scheduling_spec" json:"schedulingSpec,omitempty"`
			VolumeClaimRestorePolicy *string `tfsdk:"volume_claim_restore_policy" json:"volumeClaimRestorePolicy,omitempty"`
			VolumeClaims             *[]struct {
				Metadata *struct {
					Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
					Finalizers  *[]string          `tfsdk:"finalizers" json:"finalizers,omitempty"`
					Labels      *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
					Name        *string            `tfsdk:"name" json:"name,omitempty"`
					Namespace   *string            `tfsdk:"namespace" json:"namespace,omitempty"`
				} `tfsdk:"metadata" json:"metadata,omitempty"`
				MountPath       *string `tfsdk:"mount_path" json:"mountPath,omitempty"`
				VolumeClaimSpec *struct {
					AccessModes *[]string `tfsdk:"access_modes" json:"accessModes,omitempty"`
					DataSource  *struct {
						ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
						Kind     *string `tfsdk:"kind" json:"kind,omitempty"`
						Name     *string `tfsdk:"name" json:"name,omitempty"`
					} `tfsdk:"data_source" json:"dataSource,omitempty"`
					DataSourceRef *struct {
						ApiGroup  *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
						Kind      *string `tfsdk:"kind" json:"kind,omitempty"`
						Name      *string `tfsdk:"name" json:"name,omitempty"`
						Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
					} `tfsdk:"data_source_ref" json:"dataSourceRef,omitempty"`
					Resources *struct {
						Limits   *map[string]string `tfsdk:"limits" json:"limits,omitempty"`
						Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"`
					} `tfsdk:"resources" json:"resources,omitempty"`
					Selector *struct {
						MatchExpressions *[]struct {
							Key      *string   `tfsdk:"key" json:"key,omitempty"`
							Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
							Values   *[]string `tfsdk:"values" json:"values,omitempty"`
						} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
						MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
					} `tfsdk:"selector" json:"selector,omitempty"`
					StorageClassName          *string `tfsdk:"storage_class_name" json:"storageClassName,omitempty"`
					VolumeAttributesClassName *string `tfsdk:"volume_attributes_class_name" json:"volumeAttributesClassName,omitempty"`
					VolumeMode                *string `tfsdk:"volume_mode" json:"volumeMode,omitempty"`
					VolumeName                *string `tfsdk:"volume_name" json:"volumeName,omitempty"`
				} `tfsdk:"volume_claim_spec" json:"volumeClaimSpec,omitempty"`
				VolumeSource *string `tfsdk:"volume_source" json:"volumeSource,omitempty"`
			} `tfsdk:"volume_claims" json:"volumeClaims,omitempty"`
			VolumeClaimsTemplate *struct {
				Replicas      *int64 `tfsdk:"replicas" json:"replicas,omitempty"`
				StartingIndex *int64 `tfsdk:"starting_index" json:"startingIndex,omitempty"`
				Templates     *[]struct {
					Metadata *struct {
						Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
						Finalizers  *[]string          `tfsdk:"finalizers" json:"finalizers,omitempty"`
						Labels      *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
						Name        *string            `tfsdk:"name" json:"name,omitempty"`
						Namespace   *string            `tfsdk:"namespace" json:"namespace,omitempty"`
					} `tfsdk:"metadata" json:"metadata,omitempty"`
					MountPath       *string `tfsdk:"mount_path" json:"mountPath,omitempty"`
					VolumeClaimSpec *struct {
						AccessModes *[]string `tfsdk:"access_modes" json:"accessModes,omitempty"`
						DataSource  *struct {
							ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
							Kind     *string `tfsdk:"kind" json:"kind,omitempty"`
							Name     *string `tfsdk:"name" json:"name,omitempty"`
						} `tfsdk:"data_source" json:"dataSource,omitempty"`
						DataSourceRef *struct {
							ApiGroup  *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
							Kind      *string `tfsdk:"kind" json:"kind,omitempty"`
							Name      *string `tfsdk:"name" json:"name,omitempty"`
							Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
						} `tfsdk:"data_source_ref" json:"dataSourceRef,omitempty"`
						Resources *struct {
							Limits   *map[string]string `tfsdk:"limits" json:"limits,omitempty"`
							Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"`
						} `tfsdk:"resources" json:"resources,omitempty"`
						Selector *struct {
							MatchExpressions *[]struct {
								Key      *string   `tfsdk:"key" json:"key,omitempty"`
								Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
								Values   *[]string `tfsdk:"values" json:"values,omitempty"`
							} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
							MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
						} `tfsdk:"selector" json:"selector,omitempty"`
						StorageClassName          *string `tfsdk:"storage_class_name" json:"storageClassName,omitempty"`
						VolumeAttributesClassName *string `tfsdk:"volume_attributes_class_name" json:"volumeAttributesClassName,omitempty"`
						VolumeMode                *string `tfsdk:"volume_mode" json:"volumeMode,omitempty"`
						VolumeName                *string `tfsdk:"volume_name" json:"volumeName,omitempty"`
					} `tfsdk:"volume_claim_spec" json:"volumeClaimSpec,omitempty"`
					VolumeSource *string `tfsdk:"volume_source" json:"volumeSource,omitempty"`
				} `tfsdk:"templates" json:"templates,omitempty"`
			} `tfsdk:"volume_claims_template" json:"volumeClaimsTemplate,omitempty"`
		} `tfsdk:"prepare_data_config" json:"prepareDataConfig,omitempty"`
		ReadyConfig *struct {
			ConnectionCredential *struct {
				HostKey     *string `tfsdk:"host_key" json:"hostKey,omitempty"`
				PasswordKey *string `tfsdk:"password_key" json:"passwordKey,omitempty"`
				PortKey     *string `tfsdk:"port_key" json:"portKey,omitempty"`
				SecretName  *string `tfsdk:"secret_name" json:"secretName,omitempty"`
				UsernameKey *string `tfsdk:"username_key" json:"usernameKey,omitempty"`
			} `tfsdk:"connection_credential" json:"connectionCredential,omitempty"`
			ExecAction *struct {
				Target *struct {
					PodSelector *struct {
						MatchExpressions *[]struct {
							Key      *string   `tfsdk:"key" json:"key,omitempty"`
							Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
							Values   *[]string `tfsdk:"values" json:"values,omitempty"`
						} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
						MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
					} `tfsdk:"pod_selector" json:"podSelector,omitempty"`
				} `tfsdk:"target" json:"target,omitempty"`
			} `tfsdk:"exec_action" json:"execAction,omitempty"`
			JobAction *struct {
				RequiredPolicyForAllPodSelection *struct {
					DataRestorePolicy *string `tfsdk:"data_restore_policy" json:"dataRestorePolicy,omitempty"`
					SourceOfOneToMany *struct {
						TargetPodName *string `tfsdk:"target_pod_name" json:"targetPodName,omitempty"`
					} `tfsdk:"source_of_one_to_many" json:"sourceOfOneToMany,omitempty"`
				} `tfsdk:"required_policy_for_all_pod_selection" json:"requiredPolicyForAllPodSelection,omitempty"`
				Target *struct {
					PodSelector *struct {
						FallbackLabelSelector *struct {
							MatchExpressions *[]struct {
								Key      *string   `tfsdk:"key" json:"key,omitempty"`
								Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
								Values   *[]string `tfsdk:"values" json:"values,omitempty"`
							} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
							MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
						} `tfsdk:"fallback_label_selector" json:"fallbackLabelSelector,omitempty"`
						MatchExpressions *[]struct {
							Key      *string   `tfsdk:"key" json:"key,omitempty"`
							Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
							Values   *[]string `tfsdk:"values" json:"values,omitempty"`
						} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
						MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
						Strategy    *string            `tfsdk:"strategy" json:"strategy,omitempty"`
					} `tfsdk:"pod_selector" json:"podSelector,omitempty"`
					VolumeMounts *[]struct {
						MountPath        *string `tfsdk:"mount_path" json:"mountPath,omitempty"`
						MountPropagation *string `tfsdk:"mount_propagation" json:"mountPropagation,omitempty"`
						Name             *string `tfsdk:"name" json:"name,omitempty"`
						ReadOnly         *bool   `tfsdk:"read_only" json:"readOnly,omitempty"`
						SubPath          *string `tfsdk:"sub_path" json:"subPath,omitempty"`
						SubPathExpr      *string `tfsdk:"sub_path_expr" json:"subPathExpr,omitempty"`
					} `tfsdk:"volume_mounts" json:"volumeMounts,omitempty"`
				} `tfsdk:"target" json:"target,omitempty"`
			} `tfsdk:"job_action" json:"jobAction,omitempty"`
			ReadinessProbe *struct {
				Exec *struct {
					Command *[]string `tfsdk:"command" json:"command,omitempty"`
					Image   *string   `tfsdk:"image" json:"image,omitempty"`
				} `tfsdk:"exec" json:"exec,omitempty"`
				InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"`
				PeriodSeconds       *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"`
				TimeoutSeconds      *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
			} `tfsdk:"readiness_probe" json:"readinessProbe,omitempty"`
		} `tfsdk:"ready_config" json:"readyConfig,omitempty"`
		Resources *struct {
			Included *[]struct {
				GroupResource *string `tfsdk:"group_resource" json:"groupResource,omitempty"`
				LabelSelector *struct {
					MatchExpressions *[]struct {
						Key      *string   `tfsdk:"key" json:"key,omitempty"`
						Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
						Values   *[]string `tfsdk:"values" json:"values,omitempty"`
					} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
					MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
				} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
			} `tfsdk:"included" json:"included,omitempty"`
		} `tfsdk:"resources" json:"resources,omitempty"`
		RestoreTime        *string `tfsdk:"restore_time" json:"restoreTime,omitempty"`
		ServiceAccountName *string `tfsdk:"service_account_name" json:"serviceAccountName,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

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