Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=tag.vsphere.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Tag
- func (in *Tag) DeepCopy() *Tag
- func (in *Tag) DeepCopyInto(out *Tag)
- func (in *Tag) DeepCopyObject() runtime.Object
- func (mg *Tag) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Tag) GetConnectionDetailsMapping() map[string]string
- func (mg *Tag) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Tag) GetID() string
- func (tr *Tag) GetObservation() (map[string]any, error)
- func (tr *Tag) GetParameters() (map[string]any, error)
- func (mg *Tag) GetProviderConfigReference() *xpv1.Reference
- func (mg *Tag) GetProviderReference() *xpv1.Reference
- func (mg *Tag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Tag) GetTerraformResourceType() string
- func (tr *Tag) GetTerraformSchemaVersion() int
- func (mg *Tag) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Tag) LateInitialize(attrs []byte) (bool, error)
- func (mg *Tag) SetConditions(c ...xpv1.Condition)
- func (mg *Tag) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Tag) SetObservation(obs map[string]any) error
- func (tr *Tag) SetParameters(params map[string]any) error
- func (mg *Tag) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Tag) SetProviderReference(r *xpv1.Reference)
- func (mg *Tag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Tag) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TagList
- type TagObservation
- type TagParameters
- type TagSpec
- type TagStatus
Constants ¶
const ( CRDGroup = "tag.vsphere.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Tag_Kind = "Tag" Tag_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Tag_Kind}.String() Tag_KindAPIVersion = Tag_Kind + "." + CRDGroupVersion.String() Tag_GroupVersionKind = CRDGroupVersion.WithKind(Tag_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Tag ¶
type Tag struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TagSpec `json:"spec"` Status TagStatus `json:"status,omitempty"` }
Tag is the Schema for the Tags API. Provides a vSphere tag resource. This can be used to manage tags in vSphere. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vsphere}
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) GetCondition ¶
func (mg *Tag) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Tag.
func (*Tag) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Tag
func (*Tag) GetDeletionPolicy ¶
func (mg *Tag) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Tag.
func (*Tag) GetObservation ¶
GetObservation of this Tag
func (*Tag) GetParameters ¶
GetParameters of this Tag
func (*Tag) GetProviderConfigReference ¶
GetProviderConfigReference of this Tag.
func (*Tag) GetProviderReference ¶
GetProviderReference of this Tag. Deprecated: Use GetProviderConfigReference.
func (*Tag) GetPublishConnectionDetailsTo ¶
func (mg *Tag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Tag.
func (*Tag) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Tag
func (*Tag) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Tag) GetWriteConnectionSecretToReference ¶
func (mg *Tag) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Tag.
func (*Tag) LateInitialize ¶
LateInitialize this Tag using its observed tfState. returns True if there are any spec changes for the resource.
func (*Tag) SetConditions ¶
SetConditions of this Tag.
func (*Tag) SetDeletionPolicy ¶
func (mg *Tag) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Tag.
func (*Tag) SetObservation ¶
SetObservation for this Tag
func (*Tag) SetParameters ¶
SetParameters for this Tag
func (*Tag) SetProviderConfigReference ¶
SetProviderConfigReference of this Tag.
func (*Tag) SetProviderReference ¶
SetProviderReference of this Tag. Deprecated: Use SetProviderConfigReference.
func (*Tag) SetPublishConnectionDetailsTo ¶
func (mg *Tag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Tag.
func (*Tag) SetWriteConnectionSecretToReference ¶
func (mg *Tag) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Tag.
type TagList ¶
type TagList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Tag `json:"items"` }
TagList contains 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 TagObservation ¶
type TagObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*TagObservation) DeepCopy ¶
func (in *TagObservation) DeepCopy() *TagObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagObservation.
func (*TagObservation) DeepCopyInto ¶
func (in *TagObservation) DeepCopyInto(out *TagObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagParameters ¶
type TagParameters struct { // The unique identifier of the parent category in // which this tag will be created. Forces a new resource if changed. // The unique identifier of the parent category in which this tag will be created. // +kubebuilder:validation:Required CategoryID *string `json:"categoryId" tf:"category_id,omitempty"` // A description for the tag. // The description of the tag. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The display name of the tag. The name must be unique // within its category. // The display name of the tag. The name must be unique within its category. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` }
func (*TagParameters) DeepCopy ¶
func (in *TagParameters) DeepCopy() *TagParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagParameters.
func (*TagParameters) DeepCopyInto ¶
func (in *TagParameters) DeepCopyInto(out *TagParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagSpec ¶
type TagSpec struct { v1.ResourceSpec `json:",inline"` ForProvider TagParameters `json:"forProvider"` }
TagSpec defines the desired state of Tag
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 TagStatus ¶
type TagStatus struct { v1.ResourceStatus `json:",inline"` AtProvider TagObservation `json:"atProvider,omitempty"` }
TagStatus defines the observed state of Tag.
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.