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

ippool

package
v1.40.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 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 Add(mgr manager.Manager, opts options.AddOptions) error

func CRDPoolsToOperator

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

func FromProjectCalicoV1 added in v1.39.0

func FromProjectCalicoV1(p *operatorv1.IPPool, crd crdv1.IPPool)

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

func ToProjectCalicoV1 added in v1.39.0

func ToProjectCalicoV1(p operatorv1.IPPool) (*crdv1.IPPool, error)

ToProjectCalicoV1 converts an IPPool to a crd.projectcalico.org/v1 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