Discover Packages
github.com/2lambda123/openshift-origin
pkg
util
portutils
package
Version:
v4.0.0-alpha.0+incompa...
Opens a new window with list of versions in this module.
Published: Sep 13, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
func FilterPortAndProtocolArray(ports []string ) ([]docker.Port, []error )
FilterPortAndProtocolArray splits an array of strings of format port/proto
and returns an array of docker.Port that succeeded parsing
func SplitPortAndProtocol(port string ) (docker.Port, error )
SplitPortAndProtocol splits a string of format port/proto and returns
a docker.Port
func SplitPortAndProtocolArray(ports []string ) ([]docker.Port, []error )
SplitPortAndProtocolArray splits an array of strings of format port/proto
and returns an array of docker.Port
func ValidatePortAndProtocol(port docker.Port) error
ValidatePortAndProtocol validates the port range and protocol of a docker.Port
Source Files
¶
Click to show internal directories.
Click to hide internal directories.