Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Backup resources of the IONOS Cloud provider. +kubebuilder:object:generate=true +groupName=backup.ionoscloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- func ExtractBackupUnitID() reference.ExtractValueFn
- type BackupUnit
- func (in *BackupUnit) DeepCopy() *BackupUnit
- func (in *BackupUnit) DeepCopyInto(out *BackupUnit)
- func (in *BackupUnit) DeepCopyObject() runtime.Object
- func (mg *BackupUnit) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *BackupUnit) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *BackupUnit) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *BackupUnit) GetProviderConfigReference() *xpv1.Reference
- func (mg *BackupUnit) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *BackupUnit) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *BackupUnit) SetConditions(c ...xpv1.Condition)
- func (mg *BackupUnit) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *BackupUnit) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *BackupUnit) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *BackupUnit) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *BackupUnit) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BackupUnitList
- type BackupUnitObservation
- type BackupUnitParameters
- type BackupUnitSpec
- type BackupUnitStatus
Constants ¶
const ( Group = "backup.ionoscloud.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( BackupUnitKind = reflect.TypeOf(BackupUnit{}).Name() BackupUnitGroupKind = schema.GroupKind{Group: Group, Kind: BackupUnitKind}.String() BackupUnitKindAPIVersion = BackupUnitKind + "." + SchemeGroupVersion.String() BackupUnitGroupVersionKind = SchemeGroupVersion.WithKind(BackupUnitKind) )
BackupUnit type metadata.
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func ExtractBackupUnitID ¶
func ExtractBackupUnitID() reference.ExtractValueFn
ExtractBackupUnitID returns the externalName of a referenced BackupUnit.
Types ¶
type BackupUnit ¶
type BackupUnit struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackupUnitSpec `json:"spec"` Status BackupUnitStatus `json:"status,omitempty"` }
An BackupUnit is an example API type. +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="BACKUPUNIT ID",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="NAME",type="string",JSONPath=".spec.forProvider.name" +kubebuilder:printcolumn:name="EMAIL",type="string",JSONPath=".spec.forProvider.email" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.state" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ionoscloud},shortName=bu;bkpunit
func (*BackupUnit) DeepCopy ¶
func (in *BackupUnit) DeepCopy() *BackupUnit
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupUnit.
func (*BackupUnit) DeepCopyInto ¶
func (in *BackupUnit) DeepCopyInto(out *BackupUnit)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupUnit) DeepCopyObject ¶
func (in *BackupUnit) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupUnit) GetCondition ¶
func (mg *BackupUnit) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this BackupUnit.
func (*BackupUnit) GetDeletionPolicy ¶
func (mg *BackupUnit) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this BackupUnit.
func (*BackupUnit) GetManagementPolicies ¶ added in v1.0.6
func (mg *BackupUnit) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this BackupUnit.
func (*BackupUnit) GetProviderConfigReference ¶
func (mg *BackupUnit) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this BackupUnit.
func (*BackupUnit) GetPublishConnectionDetailsTo ¶ added in v1.0.2
func (mg *BackupUnit) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this BackupUnit.
func (*BackupUnit) GetWriteConnectionSecretToReference ¶
func (mg *BackupUnit) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this BackupUnit.
func (*BackupUnit) SetConditions ¶
func (mg *BackupUnit) SetConditions(c ...xpv1.Condition)
SetConditions of this BackupUnit.
func (*BackupUnit) SetDeletionPolicy ¶
func (mg *BackupUnit) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this BackupUnit.
func (*BackupUnit) SetManagementPolicies ¶ added in v1.0.6
func (mg *BackupUnit) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this BackupUnit.
func (*BackupUnit) SetProviderConfigReference ¶
func (mg *BackupUnit) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this BackupUnit.
func (*BackupUnit) SetPublishConnectionDetailsTo ¶ added in v1.0.2
func (mg *BackupUnit) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this BackupUnit.
func (*BackupUnit) SetWriteConnectionSecretToReference ¶
func (mg *BackupUnit) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this BackupUnit.
type BackupUnitList ¶
type BackupUnitList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupUnit `json:"items"` }
BackupUnitList contains a list of BackupUnit
func (*BackupUnitList) DeepCopy ¶
func (in *BackupUnitList) DeepCopy() *BackupUnitList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupUnitList.
func (*BackupUnitList) DeepCopyInto ¶
func (in *BackupUnitList) DeepCopyInto(out *BackupUnitList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupUnitList) DeepCopyObject ¶
func (in *BackupUnitList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupUnitList) GetItems ¶
func (l *BackupUnitList) GetItems() []resource.Managed
GetItems of this BackupUnitList.
type BackupUnitObservation ¶
type BackupUnitObservation struct { BackupUnitID string `json:"backupUnitId,omitempty"` State string `json:"state,omitempty"` }
BackupUnitObservation are the observable fields of an BackupUnit.
func (*BackupUnitObservation) DeepCopy ¶
func (in *BackupUnitObservation) DeepCopy() *BackupUnitObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupUnitObservation.
func (*BackupUnitObservation) DeepCopyInto ¶
func (in *BackupUnitObservation) DeepCopyInto(out *BackupUnitObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupUnitParameters ¶
type BackupUnitParameters struct { // The name of the resource (alphanumeric characters only). // // +immutable // +kubebuilder:validation:Required Name string `json:"name"` // The password associated with that resource. // // +kubebuilder:validation:Required Password string `json:"password"` // The email associated with the backup unit. Bear in mind that this email does not be the same email as of the user. // // +kubebuilder:validation:Required Email string `json:"email"` }
BackupUnitParameters are the observable fields of an BackupUnit. Required fields in order to create an BackupUnit: Name, Password, Email.
func (*BackupUnitParameters) DeepCopy ¶
func (in *BackupUnitParameters) DeepCopy() *BackupUnitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupUnitParameters.
func (*BackupUnitParameters) DeepCopyInto ¶
func (in *BackupUnitParameters) DeepCopyInto(out *BackupUnitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupUnitSpec ¶
type BackupUnitSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider BackupUnitParameters `json:"forProvider"` }
BackupUnitSpec defines the desired state of an BackupUnit.
func (*BackupUnitSpec) DeepCopy ¶
func (in *BackupUnitSpec) DeepCopy() *BackupUnitSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupUnitSpec.
func (*BackupUnitSpec) DeepCopyInto ¶
func (in *BackupUnitSpec) DeepCopyInto(out *BackupUnitSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupUnitStatus ¶
type BackupUnitStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider BackupUnitObservation `json:"atProvider,omitempty"` }
BackupUnitStatus represents the observed state of an BackupUnit.
func (*BackupUnitStatus) DeepCopy ¶
func (in *BackupUnitStatus) DeepCopy() *BackupUnitStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupUnitStatus.
func (*BackupUnitStatus) DeepCopyInto ¶
func (in *BackupUnitStatus) DeepCopyInto(out *BackupUnitStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.