portutils

package
v3.9.0-alpha.2+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitPortAndProtocol

func SplitPortAndProtocol(port string) (docker.Port, error)

SplitPortAndProtocol splits a string of format port/proto and returns a docker.Port

func SplitPortAndProtocolArray

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

func ValidatePortAndProtocol(port docker.Port) error

ValidatePortAndProtocol validates the port range and protocol of a docker.Port

Types

This section is empty.

Jump to

Keyboard shortcuts

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