Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Orchestrator ¶
type Orchestrator struct {
// contains filtered or unexported fields
}
Orchestrator manages container lifecycle operations with dependency awareness
func New ¶
func New(dockerClient *docker.Client, logger *logger.Logger) *Orchestrator
New creates a new orchestrator instance
func (*Orchestrator) StartContainers ¶
func (o *Orchestrator) StartContainers(ctx context.Context, opts StartContainersOptions) (*StartResult, error)
StartContainers starts all managed containers in dependency order
func (*Orchestrator) StopContainers ¶
func (o *Orchestrator) StopContainers(ctx context.Context, opts StopContainersOptions) (*StopResult, error)
StopContainers stops all managed containers in reverse dependency order
type StartContainersOptions ¶
type StartContainersOptions struct {
Timeout int // Operation timeout in seconds
Ignore []string // Container names to skip
}
StartContainersOptions configures container startup behavior
type StartResult ¶
type StartResult struct {
Started []string // Names of containers that were started
Skipped []string // Names of containers that were skipped
Failed []string // Names of containers that failed to start
}
StartResult contains the results of a start operation
type StopContainersOptions ¶
type StopContainersOptions struct {
Timeout int // Operation timeout in seconds
Ignore []string // Container names to skip
}
StopContainersOptions configures container shutdown behavior
type StopResult ¶
type StopResult struct {
Stopped []string // Names of containers that were stopped
Skipped []string // Names of containers that were skipped
Failed []string // Names of containers that failed to stop
}
StopResult contains the results of a stop operation
Click to show internal directories.
Click to hide internal directories.