libcompose: github.com/docker/libcompose/docker Index | Files | Directories

package docker

import "github.com/docker/libcompose/docker"

Index

Package Files

project.go

func NewProject Uses

func NewProject(context *ctx.Context, parseOptions *config.ParseOptions) (project.APIProject, error)

NewProject creates a Project with the specified context.

type Project Uses

type Project struct {
    // contains filtered or unexported fields
}

Project implements project.RuntimeProject and define docker runtime specific methods.

func (*Project) RemoveOrphans Uses

func (p *Project) RemoveOrphans(ctx context.Context, projectName string, serviceConfigs *config.ServiceConfigs) error

RemoveOrphans implements project.RuntimeProject.RemoveOrphans. It will remove orphan containers that are part of the project but not to any services.

Directories

PathSynopsis
auth
builder
client
container
ctx
image
network
service
volume

Package docker imports 13 packages (graph) and is imported by 69 packages. Updated 2018-09-15. Refresh now. Tools for package owners.