Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=folder.vsphere.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Folder
- func (in *Folder) DeepCopy() *Folder
- func (in *Folder) DeepCopyInto(out *Folder)
- func (in *Folder) DeepCopyObject() runtime.Object
- func (mg *Folder) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Folder) GetConnectionDetailsMapping() map[string]string
- func (mg *Folder) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Folder) GetID() string
- func (tr *Folder) GetObservation() (map[string]any, error)
- func (tr *Folder) GetParameters() (map[string]any, error)
- func (mg *Folder) GetProviderConfigReference() *xpv1.Reference
- func (mg *Folder) GetProviderReference() *xpv1.Reference
- func (mg *Folder) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Folder) GetTerraformResourceType() string
- func (tr *Folder) GetTerraformSchemaVersion() int
- func (mg *Folder) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Folder) LateInitialize(attrs []byte) (bool, error)
- func (mg *Folder) SetConditions(c ...xpv1.Condition)
- func (mg *Folder) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Folder) SetObservation(obs map[string]any) error
- func (tr *Folder) SetParameters(params map[string]any) error
- func (mg *Folder) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Folder) SetProviderReference(r *xpv1.Reference)
- func (mg *Folder) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Folder) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FolderList
- type FolderObservation
- type FolderParameters
- type FolderSpec
- type FolderStatus
Constants ¶
const ( CRDGroup = "folder.vsphere.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Folder_Kind = "Folder" Folder_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Folder_Kind}.String() Folder_KindAPIVersion = Folder_Kind + "." + CRDGroupVersion.String() Folder_GroupVersionKind = CRDGroupVersion.WithKind(Folder_Kind) )
Repository type metadata.
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 )
Functions ¶
This section is empty.
Types ¶
type Folder ¶
type Folder struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FolderSpec `json:"spec"` Status FolderStatus `json:"status,omitempty"` }
Folder is the Schema for the Folders API. Provides a VMware vSphere folder resource. This can be used to manage vSphere inventory folders. +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 (*Folder) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Folder.
func (*Folder) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Folder) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Folder) GetCondition ¶
func (mg *Folder) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Folder.
func (*Folder) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Folder
func (*Folder) GetDeletionPolicy ¶
func (mg *Folder) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Folder.
func (*Folder) GetObservation ¶
GetObservation of this Folder
func (*Folder) GetParameters ¶
GetParameters of this Folder
func (*Folder) GetProviderConfigReference ¶
GetProviderConfigReference of this Folder.
func (*Folder) GetProviderReference ¶
GetProviderReference of this Folder. Deprecated: Use GetProviderConfigReference.
func (*Folder) GetPublishConnectionDetailsTo ¶
func (mg *Folder) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Folder.
func (*Folder) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Folder
func (*Folder) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Folder) GetWriteConnectionSecretToReference ¶
func (mg *Folder) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Folder.
func (*Folder) LateInitialize ¶
LateInitialize this Folder using its observed tfState. returns True if there are any spec changes for the resource.
func (*Folder) SetConditions ¶
SetConditions of this Folder.
func (*Folder) SetDeletionPolicy ¶
func (mg *Folder) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Folder.
func (*Folder) SetObservation ¶
SetObservation for this Folder
func (*Folder) SetParameters ¶
SetParameters for this Folder
func (*Folder) SetProviderConfigReference ¶
SetProviderConfigReference of this Folder.
func (*Folder) SetProviderReference ¶
SetProviderReference of this Folder. Deprecated: Use SetProviderConfigReference.
func (*Folder) SetPublishConnectionDetailsTo ¶
func (mg *Folder) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Folder.
func (*Folder) SetWriteConnectionSecretToReference ¶
func (mg *Folder) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Folder.
type FolderList ¶
type FolderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Folder `json:"items"` }
FolderList contains 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.
func (*FolderList) GetItems ¶
func (l *FolderList) GetItems() []resource.Managed
GetItems of this FolderList.
type FolderObservation ¶
type FolderObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*FolderObservation) DeepCopy ¶
func (in *FolderObservation) DeepCopy() *FolderObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderObservation.
func (*FolderObservation) DeepCopyInto ¶
func (in *FolderObservation) DeepCopyInto(out *FolderObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FolderParameters ¶
type FolderParameters struct { // Map of custom attribute ids to attribute // value strings to set for folder. See here // for a reference on how to set values for custom attributes. // A list of custom attributes to set on this resource. // +kubebuilder:validation:Optional CustomAttributes map[string]*string `json:"customAttributes,omitempty" tf:"custom_attributes,omitempty"` // The ID of the datacenter the folder will be created in. // Required for all folder types except for datacenter folders. Forces a new // resource if changed. // The ID of the datacenter. Can be ignored if creating a datacenter folder, otherwise required. // +kubebuilder:validation:Optional DatacenterID *string `json:"datacenterId,omitempty" tf:"datacenter_id,omitempty"` // The path of the folder to be created. This is relative to // the root of the type of folder you are creating, and the supplied datacenter. // The path of the folder and any parents, relative to the datacenter and folder type being defined. // +kubebuilder:validation:Required Path *string `json:"path" tf:"path,omitempty"` // The IDs of any tags to attach to this resource. See // here for a reference on how to apply tags. // A list of tag IDs to apply to this object. // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // The type of folder to create. Allowed options are // datacenter for datacenter folders, host for host and cluster folders, // vm for virtual machine folders, datastore for datastore folders, and // network for network folders. Forces a new resource if changed. // The type of the folder. // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` }
func (*FolderParameters) DeepCopy ¶
func (in *FolderParameters) DeepCopy() *FolderParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderParameters.
func (*FolderParameters) DeepCopyInto ¶
func (in *FolderParameters) DeepCopyInto(out *FolderParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FolderSpec ¶
type FolderSpec struct { v1.ResourceSpec `json:",inline"` ForProvider FolderParameters `json:"forProvider"` }
FolderSpec defines the desired state of Folder
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 FolderStatus ¶
type FolderStatus struct { v1.ResourceStatus `json:",inline"` AtProvider FolderObservation `json:"atProvider,omitempty"` }
FolderStatus defines the observed state of Folder.
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.