Documentation
¶
Index ¶
- type InstallOptions
- type Installer
- type Manager
- func (m *Manager) Get(instanceName string) (*types.Instance, error)
- func (m *Manager) GetConnectionInfo(instanceName string) (*types.ConnectionInfo, error)
- func (m *Manager) GetLogs(instanceName string, follow bool) (string, error)
- func (m *Manager) GetStats(instanceName string) (dockerTypes.ContainerStats, error)
- func (m *Manager) GetStatus(instanceName string) (types.ServiceStatus, error)
- func (m *Manager) List() ([]*types.Instance, error)
- func (m *Manager) RefreshStatus() error
- func (m *Manager) Remove(instanceName string, force bool) error
- func (m *Manager) Restart(instanceName string) error
- func (m *Manager) Start(instanceName string) error
- func (m *Manager) Stop(instanceName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallOptions ¶
type InstallOptions struct {
ServiceName string // Service name from catalog
Version string // Version to install (empty = latest)
InstanceName string // Custom instance name (empty = auto-generate)
Environment map[string]string // Override environment variables
MemoryLimit string // Override memory limit
CPULimit string // Override CPU limit
Volumes map[string]string // Volume mappings (host:container)
Internal bool // If true, don't expose via Traefik
}
InstallOptions holds options for service installation
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
Installer handles service installation
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles service instance management
func NewManager ¶
NewManager creates a new service manager
func (*Manager) GetConnectionInfo ¶
func (m *Manager) GetConnectionInfo(instanceName string) (*types.ConnectionInfo, error)
GetConnectionInfo returns connection information for a service
func (*Manager) GetStats ¶
func (m *Manager) GetStats(instanceName string) (dockerTypes.ContainerStats, error)
GetStats retrieves resource usage statistics
func (*Manager) GetStatus ¶
func (m *Manager) GetStatus(instanceName string) (types.ServiceStatus, error)
GetStatus retrieves the current status of an instance
func (*Manager) RefreshStatus ¶
RefreshStatus updates the status of all instances
Click to show internal directories.
Click to hide internal directories.