ippool

package
v1.43.0-0.dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func CRDPoolsToOperator

func CRDPoolsToOperator(crds []v3.IPPool) []operatorv1.IPPool

func FromProjectCalico

func FromProjectCalico(p *operatorv1.IPPool, crd v3.IPPool)

FromProjectCalico populates the IP pool with the data from the given projectcalico.org/v3 IP pool. It is the direct inverse of ToProjectCalicoV1, and should be updated with every new field added to the IP pool structure.

func ToProjectCalico

func ToProjectCalico(p operatorv1.IPPool) (*v3.IPPool, error)

ToProjectCalico converts an operator IPPool to a projectcalico.org/v3 IPPool resource.

func ValidatePools

func ValidatePools(instance *operator.Installation) error

ValidatePools validates the IP pools specified in the Installation object.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reconciles IP pools in the cluster.

- Query desired IP pools (from Installation) - Query existing IP pools owned by this controller - Reconcile the differences

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL