package portutil

import "github.com/rootless-containers/rootlesskit/pkg/port/portutil"

Index

Functions

func ParsePortSpec

func ParsePortSpec(s string) (*port.Spec, error)

ParsePortSpec parses a Docker-like representation of PortSpec. e.g. "127.0.0.1:8080:80/tcp"

Source Files

portutil.go

Version
v0.3.0-alpha.0
Published
Jan 13, 2019
Platform
js/wasm
Imports
4 packages
Last checked
2 hours ago

Tools for package owners.