ipam

package
v0.0.0-...-0eb8f9d Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package ipam provides IP address management utilities. The implementation is taken from https://github.com/jsiebens/ionscale/blob/633f29003c72fb4efc31433bb7f37269cbfaa7dc/internal/addr/addr.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelectIP

func SelectIP(predicate Predicate) (netip.Addr, netip.Addr, error)

Types

type Predicate

type Predicate func(netip.Addr) (bool, error)

Predicate is a user-defined predicate function used to filter ip addresses

Jump to

Keyboard shortcuts

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