stack

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownService = errors.New("unknown service")

Functions

This section is empty.

Types

type DownCommand

type DownCommand struct {
	bus.Returns[bus.Void]

	Workspace string
	Project   string
}

func (DownCommand) MessageName

func (DownCommand) MessageName() string

type ExecCommand

type ExecCommand struct {
	bus.Returns[bus.Void]

	Workspace string
	Project   string
	Service   string
	Args      []string
}

func (ExecCommand) MessageName

func (ExecCommand) MessageName() string

type ExecuteExtensionCommand

type ExecuteExtensionCommand struct {
	bus.Returns[bus.Void]

	Workspace string
	Project   string
	Name      string
	Args      []string
}

func (ExecuteExtensionCommand) MessageName

func (ExecuteExtensionCommand) MessageName() string

type LogsQuery

type LogsQuery struct {
	bus.Returns[bus.Void]

	Workspace string
	Project   string
	Service   string
}

func (LogsQuery) MessageName

func (LogsQuery) MessageName() string

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager handles the commands that run a workspace or project's compose stack.

func NewManager

func NewManager(compose compose) *Manager

func (*Manager) Down

func (m *Manager) Down(ctx context.Context, cmd DownCommand) error

func (*Manager) ExecOrRun

func (m *Manager) ExecOrRun(ctx context.Context, cmd ExecCommand) error

func (*Manager) ExecuteExtension

func (m *Manager) ExecuteExtension(ctx context.Context, cmd ExecuteExtensionCommand) error

func (*Manager) Logs

func (m *Manager) Logs(ctx context.Context, query LogsQuery) error

func (*Manager) ShowComposeCommand

func (m *Manager) ShowComposeCommand(ctx context.Context, query ShowComposeCommandQuery) error

func (*Manager) ShowComposeConfig

func (m *Manager) ShowComposeConfig(ctx context.Context, query ShowComposeConfigQuery) error

func (*Manager) Up

func (m *Manager) Up(ctx context.Context, cmd UpCommand) error

type ShowComposeCommandQuery

type ShowComposeCommandQuery struct {
	bus.Returns[bus.Void]

	Workspace string
	Project   string
}

func (ShowComposeCommandQuery) MessageName

func (ShowComposeCommandQuery) MessageName() string

type ShowComposeConfigQuery

type ShowComposeConfigQuery struct {
	bus.Returns[bus.Void]

	Workspace string
	Project   string
}

func (ShowComposeConfigQuery) MessageName

func (ShowComposeConfigQuery) MessageName() string

type UpCommand

type UpCommand struct {
	bus.Returns[bus.Void]

	Workspace string
	Project   string
}

func (UpCommand) MessageName

func (UpCommand) MessageName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL