Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=object.vultr.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Storage
- func (in *Storage) DeepCopy() *Storage
- func (in *Storage) DeepCopyInto(out *Storage)
- func (in *Storage) DeepCopyObject() runtime.Object
- func (mg *Storage) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Storage) GetConnectionDetailsMapping() map[string]string
- func (mg *Storage) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Storage) GetID() string
- func (tr *Storage) GetObservation() (map[string]any, error)
- func (tr *Storage) GetParameters() (map[string]any, error)
- func (mg *Storage) GetProviderConfigReference() *xpv1.Reference
- func (mg *Storage) GetProviderReference() *xpv1.Reference
- func (mg *Storage) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Storage) GetTerraformResourceType() string
- func (tr *Storage) GetTerraformSchemaVersion() int
- func (mg *Storage) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Storage) LateInitialize(attrs []byte) (bool, error)
- func (mg *Storage) SetConditions(c ...xpv1.Condition)
- func (mg *Storage) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Storage) SetObservation(obs map[string]any) error
- func (tr *Storage) SetParameters(params map[string]any) error
- func (mg *Storage) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Storage) SetProviderReference(r *xpv1.Reference)
- func (mg *Storage) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Storage) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type StorageList
- type StorageObservation
- type StorageParameters
- type StorageSpec
- type StorageStatus
Constants ¶
const ( CRDGroup = "object.vultr.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 ( Storage_Kind = "Storage" Storage_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Storage_Kind}.String() Storage_KindAPIVersion = Storage_Kind + "." + CRDGroupVersion.String() Storage_GroupVersionKind = CRDGroupVersion.WithKind(Storage_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StorageSpec `json:"spec"` Status StorageStatus `json:"status,omitempty"` }
Storage is the Schema for the Storages API. Provides a Vultr private object storage resource. This can be used to create, read, update and delete object storage resources on your Vultr account. +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,vultr}
func (*Storage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Storage) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Storage) GetCondition ¶
func (mg *Storage) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Storage.
func (*Storage) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Storage
func (*Storage) GetDeletionPolicy ¶
func (mg *Storage) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Storage.
func (*Storage) GetObservation ¶
GetObservation of this Storage
func (*Storage) GetParameters ¶
GetParameters of this Storage
func (*Storage) GetProviderConfigReference ¶
GetProviderConfigReference of this Storage.
func (*Storage) GetProviderReference ¶
GetProviderReference of this Storage. Deprecated: Use GetProviderConfigReference.
func (*Storage) GetPublishConnectionDetailsTo ¶
func (mg *Storage) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Storage.
func (*Storage) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Storage
func (*Storage) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Storage) GetWriteConnectionSecretToReference ¶
func (mg *Storage) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Storage.
func (*Storage) LateInitialize ¶
LateInitialize this Storage using its observed tfState. returns True if there are any spec changes for the resource.
func (*Storage) SetConditions ¶
SetConditions of this Storage.
func (*Storage) SetDeletionPolicy ¶
func (mg *Storage) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Storage.
func (*Storage) SetObservation ¶
SetObservation for this Storage
func (*Storage) SetParameters ¶
SetParameters for this Storage
func (*Storage) SetProviderConfigReference ¶
SetProviderConfigReference of this Storage.
func (*Storage) SetProviderReference ¶
SetProviderReference of this Storage. Deprecated: Use SetProviderConfigReference.
func (*Storage) SetPublishConnectionDetailsTo ¶
func (mg *Storage) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Storage.
func (*Storage) SetWriteConnectionSecretToReference ¶
func (mg *Storage) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Storage.
type StorageList ¶
type StorageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Storage `json:"items"` }
StorageList contains a list of Storages
func (*StorageList) DeepCopy ¶
func (in *StorageList) DeepCopy() *StorageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageList.
func (*StorageList) DeepCopyInto ¶
func (in *StorageList) DeepCopyInto(out *StorageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageList) DeepCopyObject ¶
func (in *StorageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*StorageList) GetItems ¶
func (l *StorageList) GetItems() []resource.Managed
GetItems of this StorageList.
type StorageObservation ¶
type StorageObservation struct { // Date of creation for the object storage subscription. DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"` // The id of the object storage subscription. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The location which this subscription resides in. Location *string `json:"location,omitempty" tf:"location,omitempty"` // The region ID of the object storage subscription. Region *string `json:"region,omitempty" tf:"region,omitempty"` // The hostname for this subscription. S3Hostname *string `json:"s3Hostname,omitempty" tf:"s3_hostname,omitempty"` // Current status of this object storage subscription. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*StorageObservation) DeepCopy ¶
func (in *StorageObservation) DeepCopy() *StorageObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageObservation.
func (*StorageObservation) DeepCopyInto ¶
func (in *StorageObservation) DeepCopyInto(out *StorageObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageParameters ¶
type StorageParameters struct { // The region ID that you want the network to be created in. // +kubebuilder:validation:Required ClusterID *float64 `json:"clusterId" tf:"cluster_id,omitempty"` // The description you want to give your network. // +kubebuilder:validation:Optional Label *string `json:"label,omitempty" tf:"label,omitempty"` }
func (*StorageParameters) DeepCopy ¶
func (in *StorageParameters) DeepCopy() *StorageParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageParameters.
func (*StorageParameters) DeepCopyInto ¶
func (in *StorageParameters) DeepCopyInto(out *StorageParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageSpec ¶
type StorageSpec struct { v1.ResourceSpec `json:",inline"` ForProvider StorageParameters `json:"forProvider"` }
StorageSpec defines the desired state of Storage
func (*StorageSpec) DeepCopy ¶
func (in *StorageSpec) DeepCopy() *StorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSpec.
func (*StorageSpec) DeepCopyInto ¶
func (in *StorageSpec) DeepCopyInto(out *StorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageStatus ¶
type StorageStatus struct { v1.ResourceStatus `json:",inline"` AtProvider StorageObservation `json:"atProvider,omitempty"` }
StorageStatus defines the observed state of Storage.
func (*StorageStatus) DeepCopy ¶
func (in *StorageStatus) DeepCopy() *StorageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatus.
func (*StorageStatus) DeepCopyInto ¶
func (in *StorageStatus) DeepCopyInto(out *StorageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.