v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=backup.azurerm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: backup.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ContainerStorageAccount

type ContainerStorageAccount struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ContainerStorageAccountSpec   `json:"spec,omitempty"`
	Status            ContainerStorageAccountStatus `json:"status,omitempty"`
}

func (*ContainerStorageAccount) DeepCopy

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

func (*ContainerStorageAccount) DeepCopyInto

func (in *ContainerStorageAccount) DeepCopyInto(out *ContainerStorageAccount)

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

func (*ContainerStorageAccount) DeepCopyObject

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

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

func (*ContainerStorageAccount) SetupWebhookWithManager

func (r *ContainerStorageAccount) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ContainerStorageAccount) ValidateCreate

func (r *ContainerStorageAccount) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ContainerStorageAccount) ValidateDelete

func (r *ContainerStorageAccount) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ContainerStorageAccount) ValidateUpdate

func (r *ContainerStorageAccount) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ContainerStorageAccountList

type ContainerStorageAccountList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ContainerStorageAccount CRD objects
	Items []ContainerStorageAccount `json:"items,omitempty"`
}

ContainerStorageAccountList is a list of ContainerStorageAccounts

func (*ContainerStorageAccountList) DeepCopy

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

func (*ContainerStorageAccountList) DeepCopyInto

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

func (*ContainerStorageAccountList) DeepCopyObject

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

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

type ContainerStorageAccountSpec

type ContainerStorageAccountSpec struct {
	State *ContainerStorageAccountSpecResource `json:"state,omitempty" tf:"-"`

	Resource ContainerStorageAccountSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ContainerStorageAccountSpec) DeepCopy

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

func (*ContainerStorageAccountSpec) DeepCopyInto

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

type ContainerStorageAccountSpecResource

type ContainerStorageAccountSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	StorageAccountID  *string `json:"storageAccountID" tf:"storage_account_id"`
}

func (*ContainerStorageAccountSpecResource) DeepCopy

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

func (*ContainerStorageAccountSpecResource) DeepCopyInto

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

type ContainerStorageAccountStatus

type ContainerStorageAccountStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ContainerStorageAccountStatus) DeepCopy

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

func (*ContainerStorageAccountStatus) DeepCopyInto

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

type PolicyFileShare

type PolicyFileShare struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicyFileShareSpec   `json:"spec,omitempty"`
	Status            PolicyFileShareStatus `json:"status,omitempty"`
}

func (*PolicyFileShare) DeepCopy

func (in *PolicyFileShare) DeepCopy() *PolicyFileShare

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

func (*PolicyFileShare) DeepCopyInto

func (in *PolicyFileShare) DeepCopyInto(out *PolicyFileShare)

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

func (*PolicyFileShare) DeepCopyObject

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

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

func (*PolicyFileShare) SetupWebhookWithManager

func (r *PolicyFileShare) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*PolicyFileShare) ValidateCreate

func (r *PolicyFileShare) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*PolicyFileShare) ValidateDelete

func (r *PolicyFileShare) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*PolicyFileShare) ValidateUpdate

func (r *PolicyFileShare) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PolicyFileShareList

type PolicyFileShareList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of PolicyFileShare CRD objects
	Items []PolicyFileShare `json:"items,omitempty"`
}

PolicyFileShareList is a list of PolicyFileShares

func (*PolicyFileShareList) DeepCopy

func (in *PolicyFileShareList) DeepCopy() *PolicyFileShareList

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

func (*PolicyFileShareList) DeepCopyInto

func (in *PolicyFileShareList) DeepCopyInto(out *PolicyFileShareList)

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

func (*PolicyFileShareList) DeepCopyObject

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

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

type PolicyFileShareSpec

type PolicyFileShareSpec struct {
	State *PolicyFileShareSpecResource `json:"state,omitempty" tf:"-"`

	Resource PolicyFileShareSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*PolicyFileShareSpec) DeepCopy

func (in *PolicyFileShareSpec) DeepCopy() *PolicyFileShareSpec

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

func (*PolicyFileShareSpec) DeepCopyInto

func (in *PolicyFileShareSpec) DeepCopyInto(out *PolicyFileShareSpec)

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

type PolicyFileShareSpecBackup

type PolicyFileShareSpecBackup struct {
	Frequency *string `json:"frequency" tf:"frequency"`
	Time      *string `json:"time" tf:"time"`
}

func (*PolicyFileShareSpecBackup) DeepCopy

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

func (*PolicyFileShareSpecBackup) DeepCopyInto

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

