Help us shape the future of Go! Take the 2026 Go Developer Survey

ippool

package
v1.43.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 31 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 added in v1.42.0

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 added in v1.42.0

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