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: 2

Documentation

Overview

+groupName=simple.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: simple.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 ApplicationServerCustomImage added in v0.5.0

type ApplicationServerCustomImage struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationServerCustomImageSpec   `json:"spec,omitempty"`
	Status            ApplicationServerCustomImageStatus `json:"status,omitempty"`
}

func (*ApplicationServerCustomImage) DeepCopy added in v0.5.0

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

func (*ApplicationServerCustomImage) DeepCopyInto added in v0.5.0

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

func (*ApplicationServerCustomImage) DeepCopyObject added in v0.5.0

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

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

func (*ApplicationServerCustomImage) SetupWebhookWithManager added in v0.5.0

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

func (*ApplicationServerCustomImage) ValidateCreate added in v0.5.0

func (r *ApplicationServerCustomImage) ValidateCreate() error

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

func (*ApplicationServerCustomImage) ValidateDelete added in v0.5.0

func (r *ApplicationServerCustomImage) ValidateDelete() error

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

func (*ApplicationServerCustomImage) ValidateUpdate added in v0.5.0

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

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

type ApplicationServerCustomImageList added in v0.5.0

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

ApplicationServerCustomImageList is a list of ApplicationServerCustomImages

func (*ApplicationServerCustomImageList) DeepCopy added in v0.5.0

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

func (*ApplicationServerCustomImageList) DeepCopyInto added in v0.5.0

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

func (*ApplicationServerCustomImageList) DeepCopyObject added in v0.5.0

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

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

type ApplicationServerCustomImageSpec added in v0.5.0

type ApplicationServerCustomImageSpec struct {
	State *ApplicationServerCustomImageSpecResource `json:"state,omitempty" tf:"-"`

	Resource ApplicationServerCustomImageSpecResource `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 (*ApplicationServerCustomImageSpec) DeepCopy added in v0.5.0

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

func (*ApplicationServerCustomImageSpec) DeepCopyInto added in v0.5.0

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

type ApplicationServerCustomImageSpecResource added in v0.5.0

type ApplicationServerCustomImageSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	CustomImageName *string `json:"customImageName" tf:"custom_image_name"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	InstanceID  *string `json:"instanceID" tf:"instance_id"`
	// +optional
	Status           *string `json:"status,omitempty" tf:"status"`
	SystemSnapshotID *string `json:"systemSnapshotID" tf:"system_snapshot_id"`
}

func (*ApplicationServerCustomImageSpecResource) DeepCopy added in v0.5.0

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

func (*ApplicationServerCustomImageSpecResource) DeepCopyInto added in v0.5.0

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

type ApplicationServerCustomImageStatus added in v0.5.0

type ApplicationServerCustomImageStatus 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 (*ApplicationServerCustomImageStatus) DeepCopy added in v0.5.0

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

func (*ApplicationServerCustomImageStatus) DeepCopyInto added in v0.5.0

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

type ApplicationServerFirewallRule added in v0.5.0

type ApplicationServerFirewallRule struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationServerFirewallRuleSpec   `json:"spec,omitempty"`
	Status            ApplicationServerFirewallRuleStatus `json:"status,omitempty"`
}

func (*ApplicationServerFirewallRule) DeepCopy added in v0.5.0

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

func (*ApplicationServerFirewallRule) DeepCopyInto added in v0.5.0

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

func (*ApplicationServerFirewallRule) DeepCopyObject added in v0.5.0

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

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

func (*ApplicationServerFirewallRule) SetupWebhookWithManager added in v0.5.0

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

func (*ApplicationServerFirewallRule) ValidateCreate added in v0.5.0

func (r *ApplicationServerFirewallRule) ValidateCreate() error

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

func (*ApplicationServerFirewallRule) ValidateDelete added in v0.5.0

func (r *ApplicationServerFirewallRule) ValidateDelete() error

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

func (*ApplicationServerFirewallRule) ValidateUpdate added in v0.5.0

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

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

type ApplicationServerFirewallRuleList added in v0.5.0

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

ApplicationServerFirewallRuleList is a list of ApplicationServerFirewallRules

func (*ApplicationServerFirewallRuleList) DeepCopy added in v0.5.0

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

func (*ApplicationServerFirewallRuleList) DeepCopyInto added in v0.5.0

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

func (*ApplicationServerFirewallRuleList) DeepCopyObject added in v0.5.0

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

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

type ApplicationServerFirewallRuleSpec added in v0.5.0

