labdhcp

package
v1.7.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Desired added in v1.1.0

func Desired(ctx context.Context, c client.Reader, namespace, name, network string) (bool, []dhcp.Range, string, error)

Desired distinguishes an absent optional pool from a failed API read. A pool must belong to this exact Lab incarnation; its bitmap is not a lease ledger.

func InputsChanged added in v1.1.0

func InputsChanged(old, next *lab.Lab, network string) bool

func PoolLabName added in v1.1.0

func PoolLabName(pool *allocation.Pool, network string) string

func RequestsForLab added in v1.1.0

func RequestsForLab(ctx context.Context, c client.Client, namespace, name, network string) []reconcile.Request

func Settings

func Settings(lab *laboratoryv1alpha1.Lab, network string) ([]dhcp.Range, string, error)

Settings extracts one lab-facing DHCP interface's ranges and optional DNS. VPN DHCP deliberately does not advertise DNS.

func WatchDHCP added in v1.1.0

func WatchDHCP(mgr ctrl.Manager, b *builder.Builder, c client.Client, dhcpMgr *dhcp.Manager, namespace, network string) (*builder.Builder, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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