Documentation
¶
Overview ¶
Package lima handles generating Lima configuration files and managing VM lifecycle (create, start, stop, delete, status) on remote hosts.
Index ¶
- type Manager
- func (m *Manager) Destroy(ctx context.Context) error
- func (m *Manager) GenerateConfig(socketPath string, dockerEnabled bool) string
- func (m *Manager) GetBridgedIP(ctx context.Context) (string, error)
- func (m *Manager) Provision(ctx context.Context, dockerEnabled bool) error
- func (m *Manager) Status(ctx context.Context) (VMStatus, error)
- type VMStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles Lima VM operations on a remote host.
func NewManager ¶
func NewManager(runner *remote.Runner, node config.NodeConfig) *Manager
NewManager creates a new Lima manager for the given host and node config.
func (*Manager) GenerateConfig ¶
GenerateConfig returns the Lima YAML config for this node.
func (*Manager) GetBridgedIP ¶
GetBridgedIP returns the bridged LAN IP address of the VM.
Click to show internal directories.
Click to hide internal directories.