Documentation
¶
Index ¶
- func Desired(ctx context.Context, c client.Reader, namespace, name, network string) (bool, []dhcp.Range, string, error)
- func InputsChanged(old, next *lab.Lab, network string) bool
- func PoolLabName(pool *allocation.Pool, network string) string
- func RequestsForLab(ctx context.Context, c client.Client, namespace, name, network string) []reconcile.Request
- func Settings(lab *laboratoryv1alpha1.Lab, network string) ([]dhcp.Range, string, error)
- func WatchDHCP(mgr ctrl.Manager, b *builder.Builder, c client.Client, dhcpMgr *dhcp.Manager, ...) (*builder.Builder, error)
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 PoolLabName ¶ added in v1.1.0
func PoolLabName(pool *allocation.Pool, network string) string
func RequestsForLab ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.