Versions in this module Expand all Collapse all v0 v0.1.0 Jul 13, 2026 Changes in this version + type AppStatus struct + Image string + Port int + Running bool + State string + type DockerClient interface + CreateContainer func(ctx context.Context, config *docker.ContainerConfig) (string, error) + GetContainerLogs func(ctx context.Context, containerID string, tail int) (string, error) + ListContainersByLabels func(ctx context.Context, labels map[string]string) ([]types.Container, error) + PullImage func(ctx context.Context, image string) error + RemoveContainer func(ctx context.Context, containerID string, force bool) error + StartContainer func(ctx context.Context, containerID string) error + StopContainer func(ctx context.Context, containerID string, timeout *int) error + type DockerManager struct + func NewDockerManager(dockerClient DockerClient, logger *zap.Logger) *DockerManager + func (m *DockerManager) Logs(ctx context.Context, tail int) ([]string, error) + func (m *DockerManager) Restart(ctx context.Context, cfg *plugin.AppConfig) error + func (m *DockerManager) Start(ctx context.Context, cfg *plugin.AppConfig) error + func (m *DockerManager) Status(ctx context.Context) (*AppStatus, error) + func (m *DockerManager) Stop(ctx context.Context) error + type GenericLauncher struct + func NewGenericLauncher(procMgr *process.Manager, logger *zap.Logger) *GenericLauncher + func (l GenericLauncher) GetPID() (int, error) + func (l GenericLauncher) IsReady(_ context.Context) (bool, error) + func (l GenericLauncher) Launch(ctx context.Context, config *plugin.AppConfig) error + func (l GenericLauncher) Restart(ctx context.Context) error + func (l GenericLauncher) Stop(_ context.Context) error + func (l GenericLauncher) Technology() string + type GolangLauncher struct + func NewGolangLauncher(procMgr *process.Manager, logger *zap.Logger) *GolangLauncher + func (l GolangLauncher) GetPID() (int, error) + func (l GolangLauncher) IsReady(_ context.Context) (bool, error) + func (l GolangLauncher) Launch(ctx context.Context, config *plugin.AppConfig) error + func (l GolangLauncher) Restart(ctx context.Context) error + func (l GolangLauncher) Stop(_ context.Context) error + func (l GolangLauncher) Technology() string + type Manager struct + func NewManager(launcher plugin.AppLauncher) *Manager + func (m *Manager) Restart(ctx context.Context) error + func (m *Manager) Start(ctx context.Context, config *plugin.AppConfig) error + func (m *Manager) Stop(ctx context.Context) error