Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=floatingipassignment.hcloud.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type IPAssignment
- func (in *IPAssignment) DeepCopy() *IPAssignment
- func (in *IPAssignment) DeepCopyInto(out *IPAssignment)
- func (in *IPAssignment) DeepCopyObject() runtime.Object
- func (mg *IPAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *IPAssignment) GetConnectionDetailsMapping() map[string]string
- func (mg *IPAssignment) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *IPAssignment) GetID() string
- func (tr *IPAssignment) GetInitParameters() (map[string]any, error)
- func (mg *IPAssignment) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *IPAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *IPAssignment) GetObservation() (map[string]any, error)
- func (tr *IPAssignment) GetParameters() (map[string]any, error)
- func (mg *IPAssignment) GetProviderConfigReference() *xpv1.Reference
- func (mg *IPAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *IPAssignment) GetTerraformResourceType() string
- func (tr *IPAssignment) GetTerraformSchemaVersion() int
- func (mg *IPAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *IPAssignment) Hub()
- func (tr *IPAssignment) LateInitialize(attrs []byte) (bool, error)
- func (mg *IPAssignment) SetConditions(c ...xpv1.Condition)
- func (mg *IPAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *IPAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *IPAssignment) SetObservation(obs map[string]any) error
- func (tr *IPAssignment) SetParameters(params map[string]any) error
- func (mg *IPAssignment) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *IPAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *IPAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type IPAssignmentInitParameters
- type IPAssignmentList
- type IPAssignmentObservation
- type IPAssignmentParameters
- type IPAssignmentSpec
- type IPAssignmentStatus
Constants ¶
const ( CRDGroup = "floatingipassignment.hcloud.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 ( IPAssignment_Kind = "IPAssignment" IPAssignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IPAssignment_Kind}.String() IPAssignment_KindAPIVersion = IPAssignment_Kind + "." + CRDGroupVersion.String() IPAssignment_GroupVersionKind = CRDGroupVersion.WithKind(IPAssignment_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type IPAssignment ¶
type IPAssignment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.floatingIpId) || (has(self.initProvider) && has(self.initProvider.floatingIpId))",message="spec.forProvider.floatingIpId is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serverId) || (has(self.initProvider) && has(self.initProvider.serverId))",message="spec.forProvider.serverId is a required parameter" Spec IPAssignmentSpec `json:"spec"` Status IPAssignmentStatus `json:"status,omitempty"` }
IPAssignment is the Schema for the IPAssignments API. Provides a Hetzner Cloud Floating IP Assignment to assign a Floating IP to a Hetzner Cloud Server. +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:resource:scope=Cluster,categories={crossplane,managed,hcloud}
func (*IPAssignment) DeepCopy ¶
func (in *IPAssignment) DeepCopy() *IPAssignment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAssignment.
func (*IPAssignment) DeepCopyInto ¶
func (in *IPAssignment) DeepCopyInto(out *IPAssignment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPAssignment) DeepCopyObject ¶
func (in *IPAssignment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPAssignment) GetCondition ¶
func (mg *IPAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this IPAssignment.
func (*IPAssignment) GetConnectionDetailsMapping ¶
func (tr *IPAssignment) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this IPAssignment
func (*IPAssignment) GetDeletionPolicy ¶
func (mg *IPAssignment) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this IPAssignment.
func (*IPAssignment) GetID ¶
func (tr *IPAssignment) GetID() string
GetID returns ID of underlying Terraform resource of this IPAssignment
func (*IPAssignment) GetInitParameters ¶
func (tr *IPAssignment) GetInitParameters() (map[string]any, error)
GetInitParameters of this IPAssignment
func (*IPAssignment) GetManagementPolicies ¶
func (mg *IPAssignment) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this IPAssignment.
func (*IPAssignment) GetMergedParameters ¶
func (tr *IPAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this IPAssignment
func (*IPAssignment) GetObservation ¶
func (tr *IPAssignment) GetObservation() (map[string]any, error)
GetObservation of this IPAssignment
func (*IPAssignment) GetParameters ¶
func (tr *IPAssignment) GetParameters() (map[string]any, error)
GetParameters of this IPAssignment
func (*IPAssignment) GetProviderConfigReference ¶
func (mg *IPAssignment) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this IPAssignment.
func (*IPAssignment) GetPublishConnectionDetailsTo ¶
func (mg *IPAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this IPAssignment.
func (*IPAssignment) GetTerraformResourceType ¶
func (mg *IPAssignment) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this IPAssignment
func (*IPAssignment) GetTerraformSchemaVersion ¶
func (tr *IPAssignment) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*IPAssignment) GetWriteConnectionSecretToReference ¶
func (mg *IPAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this IPAssignment.
func (*IPAssignment) LateInitialize ¶
func (tr *IPAssignment) LateInitialize(attrs []byte) (bool, error)
LateInitialize this IPAssignment using its observed tfState. returns True if there are any spec changes for the resource.
func (*IPAssignment) SetConditions ¶
func (mg *IPAssignment) SetConditions(c ...xpv1.Condition)
SetConditions of this IPAssignment.
func (*IPAssignment) SetDeletionPolicy ¶
func (mg *IPAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this IPAssignment.
func (*IPAssignment) SetManagementPolicies ¶
func (mg *IPAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this IPAssignment.
func (*IPAssignment) SetObservation ¶
func (tr *IPAssignment) SetObservation(obs map[string]any) error
SetObservation for this IPAssignment
func (*IPAssignment) SetParameters ¶
func (tr *IPAssignment) SetParameters(params map[string]any) error
SetParameters for this IPAssignment
func (*IPAssignment) SetProviderConfigReference ¶
func (mg *IPAssignment) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this IPAssignment.
func (*IPAssignment) SetPublishConnectionDetailsTo ¶
func (mg *IPAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this IPAssignment.
func (*IPAssignment) SetWriteConnectionSecretToReference ¶
func (mg *IPAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this IPAssignment.
type IPAssignmentInitParameters ¶
type IPAssignmentInitParameters struct { // ID of the Floating IP. FloatingIPID *float64 `json:"floatingIpId,omitempty" tf:"floating_ip_id,omitempty"` // Server to assign the Floating IP to. ServerID *float64 `json:"serverId,omitempty" tf:"server_id,omitempty"` }
func (*IPAssignmentInitParameters) DeepCopy ¶
func (in *IPAssignmentInitParameters) DeepCopy() *IPAssignmentInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAssignmentInitParameters.
func (*IPAssignmentInitParameters) DeepCopyInto ¶
func (in *IPAssignmentInitParameters) DeepCopyInto(out *IPAssignmentInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAssignmentList ¶
type IPAssignmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IPAssignment `json:"items"` }
IPAssignmentList contains a list of IPAssignments
func (*IPAssignmentList) DeepCopy ¶
func (in *IPAssignmentList) DeepCopy() *IPAssignmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAssignmentList.
func (*IPAssignmentList) DeepCopyInto ¶
func (in *IPAssignmentList) DeepCopyInto(out *IPAssignmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPAssignmentList) DeepCopyObject ¶
func (in *IPAssignmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPAssignmentList) GetItems ¶
func (l *IPAssignmentList) GetItems() []resource.Managed
GetItems of this IPAssignmentList.
type IPAssignmentObservation ¶
type IPAssignmentObservation struct { // ID of the Floating IP. FloatingIPID *float64 `json:"floatingIpId,omitempty" tf:"floating_ip_id,omitempty"` // (int) Unique ID of the Floating IP Assignment. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Server to assign the Floating IP to. ServerID *float64 `json:"serverId,omitempty" tf:"server_id,omitempty"` }
func (*IPAssignmentObservation) DeepCopy ¶
func (in *IPAssignmentObservation) DeepCopy() *IPAssignmentObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAssignmentObservation.
func (*IPAssignmentObservation) DeepCopyInto ¶
func (in *IPAssignmentObservation) DeepCopyInto(out *IPAssignmentObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAssignmentParameters ¶
type IPAssignmentParameters struct { // ID of the Floating IP. // +kubebuilder:validation:Optional FloatingIPID *float64 `json:"floatingIpId,omitempty" tf:"floating_ip_id,omitempty"` // Server to assign the Floating IP to. // +kubebuilder:validation:Optional ServerID *float64 `json:"serverId,omitempty" tf:"server_id,omitempty"` }
func (*IPAssignmentParameters) DeepCopy ¶
func (in *IPAssignmentParameters) DeepCopy() *IPAssignmentParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAssignmentParameters.
func (*IPAssignmentParameters) DeepCopyInto ¶
func (in *IPAssignmentParameters) DeepCopyInto(out *IPAssignmentParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAssignmentSpec ¶
type IPAssignmentSpec struct { v1.ResourceSpec `json:",inline"` ForProvider IPAssignmentParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider IPAssignmentInitParameters `json:"initProvider,omitempty"` }
IPAssignmentSpec defines the desired state of IPAssignment
func (*IPAssignmentSpec) DeepCopy ¶
func (in *IPAssignmentSpec) DeepCopy() *IPAssignmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAssignmentSpec.
func (*IPAssignmentSpec) DeepCopyInto ¶
func (in *IPAssignmentSpec) DeepCopyInto(out *IPAssignmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAssignmentStatus ¶
type IPAssignmentStatus struct { v1.ResourceStatus `json:",inline"` AtProvider IPAssignmentObservation `json:"atProvider,omitempty"` }
IPAssignmentStatus defines the observed state of IPAssignment.
func (*IPAssignmentStatus) DeepCopy ¶
func (in *IPAssignmentStatus) DeepCopy() *IPAssignmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAssignmentStatus.
func (*IPAssignmentStatus) DeepCopyInto ¶
func (in *IPAssignmentStatus) DeepCopyInto(out *IPAssignmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.