Documentation
¶
Overview ¶
Package lima provides common methods related to Lima.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VMStatus ¶
type VMStatus int64
VMStatus for Lima. Relevant status defined in Lima upstream: https://github.com/lima-vm/lima/blob/fc783ec455a91d70639f9a1d7f22e9890fe6b1cd/pkg/store/instance.go#L23.
Finch CLI assumes there are only 4 VM status below. Adding more statuses will need to make changes in the caller side.
func GetVMStatus ¶
func GetVMStatus(creator command.LimaCmdCreator, logger flog.Logger, instanceName string) (VMStatus, error)
GetVMStatus returns the Lima VM status.
Click to show internal directories.
Click to hide internal directories.