Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PruneVolumeCache ¶
Types ¶
type Backend ¶
type Backend interface {
EnsureNetwork(ctx context.Context, name string) (bool, error)
EnsureVolume(ctx context.Context, name string) (bool, error)
EnsureContainer(ctx context.Context, spec ContainerSpec) (ContainerState, error)
RemoveContainer(ctx context.Context, name string) error
RemoveNetwork(ctx context.Context, name string) error
RemoveVolume(ctx context.Context, name string) error
}
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
func (*CLI) Down ¶
func (c *CLI) Down(ctx context.Context, blueprint string, plan *envstarlark.RuntimePlan) error
func (*CLI) Up ¶
func (c *CLI) Up(ctx context.Context, blueprint string, plan *envstarlark.RuntimePlan) (envruntime.DependencyStartup, error)
type ContainerSpec ¶
type ContainerState ¶ added in v0.4.1
type FileVolumeNamer ¶
type FileVolumeNamer struct {
// contains filtered or unexported fields
}
func NewFileVolumeNamer ¶
func NewFileVolumeNamer(path string, projectName string) *FileVolumeNamer
type MemoryVolumeNamer ¶
type MemoryVolumeNamer struct {
// contains filtered or unexported fields
}
func NewMemoryVolumeNamer ¶
func NewMemoryVolumeNamer(projectName string) *MemoryVolumeNamer
type Options ¶
type Options struct {
Backend Backend
PortAllocator PortAllocator
VolumeNamer VolumeNamer
ReadinessRunner ReadinessRunner
Shell string
}
type ReadinessRunner ¶
Click to show internal directories.
Click to hide internal directories.