Versions in this module Expand all Collapse all v0 v0.1.3 Jul 8, 2026 v0.1.2 Jul 7, 2026 v0.1.1 Jul 7, 2026 Changes in this version + func SSHHostname(target string) string + type ContainerInfo struct + Created time.Time + Name string + type ContainerResource struct + App string + CPUPerc float64 + Container string + MemBytes int64 + MemLimit int64 + Restarts int + type DBRunSpec struct + Binds []string + Cmd []string + Entrypoint string + Env map[string]string + Image string + Labels map[string]string + MountAt string + Name string + Network string + Port int + Publish bool + Volume string + type Engine struct + func For(host string) *Engine + func Local() *Engine + func Remote(sshTarget string) *Engine + func (e *Engine) AppContainers(app string) []string + func (e *Engine) AppImageTags(app string) []string + func (e *Engine) AppResourceStats() ([]ContainerResource, error) + func (e *Engine) AppStates() (map[string]string, error) + func (e *Engine) Available() error + func (e *Engine) BuildFromDockerfile(ctx context.Context, tag, dockerfile, contextDir string, out io.Writer) error + func (e *Engine) ConnectNetwork(network, container string) error + func (e *Engine) Containers() ([]string, error) + func (e *Engine) EnsureNetwork(name string) error + func (e *Engine) Exec(ctx context.Context, container string, cmd []string, stdin io.Reader, ...) error + func (e *Engine) HostPort(name string, containerPort int) (int, error) + func (e *Engine) ImageExists(tag string) bool + func (e *Engine) IsRemote() bool + func (e *Engine) Logs(container string, follow bool, tail string, out io.Writer) error + func (e *Engine) PullImage(image string) error + func (e *Engine) Remove(name string) error + func (e *Engine) RemoveImage(tag string) error + func (e *Engine) RemoveVolume(name string) error + func (e *Engine) Routes() ([]Route, error) + func (e *Engine) Run(s RunSpec) (int, error) + func (e *Engine) RunDatabase(s DBRunSpec) (int, error) + func (e *Engine) RunOnce(ctx context.Context, image string, env map[string]string, network, cmd string) (string, error) + func (e *Engine) RunTool(network string, env map[string]string, image string, args ...string) (string, error) + func (e *Engine) RunWorker(s WorkerSpec) error + func (e *Engine) SkiffContainers() []ContainerInfo + func (e *Engine) State(container string) string + func (e *Engine) Stop(container string) error + func (e *Engine) StreamLogs(ctx context.Context, container string, out io.Writer) error + func (e *Engine) StreamLogsSSE(ctx context.Context, container string, w io.Writer, flush func()) + func (e *Engine) Tag(src, dst string) error + func (e *Engine) WorkerContainers(app string) []string + type Route struct + App string + HostPort int + type RunSpec struct + App string + CPU string + ContainerPort int + Env map[string]string + Image string + Memory string + Name string + Network string + Public bool + type WorkerSpec struct + App string + Command string + Env map[string]string + Image string + Name string + Network string v0.1.0 Jul 5, 2026