ip

package
v0.0.0-...-feb081f Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPsToStrings

func IPsToStrings(ips []configv1.IP) []string

IPsToStrings converts IP addresses from configv1.IP type to a simple String

func NetsOverlap

func NetsOverlap(a, b net.IPNet) bool

NetsOverlap return true if two nets overlap

func StringsToIPs

func StringsToIPs(ips []string) []configv1.IP

StringsToIPs converts IP addresses from a String type to configv1.IP

Types

type IPPool

type IPPool struct {
	// contains filtered or unexported fields
}

func (*IPPool) Add

func (p *IPPool) Add(cidr net.IPNet) error

Jump to

Keyboard shortcuts

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