Documentation ¶
Index ¶
- func CleanAll(ctx context.Context, cli *client.Client, idContainer string, imgDocker string, ...) error
- func CleanProducedContainer(ctx context.Context, cli *client.Client, idContainer string) error
- func CleanProducedImages(ctx context.Context, cli *client.Client) error
- func CleanUnusedDockerfile(pathDockerImage string, imgDocker string) error
- func Start(imgDocker string, pathDockerImage string, envVar []string) error
- type API
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanAll ¶
func CleanAll(ctx context.Context, cli *client.Client, idContainer string, imgDocker string, pathDockerImage string) error
CleanAll is the sum of the three Cleaning function
func CleanProducedContainer ¶
CleanProducedContainer is cleaning the produced container from the image
func CleanProducedImages ¶
CleanProducedImages is cleaning the produced Image
func CleanUnusedDockerfile ¶
CleanUnusedDockerfile is cleaning Dockerfile file to keep everything clean
Types ¶
type API ¶ added in v0.4.1
type API struct {
// contains filtered or unexported fields
}
API handles all the Docker related tasks as defined by the config.
func FromConfig ¶ added in v0.4.1
FromConfig creates a new instance of the API from the provided config file.
Click to show internal directories.
Click to hide internal directories.