Documentation
¶
Index ¶
- Variables
- type DownCommand
- type ExecCommand
- type ExecuteExtensionCommand
- type LogsQuery
- type Manager
- func (m *Manager) Down(ctx context.Context, cmd DownCommand) error
- func (m *Manager) ExecOrRun(ctx context.Context, cmd ExecCommand) error
- func (m *Manager) ExecuteExtension(ctx context.Context, cmd ExecuteExtensionCommand) error
- func (m *Manager) Logs(ctx context.Context, query LogsQuery) error
- func (m *Manager) ShowComposeCommand(ctx context.Context, query ShowComposeCommandQuery) error
- func (m *Manager) ShowComposeConfig(ctx context.Context, query ShowComposeConfigQuery) error
- func (m *Manager) Up(ctx context.Context, cmd UpCommand) error
- type ShowComposeCommandQuery
- type ShowComposeConfigQuery
- type UpCommand
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownService = errors.New("unknown service")
Functions ¶
This section is empty.
Types ¶
type DownCommand ¶
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 ¶
func (LogsQuery) MessageName ¶
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) ExecuteExtension ¶
func (m *Manager) ExecuteExtension(ctx context.Context, cmd ExecuteExtensionCommand) 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
type ShowComposeCommandQuery ¶
func (ShowComposeCommandQuery) MessageName ¶
func (ShowComposeCommandQuery) MessageName() string
type ShowComposeConfigQuery ¶
func (ShowComposeConfigQuery) MessageName ¶
func (ShowComposeConfigQuery) MessageName() string
Click to show internal directories.
Click to hide internal directories.