package
3.22.0-0.dev+incompatible
Repository: https://github.com/projectcalico/api.git
Documentation: pkg.go.dev
# Functions
ASNumberFromString creates an ASNumber struct from a string value.
No description provided by the author
PortFromRange creates a Port struct representing a range of ports.
PortFromString creates a Port struct from its string representation.
ProtocolFromInt creates a Protocol struct from an integer value.
ProtocolFromString creates a Protocol struct from a string value.
ProtocolFromStringV1 creates a Protocol struct from a string value (for the v1 API).
ProtocolV3FromProtocolV1 creates a v3 Protocol from a v1 Protocol, while handling case conversion.
SinglePort creates a Port struct representing a single port.
# Constants
The structure holds a number.
The structure holds a string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Port represents either a range of numeric ports or a named port.
UInt8OrString is a type that can hold an uint8 or a string.
# Type aliases
No description provided by the author
Type represents the stored type of Int32OrString.
No description provided by the author