ports

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 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