Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=loadbalancernetwork.hcloud.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type BalancerNetwork
- func (in *BalancerNetwork) DeepCopy() *BalancerNetwork
- func (in *BalancerNetwork) DeepCopyInto(out *BalancerNetwork)
- func (in *BalancerNetwork) DeepCopyObject() runtime.Object
- func (mg *BalancerNetwork) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *BalancerNetwork) GetConnectionDetailsMapping() map[string]string
- func (mg *BalancerNetwork) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *BalancerNetwork) GetID() string
- func (tr *BalancerNetwork) GetInitParameters() (map[string]any, error)
- func (mg *BalancerNetwork) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *BalancerNetwork) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *BalancerNetwork) GetObservation() (map[string]any, error)
- func (tr *BalancerNetwork) GetParameters() (map[string]any, error)
- func (mg *BalancerNetwork) GetProviderConfigReference() *xpv1.Reference
- func (mg *BalancerNetwork) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *BalancerNetwork) GetTerraformResourceType() string
- func (tr *BalancerNetwork) GetTerraformSchemaVersion() int
- func (mg *BalancerNetwork) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *BalancerNetwork) Hub()
- func (tr *BalancerNetwork) LateInitialize(attrs []byte) (bool, error)
- func (mg *BalancerNetwork) SetConditions(c ...xpv1.Condition)
- func (mg *BalancerNetwork) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *BalancerNetwork) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *BalancerNetwork) SetObservation(obs map[string]any) error
- func (tr *BalancerNetwork) SetParameters(params map[string]any) error
- func (mg *BalancerNetwork) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *BalancerNetwork) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *BalancerNetwork) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BalancerNetworkInitParameters
- type BalancerNetworkList
- type BalancerNetworkObservation
- type BalancerNetworkParameters
- type BalancerNetworkSpec
- type BalancerNetworkStatus
Constants ¶
const ( CRDGroup = "loadbalancernetwork.hcloud.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( BalancerNetwork_Kind = "BalancerNetwork" BalancerNetwork_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BalancerNetwork_Kind}.String() BalancerNetwork_KindAPIVersion = BalancerNetwork_Kind + "." + CRDGroupVersion.String() BalancerNetwork_GroupVersionKind = CRDGroupVersion.WithKind(BalancerNetwork_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 BalancerNetwork ¶
type BalancerNetwork 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.loadBalancerId) || (has(self.initProvider) && has(self.initProvider.loadBalancerId))",message="spec.forProvider.loadBalancerId is a required parameter" Spec BalancerNetworkSpec `json:"spec"` Status BalancerNetworkStatus `json:"status,omitempty"` }
BalancerNetwork is the Schema for the BalancerNetworks API. Provides a Hetzner Cloud Load Balancer Network to represent a private network on a Load Balancer in the Hetzner Cloud. +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 (*BalancerNetwork) DeepCopy ¶
func (in *BalancerNetwork) DeepCopy() *BalancerNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerNetwork.
func (*BalancerNetwork) DeepCopyInto ¶
func (in *BalancerNetwork) DeepCopyInto(out *BalancerNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BalancerNetwork) DeepCopyObject ¶
func (in *BalancerNetwork) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BalancerNetwork) GetCondition ¶
func (mg *BalancerNetwork) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this BalancerNetwork.
func (*BalancerNetwork) GetConnectionDetailsMapping ¶
func (tr *BalancerNetwork) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this BalancerNetwork
func (*BalancerNetwork) GetDeletionPolicy ¶
func (mg *BalancerNetwork) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this BalancerNetwork.
func (*BalancerNetwork) GetID ¶
func (tr *BalancerNetwork) GetID() string
GetID returns ID of underlying Terraform resource of this BalancerNetwork
func (*BalancerNetwork) GetInitParameters ¶
func (tr *BalancerNetwork) GetInitParameters() (map[string]any, error)
GetInitParameters of this BalancerNetwork
func (*BalancerNetwork) GetManagementPolicies ¶
func (mg *BalancerNetwork) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this BalancerNetwork.
func (*BalancerNetwork) GetMergedParameters ¶
func (tr *BalancerNetwork) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this BalancerNetwork
func (*BalancerNetwork) GetObservation ¶
func (tr *BalancerNetwork) GetObservation() (map[string]any, error)
GetObservation of this BalancerNetwork
func (*BalancerNetwork) GetParameters ¶
func (tr *BalancerNetwork) GetParameters() (map[string]any, error)
GetParameters of this BalancerNetwork
func (*BalancerNetwork) GetProviderConfigReference ¶
func (mg *BalancerNetwork) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this BalancerNetwork.
func (*BalancerNetwork) GetPublishConnectionDetailsTo ¶
func (mg *BalancerNetwork) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this BalancerNetwork.
func (*BalancerNetwork) GetTerraformResourceType ¶
func (mg *BalancerNetwork) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this BalancerNetwork
func (*BalancerNetwork) GetTerraformSchemaVersion ¶
func (tr *BalancerNetwork) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*BalancerNetwork) GetWriteConnectionSecretToReference ¶
func (mg *BalancerNetwork) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this BalancerNetwork.
func (*BalancerNetwork) Hub ¶
func (tr *BalancerNetwork) Hub()
Hub marks this type as a conversion hub.
func (*BalancerNetwork) LateInitialize ¶
func (tr *BalancerNetwork) LateInitialize(attrs []byte) (bool, error)
LateInitialize this BalancerNetwork using its observed tfState. returns True if there are any spec changes for the resource.
func (*BalancerNetwork) SetConditions ¶
func (mg *BalancerNetwork) SetConditions(c ...xpv1.Condition)
SetConditions of this BalancerNetwork.
func (*BalancerNetwork) SetDeletionPolicy ¶
func (mg *BalancerNetwork) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this BalancerNetwork.
func (*BalancerNetwork) SetManagementPolicies ¶
func (mg *BalancerNetwork) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this BalancerNetwork.
func (*BalancerNetwork) SetObservation ¶
func (tr *BalancerNetwork) SetObservation(obs map[string]any) error
SetObservation for this BalancerNetwork
func (*BalancerNetwork) SetParameters ¶
func (tr *BalancerNetwork) SetParameters(params map[string]any) error
SetParameters for this BalancerNetwork
func (*BalancerNetwork) SetProviderConfigReference ¶
func (mg *BalancerNetwork) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this BalancerNetwork.
func (*BalancerNetwork) SetPublishConnectionDetailsTo ¶
func (mg *BalancerNetwork) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this BalancerNetwork.
func (*BalancerNetwork) SetWriteConnectionSecretToReference ¶
func (mg *BalancerNetwork) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this BalancerNetwork.
type BalancerNetworkInitParameters ¶
type BalancerNetworkInitParameters struct { // Enable or disable the // Load Balancers public interface. Default: true EnablePublicInterface *bool `json:"enablePublicInterface,omitempty" tf:"enable_public_interface,omitempty"` // IP to request to be assigned to this Load // Balancer. If you do not provide this then you will be auto assigned an // IP address. IP *string `json:"ip,omitempty" tf:"ip,omitempty"` // ID of the Load Balancer. LoadBalancerID *float64 `json:"loadBalancerId,omitempty" tf:"load_balancer_id,omitempty"` // ID of the network which should be added // to the Load Balancer. Required if subnet_id is not set. Successful // creation of the resource depends on the existence of a subnet in the // Hetzner Cloud Backend. Using network_id will not create an explicit // dependency between the Load Balancer and the subnet. Therefore // depends_on may need to be used. Alternatively the subnet_id // property can be used, which will create an explicit dependency between // hcloud_load_balancer_network and the existence of a subnet. NetworkID *float64 `json:"networkId,omitempty" tf:"network_id,omitempty"` // ID of the sub-network which should be // added to the Load Balancer. Required if network_id is not set. // Note: if the ip property is missing, the Load Balancer is // currently added to the last created subnet. SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` }
func (*BalancerNetworkInitParameters) DeepCopy ¶
func (in *BalancerNetworkInitParameters) DeepCopy() *BalancerNetworkInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerNetworkInitParameters.
func (*BalancerNetworkInitParameters) DeepCopyInto ¶
func (in *BalancerNetworkInitParameters) DeepCopyInto(out *BalancerNetworkInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerNetworkList ¶
type BalancerNetworkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BalancerNetwork `json:"items"` }
BalancerNetworkList contains a list of BalancerNetworks
func (*BalancerNetworkList) DeepCopy ¶
func (in *BalancerNetworkList) DeepCopy() *BalancerNetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerNetworkList.
func (*BalancerNetworkList) DeepCopyInto ¶
func (in *BalancerNetworkList) DeepCopyInto(out *BalancerNetworkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BalancerNetworkList) DeepCopyObject ¶
func (in *BalancerNetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BalancerNetworkList) GetItems ¶
func (l *BalancerNetworkList) GetItems() []resource.Managed
GetItems of this BalancerNetworkList.
type BalancerNetworkObservation ¶
type BalancerNetworkObservation struct { // Enable or disable the // Load Balancers public interface. Default: true EnablePublicInterface *bool `json:"enablePublicInterface,omitempty" tf:"enable_public_interface,omitempty"` // (string) ID of the Load Balancer network. ID *string `json:"id,omitempty" tf:"id,omitempty"` // IP to request to be assigned to this Load // Balancer. If you do not provide this then you will be auto assigned an // IP address. IP *string `json:"ip,omitempty" tf:"ip,omitempty"` // ID of the Load Balancer. LoadBalancerID *float64 `json:"loadBalancerId,omitempty" tf:"load_balancer_id,omitempty"` // ID of the network which should be added // to the Load Balancer. Required if subnet_id is not set. Successful // creation of the resource depends on the existence of a subnet in the // Hetzner Cloud Backend. Using network_id will not create an explicit // dependency between the Load Balancer and the subnet. Therefore // depends_on may need to be used. Alternatively the subnet_id // property can be used, which will create an explicit dependency between // hcloud_load_balancer_network and the existence of a subnet. NetworkID *float64 `json:"networkId,omitempty" tf:"network_id,omitempty"` // ID of the sub-network which should be // added to the Load Balancer. Required if network_id is not set. // Note: if the ip property is missing, the Load Balancer is // currently added to the last created subnet. SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` }
func (*BalancerNetworkObservation) DeepCopy ¶
func (in *BalancerNetworkObservation) DeepCopy() *BalancerNetworkObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerNetworkObservation.
func (*BalancerNetworkObservation) DeepCopyInto ¶
func (in *BalancerNetworkObservation) DeepCopyInto(out *BalancerNetworkObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerNetworkParameters ¶
type BalancerNetworkParameters struct { // Enable or disable the // Load Balancers public interface. Default: true // +kubebuilder:validation:Optional EnablePublicInterface *bool `json:"enablePublicInterface,omitempty" tf:"enable_public_interface,omitempty"` // IP to request to be assigned to this Load // Balancer. If you do not provide this then you will be auto assigned an // IP address. // +kubebuilder:validation:Optional IP *string `json:"ip,omitempty" tf:"ip,omitempty"` // ID of the Load Balancer. // +kubebuilder:validation:Optional LoadBalancerID *float64 `json:"loadBalancerId,omitempty" tf:"load_balancer_id,omitempty"` // ID of the network which should be added // to the Load Balancer. Required if subnet_id is not set. Successful // creation of the resource depends on the existence of a subnet in the // Hetzner Cloud Backend. Using network_id will not create an explicit // dependency between the Load Balancer and the subnet. Therefore // depends_on may need to be used. Alternatively the subnet_id // property can be used, which will create an explicit dependency between // hcloud_load_balancer_network and the existence of a subnet. // +kubebuilder:validation:Optional NetworkID *float64 `json:"networkId,omitempty" tf:"network_id,omitempty"` // ID of the sub-network which should be // added to the Load Balancer. Required if network_id is not set. // Note: if the ip property is missing, the Load Balancer is // currently added to the last created subnet. // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` }
func (*BalancerNetworkParameters) DeepCopy ¶
func (in *BalancerNetworkParameters) DeepCopy() *BalancerNetworkParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerNetworkParameters.
func (*BalancerNetworkParameters) DeepCopyInto ¶
func (in *BalancerNetworkParameters) DeepCopyInto(out *BalancerNetworkParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerNetworkSpec ¶
type BalancerNetworkSpec struct { v1.ResourceSpec `json:",inline"` ForProvider BalancerNetworkParameters `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 BalancerNetworkInitParameters `json:"initProvider,omitempty"` }
BalancerNetworkSpec defines the desired state of BalancerNetwork
func (*BalancerNetworkSpec) DeepCopy ¶
func (in *BalancerNetworkSpec) DeepCopy() *BalancerNetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerNetworkSpec.
func (*BalancerNetworkSpec) DeepCopyInto ¶
func (in *BalancerNetworkSpec) DeepCopyInto(out *BalancerNetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerNetworkStatus ¶
type BalancerNetworkStatus struct { v1.ResourceStatus `json:",inline"` AtProvider BalancerNetworkObservation `json:"atProvider,omitempty"` }
BalancerNetworkStatus defines the observed state of BalancerNetwork.
func (*BalancerNetworkStatus) DeepCopy ¶
func (in *BalancerNetworkStatus) DeepCopy() *BalancerNetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerNetworkStatus.
func (*BalancerNetworkStatus) DeepCopyInto ¶
func (in *BalancerNetworkStatus) DeepCopyInto(out *BalancerNetworkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.