type ApplicationServerFirewallRuleSpec struct {
	State *ApplicationServerFirewallRuleSpecResource `json:"state,omitempty" tf:"-"`

	Resource ApplicationServerFirewallRuleSpecResource `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 (*ApplicationServerFirewallRuleSpec) DeepCopy added in v0.5.0

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

func (*ApplicationServerFirewallRuleSpec) DeepCopyInto added in v0.5.0

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

type ApplicationServerFirewallRuleSpecResource added in v0.5.0

type ApplicationServerFirewallRuleSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	FirewallRuleID *string `json:"firewallRuleID,omitempty" tf:"firewall_rule_id"`
	InstanceID     *string `json:"instanceID" tf:"instance_id"`
	Port           *string `json:"port" tf:"port"`
	// +optional
	Remark       *string `json:"remark,omitempty" tf:"remark"`
	RuleProtocol *string `json:"ruleProtocol" tf:"rule_protocol"`
}

func (*ApplicationServerFirewallRuleSpecResource) DeepCopy added in v0.5.0

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

func (*ApplicationServerFirewallRuleSpecResource) DeepCopyInto added in v0.5.0

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

type ApplicationServerFirewallRuleStatus added in v0.5.0

type ApplicationServerFirewallRuleStatus 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 (*ApplicationServerFirewallRuleStatus) DeepCopy added in v0.5.0

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

func (*ApplicationServerFirewallRuleStatus) DeepCopyInto added in v0.5.0

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

type ApplicationServerInstance

type ApplicationServerInstance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationServerInstanceSpec   `json:"spec,omitempty"`
	Status            ApplicationServerInstanceStatus `json:"status,omitempty"`
}

func (*ApplicationServerInstance) DeepCopy

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

func (*ApplicationServerInstance) DeepCopyInto

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

func (*ApplicationServerInstance) DeepCopyObject

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

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

func (*ApplicationServerInstance) SetupWebhookWithManager

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

func (*ApplicationServerInstance) ValidateCreate

func (r *ApplicationServerInstance) ValidateCreate() error

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

func (*ApplicationServerInstance) ValidateDelete

func (r *ApplicationServerInstance) ValidateDelete() error

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

func (*ApplicationServerInstance) ValidateUpdate

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

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

type ApplicationServerInstanceList

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

ApplicationServerInstanceList is a list of ApplicationServerInstances

func (*ApplicationServerInstanceList) DeepCopy

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

func (*ApplicationServerInstanceList) DeepCopyInto

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

func (*ApplicationServerInstanceList) DeepCopyObject

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

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

type ApplicationServerInstanceSpec

type ApplicationServerInstanceSpec struct {
	State *ApplicationServerInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource ApplicationServerInstanceSpecResource `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 (*ApplicationServerInstanceSpec) DeepCopy

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

func (*ApplicationServerInstanceSpec) DeepCopyInto

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

type ApplicationServerInstanceSpecResource

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

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

	// +optional
	AutoRenew *bool `json:"autoRenew,omitempty" tf:"auto_renew"`
	// +optional
	AutoRenewPeriod *int64 `json:"autoRenewPeriod,omitempty" tf:"auto_renew_period"`
	// +optional
	DataDiskSize *int64  `json:"dataDiskSize,omitempty" tf:"data_disk_size"`
	ImageID      *string `json:"imageID" tf:"image_id"`
	// +optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name"`
	// +optional
	Password *string `json:"password,omitempty" tf:"password"`
	// +optional
	PaymentType *string `json:"paymentType,omitempty" tf:"payment_type"`
	Period      *int64  `json:"period" tf:"period"`
	PlanID      *string `json:"planID" tf:"plan_id"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*ApplicationServerInstanceSpecResource) DeepCopy

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

func (*ApplicationServerInstanceSpecResource) DeepCopyInto

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

type ApplicationServerInstanceStatus

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

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

func (*ApplicationServerInstanceStatus) DeepCopyInto

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

type ApplicationServerSnapshot added in v0.5.0

type ApplicationServerSnapshot struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationServerSnapshotSpec   `json:"spec,omitempty"`
	Status            ApplicationServerSnapshotStatus `json:"status,omitempty"`
}

func (*ApplicationServerSnapshot) DeepCopy added in v0.5.0

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

func (*ApplicationServerSnapshot) DeepCopyInto added in v0.5.0

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

func (*ApplicationServerSnapshot) DeepCopyObject added in v0.5.0

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

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

func (*ApplicationServerSnapshot) SetupWebhookWithManager added in v0.5.0

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

func (*ApplicationServerSnapshot) ValidateCreate added in v0.5.0

func (r *ApplicationServerSnapshot) ValidateCreate() error

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

func (*ApplicationServerSnapshot) ValidateDelete added in v0.5.0

func (r *ApplicationServerSnapshot) ValidateDelete() error

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

func (*ApplicationServerSnapshot) ValidateUpdate added in v0.5.0

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

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

type ApplicationServerSnapshotList added in v0.5.0

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

ApplicationServerSnapshotList is a list of ApplicationServerSnapshots

func (*ApplicationServerSnapshotList) DeepCopy added in v0.5.0

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

func (*ApplicationServerSnapshotList) DeepCopyInto added in v0.5.0

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

func (*ApplicationServerSnapshotList) DeepCopyObject added in v0.5.0

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

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

type ApplicationServerSnapshotSpec added in v0.5.0

type ApplicationServerSnapshotSpec struct {
	State *ApplicationServerSnapshotSpecResource `json:"state,omitempty" tf:"-"`

	Resource ApplicationServerSnapshotSpecResource `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 (*ApplicationServerSnapshotSpec) DeepCopy added in v0.5.0

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

func (*ApplicationServerSnapshotSpec) DeepCopyInto added in v0.5.0

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

type ApplicationServerSnapshotSpecResource added in v0.5.0

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

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

	DiskID       *string `json:"diskID" tf:"disk_id"`
	SnapshotName *string `json:"snapshotName" tf:"snapshot_name"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*ApplicationServerSnapshotSpecResource) DeepCopy added in v0.5.0

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

func (*ApplicationServerSnapshotSpecResource) DeepCopyInto added in v0.5.0

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

type ApplicationServerSnapshotStatus added in v0.5.0

type ApplicationServerSnapshotStatus 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 (*ApplicationServerSnapshotStatus) DeepCopy added in v0.5.0

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

func (*ApplicationServerSnapshotStatus) DeepCopyInto added in v0.5.0

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