Documentation
¶
Index ¶
- type Manager
- func (m *Manager) DiscoverStacks() ([]Stack, error)
- func (m *Manager) Down(stackNames []string, removeVolumes bool) error
- func (m *Manager) EnsureSharedNetwork() error
- func (m *Manager) Logs(stackName string, follow bool, tail string) error
- func (m *Manager) Pull(stackNames []string) error
- func (m *Manager) Status(stackNames []string) ([]Stack, error)
- func (m *Manager) Up(stackNames []string, envName string, detach, build bool) error
- type Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
BasePath string
}
Manager handles Docker Compose stack operations.
func NewManager ¶
NewManager creates a new containers Manager targeting the specified base path.
func (*Manager) DiscoverStacks ¶
DiscoverStacks scans the containers path for valid Compose files.
func (*Manager) EnsureSharedNetwork ¶
EnsureSharedNetwork checks if eng-shared-net exists, creating it if necessary.
Click to show internal directories.
Click to hide internal directories.