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=folder.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: folder.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 Folder

type Folder struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FolderSpec   `json:"spec,omitempty"`
	Status            FolderStatus `json:"status,omitempty"`
}

func (*Folder) DeepCopy

func (in *Folder) DeepCopy() *Folder

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

func (*Folder) DeepCopyInto

func (in *Folder) DeepCopyInto(out *Folder)

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

func (*Folder) DeepCopyObject

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

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

func (*Folder) SetupWebhookWithManager

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

func (*Folder) ValidateCreate

func (r *Folder) ValidateCreate() error

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

func (*Folder) ValidateDelete

func (r *Folder) ValidateDelete() error

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

func (*Folder) ValidateUpdate

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

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

type FolderList

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

FolderList is a list of Folders

func (*FolderList) DeepCopy

func (in *FolderList) DeepCopy() *FolderList

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

func (*FolderList) DeepCopyInto

func (in *FolderList) DeepCopyInto(out *FolderList)

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

func (*FolderList) DeepCopyObject

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

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

type FolderSpec

type FolderSpec struct {
	State *FolderSpecResource `json:"state,omitempty" tf:"-"`

	Resource FolderSpecResource `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 (*FolderSpec) DeepCopy

func (in *FolderSpec) DeepCopy() *FolderSpec

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

func (*FolderSpec) DeepCopyInto

func (in *FolderSpec) DeepCopyInto(out *FolderSpec)

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

type FolderSpecResource

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

	// A list of custom attributes to set on this resource.
	// +optional
	CustomAttributes *map[string]string `json:"customAttributes,omitempty" tf:"custom_attributes"`
	// The ID of the datacenter. Can be ignored if creating a datacenter folder, otherwise required.
	// +optional
	DatacenterID *string `json:"datacenterID,omitempty" tf:"datacenter_id"`
	// The path of the folder and any parents, relative to the datacenter and folder type being defined.
	Path *string `json:"path" tf:"path"`
	// A list of tag IDs to apply to this object.
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// The type of the folder.
	Type *string `json:"type" tf:"type"`
}

func (*FolderSpecResource) DeepCopy

func (in *FolderSpecResource) DeepCopy() *FolderSpecResource

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

func (*FolderSpecResource) DeepCopyInto

func (in *FolderSpecResource) DeepCopyInto(out *FolderSpecResource)

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

type FolderStatus

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

func (in *FolderStatus) DeepCopy() *FolderStatus

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

func (*FolderStatus) DeepCopyInto

func (in *FolderStatus) DeepCopyInto(out *FolderStatus)

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