Documentation ¶
Overview ¶
+groupName=tag.vsphere.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Category
- func (in *Category) DeepCopy() *Category
- func (in *Category) DeepCopyInto(out *Category)
- func (in *Category) DeepCopyObject() runtime.Object
- func (r *Category) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Category) ValidateCreate() error
- func (r *Category) ValidateDelete() error
- func (r *Category) ValidateUpdate(old runtime.Object) error
- type CategoryList
- type CategorySpec
- type CategorySpecResource
- type CategoryStatus
- type Tag
- func (in *Tag) DeepCopy() *Tag
- func (in *Tag) DeepCopyInto(out *Tag)
- func (in *Tag) DeepCopyObject() runtime.Object
- func (r *Tag) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Tag) ValidateCreate() error
- func (r *Tag) ValidateDelete() error
- func (r *Tag) ValidateUpdate(old runtime.Object) error
- type TagList
- type TagSpec
- type TagSpecResource
- type TagStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Category.
func (*Category) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Category) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Category) SetupWebhookWithManager ¶
func (*Category) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Category) ValidateDelete ¶
ValidateDelete 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 ¶
func (in *CategorySpecResource) DeepCopy() *CategorySpecResource
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tag.
func (*Tag) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tag) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Tag) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Tag) ValidateDelete ¶
ValidateDelete 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagList.
func (*TagList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TagList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagSpec.
func (*TagSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagStatus.
func (*TagStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.