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: 14 Imported by: 0

Documentation

Overview

+groupName=siterecovery.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: siterecovery.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 Fabric

type Fabric struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FabricSpec   `json:"spec,omitempty"`
	Status            FabricStatus `json:"status,omitempty"`
}

func (*Fabric) DeepCopy

func (in *Fabric) DeepCopy() *Fabric

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

func (*Fabric) DeepCopyInto

func (in *Fabric) DeepCopyInto(out *Fabric)

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

func (*Fabric) DeepCopyObject

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

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

func (*Fabric) SetupWebhookWithManager

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

func (*Fabric) ValidateCreate

func (r *Fabric) ValidateCreate() error

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

func (*Fabric) ValidateDelete

func (r *Fabric) ValidateDelete() error

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

func (*Fabric) ValidateUpdate

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

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

type FabricList

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

FabricList is a list of Fabrics

func (*FabricList) DeepCopy

func (in *FabricList) DeepCopy() *FabricList

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

func (*FabricList) DeepCopyInto

func (in *FabricList) DeepCopyInto(out *FabricList)

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

func (*FabricList) DeepCopyObject

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

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

type FabricSpec

type FabricSpec struct {
	State *FabricSpecResource `json:"state,omitempty" tf:"-"`

	Resource FabricSpecResource `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 (*FabricSpec) DeepCopy

func (in *FabricSpec) DeepCopy() *FabricSpec

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

func (*FabricSpec) DeepCopyInto

func (in *FabricSpec) DeepCopyInto(out *FabricSpec)

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

type FabricSpecResource

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

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

	Location          *string `json:"location" tf:"location"`
	Name              *string `json:"name" tf:"name"`
	RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
}

func (*FabricSpecResource) DeepCopy

func (in *FabricSpecResource) DeepCopy() *FabricSpecResource

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

func (*FabricSpecResource) DeepCopyInto

func (in *FabricSpecResource) DeepCopyInto(out *FabricSpecResource)

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

type FabricStatus

type FabricStatus 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 (*FabricStatus) DeepCopy

func (in *FabricStatus) DeepCopy() *FabricStatus

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

func (*FabricStatus) DeepCopyInto

func (in *FabricStatus) DeepCopyInto(out *FabricStatus)

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

type NetworkMapping

type NetworkMapping struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NetworkMappingSpec   `json:"spec,omitempty"`
	Status            NetworkMappingStatus `json:"status,omitempty"`
}

func (*NetworkMapping) DeepCopy

func (in *NetworkMapping) DeepCopy() *NetworkMapping

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

func (*NetworkMapping) DeepCopyInto

func (in *NetworkMapping) DeepCopyInto(out *NetworkMapping)

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

func (*NetworkMapping) DeepCopyObject

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

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

func (*NetworkMapping) SetupWebhookWithManager

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

func (*NetworkMapping) ValidateCreate

func (r *NetworkMapping) ValidateCreate() error

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

func (*NetworkMapping) ValidateDelete

func (r *NetworkMapping) ValidateDelete() error

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

func (*NetworkMapping) ValidateUpdate

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

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

type NetworkMappingList

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

NetworkMappingList is a list of NetworkMappings

func (*NetworkMappingList) DeepCopy

func (in *NetworkMappingList) DeepCopy() *NetworkMappingList

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

func (*NetworkMappingList) DeepCopyInto

func (in *NetworkMappingList) DeepCopyInto(out *NetworkMappingList)

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

func (*NetworkMappingList) DeepCopyObject

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

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

type NetworkMappingSpec

type NetworkMappingSpec struct {
	State *NetworkMappingSpecResource `json:"state,omitempty" tf:"-"`

	Resource NetworkMappingSpecResource `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 (*NetworkMappingSpec) DeepCopy

func (in *NetworkMappingSpec) DeepCopy() *NetworkMappingSpec

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

func (*NetworkMappingSpec) DeepCopyInto

func (in *NetworkMappingSpec) DeepCopyInto(out *NetworkMappingSpec)

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

type NetworkMappingSpecResource

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

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

	Name                     *string `json:"name" tf:"name"`
	RecoveryVaultName        *string `json:"recoveryVaultName" tf:"recovery_vault_name"`
	ResourceGroupName        *string `json:"resourceGroupName" tf:"resource_group_name"`
	SourceNetworkID          *string `json:"sourceNetworkID" tf:"source_network_id"`
	SourceRecoveryFabricName *string `json:"sourceRecoveryFabricName" tf:"source_recovery_fabric_name"`
	TargetNetworkID          *string `json:"targetNetworkID" tf:"target_network_id"`
	TargetRecoveryFabricName *string `json:"targetRecoveryFabricName" tf:"target_recovery_fabric_name"`
}

func (*NetworkMappingSpecResource) DeepCopy

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

