meta

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrefixDHCP = PrefixOrDHCP("dhcp")
)

Variables

View Source
var ErrIPv4Only = fmt.Errorf("must be an IPv4")
View Source
var ErrInvalidPrefix = fmt.Errorf("must start with 'v'")

Functions

This section is empty.

Types

type Addr

type Addr string

+kubebuilder:validation:Type=string

func (Addr) Parse

func (val Addr) Parse() (netip.Addr, error)

type Prefix

type Prefix string

+kubebuilder:validation:Type=string

func (Prefix) Parse

func (val Prefix) Parse() (netip.Prefix, error)

type PrefixOrDHCP

type PrefixOrDHCP string

func (PrefixOrDHCP) Parse

func (val PrefixOrDHCP) Parse() (bool, netip.Prefix, error)

type Version

type Version string

+kubebuilder:validation:Type=string

func (Version) Parse

func (v Version) Parse() (*semver.Version, error)

Jump to

Keyboard shortcuts

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