type PolicyFileShareSpecBackupCodec

type PolicyFileShareSpecBackupCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicyFileShareSpecBackupCodec) Decode

func (PolicyFileShareSpecBackupCodec) Encode

func (PolicyFileShareSpecBackupCodec) IsEmpty

type PolicyFileShareSpecResource

type PolicyFileShareSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	Backup            *PolicyFileShareSpecBackup         `json:"backup" tf:"backup"`
	Name              *string                            `json:"name" tf:"name"`
	RecoveryVaultName *string                            `json:"recoveryVaultName" tf:"recovery_vault_name"`
	ResourceGroupName *string                            `json:"resourceGroupName" tf:"resource_group_name"`
	RetentionDaily    *PolicyFileShareSpecRetentionDaily `json:"retentionDaily" tf:"retention_daily"`
	// +optional
	RetentionMonthly *PolicyFileShareSpecRetentionMonthly `json:"retentionMonthly,omitempty" tf:"retention_monthly"`
	// +optional
	RetentionWeekly *PolicyFileShareSpecRetentionWeekly `json:"retentionWeekly,omitempty" tf:"retention_weekly"`
	// +optional
	RetentionYearly *PolicyFileShareSpecRetentionYearly `json:"retentionYearly,omitempty" tf:"retention_yearly"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	Timezone *string `json:"timezone,omitempty" tf:"timezone"`
}

func (*PolicyFileShareSpecResource) DeepCopy

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

func (*PolicyFileShareSpecResource) DeepCopyInto

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

type PolicyFileShareSpecRetentionDaily

type PolicyFileShareSpecRetentionDaily struct {
	Count *int64 `json:"count" tf:"count"`
}

func (*PolicyFileShareSpecRetentionDaily) DeepCopy

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

func (*PolicyFileShareSpecRetentionDaily) DeepCopyInto

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

type PolicyFileShareSpecRetentionDailyCodec

type PolicyFileShareSpecRetentionDailyCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicyFileShareSpecRetentionDailyCodec) Decode

func (PolicyFileShareSpecRetentionDailyCodec) Encode

func (PolicyFileShareSpecRetentionDailyCodec) IsEmpty

type PolicyFileShareSpecRetentionMonthly

type PolicyFileShareSpecRetentionMonthly struct {
	Count    *int64   `json:"count" tf:"count"`
	Weekdays []string `json:"weekdays" tf:"weekdays"`
	Weeks    []string `json:"weeks" tf:"weeks"`
}

func (*PolicyFileShareSpecRetentionMonthly) DeepCopy

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

func (*PolicyFileShareSpecRetentionMonthly) DeepCopyInto

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

type PolicyFileShareSpecRetentionMonthlyCodec

type PolicyFileShareSpecRetentionMonthlyCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicyFileShareSpecRetentionMonthlyCodec) Decode

func (PolicyFileShareSpecRetentionMonthlyCodec) Encode

func (PolicyFileShareSpecRetentionMonthlyCodec) IsEmpty

type PolicyFileShareSpecRetentionWeekly

type PolicyFileShareSpecRetentionWeekly struct {
	Count    *int64   `json:"count" tf:"count"`
	Weekdays []string `json:"weekdays" tf:"weekdays"`
}

func (*PolicyFileShareSpecRetentionWeekly) DeepCopy

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

func (*PolicyFileShareSpecRetentionWeekly) DeepCopyInto

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

type PolicyFileShareSpecRetentionWeeklyCodec

type PolicyFileShareSpecRetentionWeeklyCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicyFileShareSpecRetentionWeeklyCodec) Decode

func (PolicyFileShareSpecRetentionWeeklyCodec) Encode

func (PolicyFileShareSpecRetentionWeeklyCodec) IsEmpty

type PolicyFileShareSpecRetentionYearly

type PolicyFileShareSpecRetentionYearly struct {
	Count    *int64   `json:"count" tf:"count"`
	Months   []string `json:"months" tf:"months"`
	Weekdays []string `json:"weekdays" tf:"weekdays"`
	Weeks    []string `json:"weeks" tf:"weeks"`
}

func (*PolicyFileShareSpecRetentionYearly) DeepCopy

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

func (*PolicyFileShareSpecRetentionYearly) DeepCopyInto

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

type PolicyFileShareSpecRetentionYearlyCodec

type PolicyFileShareSpecRetentionYearlyCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicyFileShareSpecRetentionYearlyCodec) Decode

func (PolicyFileShareSpecRetentionYearlyCodec) Encode

func (PolicyFileShareSpecRetentionYearlyCodec) IsEmpty

type PolicyFileShareStatus

type PolicyFileShareStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*PolicyFileShareStatus) DeepCopy

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

func (*PolicyFileShareStatus) DeepCopyInto

func (in *PolicyFileShareStatus) DeepCopyInto(out *PolicyFileShareStatus)

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

type PolicyVm

type PolicyVm struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicyVmSpec   `json:"spec,omitempty"`
	Status            PolicyVmStatus `json:"status,omitempty"`
}

func (*PolicyVm) DeepCopy

func (in *PolicyVm) DeepCopy() *PolicyVm

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

func (*PolicyVm) DeepCopyInto

func (in *PolicyVm) DeepCopyInto(out *PolicyVm)

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

func (*PolicyVm) DeepCopyObject

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

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

func (*PolicyVm) SetupWebhookWithManager

func (r *PolicyVm) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*PolicyVm) ValidateCreate

func (r *PolicyVm) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*PolicyVm) ValidateDelete

func (r *PolicyVm) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*PolicyVm) ValidateUpdate

func (r *PolicyVm) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PolicyVmList

type PolicyVmList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of PolicyVm CRD objects
	Items []PolicyVm `json:"items,omitempty"`
}

PolicyVmList is a list of PolicyVms

func (*PolicyVmList) DeepCopy

func (in *PolicyVmList) DeepCopy() *PolicyVmList

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

func (*PolicyVmList) DeepCopyInto

func (in *PolicyVmList) DeepCopyInto(out *PolicyVmList)

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

func (*PolicyVmList) DeepCopyObject

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

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

type PolicyVmSpec

type PolicyVmSpec struct {
	State *PolicyVmSpecResource `json:"state,omitempty" tf:"-"`

	Resource PolicyVmSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*PolicyVmSpec) DeepCopy

func (in *PolicyVmSpec) DeepCopy() *PolicyVmSpec

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

func (*PolicyVmSpec) DeepCopyInto

func (in *PolicyVmSpec) DeepCopyInto(out *PolicyVmSpec)

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

type PolicyVmSpecBackup

type PolicyVmSpecBackup struct {
	Frequency *string `json:"frequency" tf:"frequency"`
	Time      *string `json:"time" tf:"time"`
	// +optional
	Weekdays []string `json:"weekdays,omitempty" tf:"weekdays"`
}

func (*PolicyVmSpecBackup) DeepCopy

func (in *PolicyVmSpecBackup) DeepCopy() *PolicyVmSpecBackup

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

func (*PolicyVmSpecBackup) DeepCopyInto

func (in *PolicyVmSpecBackup) DeepCopyInto(out *PolicyVmSpecBackup)

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

type PolicyVmSpecBackupCodec

type PolicyVmSpecBackupCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicyVmSpecBackupCodec) Decode

func (PolicyVmSpecBackupCodec) Encode

func (PolicyVmSpecBackupCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (PolicyVmSpecBackupCodec) IsEmpty

type PolicyVmSpecResource

type PolicyVmSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	Backup *PolicyVmSpecBackup `json:"backup" tf:"backup"`
	// +optional
	InstantRestoreRetentionDays *int64  `json:"instantRestoreRetentionDays,omitempty" tf:"instant_restore_retention_days"`
	Name                        *string `json:"name" tf:"name"`
	RecoveryVaultName           *string `json:"recoveryVaultName" tf:"recovery_vault_name"`
	ResourceGroupName           *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	RetentionDaily *PolicyVmSpecRetentionDaily `json:"retentionDaily,omitempty" tf:"retention_daily"`
	// +optional
	RetentionMonthly *PolicyVmSpecRetentionMonthly `json:"retentionMonthly,omitempty" tf:"retention_monthly"`
	// +optional
	RetentionWeekly *PolicyVmSpecRetentionWeekly `json:"retentionWeekly,omitempty" tf:"retention_weekly"`
	// +optional
	RetentionYearly *PolicyVmSpecRetentionYearly `json:"retentionYearly,omitempty" tf:"retention_yearly"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	Timezone *string `json:"timezone,omitempty" tf:"timezone"`
}

