Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=customattribute.vsphere.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Attribute
- func (in *Attribute) DeepCopy() *Attribute
- func (in *Attribute) DeepCopyInto(out *Attribute)
- func (in *Attribute) DeepCopyObject() runtime.Object
- func (mg *Attribute) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Attribute) GetConnectionDetailsMapping() map[string]string
- func (mg *Attribute) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Attribute) GetID() string
- func (tr *Attribute) GetObservation() (map[string]any, error)
- func (tr *Attribute) GetParameters() (map[string]any, error)
- func (mg *Attribute) GetProviderConfigReference() *xpv1.Reference
- func (mg *Attribute) GetProviderReference() *xpv1.Reference
- func (mg *Attribute) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Attribute) GetTerraformResourceType() string
- func (tr *Attribute) GetTerraformSchemaVersion() int
- func (mg *Attribute) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Attribute) LateInitialize(attrs []byte) (bool, error)
- func (mg *Attribute) SetConditions(c ...xpv1.Condition)
- func (mg *Attribute) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Attribute) SetObservation(obs map[string]any) error
- func (tr *Attribute) SetParameters(params map[string]any) error
- func (mg *Attribute) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Attribute) SetProviderReference(r *xpv1.Reference)
- func (mg *Attribute) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Attribute) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AttributeList
- type AttributeObservation
- type AttributeParameters
- type AttributeSpec
- type AttributeStatus
Constants ¶
const ( CRDGroup = "customattribute.vsphere.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Attribute_Kind = "Attribute" Attribute_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Attribute_Kind}.String() Attribute_KindAPIVersion = Attribute_Kind + "." + CRDGroupVersion.String() Attribute_GroupVersionKind = CRDGroupVersion.WithKind(Attribute_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 Attribute ¶
type Attribute struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AttributeSpec `json:"spec"` Status AttributeStatus `json:"status,omitempty"` }
Attribute is the Schema for the Attributes API. Provides a VMware vSphere custom attribute resource. This can be used to manage custom attributes 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 (*Attribute) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Attribute.
func (*Attribute) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Attribute) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Attribute) GetCondition ¶
func (mg *Attribute) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Attribute.
func (*Attribute) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Attribute
func (*Attribute) GetDeletionPolicy ¶
func (mg *Attribute) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Attribute.
func (*Attribute) GetObservation ¶
GetObservation of this Attribute
func (*Attribute) GetParameters ¶
GetParameters of this Attribute
func (*Attribute) GetProviderConfigReference ¶
GetProviderConfigReference of this Attribute.
func (*Attribute) GetProviderReference ¶
GetProviderReference of this Attribute. Deprecated: Use GetProviderConfigReference.
func (*Attribute) GetPublishConnectionDetailsTo ¶
func (mg *Attribute) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Attribute.
func (*Attribute) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Attribute
func (*Attribute) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Attribute) GetWriteConnectionSecretToReference ¶
func (mg *Attribute) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Attribute.
func (*Attribute) LateInitialize ¶
LateInitialize this Attribute using its observed tfState. returns True if there are any spec changes for the resource.
func (*Attribute) SetConditions ¶
SetConditions of this Attribute.
func (*Attribute) SetDeletionPolicy ¶
func (mg *Attribute) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Attribute.
func (*Attribute) SetObservation ¶
SetObservation for this Attribute
func (*Attribute) SetParameters ¶
SetParameters for this Attribute
func (*Attribute) SetProviderConfigReference ¶
SetProviderConfigReference of this Attribute.
func (*Attribute) SetProviderReference ¶
SetProviderReference of this Attribute. Deprecated: Use SetProviderConfigReference.
func (*Attribute) SetPublishConnectionDetailsTo ¶
func (mg *Attribute) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Attribute.
func (*Attribute) SetWriteConnectionSecretToReference ¶
func (mg *Attribute) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Attribute.
type AttributeList ¶
type AttributeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Attribute `json:"items"` }
AttributeList contains a list of Attributes
func (*AttributeList) DeepCopy ¶
func (in *AttributeList) DeepCopy() *AttributeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttributeList.
func (*AttributeList) DeepCopyInto ¶
func (in *AttributeList) DeepCopyInto(out *AttributeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AttributeList) DeepCopyObject ¶
func (in *AttributeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AttributeList) GetItems ¶
func (l *AttributeList) GetItems() []resource.Managed
GetItems of this AttributeList.
type AttributeObservation ¶
type AttributeObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*AttributeObservation) DeepCopy ¶
func (in *AttributeObservation) DeepCopy() *AttributeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttributeObservation.
func (*AttributeObservation) DeepCopyInto ¶
func (in *AttributeObservation) DeepCopyInto(out *AttributeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AttributeParameters ¶
type AttributeParameters struct { // The object type that this attribute may be // applied to. If not set, the custom attribute may be applied to any object // type. For a full list, review the Managed Object Types. Forces a new resource if changed. // Object type for which the custom attribute is valid. If not specified, the attribute is valid for all managed object types. // +kubebuilder:validation:Optional ManagedObjectType *string `json:"managedObjectType,omitempty" tf:"managed_object_type,omitempty"` }
func (*AttributeParameters) DeepCopy ¶
func (in *AttributeParameters) DeepCopy() *AttributeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttributeParameters.
func (*AttributeParameters) DeepCopyInto ¶
func (in *AttributeParameters) DeepCopyInto(out *AttributeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AttributeSpec ¶
type AttributeSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AttributeParameters `json:"forProvider"` }
AttributeSpec defines the desired state of Attribute
func (*AttributeSpec) DeepCopy ¶
func (in *AttributeSpec) DeepCopy() *AttributeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttributeSpec.
func (*AttributeSpec) DeepCopyInto ¶
func (in *AttributeSpec) DeepCopyInto(out *AttributeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AttributeStatus ¶
type AttributeStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AttributeObservation `json:"atProvider,omitempty"` }
AttributeStatus defines the observed state of Attribute.
func (*AttributeStatus) DeepCopy ¶
func (in *AttributeStatus) DeepCopy() *AttributeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttributeStatus.
func (*AttributeStatus) DeepCopyInto ¶
func (in *AttributeStatus) DeepCopyInto(out *AttributeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.