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=key.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: key.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 Pair

type Pair struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PairSpec   `json:"spec,omitempty"`
	Status            PairStatus `json:"status,omitempty"`
}

func (*Pair) DeepCopy

func (in *Pair) DeepCopy() *Pair

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

func (*Pair) DeepCopyInto

func (in *Pair) DeepCopyInto(out *Pair)

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

func (*Pair) DeepCopyObject

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

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

func (*Pair) SetupWebhookWithManager

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

func (*Pair) ValidateCreate

func (r *Pair) ValidateCreate() error

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

func (*Pair) ValidateDelete

func (r *Pair) ValidateDelete() error

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

func (*Pair) ValidateUpdate

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

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

type PairAttachment

type PairAttachment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PairAttachmentSpec   `json:"spec,omitempty"`
	Status            PairAttachmentStatus `json:"status,omitempty"`
}

func (*PairAttachment) DeepCopy

func (in *PairAttachment) DeepCopy() *PairAttachment

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

func (*PairAttachment) DeepCopyInto

func (in *PairAttachment) DeepCopyInto(out *PairAttachment)

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

func (*PairAttachment) DeepCopyObject

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

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

func (*PairAttachment) SetupWebhookWithManager

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

func (*PairAttachment) ValidateCreate

func (r *PairAttachment) ValidateCreate() error

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

func (*PairAttachment) ValidateDelete

func (r *PairAttachment) ValidateDelete() error

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

func (*PairAttachment) ValidateUpdate

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

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

type PairAttachmentList

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

PairAttachmentList is a list of PairAttachments

func (*PairAttachmentList) DeepCopy

func (in *PairAttachmentList) DeepCopy() *PairAttachmentList

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

func (*PairAttachmentList) DeepCopyInto

func (in *PairAttachmentList) DeepCopyInto(out *PairAttachmentList)

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

func (*PairAttachmentList) DeepCopyObject

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

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

type PairAttachmentSpec

type PairAttachmentSpec struct {
	State *PairAttachmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource PairAttachmentSpecResource `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 (*PairAttachmentSpec) DeepCopy

func (in *PairAttachmentSpec) DeepCopy() *PairAttachmentSpec

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

func (*PairAttachmentSpec) DeepCopyInto

func (in *PairAttachmentSpec) DeepCopyInto(out *PairAttachmentSpec)

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

type PairAttachmentSpecResource

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

	// +optional
	Force       *bool    `json:"force,omitempty" tf:"force"`
	InstanceIDS []string `json:"instanceIDS" tf:"instance_ids"`
	// +optional
	// Deprecated
	KeyName *string `json:"keyName,omitempty" tf:"key_name"`
	// +optional
	KeyPairName *string `json:"keyPairName,omitempty" tf:"key_pair_name"`
}

func (*PairAttachmentSpecResource) DeepCopy

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

func (*PairAttachmentSpecResource) DeepCopyInto

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

type PairAttachmentStatus

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

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

func (*PairAttachmentStatus) DeepCopyInto

func (in *PairAttachmentStatus) DeepCopyInto(out *PairAttachmentStatus)

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

type PairList

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

PairList is a list of Pairs

func (*PairList) DeepCopy

func (in *PairList) DeepCopy() *PairList

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

func (*PairList) DeepCopyInto

func (in *PairList) DeepCopyInto(out *PairList)

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

func (*PairList) DeepCopyObject

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

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

type PairSpec

type PairSpec struct {
	State *PairSpecResource `json:"state,omitempty" tf:"-"`

	Resource PairSpecResource `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 (*PairSpec) DeepCopy

func (in *PairSpec) DeepCopy() *PairSpec

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

func (*PairSpec) DeepCopyInto

func (in *PairSpec) DeepCopyInto(out *PairSpec)

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

type PairSpecResource

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

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

	// +optional
	FingerPrint *string `json:"fingerPrint,omitempty" tf:"finger_print"`
	// +optional
	KeyFile *string `json:"keyFile,omitempty" tf:"key_file"`
	// +optional
	// Deprecated
	KeyName *string `json:"keyName,omitempty" tf:"key_name"`
	// +optional
	KeyNamePrefix *string `json:"keyNamePrefix,omitempty" tf:"key_name_prefix"`
	// +optional
	KeyPairName *string `json:"keyPairName,omitempty" tf:"key_pair_name"`
	// +optional
	PublicKey *string `json:"publicKey,omitempty" tf:"public_key"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*PairSpecResource) DeepCopy

func (in *PairSpecResource) DeepCopy() *PairSpecResource

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

func (*PairSpecResource) DeepCopyInto

func (in *PairSpecResource) DeepCopyInto(out *PairSpecResource)

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

type PairStatus

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

func (in *PairStatus) DeepCopy() *PairStatus

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

func (*PairStatus) DeepCopyInto

func (in *PairStatus) DeepCopyInto(out *PairStatus)

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