func (*PolicyVmSpecResource) DeepCopy

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

func (*PolicyVmSpecResource) DeepCopyInto

func (in *PolicyVmSpecResource) DeepCopyInto(out *PolicyVmSpecResource)

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

type PolicyVmSpecRetentionDaily

type PolicyVmSpecRetentionDaily struct {
	Count *int64 `json:"count" tf:"count"`
}

func (*PolicyVmSpecRetentionDaily) DeepCopy

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

func (*PolicyVmSpecRetentionDaily) DeepCopyInto

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

type PolicyVmSpecRetentionDailyCodec

type PolicyVmSpecRetentionDailyCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicyVmSpecRetentionDailyCodec) Decode

func (PolicyVmSpecRetentionDailyCodec) Encode

func (PolicyVmSpecRetentionDailyCodec) IsEmpty

type PolicyVmSpecRetentionMonthly

type PolicyVmSpecRetentionMonthly struct {
	Count    *int64   `json:"count" tf:"count"`
	Weekdays []string `json:"weekdays" tf:"weekdays"`
	Weeks    []string `json:"weeks" tf:"weeks"`
}

func (*PolicyVmSpecRetentionMonthly) DeepCopy

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

func (*PolicyVmSpecRetentionMonthly) DeepCopyInto

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

type PolicyVmSpecRetentionMonthlyCodec

type PolicyVmSpecRetentionMonthlyCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicyVmSpecRetentionMonthlyCodec) Decode

func (PolicyVmSpecRetentionMonthlyCodec) Encode

func (PolicyVmSpecRetentionMonthlyCodec) IsEmpty

type PolicyVmSpecRetentionWeekly

type PolicyVmSpecRetentionWeekly struct {
	Count    *int64   `json:"count" tf:"count"`
	Weekdays []string `json:"weekdays" tf:"weekdays"`
}

func (*PolicyVmSpecRetentionWeekly) DeepCopy

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

func (*PolicyVmSpecRetentionWeekly) DeepCopyInto

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

type PolicyVmSpecRetentionWeeklyCodec

type PolicyVmSpecRetentionWeeklyCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicyVmSpecRetentionWeeklyCodec) Decode

func (PolicyVmSpecRetentionWeeklyCodec) Encode

func (PolicyVmSpecRetentionWeeklyCodec) IsEmpty

type PolicyVmSpecRetentionYearly

type PolicyVmSpecRetentionYearly struct {
	Count    *int64   `json:"count" tf:"count"`
	Months   []string `json:"months" tf:"months"`
	Weekdays []string `json:"weekdays" tf:"weekdays"`
	Weeks    []string `json:"weeks" tf:"weeks"`
}

func (*PolicyVmSpecRetentionYearly) DeepCopy

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

func (*PolicyVmSpecRetentionYearly) DeepCopyInto

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

type PolicyVmSpecRetentionYearlyCodec

type PolicyVmSpecRetentionYearlyCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicyVmSpecRetentionYearlyCodec) Decode

func (PolicyVmSpecRetentionYearlyCodec) Encode

func (PolicyVmSpecRetentionYearlyCodec) IsEmpty

type PolicyVmStatus

type PolicyVmStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*PolicyVmStatus) DeepCopy

func (in *PolicyVmStatus) DeepCopy() *PolicyVmStatus

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

func (*PolicyVmStatus) DeepCopyInto

func (in *PolicyVmStatus) DeepCopyInto(out *PolicyVmStatus)

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

type ProtectedFileShare

type ProtectedFileShare struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProtectedFileShareSpec   `json:"spec,omitempty"`
	Status            ProtectedFileShareStatus `json:"status,omitempty"`
}

func (*ProtectedFileShare) DeepCopy

func (in *ProtectedFileShare) DeepCopy() *ProtectedFileShare

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

func (*ProtectedFileShare) DeepCopyInto

func (in *ProtectedFileShare) DeepCopyInto(out *ProtectedFileShare)

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

func (*ProtectedFileShare) DeepCopyObject

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

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

func (*ProtectedFileShare) SetupWebhookWithManager

func (r *ProtectedFileShare) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ProtectedFileShare) ValidateCreate

func (r *ProtectedFileShare) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ProtectedFileShare) ValidateDelete

func (r *ProtectedFileShare) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ProtectedFileShare) ValidateUpdate

func (r *ProtectedFileShare) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ProtectedFileShareList

type ProtectedFileShareList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ProtectedFileShare CRD objects
	Items []ProtectedFileShare `json:"items,omitempty"`
}

ProtectedFileShareList is a list of ProtectedFileShares

func (*ProtectedFileShareList) DeepCopy

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

func (*ProtectedFileShareList) DeepCopyInto

func (in *ProtectedFileShareList) DeepCopyInto(out *ProtectedFileShareList)

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

