Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProject ¶
func NewProject(context *ctx.Context, parseOptions *config.ParseOptions) (project.APIProject, error)
NewProject creates a Project with the specified context.
Types ¶
type Project ¶ added in v0.3.0
type Project struct {
// contains filtered or unexported fields
}
Project implements project.RuntimeProject and define docker runtime specific methods.
func (*Project) RemoveOrphans ¶ added in v0.3.0
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.
Click to show internal directories.
Click to hide internal directories.