Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Client docker client
func (*Client) DisplayablePorts ¶
func (cli *Client) DisplayablePorts(c ContainerSummary) string
DisplayablePorts returns formatted string representing open ports of container
func (*Client) IsServiceRunning ¶
IsServiceRunning Checking if local services running
type Container ¶
type Container struct {
Name string
Image string
Version string
Cmd []string
Volumes map[string]struct{}
Entrypoint []string
Labels map[string]string
Ports []string
Mounts []mount.Mount
Env []string
Network string
AddNetwork string
}
Container contains container data needed to run
type ContainerSummary ¶
type PortPublisher ¶
type PortPublishers ¶
type PortPublishers []PortPublisher
Click to show internal directories.
Click to hide internal directories.