func (*ProtectedFileShareList) DeepCopyObject

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

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

type ProtectedFileShareSpec

type ProtectedFileShareSpec struct {
	State *ProtectedFileShareSpecResource `json:"state,omitempty" tf:"-"`

	Resource ProtectedFileShareSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ProtectedFileShareSpec) DeepCopy

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

func (*ProtectedFileShareSpec) DeepCopyInto

func (in *ProtectedFileShareSpec) DeepCopyInto(out *ProtectedFileShareSpec)

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

type ProtectedFileShareSpecResource

type ProtectedFileShareSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	BackupPolicyID         *string `json:"backupPolicyID" tf:"backup_policy_id"`
	RecoveryVaultName      *string `json:"recoveryVaultName" tf:"recovery_vault_name"`
	ResourceGroupName      *string `json:"resourceGroupName" tf:"resource_group_name"`
	SourceFileShareName    *string `json:"sourceFileShareName" tf:"source_file_share_name"`
	SourceStorageAccountID *string `json:"sourceStorageAccountID" tf:"source_storage_account_id"`
}

func (*ProtectedFileShareSpecResource) DeepCopy

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

func (*ProtectedFileShareSpecResource) DeepCopyInto

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

type ProtectedFileShareStatus

type ProtectedFileShareStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ProtectedFileShareStatus) DeepCopy

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

func (*ProtectedFileShareStatus) DeepCopyInto

func (in *ProtectedFileShareStatus) DeepCopyInto(out *ProtectedFileShareStatus)

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

type ProtectedVm

type ProtectedVm struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProtectedVmSpec   `json:"spec,omitempty"`
	Status            ProtectedVmStatus `json:"status,omitempty"`
}

func (*ProtectedVm) DeepCopy

func (in *ProtectedVm) DeepCopy() *ProtectedVm

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

func (*ProtectedVm) DeepCopyInto

func (in *ProtectedVm) DeepCopyInto(out *ProtectedVm)

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

func (*ProtectedVm) DeepCopyObject

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

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

func (*ProtectedVm) SetupWebhookWithManager

func (r *ProtectedVm) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ProtectedVm) ValidateCreate

func (r *ProtectedVm) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ProtectedVm) ValidateDelete

func (r *ProtectedVm) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ProtectedVm) ValidateUpdate

func (r *ProtectedVm) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ProtectedVmList

type ProtectedVmList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ProtectedVm CRD objects
	Items []ProtectedVm `json:"items,omitempty"`
}

ProtectedVmList is a list of ProtectedVms

func (*ProtectedVmList) DeepCopy

func (in *ProtectedVmList) DeepCopy() *ProtectedVmList

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

func (*ProtectedVmList) DeepCopyInto

func (in *ProtectedVmList) DeepCopyInto(out *ProtectedVmList)

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

func (*ProtectedVmList) DeepCopyObject

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

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

type ProtectedVmSpec

type ProtectedVmSpec struct {
	State *ProtectedVmSpecResource `json:"state,omitempty" tf:"-"`

	Resource ProtectedVmSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ProtectedVmSpec) DeepCopy

func (in *ProtectedVmSpec) DeepCopy() *ProtectedVmSpec

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

func (*ProtectedVmSpec) DeepCopyInto

func (in *ProtectedVmSpec) DeepCopyInto(out *ProtectedVmSpec)

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

type ProtectedVmSpecResource

type ProtectedVmSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	BackupPolicyID *string `json:"backupPolicyID" tf:"backup_policy_id"`
	// +optional
	ExcludeDiskLuns []int64 `json:"excludeDiskLuns,omitempty" tf:"exclude_disk_luns"`
	// +optional
	IncludeDiskLuns   []int64 `json:"includeDiskLuns,omitempty" tf:"include_disk_luns"`
	RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	SourceVmID        *string `json:"sourceVmID" tf:"source_vm_id"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*ProtectedVmSpecResource) DeepCopy

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

func (*ProtectedVmSpecResource) DeepCopyInto

func (in *ProtectedVmSpecResource) DeepCopyInto(out *ProtectedVmSpecResource)

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

type ProtectedVmStatus

type ProtectedVmStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ProtectedVmStatus) DeepCopy

func (in *ProtectedVmStatus) DeepCopy() *ProtectedVmStatus

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

func (*ProtectedVmStatus) DeepCopyInto

func (in *ProtectedVmStatus) DeepCopyInto(out *ProtectedVmStatus)

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