Documentation ¶
Index ¶
- Constants
- func ParsePort(rawPort string) (int, error)
- func ParsePortSpecs(ports []string) (map[Port]struct{}, map[Port][]PortBinding, error)
- func Sort(ports []Port, predicate func(i, j Port) bool)
- func SplitProtoPort(rawPort string) (string, string)
- type Port
- type PortBinding
- type PortMap
- type PortSet
Constants ¶
View Source
const ( PortSpecTemplate = "ip:hostPort:containerPort" PortSpecTemplateFormat = "ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort | containerPort" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PortMap ¶
type PortMap map[Port][]PortBinding
Click to show internal directories.
Click to hide internal directories.