net

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package net includes common net functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterLocalNetIPs

func FilterLocalNetIPs(ips []netip.Addr) ([]netip.Addr, error)

FilterLocalNetIPs filters list of IPs with the local subnets (rfc1918, rfc4193).

func SortedNodeIPs

func SortedNodeIPs(nodeIP string, first, second []string) (res []string)

SortedNodeIPs gets fists IP (excluded nodeIP) from the two sorted lists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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