func (*NetworkMappingSpecResource) DeepCopyInto

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

type NetworkMappingStatus

type NetworkMappingStatus 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 (*NetworkMappingStatus) DeepCopy

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

func (*NetworkMappingStatus) DeepCopyInto

func (in *NetworkMappingStatus) DeepCopyInto(out *NetworkMappingStatus)

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

type ProtectionContainer

type ProtectionContainer struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProtectionContainerSpec   `json:"spec,omitempty"`
	Status            ProtectionContainerStatus `json:"status,omitempty"`
}

func (*ProtectionContainer) DeepCopy

func (in *ProtectionContainer) DeepCopy() *ProtectionContainer

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

func (*ProtectionContainer) DeepCopyInto

func (in *ProtectionContainer) DeepCopyInto(out *ProtectionContainer)

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

func (*ProtectionContainer) DeepCopyObject

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

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

func (*ProtectionContainer) SetupWebhookWithManager

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

func (*ProtectionContainer) ValidateCreate

func (r *ProtectionContainer) ValidateCreate() error

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

func (*ProtectionContainer) ValidateDelete

func (r *ProtectionContainer) ValidateDelete() error

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

func (*ProtectionContainer) ValidateUpdate

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

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

type ProtectionContainerList

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

ProtectionContainerList is a list of ProtectionContainers

func (*ProtectionContainerList) DeepCopy

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

func (*ProtectionContainerList) DeepCopyInto

func (in *ProtectionContainerList) DeepCopyInto(out *ProtectionContainerList)

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

func (*ProtectionContainerList) DeepCopyObject

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

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

type ProtectionContainerMapping

type ProtectionContainerMapping struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProtectionContainerMappingSpec   `json:"spec,omitempty"`
	Status            ProtectionContainerMappingStatus `json:"status,omitempty"`
}

func (*ProtectionContainerMapping) DeepCopy

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

func (*ProtectionContainerMapping) DeepCopyInto

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

func (*ProtectionContainerMapping) DeepCopyObject

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

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

func (*ProtectionContainerMapping) SetupWebhookWithManager

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

func (*ProtectionContainerMapping) ValidateCreate

func (r *ProtectionContainerMapping) ValidateCreate() error

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

func (*ProtectionContainerMapping) ValidateDelete

func (r *ProtectionContainerMapping) ValidateDelete() error

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

func (*ProtectionContainerMapping) ValidateUpdate

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

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

type ProtectionContainerMappingList

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

ProtectionContainerMappingList is a list of ProtectionContainerMappings

func (*ProtectionContainerMappingList) DeepCopy

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

func (*ProtectionContainerMappingList) DeepCopyInto

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

func (*ProtectionContainerMappingList) DeepCopyObject

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

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

type ProtectionContainerMappingSpec

type ProtectionContainerMappingSpec struct {
	State *ProtectionContainerMappingSpecResource `json:"state,omitempty" tf:"-"`

	Resource ProtectionContainerMappingSpecResource `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 (*ProtectionContainerMappingSpec) DeepCopy

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

func (*ProtectionContainerMappingSpec) DeepCopyInto

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

type ProtectionContainerMappingSpecResource

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

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

	Name                                  *string `json:"name" tf:"name"`
	RecoveryFabricName                    *string `json:"recoveryFabricName" tf:"recovery_fabric_name"`
	RecoveryReplicationPolicyID           *string `json:"recoveryReplicationPolicyID" tf:"recovery_replication_policy_id"`
	RecoverySourceProtectionContainerName *string `json:"recoverySourceProtectionContainerName" tf:"recovery_source_protection_container_name"`
	RecoveryTargetProtectionContainerID   *string `json:"recoveryTargetProtectionContainerID" tf:"recovery_target_protection_container_id"`
	RecoveryVaultName                     *string `json:"recoveryVaultName" tf:"recovery_vault_name"`
	ResourceGroupName                     *string `json:"resourceGroupName" tf:"resource_group_name"`
}

func (*ProtectionContainerMappingSpecResource) DeepCopy

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

func (*ProtectionContainerMappingSpecResource) DeepCopyInto

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

type ProtectionContainerMappingStatus

type ProtectionContainerMappingStatus 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 (*ProtectionContainerMappingStatus) DeepCopy

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

func (*ProtectionContainerMappingStatus) DeepCopyInto

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

type ProtectionContainerSpec

type ProtectionContainerSpec struct {
	State *ProtectionContainerSpecResource `json:"state,omitempty" tf:"-"`

	Resource ProtectionContainerSpecResource `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 (*ProtectionContainerSpec) DeepCopy

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

func (*ProtectionContainerSpec) DeepCopyInto

func (in *ProtectionContainerSpec) DeepCopyInto(out *ProtectionContainerSpec)

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

type ProtectionContainerSpecResource

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

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

	Name               *string `json:"name" tf:"name"`
	RecoveryFabricName *string `json:"recoveryFabricName" tf:"recovery_fabric_name"`
	RecoveryVaultName  *string `json:"recoveryVaultName" tf:"recovery_vault_name"`
	ResourceGroupName  *string `json:"resourceGroupName" tf:"resource_group_name"`
}

func (*ProtectionContainerSpecResource) DeepCopy

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

func (*ProtectionContainerSpecResource) DeepCopyInto

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

type ProtectionContainerStatus

type ProtectionContainerStatus 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 (*ProtectionContainerStatus) DeepCopy

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

func (*ProtectionContainerStatus) DeepCopyInto

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

type ReplicatedVm

type ReplicatedVm struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReplicatedVmSpec   `json:"spec,omitempty"`
	Status            ReplicatedVmStatus `json:"status,omitempty"`
}

func (*ReplicatedVm) DeepCopy

func (in *ReplicatedVm) DeepCopy() *ReplicatedVm

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

func (*ReplicatedVm) DeepCopyInto

func (in *ReplicatedVm) DeepCopyInto(out *ReplicatedVm)

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

func (*ReplicatedVm) DeepCopyObject

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

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

func (*ReplicatedVm) SetupWebhookWithManager

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

func (*ReplicatedVm) ValidateCreate

func (r *ReplicatedVm) ValidateCreate() error

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

func (*ReplicatedVm) ValidateDelete

func (r *ReplicatedVm) ValidateDelete() error

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

func (*ReplicatedVm) ValidateUpdate

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

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

type ReplicatedVmList

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

ReplicatedVmList is a list of ReplicatedVms

func (*ReplicatedVmList) DeepCopy

func (in *ReplicatedVmList) DeepCopy() *ReplicatedVmList

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

func (*ReplicatedVmList) DeepCopyInto

func (in *ReplicatedVmList) DeepCopyInto(out *ReplicatedVmList)

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

func (*ReplicatedVmList) DeepCopyObject

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

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

type ReplicatedVmSpec

type ReplicatedVmSpec struct {
	State *ReplicatedVmSpecResource `json:"state,omitempty" tf:"-"`

	Resource ReplicatedVmSpecResource `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 (*ReplicatedVmSpec) DeepCopy

func (in *ReplicatedVmSpec) DeepCopy() *ReplicatedVmSpec

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

func (*ReplicatedVmSpec) DeepCopyInto

func (in *ReplicatedVmSpec) DeepCopyInto(out *ReplicatedVmSpec)

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

type ReplicatedVmSpecManagedDisk

type ReplicatedVmSpecManagedDisk struct {
	DiskID                  *string `json:"diskID" tf:"disk_id"`
	StagingStorageAccountID *string `json:"stagingStorageAccountID" tf:"staging_storage_account_id"`
	// +optional
	TargetDiskEncryptionSetID *string `json:"targetDiskEncryptionSetID,omitempty" tf:"target_disk_encryption_set_id"`
	TargetDiskType            *string `json:"targetDiskType" tf:"target_disk_type"`
	TargetReplicaDiskType     *string `json:"targetReplicaDiskType" tf:"target_replica_disk_type"`
	TargetResourceGroupID     *string `json:"targetResourceGroupID" tf:"target_resource_group_id"`
}

func (*ReplicatedVmSpecManagedDisk) DeepCopy

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

func (*ReplicatedVmSpecManagedDisk) DeepCopyInto

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

type ReplicatedVmSpecNetworkInterface

type ReplicatedVmSpecNetworkInterface struct {
	// +optional
	RecoveryPublicIPAddressID *string `json:"recoveryPublicIPAddressID,omitempty" tf:"recovery_public_ip_address_id"`
	// +optional
	SourceNetworkInterfaceID *string `json:"sourceNetworkInterfaceID,omitempty" tf:"source_network_interface_id"`
	// +optional
	TargetStaticIP *string `json:"targetStaticIP,omitempty" tf:"target_static_ip"`
	// +optional
	TargetSubnetName *string `json:"targetSubnetName,omitempty" tf:"target_subnet_name"`
}

func (*ReplicatedVmSpecNetworkInterface) DeepCopy

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

func (*ReplicatedVmSpecNetworkInterface) DeepCopyInto

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

type ReplicatedVmSpecResource

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

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

	// +optional
	ManagedDisk []ReplicatedVmSpecManagedDisk `json:"managedDisk,omitempty" tf:"managed_disk"`
	Name        *string                       `json:"name" tf:"name"`
	// +optional
	NetworkInterface                      []ReplicatedVmSpecNetworkInterface `json:"networkInterface,omitempty" tf:"network_interface"`
	RecoveryReplicationPolicyID           *string                            `json:"recoveryReplicationPolicyID" tf:"recovery_replication_policy_id"`
	RecoveryVaultName                     *string                            `json:"recoveryVaultName" tf:"recovery_vault_name"`
	ResourceGroupName                     *string                            `json:"resourceGroupName" tf:"resource_group_name"`
	SourceRecoveryFabricName              *string                            `json:"sourceRecoveryFabricName" tf:"source_recovery_fabric_name"`
	SourceRecoveryProtectionContainerName *string                            `json:"sourceRecoveryProtectionContainerName" tf:"source_recovery_protection_container_name"`
	SourceVmID                            *string                            `json:"sourceVmID" tf:"source_vm_id"`
	// +optional
	TargetAvailabilitySetID *string `json:"targetAvailabilitySetID,omitempty" tf:"target_availability_set_id"`
	// +optional
	TargetNetworkID                     *string `json:"targetNetworkID,omitempty" tf:"target_network_id"`
	TargetRecoveryFabricID              *string `json:"targetRecoveryFabricID" tf:"target_recovery_fabric_id"`
	TargetRecoveryProtectionContainerID *string `json:"targetRecoveryProtectionContainerID" tf:"target_recovery_protection_container_id"`
	TargetResourceGroupID               *string `json:"targetResourceGroupID" tf:"target_resource_group_id"`
}

func (*ReplicatedVmSpecResource) DeepCopy

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

func (*ReplicatedVmSpecResource) DeepCopyInto

func (in *ReplicatedVmSpecResource) DeepCopyInto(out *ReplicatedVmSpecResource)

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

type ReplicatedVmStatus

type ReplicatedVmStatus 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 (*ReplicatedVmStatus) DeepCopy

func (in *ReplicatedVmStatus) DeepCopy() *ReplicatedVmStatus

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

func (*ReplicatedVmStatus) DeepCopyInto

func (in *ReplicatedVmStatus) DeepCopyInto(out *ReplicatedVmStatus)

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

type ReplicationPolicy

type ReplicationPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReplicationPolicySpec   `json:"spec,omitempty"`
	Status            ReplicationPolicyStatus `json:"status,omitempty"`
}

func (*ReplicationPolicy) DeepCopy

func (in *ReplicationPolicy) DeepCopy() *ReplicationPolicy

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

func (*ReplicationPolicy) DeepCopyInto

func (in *ReplicationPolicy) DeepCopyInto(out *ReplicationPolicy)

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

func (*ReplicationPolicy) DeepCopyObject

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

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

func (*ReplicationPolicy) SetupWebhookWithManager

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

func (*ReplicationPolicy) ValidateCreate

func (r *ReplicationPolicy) ValidateCreate() error

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

func (*ReplicationPolicy) ValidateDelete

func (r *ReplicationPolicy) ValidateDelete() error

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

func (*ReplicationPolicy) ValidateUpdate

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

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

type ReplicationPolicyList

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

ReplicationPolicyList is a list of ReplicationPolicys

func (*ReplicationPolicyList) DeepCopy

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

func (*ReplicationPolicyList) DeepCopyInto

func (in *ReplicationPolicyList) DeepCopyInto(out *ReplicationPolicyList)

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

func (*ReplicationPolicyList) DeepCopyObject

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

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

type ReplicationPolicySpec

type ReplicationPolicySpec struct {
	State *ReplicationPolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource ReplicationPolicySpecResource `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 (*ReplicationPolicySpec) DeepCopy

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

func (*ReplicationPolicySpec) DeepCopyInto

func (in *ReplicationPolicySpec) DeepCopyInto(out *ReplicationPolicySpec)

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

type ReplicationPolicySpecResource

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

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

	ApplicationConsistentSnapshotFrequencyInMinutes *int64  `json:"applicationConsistentSnapshotFrequencyInMinutes" tf:"application_consistent_snapshot_frequency_in_minutes"`
	Name                                            *string `json:"name" tf:"name"`
	RecoveryPointRetentionInMinutes                 *int64  `json:"recoveryPointRetentionInMinutes" tf:"recovery_point_retention_in_minutes"`
	RecoveryVaultName                               *string `json:"recoveryVaultName" tf:"recovery_vault_name"`
	ResourceGroupName                               *string `json:"resourceGroupName" tf:"resource_group_name"`
}

func (*ReplicationPolicySpecResource) DeepCopy

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

func (*ReplicationPolicySpecResource) DeepCopyInto

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

type ReplicationPolicyStatus

type ReplicationPolicyStatus 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 (*ReplicationPolicyStatus) DeepCopy

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

func (*ReplicationPolicyStatus) DeepCopyInto

func (in *ReplicationPolicyStatus) DeepCopyInto(out *ReplicationPolicyStatus)

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