Documentation ¶
Index ¶
- Constants
- func APINetV1Alpha1IPsToNetIPAddrs(ips []onmetalapinetv1alpha1.IP) []netip.Addr
- func IPFamilyBitLen(ipFamily corev1.IPFamily) uint8
- func NetIPAddrsToAPINetV1Alpha1IPs(addrs []netip.Addr) []onmetalapinetv1alpha1.IP
- func PatchAddReconcileAnnotation(ctx context.Context, c client.Client, obj client.Object) error
- func PatchRemoveReconcileAnnotation(ctx context.Context, c client.Client, obj client.Object) error
- type CertificateApprovalReconciler
- type NetworkReconciler
- type PublicIPReconciler
Constants ¶
View Source
const ( FailedAllocatingNetwork = "FailedAllocating" FailedAllocatingPublicIP = "FailedAllocating" )
View Source
const ( DefaultMinVNI int32 = 200 DefaultMaxVNI int32 = (1 << 24) - 1 )
Variables ¶
This section is empty.
Functions ¶
func APINetV1Alpha1IPsToNetIPAddrs ¶
func APINetV1Alpha1IPsToNetIPAddrs(ips []onmetalapinetv1alpha1.IP) []netip.Addr
func IPFamilyBitLen ¶
func NetIPAddrsToAPINetV1Alpha1IPs ¶
func NetIPAddrsToAPINetV1Alpha1IPs(addrs []netip.Addr) []onmetalapinetv1alpha1.IP
Types ¶
type CertificateApprovalReconciler ¶
type CertificateApprovalReconciler struct { client.Client Recognizers []generic.CertificateSigningRequestRecognizer }
func (*CertificateApprovalReconciler) SetupWithManager ¶
func (r *CertificateApprovalReconciler) SetupWithManager(mgr ctrl.Manager) error
type NetworkReconciler ¶
type NetworkReconciler struct { record.EventRecorder client.Client APIReader client.Reader MinVNI int32 MaxVNI int32 // contains filtered or unexported fields }
func (*NetworkReconciler) SetupWithManager ¶
func (r *NetworkReconciler) SetupWithManager(mgr ctrl.Manager) error
type PublicIPReconciler ¶
type PublicIPReconciler struct { record.EventRecorder client.Client APIReader client.Reader InitialAvailableIPs *netipx.IPSet // contains filtered or unexported fields }
func (*PublicIPReconciler) SetupWithManager ¶
func (r *PublicIPReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.