Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ForwardedPort ¶
func ParsePorts ¶
func ParsePorts(ports []string) ([]ForwardedPort, error)
valid port specifications:
5000 - forwards from localhost:5000 to pod:5000
8888:5000 - forwards from localhost:8888 to pod:5000
0:5000 :5000
- selects a random available local port, forwards from localhost:<random port> to pod:5000
type ListenAddress ¶
func ParseAddresses ¶
func ParseAddresses(addressesToParse []string) ([]ListenAddress, error)
Click to show internal directories.
Click to hide internal directories.