Documentation
¶
Index ¶
- func CreateAndStartContainer(containerConfig manifest.ContainerConfig) (string, error)
- func CreateNetwork(name string, labels map[string]string) (string, error)
- func GetImagesByName(images []string) ([]types.ImageSummary, error)
- func ImageExists(imageName string) (bool, error)
- func ImageRemove(imageID string) error
- func InspectContainer(containerID string) (types.ContainerJSON, error)
- func NetworkPrune(manifestUniqueID model.ManifestUniqueID) error
- func PullImage(authConfig types.AuthConfig, imageName string) error
- func ReadAllContainers() ([]types.Container, error)
- func ReadContainerLogs(containerID string, since string, until string) ([]string, error)
- func ReadEdgeAppContainers(manifestUniqueID model.ManifestUniqueID) ([]types.Container, error)
- func ReadEdgeAppNetworks(manifestUniqueID model.ManifestUniqueID) ([]types.NetworkResource, error)
- func SetupDockerClient()
- func StartContainer(containerID string) error
- func StopAndRemoveContainer(containerID string) error
- func StopContainer(containerID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndStartContainer ¶
func CreateAndStartContainer(containerConfig manifest.ContainerConfig) (string, error)
func GetImagesByName ¶ added in v1.1.0
func GetImagesByName(images []string) ([]types.ImageSummary, error)
func ImageExists ¶
Check if the image exists in the local context Return an error only if something went wrong, if the image is not found the error is nil
func ImageRemove ¶
func InspectContainer ¶ added in v1.1.0
func InspectContainer(containerID string) (types.ContainerJSON, error)
func NetworkPrune ¶
func NetworkPrune(manifestUniqueID model.ManifestUniqueID) error
func ReadAllContainers ¶
func ReadContainerLogs ¶ added in v1.1.0
func ReadEdgeAppContainers ¶ added in v1.1.1
func ReadEdgeAppContainers(manifestUniqueID model.ManifestUniqueID) ([]types.Container, error)
func ReadEdgeAppNetworks ¶ added in v1.1.1
func ReadEdgeAppNetworks(manifestUniqueID model.ManifestUniqueID) ([]types.NetworkResource, error)
func SetupDockerClient ¶
func SetupDockerClient()
func StartContainer ¶
func StopAndRemoveContainer ¶
func StopContainer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.