ports

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InvalidPort = uint16(0)
)

Variables

This section is empty.

Functions

func NewPortIterator

func NewPortIterator(ports []intstr.IntOrString) *portIterator

NewPortIterator will return a new iterator for enumerating ports in the system configuration.

func Validate

func Validate(ports []intstr.IntOrString) error

Validate will validate the provided list of ports.

Types

This section is empty.

Jump to

Keyboard shortcuts

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