project

package
v0.0.0-...-e96c845 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

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

func NewProject

func NewProject(d *docker.Docker, name string) *Project

func (*Project) Create

func (p *Project) Create(ctx context.Context, builders []builder.Builder) error

func (*Project) Remove

func (p *Project) Remove(ctx context.Context, name string) error

func (*Project) Start

func (p *Project) Start(ctx context.Context, name string) error

func (*Project) Stop

func (p *Project) Stop(ctx context.Context, name string) error

type State

type State struct {
	Name     string
	Services []*services.State
	Info     map[string]map[string]string
}

func NewState

func NewState(n string, s []*services.State, i map[string]map[string]string) *State

func ProjectState

func ProjectState(name string, containers []types.Container, projectsSettings *settings.Projects) *State

func (*State) Active

func (s *State) Active() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL