Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultContainerDetachKeys container's default attach keys string
DefaultContainerDetachKeys = "ctrl-p,ctrl-q"
)
Variables ¶
This section is empty.
Functions ¶
func CreatedToStr ¶
CreatedToStr converts duration to human readable format
func GetJSONOutput ¶
GetJSONOutput covnerts interface to json output
func PortsToString ¶
func PortsToString(ports []types.PortMapping) string
PortsToString converts the ports used to a string of the from "port1, port2" and also groups a continuous list of ports into a readable format. The format is IP:HostPort(-Range)->ContainerPort(-Range)/Proto
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.