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=database.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: database.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 MigrationProject

type MigrationProject struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MigrationProjectSpec   `json:"spec,omitempty"`
	Status            MigrationProjectStatus `json:"status,omitempty"`
}

func (*MigrationProject) DeepCopy

func (in *MigrationProject) DeepCopy() *MigrationProject

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

func (*MigrationProject) DeepCopyInto

func (in *MigrationProject) DeepCopyInto(out *MigrationProject)

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

func (*MigrationProject) DeepCopyObject

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

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

func (*MigrationProject) SetupWebhookWithManager

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

func (*MigrationProject) ValidateCreate

func (r *MigrationProject) ValidateCreate() error

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

func (*MigrationProject) ValidateDelete

func (r *MigrationProject) ValidateDelete() error

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

func (*MigrationProject) ValidateUpdate

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

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

type MigrationProjectList

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

MigrationProjectList is a list of MigrationProjects

func (*MigrationProjectList) DeepCopy

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

func (*MigrationProjectList) DeepCopyInto

func (in *MigrationProjectList) DeepCopyInto(out *MigrationProjectList)

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

func (*MigrationProjectList) DeepCopyObject

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

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

type MigrationProjectSpec

type MigrationProjectSpec struct {
	State *MigrationProjectSpecResource `json:"state,omitempty" tf:"-"`

	Resource MigrationProjectSpecResource `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 (*MigrationProjectSpec) DeepCopy

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

func (*MigrationProjectSpec) DeepCopyInto

func (in *MigrationProjectSpec) DeepCopyInto(out *MigrationProjectSpec)

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

type MigrationProjectSpecResource

type MigrationProjectSpecResource 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"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	ServiceName       *string `json:"serviceName" tf:"service_name"`
	SourcePlatform    *string `json:"sourcePlatform" tf:"source_platform"`
	// +optional
	Tags           *map[string]string `json:"tags,omitempty" tf:"tags"`
	TargetPlatform *string            `json:"targetPlatform" tf:"target_platform"`
}

func (*MigrationProjectSpecResource) DeepCopy

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

func (*MigrationProjectSpecResource) DeepCopyInto

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

type MigrationProjectStatus

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

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

func (*MigrationProjectStatus) DeepCopyInto

func (in *MigrationProjectStatus) DeepCopyInto(out *MigrationProjectStatus)

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

type MigrationService

type MigrationService struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MigrationServiceSpec   `json:"spec,omitempty"`
	Status            MigrationServiceStatus `json:"status,omitempty"`
}

func (*MigrationService) DeepCopy

func (in *MigrationService) DeepCopy() *MigrationService

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

func (*MigrationService) DeepCopyInto

func (in *MigrationService) DeepCopyInto(out *MigrationService)

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

func (*MigrationService) DeepCopyObject

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

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

func (*MigrationService) SetupWebhookWithManager

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

func (*MigrationService) ValidateCreate

func (r *MigrationService) ValidateCreate() error

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

func (*MigrationService) ValidateDelete

func (r *MigrationService) ValidateDelete() error

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

func (*MigrationService) ValidateUpdate

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

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

type MigrationServiceList

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

MigrationServiceList is a list of MigrationServices

func (*MigrationServiceList) DeepCopy

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

func (*MigrationServiceList) DeepCopyInto

func (in *MigrationServiceList) DeepCopyInto(out *MigrationServiceList)

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

func (*MigrationServiceList) DeepCopyObject

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

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

type MigrationServiceSpec

type MigrationServiceSpec struct {
	State *MigrationServiceSpecResource `json:"state,omitempty" tf:"-"`

	Resource MigrationServiceSpecResource `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 (*MigrationServiceSpec) DeepCopy

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

func (*MigrationServiceSpec) DeepCopyInto

func (in *MigrationServiceSpec) DeepCopyInto(out *MigrationServiceSpec)

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

type MigrationServiceSpecResource

type MigrationServiceSpecResource 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"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	SkuName           *string `json:"skuName" tf:"sku_name"`
	SubnetID          *string `json:"subnetID" tf:"subnet_id"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*MigrationServiceSpecResource) DeepCopy

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

func (*MigrationServiceSpecResource) DeepCopyInto

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

type MigrationServiceStatus

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

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

func (*MigrationServiceStatus) DeepCopyInto

func (in *MigrationServiceStatus) DeepCopyInto(out *MigrationServiceStatus)

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