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 ¶
func (u UnitEndpointPortRange) LessThan(other UnitEndpointPortRange) bool
type UnitEndpointPortRanges ¶
type UnitEndpointPortRanges []UnitEndpointPortRange
func (UnitEndpointPortRanges) ByUnitByEndpoint ¶
func (prs UnitEndpointPortRanges) ByUnitByEndpoint() map[unit.Name]network.GroupedPortRanges
Click to show internal directories.
Click to hide internal directories.