usrlocalsharelima

package
v2.0.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dir

func Dir() (string, error)

Dir returns the location of the <PREFIX>/lima/share directory, relative to the location of the current executable. It checks for multiple possible filesystem layouts and returns the first candidate that contains the native guest agent binary.

func GuestAgentBinary

func GuestAgentBinary(ostype limatype.OS, arch limatype.Arch) (string, error)

GuestAgentBinary returns the absolute path of the guest agent binary, possibly with ".gz" suffix.

func Prefix

func Prefix() (string, error)

Prefix returns the <PREFIX> directory, which is two levels above the lima share directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL