Versions in this module Expand all Collapse all v0 v0.1.2 Apr 13, 2026 Changes in this version type ContainerSpec + User string v0.1.1 Apr 3, 2026 Changes in this version type ContainerSpec + Command []string + Volumes []VolumeMount + type VolumeMount struct + Name string + Target string v0.1.0 Mar 31, 2026 Changes in this version + type ContainerSpec struct + Env map[string]string + ID string + Image string + Labels map[string]string + Ports []PortMapping + Resources ResourceLimits + RestartPolicy RestartPolicy + type ContainerState string + const StateFailed + const StateNotFound + const StateRunning + const StateStarting + const StateStopped + const StateUnknown + type ContainerStatus struct + ID string + Image string + Message string + Since time.Time + State ContainerState + type PortMapping struct + ContainerPort int + HostPort int + Protocol string + type ResourceLimits struct + CPUMillicores int64 + MemoryMB int64 + type RestartPolicy string + const RestartAlways + const RestartNever + const RestartOnFailure + type RuntimeAdapter interface + Deploy func(ctx context.Context, spec ContainerSpec) error + Endpoint func(ctx context.Context, id string, port int) (string, error) + Logs func(ctx context.Context, id string, lines int) ([]string, error) + Remove func(ctx context.Context, id string) error + Start func(ctx context.Context, id string) error + Status func(ctx context.Context, id string) (ContainerStatus, error) + Stop func(ctx context.Context, id string) error