Documentation ¶
Index ¶
- Variables
- func FromContainerName(name string) (isoid, depid, stateid string, err error)
- func ToContainerName(isoid, imagename string) string
- func ToImageName(depid, stateid string) string
- type Docker
- func (d *Docker) Build(b *model.Build) (string, error)
- func (d *Docker) Containers() ([]dockerclient.Container, error)
- func (d *Docker) Info() (*dockerclient.Info, error)
- func (d *Docker) Remove(s *model.State) error
- func (d *Docker) RemoveAll() error
- func (d *Docker) Running(allIsos []*model.Isolation, allDeps []*model.Dep) (map[*model.Isolation]map[*model.Dep]dockerclient.Container, error)
- func (d *Docker) Start(run *model.Run, isolationId string) (string, error)
- func (d *Docker) Switch(iso *model.Isolation) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ConnectionTimeout = time.Millisecond * 500
View Source
var DockpitPrefix = "dp"
Functions ¶
func FromContainerName ¶ added in v0.5.1
func ToContainerName ¶ added in v0.5.1
func ToImageName ¶ added in v0.5.1
Types ¶
Click to show internal directories.
Click to hide internal directories.