v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Overview

+groupName=pvtz.alicloud.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: pvtz.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 Zone

type Zone struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ZoneSpec   `json:"spec,omitempty"`
	Status            ZoneStatus `json:"status,omitempty"`
}

func (*Zone) DeepCopy

func (in *Zone) DeepCopy() *Zone

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

func (*Zone) DeepCopyInto

func (in *Zone) DeepCopyInto(out *Zone)

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

func (*Zone) DeepCopyObject

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

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

func (*Zone) SetupWebhookWithManager

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

func (*Zone) ValidateCreate

func (r *Zone) ValidateCreate() error

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

func (*Zone) ValidateDelete

func (r *Zone) ValidateDelete() error

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

func (*Zone) ValidateUpdate

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

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

type ZoneAttachment

type ZoneAttachment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ZoneAttachmentSpec   `json:"spec,omitempty"`
	Status            ZoneAttachmentStatus `json:"status,omitempty"`
}

func (*ZoneAttachment) DeepCopy

func (in *ZoneAttachment) DeepCopy() *ZoneAttachment

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

func (*ZoneAttachment) DeepCopyInto

func (in *ZoneAttachment) DeepCopyInto(out *ZoneAttachment)

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

func (*ZoneAttachment) DeepCopyObject

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

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

func (*ZoneAttachment) SetupWebhookWithManager

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

func (*ZoneAttachment) ValidateCreate

func (r *ZoneAttachment) ValidateCreate() error

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

func (*ZoneAttachment) ValidateDelete

func (r *ZoneAttachment) ValidateDelete() error

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

func (*ZoneAttachment) ValidateUpdate

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

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

type ZoneAttachmentList

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

ZoneAttachmentList is a list of ZoneAttachments

func (*ZoneAttachmentList) DeepCopy

func (in *ZoneAttachmentList) DeepCopy() *ZoneAttachmentList

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

func (*ZoneAttachmentList) DeepCopyInto

func (in *ZoneAttachmentList) DeepCopyInto(out *ZoneAttachmentList)

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

func (*ZoneAttachmentList) DeepCopyObject

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

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

type ZoneAttachmentSpec

type ZoneAttachmentSpec struct {
	State *ZoneAttachmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource ZoneAttachmentSpecResource `json:"resource" tf:"resource"`

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

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

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

func (*ZoneAttachmentSpec) DeepCopy

func (in *ZoneAttachmentSpec) DeepCopy() *ZoneAttachmentSpec

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

func (*ZoneAttachmentSpec) DeepCopyInto

func (in *ZoneAttachmentSpec) DeepCopyInto(out *ZoneAttachmentSpec)

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

type ZoneAttachmentSpecResource

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

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

	// +optional
	Lang *string `json:"lang,omitempty" tf:"lang"`
	// +optional
	UserClientIP *string `json:"userClientIP,omitempty" tf:"user_client_ip"`
	// +optional
	VpcIDS []string `json:"vpcIDS,omitempty" tf:"vpc_ids"`
	// +optional
	Vpcs   []ZoneAttachmentSpecVpcs `json:"vpcs,omitempty" tf:"vpcs"`
	ZoneID *string                  `json:"zoneID" tf:"zone_id"`
}

func (*ZoneAttachmentSpecResource) DeepCopy

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

func (*ZoneAttachmentSpecResource) DeepCopyInto

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

type ZoneAttachmentSpecVpcs

type ZoneAttachmentSpecVpcs struct {
	// +optional
	RegionID *string `json:"regionID,omitempty" tf:"region_id"`
	VpcID    *string `json:"vpcID" tf:"vpc_id"`
}

func (*ZoneAttachmentSpecVpcs) DeepCopy

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

func (*ZoneAttachmentSpecVpcs) DeepCopyInto

func (in *ZoneAttachmentSpecVpcs) DeepCopyInto(out *ZoneAttachmentSpecVpcs)

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

type ZoneAttachmentStatus

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

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

func (*ZoneAttachmentStatus) DeepCopyInto

func (in *ZoneAttachmentStatus) DeepCopyInto(out *ZoneAttachmentStatus)

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

type ZoneList

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

ZoneList is a list of Zones

func (*ZoneList) DeepCopy

func (in *ZoneList) DeepCopy() *ZoneList

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

func (*ZoneList) DeepCopyInto

func (in *ZoneList) DeepCopyInto(out *ZoneList)

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

func (*ZoneList) DeepCopyObject

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

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

type ZoneRecord

type ZoneRecord struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ZoneRecordSpec   `json:"spec,omitempty"`
	Status            ZoneRecordStatus `json:"status,omitempty"`
}

func (*ZoneRecord) DeepCopy

func (in *ZoneRecord) DeepCopy() *ZoneRecord

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

func (*ZoneRecord) DeepCopyInto

func (in *ZoneRecord) DeepCopyInto(out *ZoneRecord)

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

func (*ZoneRecord) DeepCopyObject

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

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

func (*ZoneRecord) SetupWebhookWithManager

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

func (*ZoneRecord) ValidateCreate

func (r *ZoneRecord) ValidateCreate() error

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

func (*ZoneRecord) ValidateDelete

func (r *ZoneRecord) ValidateDelete() error

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

func (*ZoneRecord) ValidateUpdate

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

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

type ZoneRecordList

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

ZoneRecordList is a list of ZoneRecords

func (*ZoneRecordList) DeepCopy

func (in *ZoneRecordList) DeepCopy() *ZoneRecordList

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

func (*ZoneRecordList) DeepCopyInto

func (in *ZoneRecordList) DeepCopyInto(out *ZoneRecordList)

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

func (*ZoneRecordList) DeepCopyObject

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

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

type ZoneRecordSpec

type ZoneRecordSpec struct {
	State *ZoneRecordSpecResource `json:"state,omitempty" tf:"-"`

	Resource ZoneRecordSpecResource `json:"resource" tf:"resource"`

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

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

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

func (*ZoneRecordSpec) DeepCopy

func (in *ZoneRecordSpec) DeepCopy() *ZoneRecordSpec

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

func (*ZoneRecordSpec) DeepCopyInto

func (in *ZoneRecordSpec) DeepCopyInto(out *ZoneRecordSpec)

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

type ZoneRecordSpecResource

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

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

	// +optional
	Lang *string `json:"lang,omitempty" tf:"lang"`
	// +optional
	Priority *int64 `json:"priority,omitempty" tf:"priority"`
	// +optional
	RecordID *string `json:"recordID,omitempty" tf:"record_id"`
	// +optional
	Remark *string `json:"remark,omitempty" tf:"remark"`
	// +optional
	// Deprecated
	ResourceRecord *string `json:"resourceRecord,omitempty" tf:"resource_record"`
	// +optional
	Rr *string `json:"rr,omitempty" tf:"rr"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Ttl  *int64  `json:"ttl,omitempty" tf:"ttl"`
	Type *string `json:"type" tf:"type"`
	// +optional
	UserClientIP *string `json:"userClientIP,omitempty" tf:"user_client_ip"`
	Value        *string `json:"value" tf:"value"`
	ZoneID       *string `json:"zoneID" tf:"zone_id"`
}

func (*ZoneRecordSpecResource) DeepCopy

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

func (*ZoneRecordSpecResource) DeepCopyInto

func (in *ZoneRecordSpecResource) DeepCopyInto(out *ZoneRecordSpecResource)

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

type ZoneRecordStatus

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

func (in *ZoneRecordStatus) DeepCopy() *ZoneRecordStatus

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

func (*ZoneRecordStatus) DeepCopyInto

func (in *ZoneRecordStatus) DeepCopyInto(out *ZoneRecordStatus)

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

type ZoneSpec

type ZoneSpec struct {
	State *ZoneSpecResource `json:"state,omitempty" tf:"-"`

	Resource ZoneSpecResource `json:"resource" tf:"resource"`

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

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

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

func (*ZoneSpec) DeepCopy

func (in *ZoneSpec) DeepCopy() *ZoneSpec

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

func (*ZoneSpec) DeepCopyInto

func (in *ZoneSpec) DeepCopyInto(out *ZoneSpec)

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

type ZoneSpecResource

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

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

	// +optional
	CreationTime *string `json:"creationTime,omitempty" tf:"creation_time"`
	// +optional
	IsPtr *bool `json:"isPtr,omitempty" tf:"is_ptr"`
	// +optional
	Lang *string `json:"lang,omitempty" tf:"lang"`
	// +optional
	// Deprecated
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	ProxyPattern *string `json:"proxyPattern,omitempty" tf:"proxy_pattern"`
	// +optional
	RecordCount *int64 `json:"recordCount,omitempty" tf:"record_count"`
	// +optional
	Remark *string `json:"remark,omitempty" tf:"remark"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time"`
	// +optional
	UserClientIP *string `json:"userClientIP,omitempty" tf:"user_client_ip"`
	// +optional
	ZoneName *string `json:"zoneName,omitempty" tf:"zone_name"`
}

func (*ZoneSpecResource) DeepCopy

func (in *ZoneSpecResource) DeepCopy() *ZoneSpecResource

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

func (*ZoneSpecResource) DeepCopyInto

func (in *ZoneSpecResource) DeepCopyInto(out *ZoneSpecResource)

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

type ZoneStatus

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

func (in *ZoneStatus) DeepCopy() *ZoneStatus

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

func (*ZoneStatus) DeepCopyInto

func (in *ZoneStatus) DeepCopyInto(out *ZoneStatus)

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