Documentation
¶
Index ¶
- func Start(ctx context.Context, plan Plan) <-chan Event
- type Command
- type Event
- type Plan
- func PlanExecCommand(containerID, command string) Plan
- func PlanExecShell(containerID string) Plan
- func PlanRebuildAndRestartDependents(project Project, graph *dag.Graph, service string) Plan
- func PlanRebuildSelected(project Project, service string) Plan
- func PlanRestartDependents(project Project, graph *dag.Graph, service string) Plan
- func PlanRestartSelected(project Project, service string) Plan
- func PlanStartSelected(project Project, service string) Plan
- func PlanStopSelected(project Project, service string) Plan
- type Project
- type Step
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plan ¶
Plan describes a dependency-aware action and the commands needed to run it.
func PlanExecCommand ¶
PlanExecCommand builds a one-shot in-TUI docker exec command.
func PlanExecShell ¶
PlanExecShell builds a plan to open a shell in a running container.
func PlanRebuildAndRestartDependents ¶
PlanRebuildAndRestartDependents rebuilds a service then restarts dependents.
func PlanRebuildSelected ¶
PlanRebuildSelected builds a plan to rebuild one service without dependencies.
func PlanRestartDependents ¶
PlanRestartDependents builds a plan to restart downstream dependents.
func PlanRestartSelected ¶
PlanRestartSelected builds a plan to restart one Compose service.
func PlanStartSelected ¶ added in v0.4.0
PlanStartSelected builds a plan to start one previously-stopped Compose service.
func PlanStopSelected ¶ added in v0.4.0
PlanStopSelected builds a plan to stop one Compose service.
Click to show internal directories.
Click to hide internal directories.