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=graph.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: graph.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 DatabaseDbInstance

type DatabaseDbInstance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatabaseDbInstanceSpec   `json:"spec,omitempty"`
	Status            DatabaseDbInstanceStatus `json:"status,omitempty"`
}

func (*DatabaseDbInstance) DeepCopy

func (in *DatabaseDbInstance) DeepCopy() *DatabaseDbInstance

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

func (*DatabaseDbInstance) DeepCopyInto

func (in *DatabaseDbInstance) DeepCopyInto(out *DatabaseDbInstance)

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

func (*DatabaseDbInstance) DeepCopyObject

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

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

func (*DatabaseDbInstance) SetupWebhookWithManager

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

func (*DatabaseDbInstance) ValidateCreate

func (r *DatabaseDbInstance) ValidateCreate() error

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

func (*DatabaseDbInstance) ValidateDelete

func (r *DatabaseDbInstance) ValidateDelete() error

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

func (*DatabaseDbInstance) ValidateUpdate

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

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

type DatabaseDbInstanceList

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

DatabaseDbInstanceList is a list of DatabaseDbInstances

func (*DatabaseDbInstanceList) DeepCopy

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

func (*DatabaseDbInstanceList) DeepCopyInto

func (in *DatabaseDbInstanceList) DeepCopyInto(out *DatabaseDbInstanceList)

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

func (*DatabaseDbInstanceList) DeepCopyObject

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

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

type DatabaseDbInstanceSpec

type DatabaseDbInstanceSpec struct {
	State *DatabaseDbInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource DatabaseDbInstanceSpecResource `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 (*DatabaseDbInstanceSpec) DeepCopy

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

func (*DatabaseDbInstanceSpec) DeepCopyInto

func (in *DatabaseDbInstanceSpec) DeepCopyInto(out *DatabaseDbInstanceSpec)

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

type DatabaseDbInstanceSpecDbInstanceIPArray

type DatabaseDbInstanceSpecDbInstanceIPArray struct {
	// +optional
	DbInstanceIPArrayAttribute *string `json:"dbInstanceIPArrayAttribute,omitempty" tf:"db_instance_ip_array_attribute"`
	// +optional
	DbInstanceIPArrayName *string `json:"dbInstanceIPArrayName,omitempty" tf:"db_instance_ip_array_name"`
	// +optional
	SecurityIPS *string `json:"securityIPS,omitempty" tf:"security_ips"`
}

func (*DatabaseDbInstanceSpecDbInstanceIPArray) DeepCopy

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

func (*DatabaseDbInstanceSpecDbInstanceIPArray) DeepCopyInto

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

type DatabaseDbInstanceSpecResource

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

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

	DbInstanceCategory *string `json:"dbInstanceCategory" tf:"db_instance_category"`
	// +optional
	DbInstanceDescription *string `json:"dbInstanceDescription,omitempty" tf:"db_instance_description"`
	// +optional
	DbInstanceIPArray     []DatabaseDbInstanceSpecDbInstanceIPArray `json:"dbInstanceIPArray,omitempty" tf:"db_instance_ip_array"`
	DbInstanceNetworkType *string                                   `json:"dbInstanceNetworkType" tf:"db_instance_network_type"`
	DbInstanceStorageType *string                                   `json:"dbInstanceStorageType" tf:"db_instance_storage_type"`
	DbNodeClass           *string                                   `json:"dbNodeClass" tf:"db_node_class"`
	DbNodeStorage         *int64                                    `json:"dbNodeStorage" tf:"db_node_storage"`
	DbVersion             *string                                   `json:"dbVersion" tf:"db_version"`
	PaymentType           *string                                   `json:"paymentType" tf:"payment_type"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	VswitchID *string `json:"vswitchID,omitempty" tf:"vswitch_id"`
	// +optional
	ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"`
}

func (*DatabaseDbInstanceSpecResource) DeepCopy

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

func (*DatabaseDbInstanceSpecResource) DeepCopyInto

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

type DatabaseDbInstanceStatus

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

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

func (*DatabaseDbInstanceStatus) DeepCopyInto

func (in *DatabaseDbInstanceStatus) DeepCopyInto(out *DatabaseDbInstanceStatus)

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