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=custom.vsphere.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: custom.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 Attribute

type Attribute struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AttributeSpec   `json:"spec,omitempty"`
	Status            AttributeStatus `json:"status,omitempty"`
}

func (*Attribute) DeepCopy

func (in *Attribute) DeepCopy() *Attribute

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

func (*Attribute) DeepCopyInto

func (in *Attribute) DeepCopyInto(out *Attribute)

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

func (*Attribute) DeepCopyObject

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

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

func (*Attribute) SetupWebhookWithManager

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

func (*Attribute) ValidateCreate

func (r *Attribute) ValidateCreate() error

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

func (*Attribute) ValidateDelete

func (r *Attribute) ValidateDelete() error

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

func (*Attribute) ValidateUpdate

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

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

type AttributeList

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

AttributeList is a list of Attributes

func (*AttributeList) DeepCopy

func (in *AttributeList) DeepCopy() *AttributeList

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

func (*AttributeList) DeepCopyInto

func (in *AttributeList) DeepCopyInto(out *AttributeList)

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

func (*AttributeList) DeepCopyObject

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

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

type AttributeSpec

type AttributeSpec struct {
	State *AttributeSpecResource `json:"state,omitempty" tf:"-"`

	Resource AttributeSpecResource `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 (*AttributeSpec) DeepCopy

func (in *AttributeSpec) DeepCopy() *AttributeSpec

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

func (*AttributeSpec) DeepCopyInto

func (in *AttributeSpec) DeepCopyInto(out *AttributeSpec)

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

type AttributeSpecResource

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

	// Object type for which the custom attribute is valid. If not specified, the attribute is valid for all managed object types.
	// +optional
	ManagedObjectType *string `json:"managedObjectType,omitempty" tf:"managed_object_type"`
	// The display name of the custom attribute.
	Name *string `json:"name" tf:"name"`
}

func (*AttributeSpecResource) DeepCopy

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

func (*AttributeSpecResource) DeepCopyInto

func (in *AttributeSpecResource) DeepCopyInto(out *AttributeSpecResource)

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

type AttributeStatus

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

func (in *AttributeStatus) DeepCopy() *AttributeStatus

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

func (*AttributeStatus) DeepCopyInto

func (in *AttributeStatus) DeepCopyInto(out *AttributeStatus)

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