port

package
v0.0.0-...-b9bb202 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const WildcardEndpoint = ""

WildcardEndpoint is a special endpoint that represents all endpoints

Variables

This section is empty.

Functions

func SortUnitEndpointPortRanges

func SortUnitEndpointPortRanges(portRanges UnitEndpointPortRanges)

Types

type UnitEndpointPortRange

type UnitEndpointPortRange struct {
	UnitName  unit.Name
	Endpoint  string
	PortRange network.PortRange
}

UnitPortRange represents a range of ports for a given protocol for a given unit.

func (UnitEndpointPortRange) LessThan

type UnitEndpointPortRanges

type UnitEndpointPortRanges []UnitEndpointPortRange

func (UnitEndpointPortRanges) ByUnitByEndpoint

func (prs UnitEndpointPortRanges) ByUnitByEndpoint() map[unit.Name]network.GroupedPortRanges

type UnitGroupedPortRanges

type UnitGroupedPortRanges map[unit.Name][]network.PortRange

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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