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=tag.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: tag.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 Category

type Category struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CategorySpec   `json:"spec,omitempty"`
	Status            CategoryStatus `json:"status,omitempty"`
}

func (*Category) DeepCopy

func (in *Category) DeepCopy() *Category

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

func (*Category) DeepCopyInto

func (in *Category) DeepCopyInto(out *Category)

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

func (*Category) DeepCopyObject

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

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

func (*Category) SetupWebhookWithManager

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

func (*Category) ValidateCreate

func (r *Category) ValidateCreate() error

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

func (*Category) ValidateDelete

func (r *Category) ValidateDelete() error

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

func (*Category) ValidateUpdate

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

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

type CategoryList

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

CategoryList is a list of Categorys

func (*CategoryList) DeepCopy

func (in *CategoryList) DeepCopy() *CategoryList

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

func (*CategoryList) DeepCopyInto

func (in *CategoryList) DeepCopyInto(out *CategoryList)

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

func (*CategoryList) DeepCopyObject

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

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

type CategorySpec

type CategorySpec struct {
	State *CategorySpecResource `json:"state,omitempty" tf:"-"`

	Resource CategorySpecResource `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 (*CategorySpec) DeepCopy

func (in *CategorySpec) DeepCopy() *CategorySpec

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

func (*CategorySpec) DeepCopyInto

func (in *CategorySpec) DeepCopyInto(out *CategorySpec)

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

type CategorySpecResource

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

	// Object types to which this category's tags can be attached. Valid types include: Folder, ClusterComputeResource, Datacenter, Datastore, StoragePod, DistributedVirtualPortgroup, DistributedVirtualSwitch, VmwareDistributedVirtualSwitch, HostSystem, com.vmware.content.Library, com.vmware.content.library.Item, HostNetwork, Network, OpaqueNetwork, ResourcePool, VirtualApp, VirtualMachine.
	AssociableTypes []string `json:"associableTypes" tf:"associable_types"`
	// The associated cardinality of the category. Can be one of SINGLE (object can only be assigned one tag in this category) or MULTIPLE (object can be assigned multiple tags in this category).
	Cardinality *string `json:"cardinality" tf:"cardinality"`
	// The description of the category.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The display name of the category.
	Name *string `json:"name" tf:"name"`
}

func (*CategorySpecResource) DeepCopy

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

func (*CategorySpecResource) DeepCopyInto

func (in *CategorySpecResource) DeepCopyInto(out *CategorySpecResource)

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

type CategoryStatus

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

func (in *CategoryStatus) DeepCopy() *CategoryStatus

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

func (*CategoryStatus) DeepCopyInto

func (in *CategoryStatus) DeepCopyInto(out *CategoryStatus)

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

type Tag

type Tag struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TagSpec   `json:"spec,omitempty"`
	Status            TagStatus `json:"status,omitempty"`
}

func (*Tag) DeepCopy

func (in *Tag) DeepCopy() *Tag

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

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

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

func (*Tag) DeepCopyObject

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

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

func (*Tag) SetupWebhookWithManager

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

func (*Tag) ValidateCreate

func (r *Tag) ValidateCreate() error

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

func (*Tag) ValidateDelete

func (r *Tag) ValidateDelete() error

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

func (*Tag) ValidateUpdate

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

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

type TagList

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

TagList is a list of Tags

func (*TagList) DeepCopy

func (in *TagList) DeepCopy() *TagList

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

func (*TagList) DeepCopyInto

func (in *TagList) DeepCopyInto(out *TagList)

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

func (*TagList) DeepCopyObject

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

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

type TagSpec

type TagSpec struct {
	State *TagSpecResource `json:"state,omitempty" tf:"-"`

	Resource TagSpecResource `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 (*TagSpec) DeepCopy

func (in *TagSpec) DeepCopy() *TagSpec

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

func (*TagSpec) DeepCopyInto

func (in *TagSpec) DeepCopyInto(out *TagSpec)

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

type TagSpecResource

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

	// The unique identifier of the parent category in which this tag will be created.
	CategoryID *string `json:"categoryID" tf:"category_id"`
	// The description of the tag.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The display name of the tag. The name must be unique within its category.
	Name *string `json:"name" tf:"name"`
}

func (*TagSpecResource) DeepCopy

func (in *TagSpecResource) DeepCopy() *TagSpecResource

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

func (*TagSpecResource) DeepCopyInto

func (in *TagSpecResource) DeepCopyInto(out *TagSpecResource)

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

type TagStatus

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

func (in *TagStatus) DeepCopy() *TagStatus

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

func (*TagStatus) DeepCopyInto

func (in *TagStatus) DeepCopyInto(out *TagStatus)

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