Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=floatingip.hcloud.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type IP
- func (in *IP) DeepCopy() *IP
- func (in *IP) DeepCopyInto(out *IP)
- func (in *IP) DeepCopyObject() runtime.Object
- func (mg *IP) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *IP) GetConnectionDetailsMapping() map[string]string
- func (mg *IP) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *IP) GetID() string
- func (tr *IP) GetInitParameters() (map[string]any, error)
- func (mg *IP) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *IP) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *IP) GetObservation() (map[string]any, error)
- func (tr *IP) GetParameters() (map[string]any, error)
- func (mg *IP) GetProviderConfigReference() *xpv1.Reference
- func (mg *IP) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *IP) GetTerraformResourceType() string
- func (tr *IP) GetTerraformSchemaVersion() int
- func (mg *IP) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *IP) Hub()
- func (tr *IP) LateInitialize(attrs []byte) (bool, error)
- func (mg *IP) SetConditions(c ...xpv1.Condition)
- func (mg *IP) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *IP) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *IP) SetObservation(obs map[string]any) error
- func (tr *IP) SetParameters(params map[string]any) error
- func (mg *IP) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *IP) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *IP) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type IPInitParameters
- type IPList
- type IPObservation
- type IPParameters
- type IPSpec
- type IPStatus
Constants ¶
const ( CRDGroup = "floatingip.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 ( IP_Kind = "IP" IP_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IP_Kind}.String() IP_KindAPIVersion = IP_Kind + "." + CRDGroupVersion.String() IP_GroupVersionKind = CRDGroupVersion.WithKind(IP_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type IP ¶
type IP 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.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec IPSpec `json:"spec"` Status IPStatus `json:"status,omitempty"` }
IP is the Schema for the IPs API. Provides a Hetzner Cloud Floating IP to represent a publicly-accessible static IP address that can be mapped to one of your servers. +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 (*IP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IP.
func (*IP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IP) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IP) GetCondition ¶
func (mg *IP) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this IP.
func (*IP) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this IP
func (*IP) GetDeletionPolicy ¶
func (mg *IP) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this IP.
func (*IP) GetInitParameters ¶
GetInitParameters of this IP
func (*IP) GetManagementPolicies ¶
func (mg *IP) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this IP.
func (*IP) GetMergedParameters ¶
GetInitParameters of this IP
func (*IP) GetObservation ¶
GetObservation of this IP
func (*IP) GetParameters ¶
GetParameters of this IP
func (*IP) GetProviderConfigReference ¶
GetProviderConfigReference of this IP.
func (*IP) GetPublishConnectionDetailsTo ¶
func (mg *IP) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this IP.
func (*IP) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this IP
func (*IP) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*IP) GetWriteConnectionSecretToReference ¶
func (mg *IP) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this IP.
func (*IP) LateInitialize ¶
LateInitialize this IP using its observed tfState. returns True if there are any spec changes for the resource.
func (*IP) SetConditions ¶
SetConditions of this IP.
func (*IP) SetDeletionPolicy ¶
func (mg *IP) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this IP.
func (*IP) SetManagementPolicies ¶
func (mg *IP) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this IP.
func (*IP) SetObservation ¶
SetObservation for this IP
func (*IP) SetParameters ¶
SetParameters for this IP
func (*IP) SetProviderConfigReference ¶
SetProviderConfigReference of this IP.
func (*IP) SetPublishConnectionDetailsTo ¶
func (mg *IP) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this IP.
func (*IP) SetWriteConnectionSecretToReference ¶
func (mg *IP) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this IP.
type IPInitParameters ¶
type IPInitParameters struct { // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. DeleteProtection *bool `json:"deleteProtection,omitempty" tf:"delete_protection,omitempty"` // Description of the Floating IP. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Name of home location (routing is optimized for that location). Optional if server_id argument is passed. HomeLocation *string `json:"homeLocation,omitempty" tf:"home_location,omitempty"` // User-defined labels (key-value pairs) should be created with. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Name of the Floating IP. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Server to assign the Floating IP to. ServerID *float64 `json:"serverId,omitempty" tf:"server_id,omitempty"` // Type of the Floating IP. ipv4 ipv6 Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*IPInitParameters) DeepCopy ¶
func (in *IPInitParameters) DeepCopy() *IPInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPInitParameters.
func (*IPInitParameters) DeepCopyInto ¶
func (in *IPInitParameters) DeepCopyInto(out *IPInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPList ¶
type IPList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IP `json:"items"` }
IPList contains a list of IPs
func (*IPList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPList.
func (*IPList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPObservation ¶
type IPObservation struct { // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. DeleteProtection *bool `json:"deleteProtection,omitempty" tf:"delete_protection,omitempty"` // Description of the Floating IP. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Name of home location (routing is optimized for that location). Optional if server_id argument is passed. HomeLocation *string `json:"homeLocation,omitempty" tf:"home_location,omitempty"` // (int) Unique ID of the Floating IP. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (string) IP Address of the Floating IP. IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // (string) IPv6 subnet. (Only set if type is ipv6) IPNetwork *string `json:"ipNetwork,omitempty" tf:"ip_network,omitempty"` // User-defined labels (key-value pairs) should be created with. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Name of the Floating IP. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Server to assign the Floating IP to. ServerID *float64 `json:"serverId,omitempty" tf:"server_id,omitempty"` // Type of the Floating IP. ipv4 ipv6 Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*IPObservation) DeepCopy ¶
func (in *IPObservation) DeepCopy() *IPObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPObservation.
func (*IPObservation) DeepCopyInto ¶
func (in *IPObservation) DeepCopyInto(out *IPObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPParameters ¶
type IPParameters struct { // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. // +kubebuilder:validation:Optional DeleteProtection *bool `json:"deleteProtection,omitempty" tf:"delete_protection,omitempty"` // Description of the Floating IP. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Name of home location (routing is optimized for that location). Optional if server_id argument is passed. // +kubebuilder:validation:Optional HomeLocation *string `json:"homeLocation,omitempty" tf:"home_location,omitempty"` // User-defined labels (key-value pairs) should be created with. // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Name of the Floating IP. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // Server to assign the Floating IP to. // +kubebuilder:validation:Optional ServerID *float64 `json:"serverId,omitempty" tf:"server_id,omitempty"` // Type of the Floating IP. ipv4 ipv6 // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*IPParameters) DeepCopy ¶
func (in *IPParameters) DeepCopy() *IPParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPParameters.
func (*IPParameters) DeepCopyInto ¶
func (in *IPParameters) DeepCopyInto(out *IPParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPSpec ¶
type IPSpec struct { v1.ResourceSpec `json:",inline"` ForProvider IPParameters `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 IPInitParameters `json:"initProvider,omitempty"` }
IPSpec defines the desired state of IP
func (*IPSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPSpec.
func (*IPSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPStatus ¶
type IPStatus struct { v1.ResourceStatus `json:",inline"` AtProvider IPObservation `json:"atProvider,omitempty"` }
IPStatus defines the observed state of IP.
func (*IPStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPStatus.
func (*IPStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.