Documentation ¶
Index ¶
- func FindName(container types.Container) string
- func FindVendor(cli *client.Client, container types.Container) (string, error)
- func GetEnabledContainers(cli *client.Client) ([]types.Container, error)
- func GetEnv(cli *client.Client, container types.Container) []string
- func RunCommand(cli *client.Client, container types.Container, command []string, ...) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindName ¶
FindName returns the name set by the name label, if no name label exists instead returns the docker ID
func FindVendor ¶
FindVendor returns the DB vendor of a given container Returns error if no supported vendor could be identified
func GetEnabledContainers ¶
GetEnabledContainers returns all containers which have the enabled label
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.