Documentation
¶
Index ¶
- Constants
- func EqualMetalnetLoadBalancers(inst1, inst2 *metalnetv1alpha1.LoadBalancer) bool
- func GetMetalnetNode(ctx context.Context, partitionName string, metalnetClient client.Client, ...) (*corev1.Node, error)
- func IsNodeOnPartitionPredicate(partitionName string) predicate.Predicate
- func ParseNodeName(partitionName, nodeName string) (string, error)
- func PartitionFieldOwner(partitionName string) client.FieldOwner
- func PartitionFinalizer(partitionName string) string
- func PartitionNodeName(partitionName, metalnetNodeName string) string
- type InstanceReconciler
- type MetalnetNodeReconciler
- type NetworkInterfaceReconciler
- type NetworkReconciler
Constants ¶
View Source
const ( MetalnetFieldOwner = client.FieldOwner("metalnetlet.apinet.ironcore.dev/controller-manager") PartitionFieldOwnerPrefix = "partition.metalnetlet.apinet.ironcore.dev/" PartitionFinalizerPrefix = "partition.metalnetlet.apinet.ironcore.dev/" )
Variables ¶
This section is empty.
Functions ¶
func EqualMetalnetLoadBalancers ¶
func EqualMetalnetLoadBalancers(inst1, inst2 *metalnetv1alpha1.LoadBalancer) bool
func GetMetalnetNode ¶
func ParseNodeName ¶
func PartitionFieldOwner ¶
func PartitionFieldOwner(partitionName string) client.FieldOwner
func PartitionFinalizer ¶
func PartitionNodeName ¶
Types ¶
type InstanceReconciler ¶
type InstanceReconciler struct { client.Client MetalnetClient client.Client PartitionName string MetalnetNamespace string }
func (*InstanceReconciler) SetupWithManager ¶
type MetalnetNodeReconciler ¶
type MetalnetNodeReconciler struct { client.Client MetalnetClient client.Client PartitionName string NodeLabels map[string]string }
func (*MetalnetNodeReconciler) Reconcile ¶
func (r *MetalnetNodeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile ensures that the node is in the expected state.
func (*MetalnetNodeReconciler) SetupWithManager ¶
type NetworkInterfaceReconciler ¶
type NetworkInterfaceReconciler struct { client.Client MetalnetClient client.Client PartitionName string MetalnetNamespace string }
func (*NetworkInterfaceReconciler) SetupWithManager ¶
Click to show internal directories.
Click to hide internal directories.