SYMBOL INDEX (2343 symbols across 324 files) FILE: cmd/lima-driver-krunkit/main_darwin_arm64.go function main (line 14) | func main() { FILE: cmd/lima-driver-qemu/main.go function main (line 14) | func main() { FILE: cmd/lima-driver-vz/main_darwin.go function main (line 14) | func main() { FILE: cmd/lima-driver-wsl2/main_windows.go function main (line 14) | func main() { FILE: cmd/lima-guestagent/daemon_linux.go constant hostCID (line 25) | hostCID = 2 type cidFilteredListener (line 27) | type cidFilteredListener struct method Accept (line 31) | func (l *cidFilteredListener) Accept() (net.Conn, error) { function newDaemonCommand (line 50) | func newDaemonCommand() *cobra.Command { function daemonAction (line 63) | func daemonAction(cmd *cobra.Command, _ []string) error { FILE: cmd/lima-guestagent/fake_cloud_init_darwin.go function newFakeCloudInitCommand (line 12) | func newFakeCloudInitCommand() *cobra.Command { function fakeCloudInitAction (line 21) | func fakeCloudInitAction(cmd *cobra.Command, _ []string) error { FILE: cmd/lima-guestagent/install_systemd_linux.go function newInstallSystemdCommand (line 23) | func newInstallSystemdCommand() *cobra.Command { function installSystemdAction (line 35) | func installSystemdAction(cmd *cobra.Command, _ []string) error { function generateSystemdUnit (line 110) | func generateSystemdUnit(vsockPort int, virtioPort string, debug bool) (... FILE: cmd/lima-guestagent/main.go function main (line 18) | func main() { function newApp (line 26) | func newApp() *cobra.Command { FILE: cmd/lima-guestagent/root_darwin.go function addRootCommands (line 10) | func addRootCommands(rootCmd *cobra.Command) { FILE: cmd/lima-guestagent/root_linux.go function addRootCommands (line 10) | func addRootCommands(rootCmd *cobra.Command) { FILE: cmd/lima-guestagent/root_others.go function addRootCommands (line 12) | func addRootCommands(_ *cobra.Command) { FILE: cmd/limactl-mcp/main.go function main (line 27) | func main() { function newApp (line 33) | func newApp() *cobra.Command { function newServer (line 50) | func newServer() *mcp.Server { function newMcpInfoCommand (line 72) | func newMcpInfoCommand() *cobra.Command { function mcpInfoAction (line 82) | func mcpInfoAction(cmd *cobra.Command, _ []string) error { function inspectInfo (line 96) | func inspectInfo(ctx context.Context) (*Info, error) { type Info (line 131) | type Info struct function newMcpServeCommand (line 135) | func newMcpServeCommand() *cobra.Command { function mcpServeAction (line 148) | func mcpServeAction(cmd *cobra.Command, args []string) error { function newMcpGenDocCommand (line 182) | func newMcpGenDocCommand() *cobra.Command { function mcpGenDocAction (line 193) | func mcpGenDocAction(cmd *cobra.Command, args []string) error { FILE: cmd/limactl/clone.go function newCloneCommand (line 24) | func newCloneCommand() *cobra.Command { function newRenameCommand (line 42) | func newRenameCommand() *cobra.Command { function cloneOrRenameAction (line 57) | func cloneOrRenameAction(cmd *cobra.Command, args []string) error { function cloneBashComplete (line 139) | func cloneBashComplete(cmd *cobra.Command, _ []string, _ string) ([]stri... FILE: cmd/limactl/completion.go function bashCompleteInstanceNames (line 19) | func bashCompleteInstanceNames(_ *cobra.Command) ([]string, cobra.ShellC... function bashCompleteTemplateNames (line 27) | func bashCompleteTemplateNames(_ *cobra.Command, toComplete string) ([]s... function bashCompleteDiskNames (line 51) | func bashCompleteDiskNames(_ *cobra.Command) ([]string, cobra.ShellCompD... function bashCompleteNetworkNames (line 59) | func bashCompleteNetworkNames(_ *cobra.Command) ([]string, cobra.ShellCo... function bashFlagCompleteNetworkInterfaceNames (line 68) | func bashFlagCompleteNetworkInterfaceNames(_ *cobra.Command, _ []string,... FILE: cmd/limactl/copy.go constant copyHelp (line 13) | copyHelp = `Copy files between host and guest constant copyExample (line 25) | copyExample = ` function newCopyCommand (line 42) | func newCopyCommand() *cobra.Command { function copyAction (line 61) | func copyAction(cmd *cobra.Command, args []string) error { FILE: cmd/limactl/debug.go function newDebugCommand (line 16) | func newDebugCommand() *cobra.Command { function newDebugDNSCommand (line 27) | func newDebugDNSCommand() *cobra.Command { function debugDNSAction (line 39) | func debugDNSAction(cmd *cobra.Command, args []string) error { FILE: cmd/limactl/delete.go function newDeleteCommand (line 20) | func newDeleteCommand() *cobra.Command { function deleteAction (line 34) | func deleteAction(cmd *cobra.Command, args []string) error { function deleteBashComplete (line 66) | func deleteBashComplete(cmd *cobra.Command, _ []string, _ string) ([]str... FILE: cmd/limactl/disk.go function newDiskCommand (line 27) | func newDiskCommand() *cobra.Command { function newDiskCreateCommand (line 57) | func newDiskCreateCommand() *cobra.Command { function diskCreateAction (line 74) | func diskCreateAction(cmd *cobra.Command, args []string) error { function newDiskListCommand (line 130) | func newDiskListCommand() *cobra.Command { function nameMatches (line 146) | func nameMatches(nameName string, names []string) []string { function diskListAction (line 156) | func diskListAction(cmd *cobra.Command, args []string) error { function newDiskDeleteCommand (line 216) | func newDiskDeleteCommand() *cobra.Command { function diskDeleteAction (line 236) | func diskDeleteAction(cmd *cobra.Command, args []string) error { function deleteDisk (line 294) | func deleteDisk(disk *store.Disk) error { function forceDeleteCommand (line 301) | func forceDeleteCommand(diskName string) string { function newDiskUnlockCommand (line 305) | func newDiskUnlockCommand() *cobra.Command { function diskUnlockAction (line 325) | func diskUnlockAction(cmd *cobra.Command, args []string) error { function newDiskResizeCommand (line 361) | func newDiskResizeCommand() *cobra.Command { function diskResizeAction (line 377) | func diskResizeAction(cmd *cobra.Command, args []string) error { function diskBashComplete (line 424) | func diskBashComplete(cmd *cobra.Command, _ []string, _ string) ([]strin... function newDiskImportCommand (line 428) | func newDiskImportCommand() *cobra.Command { function diskImportAction (line 443) | func diskImportAction(_ *cobra.Command, args []string) error { FILE: cmd/limactl/edit.go function newEditCommand (line 31) | func newEditCommand() *cobra.Command { function editAction (line 45) | func editAction(cmd *cobra.Command, args []string) error { function askWhetherToStart (line 183) | func askWhetherToStart(cmd *cobra.Command) (bool, error) { function editBashComplete (line 192) | func editBashComplete(cmd *cobra.Command, _ []string, _ string) ([]strin... function saveRejectedYAML (line 197) | func saveRejectedYAML(y []byte, origErr error) error { FILE: cmd/limactl/editflags/editflags.go function RegisterEdit (line 25) | func RegisterEdit(cmd *cobra.Command, commentPrefix string) { function RegisterCreate (line 98) | func RegisterCreate(cmd *cobra.Command, commentPrefix string) { function defaultExprFunc (line 120) | func defaultExprFunc(expr string) func(v *flag.Flag) ([]string, error) { function ParsePortForward (line 126) | func ParsePortForward(spec string) (hostPort, guestPort string, isStatic... function BuildPortForwardExpression (line 155) | func BuildPortForwardExpression(portForwards []string) (string, error) { function buildMountListExpression (line 172) | func buildMountListExpression(ss []string) (string, error) { function YQExpressions (line 187) | func YQExpressions(flags *flag.FlagSet, newInstance bool) ([]string, err... function isPowerOfTwo (line 419) | func isPowerOfTwo(x int) bool { function completeCPUs (line 423) | func completeCPUs(hostCPUs int) []int { function completeMemoryGiB (line 434) | func completeMemoryGiB(hostMemory uint64) []float32 { FILE: cmd/limactl/editflags/editflags_test.go function TestCompleteCPUs (line 16) | func TestCompleteCPUs(t *testing.T) { function TestCompleteMemoryGiB (line 23) | func TestCompleteMemoryGiB(t *testing.T) { function TestBuildPortForwardExpression (line 31) | func TestBuildPortForwardExpression(t *testing.T) { function TestParsePortForward (line 98) | func TestParsePortForward(t *testing.T) { function TestYQExpressions (line 165) | func TestYQExpressions(t *testing.T) { FILE: cmd/limactl/factory-reset.go function newFactoryResetCommand (line 21) | func newFactoryResetCommand() *cobra.Command { function factoryResetAction (line 33) | func factoryResetAction(cmd *cobra.Command, args []string) error { function factoryResetBashComplete (line 81) | func factoryResetBashComplete(cmd *cobra.Command, _ []string, _ string) ... FILE: cmd/limactl/gendoc.go function newGenDocCommand (line 20) | func newGenDocCommand() *cobra.Command { function gendocAction (line 34) | func gendocAction(cmd *cobra.Command, args []string) error { function genMan (line 74) | func genMan(cmd *cobra.Command, dir string) error { function escapeMarkdown (line 104) | func escapeMarkdown(text string) string { function genDocsy (line 120) | func genDocsy(cmd *cobra.Command, dir string) error { function replaceAll (line 142) | func replaceAll(dir, text, replacement string) error { FILE: cmd/limactl/genschema.go function newGenSchemaCommand (line 21) | func newGenSchemaCommand() *cobra.Command { function toAny (line 33) | func toAny(args []string) []any { function getProp (line 41) | func getProp(props *orderedmap.OrderedMap[string, *jsonschema.Schema], k... function genschemaAction (line 49) | func genschemaAction(cmd *cobra.Command, args []string) error { FILE: cmd/limactl/guest-install.go function newGuestInstallCommand (line 27) | func newGuestInstallCommand() *cobra.Command { function runCmd (line 39) | func runCmd(ctx context.Context, name string, flags []string, args ...st... function shell (line 47) | func shell(ctx context.Context, name string, flags []string, args ...str... function guestInstallAction (line 57) | func guestInstallAction(cmd *cobra.Command, args []string) error { FILE: cmd/limactl/hostagent.go function newHostagentCommand (line 26) | func newHostagentCommand() *cobra.Command { function hostagentAction (line 43) | func hostagentAction(cmd *cobra.Command, args []string) error { type syncer (line 140) | type syncer interface type syncWriter (line 144) | type syncWriter struct method Write (line 148) | func (w *syncWriter) Write(p []byte) (int, error) { function initLogrus (line 158) | func initLogrus(stderr io.Writer) { FILE: cmd/limactl/info.go function newInfoCommand (line 18) | func newInfoCommand() *cobra.Command { function infoAction (line 31) | func infoAction(cmd *cobra.Command, _ []string) error { FILE: cmd/limactl/list.go function fieldNames (line 27) | func fieldNames() []string { function newListCommand (line 47) | func newListCommand() *cobra.Command { function instanceMatches (line 88) | func instanceMatches(arg string, instances []string) []string { type unmatchedInstancesError (line 99) | type unmatchedInstancesError struct method Error (line 102) | func (unmatchedInstancesError) Error() string { method ExitCode (line 107) | func (unmatchedInstancesError) ExitCode() int { function listAction (line 111) | func listAction(cmd *cobra.Command, args []string) error { function listBashComplete (line 361) | func listBashComplete(cmd *cobra.Command, _ []string, _ string) ([]strin... function filterInstances (line 366) | func filterInstances(instances []*limatype.Instance, yqExprs []string) (... FILE: cmd/limactl/main.go constant DefaultInstanceName (line 29) | DefaultInstanceName = "default" constant basicCommand (line 30) | basicCommand = "basic" constant advancedCommand (line 31) | advancedCommand = "advanced" function main (line 34) | func main() { function processGlobalFlags (line 59) | func processGlobalFlags(rootCmd *cobra.Command) error { function newApp (line 94) | func newApp() *cobra.Command { function addPluginCommands (line 219) | func addPluginCommands(rootCmd *cobra.Command) { function WrapArgsError (line 274) | func WrapArgsError(argFn cobra.PositionalArgs) cobra.PositionalArgs { FILE: cmd/limactl/network.go constant networkExample (line 24) | networkExample = ` List all networks: constant networkCreateExample (line 38) | networkCreateExample = ` Create a network: function newNetworkCommand (line 46) | func newNetworkCommand() *cobra.Command { function newNetworkListCommand (line 61) | func newNetworkListCommand() *cobra.Command { function networkListAction (line 81) | func networkListAction(cmd *cobra.Command, args []string) error { function newNetworkCreateCommand (line 151) | func newNetworkCreateCommand() *cobra.Command { function networkCreateAction (line 170) | func networkCreateAction(cmd *cobra.Command, args []string) error { function networkApplyYQ (line 235) | func networkApplyYQ(yq string) error { function newNetworkDeleteCommand (line 254) | func newNetworkDeleteCommand() *cobra.Command { function networkDeleteAction (line 274) | func networkDeleteAction(cmd *cobra.Command, args []string) error { function networkBashComplete (line 293) | func networkBashComplete(cmd *cobra.Command, _ []string, _ string) ([]st... FILE: cmd/limactl/protect.go function newProtectCommand (line 16) | func newProtectCommand() *cobra.Command { function protectAction (line 30) | func protectAction(cmd *cobra.Command, args []string) error { function protectBashComplete (line 52) | func protectBashComplete(cmd *cobra.Command, _ []string, _ string) ([]st... FILE: cmd/limactl/prune.go function newPruneCommand (line 23) | func newPruneCommand() *cobra.Command { function pruneAction (line 36) | func pruneAction(cmd *cobra.Command, _ []string) error { function knownLocations (line 70) | func knownLocations(ctx context.Context) (map[string]limatype.File, erro... function locationsFromLimaYAML (line 115) | func locationsFromLimaYAML(y *limatype.LimaYAML) map[string]limatype.File { FILE: cmd/limactl/restart.go function newRestartCommand (line 13) | func newRestartCommand() *cobra.Command { function restartAction (line 28) | func restartAction(cmd *cobra.Command, args []string) error { function restartBashComplete (line 56) | func restartBashComplete(cmd *cobra.Command, _ []string, _ string) ([]st... FILE: cmd/limactl/shell.go constant shellHelp (line 37) | shellHelp = `Execute shell in Lima function newShellCommand (line 52) | func newShellCommand() *cobra.Command { constant rsyncMinimumSrcDirDepth (line 80) | rsyncMinimumSrcDirDepth = 4 constant colorGray (line 81) | colorGray = "\033[0;90m" constant colorNone (line 82) | colorNone = "\033[0m" function shellAction (line 85) | func shellAction(cmd *cobra.Command, args []string) error { function askUserForRsyncBack (line 441) | func askUserForRsyncBack(ctx context.Context, cmd *cobra.Command, inst *... function executeSSHForRsync (line 602) | func executeSSHForRsync(ctx context.Context, sshCmd exec.Cmd, sshLocalPo... function hostCurrentDirectory (line 616) | func hostCurrentDirectory(ctx context.Context, inst *limatype.Instance) ... function rsyncVersion (line 624) | func rsyncVersion(ctx context.Context) (*semver.Version, error) { function rsyncDirectory (line 641) | func rsyncDirectory(ctx context.Context, cmd *cobra.Command, rsync copyt... function mountDirFromWindowsDir (line 652) | func mountDirFromWindowsDir(ctx context.Context, inst *limatype.Instance... function shellBashComplete (line 660) | func shellBashComplete(cmd *cobra.Command, _ []string, _ string) ([]stri... function isEnv (line 664) | func isEnv(arg string) bool { function quoteEnv (line 668) | func quoteEnv(arg string) string { type rsyncStats (line 674) | type rsyncStats struct method String (line 681) | func (s *rsyncStats) String() string { function getRsyncStats (line 688) | func getRsyncStats(ctx context.Context, source, destination string) (str... function parseRsyncStats (line 737) | func parseRsyncStats(output string) *rsyncStats { function hasMetadataDelta (line 768) | func hasMetadataDelta(attrs string) bool { FILE: cmd/limactl/shell_test.go function TestParseRsyncStats (line 12) | func TestParseRsyncStats(t *testing.T) { function TestRsyncStatsString (line 71) | func TestRsyncStatsString(t *testing.T) { FILE: cmd/limactl/show-ssh.go constant showSSHExample (line 22) | showSSHExample = ` function newShowSSHCommand (line 51) | func newShowSSHCommand() *cobra.Command { function showSSHAction (line 79) | func showSSHAction(cmd *cobra.Command, args []string) error { function showSSHBashComplete (line 117) | func showSSHBashComplete(cmd *cobra.Command, _ []string, _ string) ([]st... FILE: cmd/limactl/snapshot.go function newSnapshotCommand (line 18) | func newSnapshotCommand() *cobra.Command { function newSnapshotCreateCommand (line 47) | func newSnapshotCreateCommand() *cobra.Command { function snapshotCreateAction (line 64) | func snapshotCreateAction(cmd *cobra.Command, args []string) error { function newSnapshotDeleteCommand (line 85) | func newSnapshotDeleteCommand() *cobra.Command { function snapshotDeleteAction (line 102) | func snapshotDeleteAction(cmd *cobra.Command, args []string) error { function newSnapshotApplyCommand (line 123) | func newSnapshotApplyCommand() *cobra.Command { function snapshotApplyAction (line 140) | func snapshotApplyAction(cmd *cobra.Command, args []string) error { function newSnapshotListCommand (line 161) | func newSnapshotListCommand() *cobra.Command { function snapshotListAction (line 181) | func snapshotListAction(cmd *cobra.Command, args []string) error { function snapshotBashComplete (line 219) | func snapshotBashComplete(cmd *cobra.Command, _ []string, _ string) ([]s... FILE: cmd/limactl/start-at-login.go function newStartAtLoginCommand (line 10) | func newStartAtLoginCommand() *cobra.Command { function startAtLoginComplete (line 28) | func startAtLoginComplete(cmd *cobra.Command, _ []string, _ string) ([]s... FILE: cmd/limactl/start-at-login_unix.go function startAtLoginAction (line 20) | func startAtLoginAction(cmd *cobra.Command, args []string) error { FILE: cmd/limactl/start-at-login_windows.go function startAtLoginAction (line 12) | func startAtLoginAction(_ *cobra.Command, _ []string) error { FILE: cmd/limactl/start.go function registerCreateFlags (line 37) | func registerCreateFlags(cmd *cobra.Command, commentPrefix string) { function newCreateCommand (line 45) | func newCreateCommand() *cobra.Command { function newStartCommand (line 83) | func newStartCommand() *cobra.Command { function printCommandSummary (line 117) | func printCommandSummary(cmd *cobra.Command) { function getFlagType (line 126) | func getFlagType(flag *pflag.Flag) string { function formatFlag (line 149) | func formatFlag(flag *pflag.Flag) (flagName, shorthand string) { function collectFlags (line 164) | func collectFlags(cmd *cobra.Command) (allFlags, createFlags []string) { function printFlags (line 186) | func printFlags(allFlags, createFlags []string) { function printGlobalFlags (line 204) | func printGlobalFlags(cmd *cobra.Command) { function loadOrCreateInstance (line 210) | func loadOrCreateInstance(cmd *cobra.Command, args []string, createOnly ... function applyYQExpressionToExistingInstance (line 355) | func applyYQExpressionToExistingInstance(ctx context.Context, inst *lima... function modifyInPlace (line 391) | func modifyInPlace(st *limatmpl.Template, yq string) error { type exitSuccessError (line 401) | type exitSuccessError struct method Error (line 406) | func (e exitSuccessError) Error() string { method ExitCode (line 411) | func (exitSuccessError) ExitCode() int { function chooseNextCreatorState (line 415) | func chooseNextCreatorState(ctx context.Context, tmpl *limatmpl.Template... function createStartActionCommon (line 505) | func createStartActionCommon(cmd *cobra.Command, _ []string) (exit bool,... function filterHiddenTemplates (line 530) | func filterHiddenTemplates() ([]templatestore.Template, error) { function createAction (line 545) | func createAction(cmd *cobra.Command, args []string) error { function startAction (line 565) | func startAction(cmd *cobra.Command, args []string) error { function createBashComplete (line 624) | func createBashComplete(cmd *cobra.Command, _ []string, toComplete strin... function startBashComplete (line 628) | func startBashComplete(cmd *cobra.Command, _ []string, toComplete string... FILE: cmd/limactl/stop.go function newStopCommand (line 14) | func newStopCommand() *cobra.Command { function stopAction (line 28) | func stopAction(cmd *cobra.Command, args []string) error { function stopBashComplete (line 56) | func stopBashComplete(cmd *cobra.Command, _ []string, _ string) ([]strin... FILE: cmd/limactl/sudoers.go constant socketVMNetURL (line 14) | socketVMNetURL = "https://lima-vm.io/docs/config/network/vmnet/#socket_v... function newSudoersCommand (line 19) | func newSudoersCommand() *cobra.Command { FILE: cmd/limactl/sudoers_darwin.go function sudoersAction (line 18) | func sudoersAction(cmd *cobra.Command, args []string) error { function verifySudoAccess (line 52) | func verifySudoAccess(ctx context.Context, nwCfg networks.Config, args [... FILE: cmd/limactl/sudoers_nodarwin.go function sudoersAction (line 14) | func sudoersAction(_ *cobra.Command, _ []string) error { FILE: cmd/limactl/template.go function newTemplateCommand (line 24) | func newTemplateCommand() *cobra.Command { function newValidateCommand (line 46) | func newValidateCommand() *cobra.Command { function newTemplateCopyCommand (line 62) | func newTemplateCopyCommand() *cobra.Command { function fillDefaults (line 78) | func fillDefaults(ctx context.Context, tmpl *limatmpl.Template) error { function templateCopyAction (line 97) | func templateCopyAction(cmd *cobra.Command, args []string) error { constant templateYQHelp (line 175) | templateYQHelp = `Use the builtin YQ evaluator to extract information fr... function newTemplateYQCommand (line 186) | func newTemplateYQCommand() *cobra.Command { function templateYQAction (line 197) | func templateYQAction(cmd *cobra.Command, args []string) error { function newTemplateValidateCommand (line 222) | func newTemplateValidateCommand() *cobra.Command { function templateValidateAction (line 233) | func templateValidateAction(cmd *cobra.Command, args []string) error { function newTemplateURLCommand (line 285) | func newTemplateURLCommand() *cobra.Command { function templateURLAction (line 295) | func templateURLAction(cmd *cobra.Command, args []string) error { FILE: cmd/limactl/tunnel.go constant tunnelHelp (line 23) | tunnelHelp = `Create a tunnel for Lima function newTunnelCommand (line 28) | func newTunnelCommand() *cobra.Command { function tunnelAction (line 50) | func tunnelAction(cmd *cobra.Command, args []string) error { function tunnelBashComplete (line 144) | func tunnelBashComplete(cmd *cobra.Command, _ []string, _ string) ([]str... FILE: cmd/limactl/unprotect.go function newUnprotectCommand (line 16) | func newUnprotectCommand() *cobra.Command { function unprotectAction (line 28) | func unprotectAction(cmd *cobra.Command, args []string) error { function unprotectBashComplete (line 50) | func unprotectBashComplete(cmd *cobra.Command, _ []string, _ string) ([]... FILE: cmd/limactl/usernet.go function newUsernetCommand (line 19) | func newUsernetCommand() *cobra.Command { function usernetAction (line 37) | func usernetAction(cmd *cobra.Command, _ []string) error { FILE: cmd/limactl/watch.go function newWatchCommand (line 26) | func newWatchCommand() *cobra.Command { type watchEvent (line 64) | type watchEvent struct type eventWatcher (line 69) | type eventWatcher struct method startInstance (line 77) | func (w *eventWatcher) startInstance(instName string) { method watchInstance (line 95) | func (w *eventWatcher) watchInstance(instName, haStdoutPath, haStderrP... function watchAction (line 109) | func watchAction(cmd *cobra.Command, args []string) error { function watchLimaDir (line 191) | func watchLimaDir(ctx context.Context, newInstanceCh chan<- string) { function isValidInstanceName (line 226) | func isValidInstanceName(name string) bool { function isInstanceDir (line 230) | func isInstanceDir(path string) bool { function printStatus (line 240) | func printStatus(out io.Writer, msg string) { function printHumanReadableEvent (line 244) | func printHumanReadableEvent(out io.Writer, instName string, ev events.E... function watchBashComplete (line 300) | func watchBashComplete(cmd *cobra.Command, _ []string, _ string) ([]stri... FILE: cmd/yq/yq.go function main (line 18) | func main() { function MaybeRunYQ (line 36) | func MaybeRunYQ() { FILE: pkg/apfs/chown.go function Chown (line 20) | func Chown(diskPath string, volumeRole uint16, uid, gid uint32, paths ..... type container (line 52) | type container struct method close (line 169) | func (c *container) close() { method readBlock (line 173) | func (c *container) readBlock(addr uint64) ([]byte, error) { method writeBlock (line 182) | func (c *container) writeBlock(addr uint64, data []byte) error { method latestSuperblock (line 192) | func (c *container) latestSuperblock() ([]byte, error) { method findVolume (line 236) | func (c *container) findVolume(role uint16) (*volumeInfo, error) { method omapLookup (line 292) | func (c *container) omapLookup(omapTreeAddr, oid, maxXID uint64) (uint... method readTocEntry (line 382) | func (c *container) readTocEntry(blk []byte, tocStart, index uint32, f... method compareDrecKey (line 460) | func (c *container) compareDrecKey(blk []byte, keyStart uint32, target... method resolvePath (line 489) | func (c *container) resolvePath(fsRootPhys, omapTreeAddr, maxXID uint6... method lookupDirEntry (line 508) | func (c *container) lookupDirEntry(fsRootPhys, omapTreeAddr, maxXID, p... method readDrecName (line 598) | func (c *container) readDrecName(blk []byte, nameFieldOff uint32) stri... method chownInode (line 631) | func (c *container) chownInode(fsRootPhys, omapTreeAddr, maxXID, inode... type volumeInfo (line 59) | type volumeInfo struct function openContainer (line 65) | func openContainer(path string) (*container, error) { constant gptHeaderSignature (line 109) | gptHeaderSignature = "EFI PART" constant gptLBASectorSize (line 110) | gptLBASectorSize = 512 function findAPFSPartitionGPT (line 126) | func findAPFSPartitionGPT(f *os.File) (int64, error) { function verifyBTreeNodeType (line 394) | func verifyBTreeNodeType(blk []byte) error { function compareOmapKey (line 402) | func compareOmapKey(oid1, xid1, oid2, xid2 uint64) int { function compareFSKeyHeader (line 420) | func compareFSKeyHeader(a, b uint64) int { function drecNameHash (line 449) | func drecNameHash(name string) uint32 { FILE: pkg/apfs/chown_darwin_test.go function TestChownIntegration (line 21) | func TestChownIntegration(t *testing.T) { FILE: pkg/apfs/fletcher64.go constant fletcher64Mod (line 11) | fletcher64Mod = 0xFFFFFFFF function fletcher64 (line 14) | func fletcher64(block []byte) uint64 { function verifyChecksum (line 26) | func verifyChecksum(block []byte) error { function updateChecksum (line 36) | func updateChecksum(block []byte) { FILE: pkg/apfs/fletcher64_test.go function TestFletcher64 (line 13) | func TestFletcher64(t *testing.T) { function TestFletcher64KnownVector (line 28) | func TestFletcher64KnownVector(t *testing.T) { FILE: pkg/apfs/types.go constant nxMagic (line 12) | nxMagic = 0x4253584E constant apfsMagic (line 13) | apfsMagic = 0x42535041 constant objectTypeNXSuperblock (line 18) | objectTypeNXSuperblock = 0x01 constant objectTypeCheckpointMap (line 19) | objectTypeCheckpointMap = 0x0C constant objectTypeOmap (line 20) | objectTypeOmap = 0x0B constant objectTypeBTreeNode (line 21) | objectTypeBTreeNode = 0x02 constant objectTypeFS (line 22) | objectTypeFS = 0x0D constant objectTypeFSTree (line 23) | objectTypeFSTree = 0x0E constant objectTypeBlockRefTree (line 24) | objectTypeBlockRefTree = 0x0F constant objectTypeOmapSnapshot (line 25) | objectTypeOmapSnapshot = 0x10 constant objectTypeNXReaperFS (line 26) | objectTypeNXReaperFS = 0x12 constant objectTypeNXReaperListKey (line 27) | objectTypeNXReaperListKey = 0x13 constant objPhysical (line 32) | objPhysical = 0x00000000 constant objEphemeral (line 33) | objEphemeral = 0x80000000 constant objVirtual (line 34) | objVirtual = 0x00000000 constant objTypeMask (line 35) | objTypeMask = 0x0000FFFF constant objFlagsMask (line 36) | objFlagsMask = 0xFFFF0000 constant btnodeRoot (line 41) | btnodeRoot = 0x0001 constant btnodeLeaf (line 42) | btnodeLeaf = 0x0002 constant btnodeFixedKVSize (line 43) | btnodeFixedKVSize = 0x0004 constant apfsTypeInode (line 48) | apfsTypeInode = 3 constant apfsTypeDirRec (line 49) | apfsTypeDirRec = 9 constant objIDMask (line 54) | objIDMask = 0x0FFFFFFFFFFFFFFF constant objTypeShift (line 55) | objTypeShift = 60 constant rootDirInodeNum (line 60) | rootDirInodeNum = 2 constant noownersPlaceholderID (line 65) | noownersPlaceholderID = 99 constant VolRoleData (line 68) | VolRoleData = 0x0040 constant nxMagicOff (line 72) | nxMagicOff = 32 constant nxBlockSizeOff (line 73) | nxBlockSizeOff = 36 constant nxXPDescBlocksOff (line 74) | nxXPDescBlocksOff = 104 constant nxXPDescBaseOff (line 75) | nxXPDescBaseOff = 112 constant nxXPDescIndexOff (line 76) | nxXPDescIndexOff = 136 constant nxXPDescLenOff (line 77) | nxXPDescLenOff = 140 constant nxOmapOIDOff (line 78) | nxOmapOIDOff = 160 constant nxFSOIDOff (line 79) | nxFSOIDOff = 184 constant nxMaxFileSystems (line 80) | nxMaxFileSystems = 100 constant nxXPDescBlocksMask (line 81) | nxXPDescBlocksMask = 0x7FFFFFFF constant objChecksumOff (line 86) | objChecksumOff = 0 constant objOIDOff (line 87) | objOIDOff = 8 constant objXIDOff (line 88) | objXIDOff = 16 constant objTypeOff (line 89) | objTypeOff = 24 constant objSubtypeOff (line 90) | objSubtypeOff = 28 constant objHeaderSize (line 91) | objHeaderSize = 32 constant apfsMagicOff (line 96) | apfsMagicOff = 32 constant apfsOmapOIDOff (line 97) | apfsOmapOIDOff = 128 constant apfsRootTreeOIDOff (line 98) | apfsRootTreeOIDOff = 136 constant apfsVolNameOff (line 99) | apfsVolNameOff = 704 constant apfsRoleOff (line 100) | apfsRoleOff = 964 constant omapTreeOIDOff (line 105) | omapTreeOIDOff = 48 constant btnFlagsOff (line 110) | btnFlagsOff = 32 constant btnLevelOff (line 111) | btnLevelOff = 34 constant btnNKeysOff (line 112) | btnNKeysOff = 36 constant btnTableSpaceOff (line 113) | btnTableSpaceOff = 40 constant btnDataOff (line 114) | btnDataOff = 56 constant btreeInfoSize (line 118) | btreeInfoSize = 40 constant inodeParentIDOff (line 122) | inodeParentIDOff = 0 constant inodePrivateIDOff (line 123) | inodePrivateIDOff = 8 constant inodeOwnerOff (line 124) | inodeOwnerOff = 72 constant inodeGroupOff (line 125) | inodeGroupOff = 76 FILE: pkg/autostart/autostart.go function IsRegistered (line 15) | func IsRegistered(ctx context.Context, inst *limatype.Instance) (bool, e... function RegisterToStartAtLogin (line 20) | func RegisterToStartAtLogin(ctx context.Context, inst *limatype.Instance... function UnregisterFromStartAtLogin (line 25) | func UnregisterFromStartAtLogin(ctx context.Context, inst *limatype.Inst... function AutoStartedIdentifier (line 30) | func AutoStartedIdentifier() string { function RequestStart (line 35) | func RequestStart(ctx context.Context, inst *limatype.Instance) error { function RequestStop (line 40) | func RequestStop(ctx context.Context, inst *limatype.Instance) (bool, er... type autoStartManager (line 44) | type autoStartManager interface FILE: pkg/autostart/autostart_test.go function TestRenderTemplate (line 35) | func TestRenderTemplate(t *testing.T) { FILE: pkg/autostart/launchd/launchd.go function GetPlistPath (line 23) | func GetPlistPath(instName string) string { function ServiceNameFrom (line 28) | func ServiceNameFrom(instName string) string { function EnableDisableService (line 33) | func EnableDisableService(ctx context.Context, enable bool, instName str... function launchctl (line 41) | func launchctl(ctx context.Context, args ...string) error { function launchctlWithoutOutput (line 49) | func launchctlWithoutOutput(ctx context.Context, args ...string) error { function AutoStartedServiceName (line 56) | func AutoStartedServiceName() string { function serviceTarget (line 71) | func serviceTarget(instName string) string { function RequestStart (line 75) | func RequestStart(ctx context.Context, inst *limatype.Instance) error { function RequestStop (line 87) | func RequestStop(ctx context.Context, inst *limatype.Instance) (bool, er... FILE: pkg/autostart/launchd/launchd_test.go function TestGetPlistPath (line 15) | func TestGetPlistPath(t *testing.T) { FILE: pkg/autostart/managers.go type notSupportedManager (line 19) | type notSupportedManager struct method IsRegistered (line 25) | func (*notSupportedManager) IsRegistered(_ context.Context, _ *limatyp... method RegisterToStartAtLogin (line 29) | func (*notSupportedManager) RegisterToStartAtLogin(_ context.Context, ... method UnregisterFromStartAtLogin (line 33) | func (*notSupportedManager) UnregisterFromStartAtLogin(_ context.Conte... method AutoStartedIdentifier (line 37) | func (*notSupportedManager) AutoStartedIdentifier() string { method RequestStart (line 41) | func (*notSupportedManager) RequestStart(_ context.Context, _ *limatyp... method RequestStop (line 45) | func (*notSupportedManager) RequestStop(_ context.Context, _ *limatype... type TemplateFileBasedManager (line 50) | type TemplateFileBasedManager struct method IsRegistered (line 61) | func (t *TemplateFileBasedManager) IsRegistered(_ context.Context, ins... method RegisterToStartAtLogin (line 75) | func (t *TemplateFileBasedManager) RegisterToStartAtLogin(ctx context.... method UnregisterFromStartAtLogin (line 96) | func (t *TemplateFileBasedManager) UnregisterFromStartAtLogin(ctx cont... method renderTemplate (line 113) | func (t *TemplateFileBasedManager) renderTemplate(instName, workDir st... method AutoStartedIdentifier (line 130) | func (t *TemplateFileBasedManager) AutoStartedIdentifier() string { method RequestStart (line 137) | func (t *TemplateFileBasedManager) RequestStart(ctx context.Context, i... method RequestStop (line 144) | func (t *TemplateFileBasedManager) RequestStop(ctx context.Context, in... FILE: pkg/autostart/managers_darwin.go function Manager (line 9) | func Manager() autoStartManager { FILE: pkg/autostart/managers_linux.go function Manager (line 9) | func Manager() autoStartManager { FILE: pkg/autostart/managers_others.go function Manager (line 9) | func Manager() autoStartManager { FILE: pkg/autostart/systemd/systemd.go function GetUnitPath (line 23) | func GetUnitPath(instName string) string { function UnitNameFrom (line 34) | func UnitNameFrom(instName string) string { function EnableDisableUnit (line 39) | func EnableDisableUnit(ctx context.Context, enable bool, instName string... function systemctl (line 47) | func systemctl(ctx context.Context, args ...string) error { function AutoStartedUnitName (line 56) | func AutoStartedUnitName() string { function RequestStart (line 60) | func RequestStart(ctx context.Context, inst *limatype.Instance) error { function RequestStop (line 67) | func RequestStop(ctx context.Context, inst *limatype.Instance) (bool, er... FILE: pkg/autostart/systemd/systemd_linux.go function CurrentUnitName (line 11) | func CurrentUnitName() string { function IsRunningSystemd (line 19) | func IsRunningSystemd() bool { FILE: pkg/autostart/systemd/systemd_others.go function CurrentUnitName (line 8) | func CurrentUnitName() string { function IsRunningSystemd (line 12) | func IsRunningSystemd() bool { FILE: pkg/autostart/systemd/systemd_test.go function TestGetUnitPath (line 15) | func TestGetUnitPath(t *testing.T) { FILE: pkg/bicopy/bicopy.go function Bicopy (line 34) | func Bicopy(x, y io.ReadWriter, quit <-chan struct{}) { FILE: pkg/cacheutil/cacheutil.go function NerdctlArchive (line 17) | func NerdctlArchive(y *limatype.LimaYAML) string { function EnsureNerdctlArchiveCache (line 31) | func EnsureNerdctlArchiveCache(ctx context.Context, y *limatype.LimaYAML... FILE: pkg/cidata/cidata.go function setupEnv (line 51) | func setupEnv(instConfigEnv map[string]string, propagateProxyEnv bool, s... function templateArgs (line 122) | func templateArgs(ctx context.Context, bootScripts bool, instDir, name s... function GenerateCloudConfig (line 361) | func GenerateCloudConfig(ctx context.Context, instDir, name string, inst... function GenerateISO9660 (line 386) | func GenerateISO9660(ctx context.Context, drv driver.Driver, instDir, na... function removeControlChars (line 508) | func removeControlChars(s string) string { function getCert (line 518) | func getCert(content string) Cert { function getBootCmds (line 530) | func getBootCmds(p []limatype.Provision) []BootCmds { function diskDeviceNameFromOrder (line 540) | func diskDeviceNameFromOrder(order int) string { function writeCIDataDir (line 544) | func writeCIDataDir(rootPath string, layout []iso9660util.Entry) error { FILE: pkg/cidata/cidata_test.go function fakeLookupIP (line 17) | func fakeLookupIP(_ string) []net.IP { function TestSetupEnv (line 21) | func TestSetupEnv(t *testing.T) { function TestSetupInvalidEnv (line 56) | func TestSetupInvalidEnv(t *testing.T) { FILE: pkg/cidata/cloudinittypes/metadata.go type MetaData (line 6) | type MetaData struct FILE: pkg/cidata/cloudinittypes/userdata.go type UserData (line 6) | type UserData struct type Growpart (line 29) | type Growpart struct type User (line 34) | type User struct type WriteFile (line 45) | type WriteFile struct type ResolvConf (line 52) | type ResolvConf struct type CACerts (line 56) | type CACerts struct FILE: pkg/cidata/fuzz_test.go function FuzzSetupEnv (line 12) | func FuzzSetupEnv(f *testing.F) { FILE: pkg/cidata/template.go constant templateFSRoot (line 23) | templateFSRoot = "cidata.TEMPLATE.d" type CACerts (line 25) | type CACerts struct type Cert (line 30) | type Cert struct type Containerd (line 34) | type Containerd struct type Network (line 39) | type Network struct type Mount (line 44) | type Mount struct type BootCmds (line 50) | type BootCmds struct type DataFile (line 54) | type DataFile struct type YQProvision (line 62) | type YQProvision struct type Disk (line 70) | type Disk struct type TemplateArgs (line 77) | type TemplateArgs struct function ValidateTemplateArgs (line 122) | func ValidateTemplateArgs(args *TemplateArgs) error { function ExecuteTemplateCloudConfig (line 152) | func ExecuteTemplateCloudConfig(args *TemplateArgs) ([]byte, error) { function ExecuteTemplateCIDataISO (line 166) | func ExecuteTemplateCIDataISO(args *TemplateArgs) ([]iso9660util.Entry, ... FILE: pkg/cidata/template_test.go function TestConfig (line 16) | func TestConfig(t *testing.T) { function TestConfigCACerts (line 36) | func TestConfigCACerts(t *testing.T) { function TestConfigMounts (line 63) | func TestConfigMounts(t *testing.T) { function TestConfigMountsNone (line 83) | func TestConfigMountsNone(t *testing.T) { function TestTemplate (line 103) | func TestTemplate(t *testing.T) { function TestTemplate9p (line 139) | func TestTemplate9p(t *testing.T) { FILE: pkg/copytool/copytool.go type Backend (line 23) | type Backend constant BackendAuto (line 26) | BackendAuto Backend = "auto" constant BackendRsync (line 27) | BackendRsync Backend = "rsync" constant BackendSCP (line 28) | BackendSCP Backend = "scp" type Path (line 31) | type Path struct type Options (line 39) | type Options struct type CopyTool (line 46) | type CopyTool interface function New (line 56) | func New(ctx context.Context, backend string, paths []string, opts *Opti... function parseCopyPaths (line 95) | func parseCopyPaths(ctx context.Context, paths []string) ([]*Path, error) { FILE: pkg/copytool/copytool_test.go function TestCommandDoesNotMutateOptions (line 14) | func TestCommandDoesNotMutateOptions(t *testing.T) { FILE: pkg/copytool/rsync.go type rsyncTool (line 19) | type rsyncTool struct method Name (line 32) | func (t *rsyncTool) Name() string { method IsAvailableOnGuest (line 36) | func (t *rsyncTool) IsAvailableOnGuest(ctx context.Context, paths []st... method Command (line 85) | func (t *rsyncTool) Command(ctx context.Context, paths []string, opts ... function newRsyncTool (line 24) | func newRsyncTool(opts *Options) (*rsyncTool, error) { function checkRsyncOnGuest (line 60) | func checkRsyncOnGuest(ctx context.Context, inst *limatype.Instance) bool { FILE: pkg/copytool/scp.go type scpTool (line 18) | type scpTool struct method Name (line 31) | func (t *scpTool) Name() string { method IsAvailableOnGuest (line 35) | func (t *scpTool) IsAvailableOnGuest(_ context.Context, _ []string) bo... method Command (line 40) | func (t *scpTool) Command(ctx context.Context, paths []string, opts *O... function newSCPTool (line 23) | func newSCPTool(opts *Options) (*scpTool, error) { FILE: pkg/downloader/downloader.go function hideBar (line 37) | func hideBar(bar *progressbar.ProgressBar) { constant StatusUnknown (line 44) | StatusUnknown Status = "" constant StatusDownloaded (line 45) | StatusDownloaded Status = "downloaded" constant StatusSkipped (line 46) | StatusSkipped Status = "skipped" constant StatusUsedCache (line 47) | StatusUsedCache Status = "used-cache" type Result (line 50) | type Result struct type options (line 58) | type options struct method apply (line 65) | func (o *options) apply(opts []Opt) error { type Opt (line 74) | type Opt function WithCache (line 77) | func WithCache() Opt { function WithCacheDir (line 90) | func WithCacheDir(cacheDir string) Opt { function WithDescription (line 98) | func WithDescription(description string) Opt { function WithDecompress (line 106) | func WithDecompress(decompress bool) Opt { function WithExpectedDigest (line 122) | func WithExpectedDigest(expectedDigest digest.Digest) Opt { function readFile (line 135) | func readFile(path string) string { function readTime (line 149) | func readTime(path string) time.Time { function Download (line 176) | func Download(ctx context.Context, local, remote string, opts ...Opt) (*... function getCached (line 257) | func getCached(ctx context.Context, localPath, remote string, o options)... function fetch (line 303) | func fetch(ctx context.Context, localPath, remote string, o options) (*R... function Cached (line 345) | func Cached(remote string, opts ...Opt) (*Result, error) { function cacheDirectoryPath (line 407) | func cacheDirectoryPath(cacheDir, remote string) string { function cacheDigestPath (line 413) | func cacheDigestPath(shad string, expectedDigest digest.Digest) (string,... function IsLocal (line 425) | func IsLocal(s string) bool { function canonicalLocalPath (line 433) | func canonicalLocalPath(s string) (string, error) { function copyLocal (line 449) | func copyLocal(ctx context.Context, dst, src, ext string, decompress boo... function decompressor (line 484) | func decompressor(ext string) string { function decompressorByMagic (line 499) | func decompressorByMagic(file string) string { function decompressLocal (line 527) | func decompressLocal(ctx context.Context, decompressCmd, dst, src, ext, ... function validateCachedDigest (line 575) | func validateCachedDigest(shadDigest string, expectedDigest digest.Diges... function validateLocalFileDigest (line 590) | func validateLocalFileDigest(localPath string, expectedDigest digest.Dig... function matchLastModified (line 626) | func matchLastModified(ctx context.Context, lastModifiedPath, url string... function downloadHTTP (line 653) | func downloadHTTP(ctx context.Context, localPath, lastModified, contentT... function perProcessTempfile (line 743) | func perProcessTempfile(path string) string { function CacheEntries (line 750) | func CacheEntries(opts ...Opt) (map[string]string, error) { function CacheKey (line 778) | func CacheKey(remote string) string { function RemoveAllCacheDir (line 783) | func RemoveAllCacheDir(opts ...Opt) error { FILE: pkg/downloader/downloader_test.go function TestMain (line 21) | func TestMain(m *testing.M) { type downloadResult (line 26) | type downloadResult struct constant parallelDownloads (line 33) | parallelDownloads = 20 function TestDownloadRemote (line 35) | func TestDownloadRemote(t *testing.T) { function countResults (line 189) | func countResults(t *testing.T, results chan downloadResult) (downloaded... function TestRedownloadRemote (line 209) | func TestRedownloadRemote(t *testing.T) { function TestDownloadLocal (line 274) | func TestDownloadLocal(t *testing.T) { function TestDownloadCompressed (line 322) | func TestDownloadCompressed(t *testing.T) { FILE: pkg/downloader/fuzz_test.go function FuzzDownload (line 17) | func FuzzDownload(f *testing.F) { FILE: pkg/driver/driver.go type VsockEventEmitter (line 15) | type VsockEventEmitter interface type Lifecycle (line 20) | type Lifecycle interface type GUI (line 54) | type GUI interface type SnapshotManager (line 64) | type SnapshotManager interface type GuestAgent (line 72) | type GuestAgent interface type Driver (line 81) | type Driver interface type ConfiguredDriver (line 106) | type ConfiguredDriver struct type Info (line 110) | type Info struct type DriverFeatures (line 118) | type DriverFeatures struct FILE: pkg/driver/external/client/client.go type DriverClient (line 17) | type DriverClient struct function NewDriverClient (line 24) | func NewDriverClient(socketPath string, logger *logrus.Logger) (*DriverC... FILE: pkg/driver/external/client/methods.go method Validate (line 20) | func (d *DriverClient) Validate(ctx context.Context) error { method Create (line 35) | func (d *DriverClient) Create(ctx context.Context) error { method CreateDisk (line 48) | func (d *DriverClient) CreateDisk(ctx context.Context) error { method Start (line 64) | func (d *DriverClient) Start(ctx context.Context) (chan error, error) { method Stop (line 113) | func (d *DriverClient) Stop(ctx context.Context) error { method Delete (line 126) | func (d *DriverClient) Delete(ctx context.Context) error { method FillConfig (line 139) | func (d *DriverClient) FillConfig(_ context.Context, _ *limatype.LimaYAM... method RunGUI (line 143) | func (d *DriverClient) RunGUI() error { method ChangeDisplayPassword (line 159) | func (d *DriverClient) ChangeDisplayPassword(ctx context.Context, passwo... method DisplayConnection (line 174) | func (d *DriverClient) DisplayConnection(ctx context.Context) (string, e... method CreateSnapshot (line 187) | func (d *DriverClient) CreateSnapshot(ctx context.Context, tag string) e... method ApplySnapshot (line 202) | func (d *DriverClient) ApplySnapshot(ctx context.Context, tag string) er... method DeleteSnapshot (line 217) | func (d *DriverClient) DeleteSnapshot(ctx context.Context, tag string) e... method ListSnapshots (line 232) | func (d *DriverClient) ListSnapshots(ctx context.Context) (string, error) { method ForwardGuestAgent (line 245) | func (d *DriverClient) ForwardGuestAgent() bool { method GuestAgentConn (line 260) | func (d *DriverClient) GuestAgentConn(ctx context.Context) (net.Conn, st... method Info (line 271) | func (d *DriverClient) Info() driver.Info { method Configure (line 293) | func (d *DriverClient) Configure(inst *limatype.Instance) *driver.Config... method InspectStatus (line 319) | func (d *DriverClient) InspectStatus(_ context.Context, _ *limatype.Inst... method SSHAddress (line 323) | func (d *DriverClient) SSHAddress(ctx context.Context) (string, error) { method BootScripts (line 336) | func (d *DriverClient) BootScripts() (map[string][]byte, error) { method AdditionalSetupForSSH (line 348) | func (d *DriverClient) AdditionalSetupForSSH(ctx context.Context) error { FILE: pkg/driver/external/driver.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type BootScriptsResponse (line 25) | type BootScriptsResponse struct method Reset (line 32) | func (x *BootScriptsResponse) Reset() { method String (line 39) | func (x *BootScriptsResponse) String() string { method ProtoMessage (line 43) | func (*BootScriptsResponse) ProtoMessage() {} method ProtoReflect (line 45) | func (x *BootScriptsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 58) | func (*BootScriptsResponse) Descriptor() ([]byte, []int) { method GetScripts (line 62) | func (x *BootScriptsResponse) GetScripts() map[string][]byte { type SSHAddressResponse (line 69) | type SSHAddressResponse struct method Reset (line 76) | func (x *SSHAddressResponse) Reset() { method String (line 83) | func (x *SSHAddressResponse) String() string { method ProtoMessage (line 87) | func (*SSHAddressResponse) ProtoMessage() {} method ProtoReflect (line 89) | func (x *SSHAddressResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 102) | func (*SSHAddressResponse) Descriptor() ([]byte, []int) { method GetAddress (line 106) | func (x *SSHAddressResponse) GetAddress() string { type InfoResponse (line 113) | type InfoResponse struct method Reset (line 120) | func (x *InfoResponse) Reset() { method String (line 127) | func (x *InfoResponse) String() string { method ProtoMessage (line 131) | func (*InfoResponse) ProtoMessage() {} method ProtoReflect (line 133) | func (x *InfoResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 146) | func (*InfoResponse) Descriptor() ([]byte, []int) { method GetInfoJson (line 150) | func (x *InfoResponse) GetInfoJson() []byte { type StartResponse (line 162) | type StartResponse struct method Reset (line 170) | func (x *StartResponse) Reset() { method String (line 177) | func (x *StartResponse) String() string { method ProtoMessage (line 181) | func (*StartResponse) ProtoMessage() {} method ProtoReflect (line 183) | func (x *StartResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 196) | func (*StartResponse) Descriptor() ([]byte, []int) { method GetSuccess (line 200) | func (x *StartResponse) GetSuccess() bool { method GetError (line 207) | func (x *StartResponse) GetError() string { type SetConfigRequest (line 214) | type SetConfigRequest struct method Reset (line 221) | func (x *SetConfigRequest) Reset() { method String (line 228) | func (x *SetConfigRequest) String() string { method ProtoMessage (line 232) | func (*SetConfigRequest) ProtoMessage() {} method ProtoReflect (line 234) | func (x *SetConfigRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 247) | func (*SetConfigRequest) Descriptor() ([]byte, []int) { method GetInstanceConfigJson (line 251) | func (x *SetConfigRequest) GetInstanceConfigJson() []byte { type ChangeDisplayPasswordRequest (line 258) | type ChangeDisplayPasswordRequest struct method Reset (line 265) | func (x *ChangeDisplayPasswordRequest) Reset() { method String (line 272) | func (x *ChangeDisplayPasswordRequest) String() string { method ProtoMessage (line 276) | func (*ChangeDisplayPasswordRequest) ProtoMessage() {} method ProtoReflect (line 278) | func (x *ChangeDisplayPasswordRequest) ProtoReflect() protoreflect.Mes... method Descriptor (line 291) | func (*ChangeDisplayPasswordRequest) Descriptor() ([]byte, []int) { method GetPassword (line 295) | func (x *ChangeDisplayPasswordRequest) GetPassword() string { type GetDisplayConnectionResponse (line 302) | type GetDisplayConnectionResponse struct method Reset (line 309) | func (x *GetDisplayConnectionResponse) Reset() { method String (line 316) | func (x *GetDisplayConnectionResponse) String() string { method ProtoMessage (line 320) | func (*GetDisplayConnectionResponse) ProtoMessage() {} method ProtoReflect (line 322) | func (x *GetDisplayConnectionResponse) ProtoReflect() protoreflect.Mes... method Descriptor (line 335) | func (*GetDisplayConnectionResponse) Descriptor() ([]byte, []int) { method GetConnection (line 339) | func (x *GetDisplayConnectionResponse) GetConnection() string { type CreateSnapshotRequest (line 346) | type CreateSnapshotRequest struct method Reset (line 353) | func (x *CreateSnapshotRequest) Reset() { method String (line 360) | func (x *CreateSnapshotRequest) String() string { method ProtoMessage (line 364) | func (*CreateSnapshotRequest) ProtoMessage() {} method ProtoReflect (line 366) | func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 379) | func (*CreateSnapshotRequest) Descriptor() ([]byte, []int) { method GetTag (line 383) | func (x *CreateSnapshotRequest) GetTag() string { type ApplySnapshotRequest (line 390) | type ApplySnapshotRequest struct method Reset (line 397) | func (x *ApplySnapshotRequest) Reset() { method String (line 404) | func (x *ApplySnapshotRequest) String() string { method ProtoMessage (line 408) | func (*ApplySnapshotRequest) ProtoMessage() {} method ProtoReflect (line 410) | func (x *ApplySnapshotRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 423) | func (*ApplySnapshotRequest) Descriptor() ([]byte, []int) { method GetTag (line 427) | func (x *ApplySnapshotRequest) GetTag() string { type DeleteSnapshotRequest (line 434) | type DeleteSnapshotRequest struct method Reset (line 441) | func (x *DeleteSnapshotRequest) Reset() { method String (line 448) | func (x *DeleteSnapshotRequest) String() string { method ProtoMessage (line 452) | func (*DeleteSnapshotRequest) ProtoMessage() {} method ProtoReflect (line 454) | func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 467) | func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int) { method GetTag (line 471) | func (x *DeleteSnapshotRequest) GetTag() string { type ListSnapshotsResponse (line 478) | type ListSnapshotsResponse struct method Reset (line 485) | func (x *ListSnapshotsResponse) Reset() { method String (line 492) | func (x *ListSnapshotsResponse) String() string { method ProtoMessage (line 496) | func (*ListSnapshotsResponse) ProtoMessage() {} method ProtoReflect (line 498) | func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 511) | func (*ListSnapshotsResponse) Descriptor() ([]byte, []int) { method GetSnapshots (line 515) | func (x *ListSnapshotsResponse) GetSnapshots() string { type ForwardGuestAgentResponse (line 522) | type ForwardGuestAgentResponse struct method Reset (line 529) | func (x *ForwardGuestAgentResponse) Reset() { method String (line 536) | func (x *ForwardGuestAgentResponse) String() string { method ProtoMessage (line 540) | func (*ForwardGuestAgentResponse) ProtoMessage() {} method ProtoReflect (line 542) | func (x *ForwardGuestAgentResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 555) | func (*ForwardGuestAgentResponse) Descriptor() ([]byte, []int) { method GetShouldForward (line 559) | func (x *ForwardGuestAgentResponse) GetShouldForward() bool { constant file_driver_proto_rawDesc (line 568) | file_driver_proto_rawDesc = "" + function file_driver_proto_rawDescGZIP (line 630) | func file_driver_proto_rawDescGZIP() []byte { function init (line 703) | func init() { file_driver_proto_init() } function file_driver_proto_init (line 704) | func file_driver_proto_init() { FILE: pkg/driver/external/driver_grpc.pb.go constant _ (line 20) | _ = grpc.SupportPackageIsVersion9 constant Driver_Validate_FullMethodName (line 23) | Driver_Validate_FullMethodName = "/Driver/Validate" constant Driver_Create_FullMethodName (line 24) | Driver_Create_FullMethodName = "/Driver/Create" constant Driver_CreateDisk_FullMethodName (line 25) | Driver_CreateDisk_FullMethodName = "/Driver/CreateDisk" constant Driver_Start_FullMethodName (line 26) | Driver_Start_FullMethodName = "/Driver/Start" constant Driver_Stop_FullMethodName (line 27) | Driver_Stop_FullMethodName = "/Driver/Stop" constant Driver_Delete_FullMethodName (line 28) | Driver_Delete_FullMethodName = "/Driver/Delete" constant Driver_BootScripts_FullMethodName (line 29) | Driver_BootScripts_FullMethodName = "/Driver/BootScripts" constant Driver_RunGUI_FullMethodName (line 30) | Driver_RunGUI_FullMethodName = "/Driver/RunGUI" constant Driver_ChangeDisplayPassword_FullMethodName (line 31) | Driver_ChangeDisplayPassword_FullMethodName = "/Driver/ChangeDisplayPass... constant Driver_GetDisplayConnection_FullMethodName (line 32) | Driver_GetDisplayConnection_FullMethodName = "/Driver/GetDisplayConnect... constant Driver_CreateSnapshot_FullMethodName (line 33) | Driver_CreateSnapshot_FullMethodName = "/Driver/CreateSnapshot" constant Driver_ApplySnapshot_FullMethodName (line 34) | Driver_ApplySnapshot_FullMethodName = "/Driver/ApplySnapshot" constant Driver_DeleteSnapshot_FullMethodName (line 35) | Driver_DeleteSnapshot_FullMethodName = "/Driver/DeleteSnapshot" constant Driver_ListSnapshots_FullMethodName (line 36) | Driver_ListSnapshots_FullMethodName = "/Driver/ListSnapshots" constant Driver_ForwardGuestAgent_FullMethodName (line 37) | Driver_ForwardGuestAgent_FullMethodName = "/Driver/ForwardGuestAgent" constant Driver_GuestAgentConn_FullMethodName (line 38) | Driver_GuestAgentConn_FullMethodName = "/Driver/GuestAgentConn" constant Driver_Configure_FullMethodName (line 39) | Driver_Configure_FullMethodName = "/Driver/Configure" constant Driver_Info_FullMethodName (line 40) | Driver_Info_FullMethodName = "/Driver/Info" constant Driver_SSHAddress_FullMethodName (line 41) | Driver_SSHAddress_FullMethodName = "/Driver/SSHAddress" constant Driver_AdditionalSetupForSSH_FullMethodName (line 42) | Driver_AdditionalSetupForSSH_FullMethodName = "/Driver/AdditionalSetupFo... type DriverClient (line 48) | type DriverClient interface type driverClient (line 73) | type driverClient struct method Validate (line 81) | func (c *driverClient) Validate(ctx context.Context, in *emptypb.Empty... method Create (line 91) | func (c *driverClient) Create(ctx context.Context, in *emptypb.Empty, ... method CreateDisk (line 101) | func (c *driverClient) CreateDisk(ctx context.Context, in *emptypb.Emp... method Start (line 111) | func (c *driverClient) Start(ctx context.Context, in *emptypb.Empty, o... method Stop (line 130) | func (c *driverClient) Stop(ctx context.Context, in *emptypb.Empty, op... method Delete (line 140) | func (c *driverClient) Delete(ctx context.Context, in *emptypb.Empty, ... method BootScripts (line 150) | func (c *driverClient) BootScripts(ctx context.Context, in *emptypb.Em... method RunGUI (line 160) | func (c *driverClient) RunGUI(ctx context.Context, in *emptypb.Empty, ... method ChangeDisplayPassword (line 170) | func (c *driverClient) ChangeDisplayPassword(ctx context.Context, in *... method GetDisplayConnection (line 180) | func (c *driverClient) GetDisplayConnection(ctx context.Context, in *e... method CreateSnapshot (line 190) | func (c *driverClient) CreateSnapshot(ctx context.Context, in *CreateS... method ApplySnapshot (line 200) | func (c *driverClient) ApplySnapshot(ctx context.Context, in *ApplySna... method DeleteSnapshot (line 210) | func (c *driverClient) DeleteSnapshot(ctx context.Context, in *DeleteS... method ListSnapshots (line 220) | func (c *driverClient) ListSnapshots(ctx context.Context, in *emptypb.... method ForwardGuestAgent (line 230) | func (c *driverClient) ForwardGuestAgent(ctx context.Context, in *empt... method GuestAgentConn (line 240) | func (c *driverClient) GuestAgentConn(ctx context.Context, in *emptypb... method Configure (line 250) | func (c *driverClient) Configure(ctx context.Context, in *SetConfigReq... method Info (line 260) | func (c *driverClient) Info(ctx context.Context, in *emptypb.Empty, op... method SSHAddress (line 270) | func (c *driverClient) SSHAddress(ctx context.Context, in *emptypb.Emp... method AdditionalSetupForSSH (line 280) | func (c *driverClient) AdditionalSetupForSSH(ctx context.Context, in *... function NewDriverClient (line 77) | func NewDriverClient(cc grpc.ClientConnInterface) DriverClient { type DriverServer (line 293) | type DriverServer interface type UnimplementedDriverServer (line 324) | type UnimplementedDriverServer struct method Validate (line 326) | func (UnimplementedDriverServer) Validate(context.Context, *emptypb.Em... method Create (line 329) | func (UnimplementedDriverServer) Create(context.Context, *emptypb.Empt... method CreateDisk (line 332) | func (UnimplementedDriverServer) CreateDisk(context.Context, *emptypb.... method Start (line 335) | func (UnimplementedDriverServer) Start(*emptypb.Empty, grpc.ServerStre... method Stop (line 338) | func (UnimplementedDriverServer) Stop(context.Context, *emptypb.Empty)... method Delete (line 341) | func (UnimplementedDriverServer) Delete(context.Context, *emptypb.Empt... method BootScripts (line 344) | func (UnimplementedDriverServer) BootScripts(context.Context, *emptypb... method RunGUI (line 347) | func (UnimplementedDriverServer) RunGUI(context.Context, *emptypb.Empt... method ChangeDisplayPassword (line 350) | func (UnimplementedDriverServer) ChangeDisplayPassword(context.Context... method GetDisplayConnection (line 353) | func (UnimplementedDriverServer) GetDisplayConnection(context.Context,... method CreateSnapshot (line 356) | func (UnimplementedDriverServer) CreateSnapshot(context.Context, *Crea... method ApplySnapshot (line 359) | func (UnimplementedDriverServer) ApplySnapshot(context.Context, *Apply... method DeleteSnapshot (line 362) | func (UnimplementedDriverServer) DeleteSnapshot(context.Context, *Dele... method ListSnapshots (line 365) | func (UnimplementedDriverServer) ListSnapshots(context.Context, *empty... method ForwardGuestAgent (line 368) | func (UnimplementedDriverServer) ForwardGuestAgent(context.Context, *e... method GuestAgentConn (line 371) | func (UnimplementedDriverServer) GuestAgentConn(context.Context, *empt... method Configure (line 374) | func (UnimplementedDriverServer) Configure(context.Context, *SetConfig... method Info (line 377) | func (UnimplementedDriverServer) Info(context.Context, *emptypb.Empty)... method SSHAddress (line 380) | func (UnimplementedDriverServer) SSHAddress(context.Context, *emptypb.... method AdditionalSetupForSSH (line 383) | func (UnimplementedDriverServer) AdditionalSetupForSSH(context.Context... method mustEmbedUnimplementedDriverServer (line 386) | func (UnimplementedDriverServer) mustEmbedUnimplementedDriverServer() {} method testEmbeddedByValue (line 387) | func (UnimplementedDriverServer) testEmbeddedByValue() {} type UnsafeDriverServer (line 392) | type UnsafeDriverServer interface function RegisterDriverServer (line 396) | func RegisterDriverServer(s grpc.ServiceRegistrar, srv DriverServer) { function _Driver_Validate_Handler (line 407) | func _Driver_Validate_Handler(srv interface{}, ctx context.Context, dec ... function _Driver_Create_Handler (line 425) | func _Driver_Create_Handler(srv interface{}, ctx context.Context, dec fu... function _Driver_CreateDisk_Handler (line 443) | func _Driver_CreateDisk_Handler(srv interface{}, ctx context.Context, de... function _Driver_Start_Handler (line 461) | func _Driver_Start_Handler(srv interface{}, stream grpc.ServerStream) er... function _Driver_Stop_Handler (line 472) | func _Driver_Stop_Handler(srv interface{}, ctx context.Context, dec func... function _Driver_Delete_Handler (line 490) | func _Driver_Delete_Handler(srv interface{}, ctx context.Context, dec fu... function _Driver_BootScripts_Handler (line 508) | func _Driver_BootScripts_Handler(srv interface{}, ctx context.Context, d... function _Driver_RunGUI_Handler (line 526) | func _Driver_RunGUI_Handler(srv interface{}, ctx context.Context, dec fu... function _Driver_ChangeDisplayPassword_Handler (line 544) | func _Driver_ChangeDisplayPassword_Handler(srv interface{}, ctx context.... function _Driver_GetDisplayConnection_Handler (line 562) | func _Driver_GetDisplayConnection_Handler(srv interface{}, ctx context.C... function _Driver_CreateSnapshot_Handler (line 580) | func _Driver_CreateSnapshot_Handler(srv interface{}, ctx context.Context... function _Driver_ApplySnapshot_Handler (line 598) | func _Driver_ApplySnapshot_Handler(srv interface{}, ctx context.Context,... function _Driver_DeleteSnapshot_Handler (line 616) | func _Driver_DeleteSnapshot_Handler(srv interface{}, ctx context.Context... function _Driver_ListSnapshots_Handler (line 634) | func _Driver_ListSnapshots_Handler(srv interface{}, ctx context.Context,... function _Driver_ForwardGuestAgent_Handler (line 652) | func _Driver_ForwardGuestAgent_Handler(srv interface{}, ctx context.Cont... function _Driver_GuestAgentConn_Handler (line 670) | func _Driver_GuestAgentConn_Handler(srv interface{}, ctx context.Context... function _Driver_Configure_Handler (line 688) | func _Driver_Configure_Handler(srv interface{}, ctx context.Context, dec... function _Driver_Info_Handler (line 706) | func _Driver_Info_Handler(srv interface{}, ctx context.Context, dec func... function _Driver_SSHAddress_Handler (line 724) | func _Driver_SSHAddress_Handler(srv interface{}, ctx context.Context, de... function _Driver_AdditionalSetupForSSH_Handler (line 742) | func _Driver_AdditionalSetupForSSH_Handler(srv interface{}, ctx context.... FILE: pkg/driver/external/server/methods.go method Start (line 23) | func (s *DriverServer) Start(_ *emptypb.Empty, stream pb.Driver_StartSer... method Configure (line 67) | func (s *DriverServer) Configure(_ context.Context, req *pb.SetConfigReq... method GuestAgentConn (line 81) | func (s *DriverServer) GuestAgentConn(ctx context.Context, _ *emptypb.Em... method Info (line 116) | func (s *DriverServer) Info(_ context.Context, _ *emptypb.Empty) (*pb.In... method Validate (line 131) | func (s *DriverServer) Validate(ctx context.Context, empty *emptypb.Empt... method Create (line 142) | func (s *DriverServer) Create(ctx context.Context, empty *emptypb.Empty)... method CreateDisk (line 153) | func (s *DriverServer) CreateDisk(ctx context.Context, empty *emptypb.Em... method Stop (line 164) | func (s *DriverServer) Stop(ctx context.Context, empty *emptypb.Empty) (... method RunGUI (line 175) | func (s *DriverServer) RunGUI(_ context.Context, empty *emptypb.Empty) (... method Delete (line 186) | func (s *DriverServer) Delete(ctx context.Context, empty *emptypb.Empty)... method BootScripts (line 197) | func (s *DriverServer) BootScripts(_ context.Context, _ *emptypb.Empty) ... method SSHAddress (line 215) | func (s *DriverServer) SSHAddress(ctx context.Context, _ *emptypb.Empty)... method ChangeDisplayPassword (line 227) | func (s *DriverServer) ChangeDisplayPassword(ctx context.Context, req *p... method GetDisplayConnection (line 238) | func (s *DriverServer) GetDisplayConnection(ctx context.Context, _ *empt... method CreateSnapshot (line 249) | func (s *DriverServer) CreateSnapshot(ctx context.Context, req *pb.Creat... method ApplySnapshot (line 260) | func (s *DriverServer) ApplySnapshot(ctx context.Context, req *pb.ApplyS... method DeleteSnapshot (line 271) | func (s *DriverServer) DeleteSnapshot(ctx context.Context, req *pb.Delet... method ListSnapshots (line 282) | func (s *DriverServer) ListSnapshots(ctx context.Context, _ *emptypb.Emp... method ForwardGuestAgent (line 293) | func (s *DriverServer) ForwardGuestAgent(_ context.Context, _ *emptypb.E... method AdditionalSetupForSSH (line 298) | func (s *DriverServer) AdditionalSetupForSSH(ctx context.Context, _ *emp... FILE: pkg/driver/external/server/server.go type DriverServer (line 35) | type DriverServer struct type listenerTracker (line 41) | type listenerTracker struct method Accept (line 47) | func (t *listenerTracker) Accept() (net.Conn, error) { function Serve (line 55) | func Serve(ctx context.Context, driver driver.Driver) { function handleInspectStatus (line 164) | func handleInspectStatus(driver driver.Driver) { function handlePreConfiguredDriverAction (line 191) | func handlePreConfiguredDriverAction(ctx context.Context, driver driver.... function Start (line 213) | func Start(extDriver *registry.ExternalDriver, instName string) error { function Stop (line 289) | func Stop(extDriver *registry.ExternalDriver) error { function StopAllExternalDrivers (line 314) | func StopAllExternalDrivers() { FILE: pkg/driver/krunkit/krunkit_darwin_arm64.go constant logLevelInfo (line 30) | logLevelInfo = "3" function Cmdline (line 33) | func Cmdline(inst *limatype.Instance) (*exec.Cmd, error) { function buildNetworkArgs (line 107) | func buildNetworkArgs(inst *limatype.Instance) ([]string, error) { function startUsernet (line 175) | func startUsernet(ctx context.Context, inst *limatype.Instance) (*userne... FILE: pkg/driver/krunkit/krunkit_driver_darwin_arm64.go type LimaKrunkitDriver (line 33) | type LimaKrunkitDriver struct method Configure (line 52) | func (l *LimaKrunkitDriver) Configure(inst *limatype.Instance) *driver... method CreateDisk (line 61) | func (l *LimaKrunkitDriver) CreateDisk(ctx context.Context) error { method Start (line 66) | func (l *LimaKrunkitDriver) Start(ctx context.Context) (chan error, er... method Stop (line 123) | func (l *LimaKrunkitDriver) Stop(_ context.Context) error { method Validate (line 155) | func (l *LimaKrunkitDriver) Validate(_ context.Context) error { method FillConfig (line 204) | func (l *LimaKrunkitDriver) FillConfig(_ context.Context, cfg *limatyp... method BootScripts (line 225) | func (l *LimaKrunkitDriver) BootScripts() (map[string][]byte, error) { method Create (line 256) | func (l *LimaKrunkitDriver) Create(_ context.Context) error { method Info (line 260) | func (l *LimaKrunkitDriver) Info() driver.Info { method SSHAddress (line 275) | func (l *LimaKrunkitDriver) SSHAddress(_ context.Context) (string, err... method ForwardGuestAgent (line 279) | func (l *LimaKrunkitDriver) ForwardGuestAgent() bool { method Delete (line 283) | func (l *LimaKrunkitDriver) Delete(_ context.Context) error { method InspectStatus (line 287) | func (l *LimaKrunkitDriver) InspectStatus(_ context.Context, _ *limaty... method RunGUI (line 291) | func (l *LimaKrunkitDriver) RunGUI() error { method ChangeDisplayPassword (line 295) | func (l *LimaKrunkitDriver) ChangeDisplayPassword(_ context.Context, _... method DisplayConnection (line 299) | func (l *LimaKrunkitDriver) DisplayConnection(_ context.Context) (stri... method CreateSnapshot (line 303) | func (l *LimaKrunkitDriver) CreateSnapshot(_ context.Context, _ string... method ApplySnapshot (line 307) | func (l *LimaKrunkitDriver) ApplySnapshot(_ context.Context, _ string)... method DeleteSnapshot (line 311) | func (l *LimaKrunkitDriver) DeleteSnapshot(_ context.Context, _ string... method ListSnapshots (line 315) | func (l *LimaKrunkitDriver) ListSnapshots(_ context.Context) (string, ... method Register (line 319) | func (l *LimaKrunkitDriver) Register(_ context.Context) error { method Unregister (line 323) | func (l *LimaKrunkitDriver) Unregister(_ context.Context) error { method GuestAgentConn (line 327) | func (l *LimaKrunkitDriver) GuestAgentConn(_ context.Context) (net.Con... method AdditionalSetupForSSH (line 331) | func (l *LimaKrunkitDriver) AdditionalSetupForSSH(_ context.Context) e... function New (line 48) | func New() *LimaKrunkitDriver { function validateConfig (line 159) | func validateConfig(cfg *limatype.LimaYAML) error { function isFedoraConfigured (line 190) | func isFedoraConfigured(cfg *limatype.LimaYAML) bool { FILE: pkg/driver/qemu/entitlementutil/entitlementutil.go function IsSigned (line 22) | func IsSigned(ctx context.Context, qExe string) error { function Sign (line 42) | func Sign(ctx context.Context, qExe string) error { function isColimaWrapper__useThisFunctionOnlyForPrintingHints__ (line 78) | func isColimaWrapper__useThisFunctionOnlyForPrintingHints__(qExe string)... function AskToSignIfNotSignedProperly (line 86) | func AskToSignIfNotSignedProperly(ctx context.Context, qExe string) { FILE: pkg/driver/qemu/qemu.go type Config (line 44) | type Config struct function minimumQemuVersion (line 63) | func minimumQemuVersion() (hardMin, softMin semver.Version) { function EnsureDisk (line 93) | func EnsureDisk(ctx context.Context, cfg Config) error { function newQmpClient (line 134) | func newQmpClient(cfg Config) (*qmp.SocketMonitor, error) { function sendHmpCommand (line 143) | func sendHmpCommand(cfg Config, cmd, tag string) (string, error) { function execImgCommand (line 158) | func execImgCommand(ctx context.Context, cfg Config, args ...string) (st... function Del (line 170) | func Del(ctx context.Context, cfg Config, run bool, tag string) error { function Save (line 184) | func Save(ctx context.Context, cfg Config, run bool, tag string) error { function Load (line 198) | func Load(ctx context.Context, cfg Config, run bool, tag string) error { function List (line 213) | func List(ctx context.Context, cfg Config, run bool) (string, error) { function argValue (line 233) | func argValue(args []string, key string) (string, bool) { function appendArgsIfNoConflict (line 254) | func appendArgsIfNoConflict(args []string, k, v string) []string { type features (line 277) | type features struct function inspectFeatures (line 296) | func inspectFeatures(ctx context.Context, exe, machine string) (*feature... function adjustMemBytesDarwinARM64HVF (line 362) | func adjustMemBytesDarwinARM64HVF(memBytes int64, accel string) int64 { function qemuMachine (line 393) | func qemuMachine(arch limatype.Arch) string { function audioDevice (line 401) | func audioDevice() string { function defaultCPUType (line 413) | func defaultCPUType() limatype.CPUType { function resolveCPUType (line 454) | func resolveCPUType(y *limatype.LimaYAML) string { function Cmdline (line 482) | func Cmdline(ctx context.Context, cfg Config) (exe string, args []string... function FindVirtiofsd (line 970) | func FindVirtiofsd(ctx context.Context, qemuExe string) (string, error) { function VirtiofsdCmdline (line 1044) | func VirtiofsdCmdline(cfg Config, mountIndex int) ([]string, error) { function qemuArch (line 1060) | func qemuArch(arch limatype.Arch) string { function qemuEdk2Arch (line 1072) | func qemuEdk2Arch(arch limatype.Arch) string { function Exe (line 1079) | func Exe(arch limatype.Arch) (exe string, args []string, err error) { function Accel (line 1099) | func Accel(arch limatype.Arch) string { function parseQemuVersion (line 1122) | func parseQemuVersion(output string) (*semver.Version, error) { function getQemuVersion (line 1132) | func getQemuVersion(ctx context.Context, qemuExe string) (*semver.Versio... function getFirmware (line 1147) | func getFirmware(qemuExe string, arch limatype.Arch) (string, error) { function getFirmwareVars (line 1221) | func getFirmwareVars(qemuExe string, arch limatype.Arch) (string, error) { function hasHostCPU (line 1270) | func hasHostCPU() bool { FILE: pkg/driver/qemu/qemu_driver.go type LimaQemuDriver (line 43) | type LimaQemuDriver struct method Configure (line 71) | func (l *LimaQemuDriver) Configure(inst *limatype.Instance) *driver.Co... method Validate (line 80) | func (l *LimaQemuDriver) Validate(ctx context.Context) error { method FillConfig (line 150) | func (l *LimaQemuDriver) FillConfig(_ context.Context, cfg *limatype.L... method BootScripts (line 229) | func (l *LimaQemuDriver) BootScripts() (map[string][]byte, error) { method CreateDisk (line 233) | func (l *LimaQemuDriver) CreateDisk(ctx context.Context) error { method Start (line 242) | func (l *LimaQemuDriver) Start(_ context.Context) (chan error, error) { method Stop (line 389) | func (l *LimaQemuDriver) Stop(ctx context.Context) error { method ChangeDisplayPassword (line 393) | func (l *LimaQemuDriver) ChangeDisplayPassword(_ context.Context, pass... method DisplayConnection (line 397) | func (l *LimaQemuDriver) DisplayConnection(_ context.Context) (string,... method changeVNCPassword (line 440) | func (l *LimaQemuDriver) changeVNCPassword(password string) error { method getVNCDisplayPort (line 462) | func (l *LimaQemuDriver) getVNCDisplayPort() (string, error) { method removeVNCFiles (line 480) | func (l *LimaQemuDriver) removeVNCFiles() error { method killVhosts (line 494) | func (l *LimaQemuDriver) killVhosts() error { method shutdownQEMU (line 505) | func (l *LimaQemuDriver) shutdownQEMU(ctx context.Context, timeout tim... method killQEMU (line 560) | func (l *LimaQemuDriver) killQEMU(_ context.Context, _ time.Duration, ... method DeleteSnapshot (line 585) | func (l *LimaQemuDriver) DeleteSnapshot(ctx context.Context, tag strin... method CreateSnapshot (line 594) | func (l *LimaQemuDriver) CreateSnapshot(ctx context.Context, tag strin... method ApplySnapshot (line 603) | func (l *LimaQemuDriver) ApplySnapshot(ctx context.Context, tag string... method ListSnapshots (line 612) | func (l *LimaQemuDriver) ListSnapshots(ctx context.Context) (string, e... method GuestAgentConn (line 621) | func (l *LimaQemuDriver) GuestAgentConn(ctx context.Context) (net.Conn... method Info (line 679) | func (l *LimaQemuDriver) Info() driver.Info { method SSHAddress (line 696) | func (l *LimaQemuDriver) SSHAddress(_ context.Context) (string, error) { method InspectStatus (line 700) | func (l *LimaQemuDriver) InspectStatus(_ context.Context, _ *limatype.... method Create (line 704) | func (l *LimaQemuDriver) Create(_ context.Context) error { method Delete (line 708) | func (l *LimaQemuDriver) Delete(_ context.Context) error { method RunGUI (line 712) | func (l *LimaQemuDriver) RunGUI() error { method Register (line 716) | func (l *LimaQemuDriver) Register(_ context.Context) error { method Unregister (line 720) | func (l *LimaQemuDriver) Unregister(_ context.Context) error { method ForwardGuestAgent (line 724) | func (l *LimaQemuDriver) ForwardGuestAgent() bool { method AdditionalSetupForSSH (line 729) | func (l *LimaQemuDriver) AdditionalSetupForSSH(_ context.Context) error { function New (line 57) | func New() *LimaQemuDriver { function validateConfig (line 87) | func validateConfig(cfg *limatype.LimaYAML) error { function validateArch (line 121) | func validateArch(ctx context.Context, cfg *limatype.LimaYAML) error { function validateMountType (line 135) | func validateMountType(cfg *limatype.LimaYAML) error { function waitFileExists (line 401) | func waitFileExists(path string, timeout time.Duration) error { function checkBinarySignature (line 421) | func checkBinarySignature(ctx context.Context, vmArch string) error { function logPipeRoutine (line 577) | func logPipeRoutine(r io.Reader, header string) { type qArgTemplateApplier (line 627) | type qArgTemplateApplier struct method applyTemplate (line 631) | func (a *qArgTemplateApplier) applyTemplate(qArg string) (string, erro... FILE: pkg/driver/qemu/qemu_test.go function TestArgValue (line 12) | func TestArgValue(t *testing.T) { function TestParseQemuVersion (line 54) | func TestParseQemuVersion(t *testing.T) { FILE: pkg/driver/qemu/register.go function init (line 10) | func init() { FILE: pkg/driver/vz/network_darwin.go function PassFDToUnix (line 23) | func PassFDToUnix(unixSock string) (*os.File, error) { function DialQemu (line 46) | func DialQemu(ctx context.Context, unixSock string) (*os.File, error) { function forwardPackets (line 69) | func forwardPackets(qemuConn *qemuPacketConn, vzConn *packetConn) { type qemuPacketConn (line 94) | type qemuPacketConn struct method Read (line 101) | func (c *qemuPacketConn) Read(b []byte) (n int, err error) { method Write (line 113) | func (c *qemuPacketConn) Write(b []byte) (int, error) { constant writeRetryDelay (line 133) | writeRetryDelay = 100 * time.Microsecond type packetConn (line 136) | type packetConn struct method Write (line 141) | func (c *packetConn) Write(b []byte) (int, error) { FILE: pkg/driver/vz/network_darwin_test.go constant vmnetMaxPacketSize (line 19) | vmnetMaxPacketSize = 1514 constant packetsCount (line 20) | packetsCount = 1000 function TestDialQemu (line 23) | func TestDialQemu(t *testing.T) { function serveOneClient (line 107) | func serveOneClient(listener *net.UnixListener) error { function listenUnix (line 135) | func listenUnix(dir string) (*net.UnixListener, error) { FILE: pkg/driver/vz/register.go function init (line 10) | func init() { FILE: pkg/driver/vz/rosetta_directory_share.go function createRosettaDirectoryShareConfiguration (line 12) | func createRosettaDirectoryShareConfiguration() (*vz.VirtioFileSystemDev... FILE: pkg/driver/vz/rosetta_directory_share_arm64.go function createRosettaDirectoryShareConfiguration (line 18) | func createRosettaDirectoryShareConfiguration() (*vz.VirtioFileSystemDev... FILE: pkg/driver/vz/vm_darwin.go constant diskImageCachingMode (line 47) | diskImageCachingMode = vz.DiskImageCachingModeCached type virtualMachineWrapper (line 49) | type virtualMachineWrapper struct function startVM (line 58) | func startVM(ctx context.Context, inst *limatype.Instance, sshLocalPort ... function startUsernet (line 178) | func startUsernet(ctx context.Context, inst *limatype.Instance) (*userne... function createVM (line 213) | func createVM(ctx context.Context, inst *limatype.Instance) (*vz.Virtual... function createVMForMacInstaller (line 262) | func createVMForMacInstaller(_ context.Context, inst *limatype.Instance)... function createInitialConfig (line 300) | func createInitialConfig(inst *limatype.Instance) (*vz.VirtualMachineCon... function newPlatformConfiguration (line 322) | func newPlatformConfiguration(inst *limatype.Instance) (vz.PlatformConfi... function attachPlatformConfig (line 341) | func attachPlatformConfig(inst *limatype.Instance, vmConfig *vz.VirtualM... function attachSerialPort (line 376) | func attachSerialPort(inst *limatype.Instance, config *vz.VirtualMachine... function newVirtioFileNetworkDeviceConfiguration (line 389) | func newVirtioFileNetworkDeviceConfiguration(file *os.File, macStr strin... function newVirtioNetworkDeviceConfiguration (line 397) | func newVirtioNetworkDeviceConfiguration(attachment vz.NetworkDeviceAtta... function attachNetwork (line 414) | func attachNetwork(ctx context.Context, inst *limatype.Instance, vmConfi... function validateDiskFormat (line 529) | func validateDiskFormat(diskPath string) error { function attachDisks (line 547) | func attachDisks(ctx context.Context, inst *limatype.Instance, vmConfig ... function attachDisplay (line 630) | func attachDisplay(inst *limatype.Instance, vmConfig *vz.VirtualMachineC... function directorySharingDevicesGeneric (line 664) | func directorySharingDevicesGeneric(origMounts []limatype.Mount) ([]vz.D... function directorySharingDevicesMacOS (line 694) | func directorySharingDevicesMacOS(origMounts []limatype.Mount) ([]vz.Dir... function attachFolderMounts (line 730) | func attachFolderMounts(inst *limatype.Instance, vmConfig *vz.VirtualMac... function attachAudio (line 767) | func attachAudio(inst *limatype.Instance, config *vz.VirtualMachineConfi... function attachOtherDevices (line 790) | func attachOtherDevices(inst *limatype.Instance, vmConfig *vz.VirtualMac... type machineIdentifier (line 874) | type machineIdentifier interface function getGenericMachineIdentifier (line 878) | func getGenericMachineIdentifier(identifier string) (*vz.GenericMachineI... function bootLoader (line 897) | func bootLoader(inst *limatype.Instance) (vz.BootLoader, error) { function linuxBootLoader (line 916) | func linuxBootLoader(inst *limatype.Instance) (*vz.LinuxBootLoader, erro... function getEFI (line 941) | func getEFI(inst *limatype.Instance) (*vz.EFIVariableStore, error) { function createSockPair (line 949) | func createSockPair() (server, client *os.File, _ error) { function ensureIPSW (line 981) | func ensureIPSW(instDir string) error { FILE: pkg/driver/vz/vm_darwin_amd64.go function getMacMachineIdentifier (line 15) | func getMacMachineIdentifier(_ string) (machineIdentifier, error) { function newMacPlatformConfiguration (line 19) | func newMacPlatformConfiguration(_ *limatype.Instance) (vz.PlatformConfi... function newMacGraphicsDeviceConfiguration (line 23) | func newMacGraphicsDeviceConfiguration(_, _, _ int64) (vz.GraphicsDevice... function newMacPointingDeviceConfiguration (line 27) | func newMacPointingDeviceConfiguration() (vz.PointingDeviceConfiguration... function newMacKeyboardConfiguration (line 31) | func newMacKeyboardConfiguration() (vz.KeyboardConfiguration, error) { function newMacOSBootLoader (line 35) | func newMacOSBootLoader() (vz.BootLoader, error) { function installMacOS (line 39) | func installMacOS(_ context.Context, _ *vz.VirtualMachine, _ string) err... FILE: pkg/driver/vz/vm_darwin_arm64.go function getMacMachineIdentifier (line 26) | func getMacMachineIdentifier(identifier string) (machineIdentifier, erro... function newMacPlatformConfiguration (line 45) | func newMacPlatformConfiguration(inst *limatype.Instance) (vz.PlatformCo... function newMacGraphicsDeviceConfiguration (line 100) | func newMacGraphicsDeviceConfiguration(x, y, pixelsPerInch int64) (vz.Gr... function newMacPointingDeviceConfiguration (line 113) | func newMacPointingDeviceConfiguration() (vz.PointingDeviceConfiguration... function newMacKeyboardConfiguration (line 117) | func newMacKeyboardConfiguration() (vz.KeyboardConfiguration, error) { function newMacOSBootLoader (line 121) | func newMacOSBootLoader() (vz.BootLoader, error) { function installMacOS (line 125) | func installMacOS(ctx context.Context, vm *vz.VirtualMachine, ipsw strin... FILE: pkg/driver/vz/vsock_forwarder.go method startVsockForwarder (line 17) | func (m *virtualMachineWrapper) startVsockForwarder(ctx context.Context,... method dialVsock (line 67) | func (m *virtualMachineWrapper) dialVsock(_ context.Context, port uint32... FILE: pkg/driver/vz/vz_driver_darwin.go constant Enabled (line 84) | Enabled = true type LimaVzDriver (line 86) | type LimaVzDriver struct method SetVsockEventCallback (line 108) | func (l *LimaVzDriver) SetVsockEventCallback(callback func(*events.Vso... method Configure (line 119) | func (l *LimaVzDriver) Configure(inst *limatype.Instance) *driver.Conf... method FillConfig (line 161) | func (l *LimaVzDriver) FillConfig(ctx context.Context, cfg *limatype.L... method BootScripts (line 218) | func (l *LimaVzDriver) BootScripts() (map[string][]byte, error) { method Validate (line 241) | func (l *LimaVzDriver) Validate(ctx context.Context) error { method Create (line 340) | func (l *LimaVzDriver) Create(_ context.Context) error { method CreateDisk (line 350) | func (l *LimaVzDriver) CreateDisk(ctx context.Context) error { method createDiskMacOSGuest (line 381) | func (l *LimaVzDriver) createDiskMacOSGuest(ctx context.Context) error { method Start (line 422) | func (l *LimaVzDriver) Start(ctx context.Context) (chan error, error) { method canRunGUI (line 437) | func (l *LimaVzDriver) canRunGUI() bool { method RunGUI (line 446) | func (l *LimaVzDriver) RunGUI() error { method requestStopViaSSH (line 453) | func (l *LimaVzDriver) requestStopViaSSH(ctx context.Context) error { method Stop (line 468) | func (l *LimaVzDriver) Stop(ctx context.Context) error { method GuestAgentConn (line 507) | func (l *LimaVzDriver) GuestAgentConn(_ context.Context) (net.Conn, st... method Info (line 516) | func (l *LimaVzDriver) Info() driver.Info { method SSHAddress (line 540) | func (l *LimaVzDriver) SSHAddress(_ context.Context) (string, error) { method InspectStatus (line 544) | func (l *LimaVzDriver) InspectStatus(_ context.Context, _ *limatype.In... method Delete (line 548) | func (l *LimaVzDriver) Delete(_ context.Context) error { method Register (line 552) | func (l *LimaVzDriver) Register(_ context.Context) error { method Unregister (line 556) | func (l *LimaVzDriver) Unregister(_ context.Context) error { method ChangeDisplayPassword (line 560) | func (l *LimaVzDriver) ChangeDisplayPassword(_ context.Context, _ stri... method DisplayConnection (line 564) | func (l *LimaVzDriver) DisplayConnection(_ context.Context) (string, e... method CreateSnapshot (line 568) | func (l *LimaVzDriver) CreateSnapshot(_ context.Context, _ string) err... method ApplySnapshot (line 572) | func (l *LimaVzDriver) ApplySnapshot(_ context.Context, _ string) error { method DeleteSnapshot (line 576) | func (l *LimaVzDriver) DeleteSnapshot(_ context.Context, _ string) err... method ListSnapshots (line 580) | func (l *LimaVzDriver) ListSnapshots(_ context.Context) (string, error) { method ForwardGuestAgent (line 584) | func (l *LimaVzDriver) ForwardGuestAgent() bool { method AdditionalSetupForSSH (line 589) | func (l *LimaVzDriver) AdditionalSetupForSSH(_ context.Context) error { function New (line 112) | func New() *LimaVzDriver { function isEmpty (line 211) | func isEmpty(r limatype.Rosetta) bool { function validateConfig (line 245) | func validateConfig(_ context.Context, cfg *limatype.LimaYAML) error { FILE: pkg/driver/wsl2/fs.go function EnsureFs (line 20) | func EnsureFs(ctx context.Context, inst *limatype.Instance) error { FILE: pkg/driver/wsl2/register.go function init (line 10) | func init() { FILE: pkg/driver/wsl2/vm_windows.go function startVM (line 27) | func startVM(ctx context.Context, distroName string) error { function initVM (line 41) | func initVM(ctx context.Context, instanceDir, distroName string) error { function stopVM (line 59) | func stopVM(ctx context.Context, distroName string) error { function provisionVM (line 76) | func provisionVM(ctx context.Context, instanceDir, instanceName, distroN... function keepAlive (line 149) | func keepAlive(ctx context.Context, distroName string, errCh chan<- erro... function unregisterVM (line 169) | func unregisterVM(ctx context.Context, distroName string) error { function getWslStatus (line 210) | func getWslStatus(ctx context.Context, instName string) (string, error) { function getSSHAddress (line 268) | func getSSHAddress(ctx context.Context, instName string) (string, error) { FILE: pkg/driver/wsl2/wsl_driver_windows.go constant Enabled (line 49) | Enabled = true type LimaWslDriver (line 51) | type LimaWslDriver struct method Configure (line 73) | func (l *LimaWslDriver) Configure(inst *limatype.Instance) *driver.Con... method FillConfig (line 82) | func (l *LimaWslDriver) FillConfig(ctx context.Context, cfg *limatype.... method Validate (line 92) | func (l *LimaWslDriver) Validate(ctx context.Context) error { method BootScripts (line 159) | func (l *LimaWslDriver) BootScripts() (map[string][]byte, error) { method InspectStatus (line 184) | func (l *LimaWslDriver) InspectStatus(ctx context.Context, inst *limat... method Delete (line 207) | func (l *LimaWslDriver) Delete(ctx context.Context) error { method Start (line 222) | func (l *LimaWslDriver) Start(ctx context.Context) (chan error, error) { method canRunGUI (line 268) | func (l *LimaWslDriver) canRunGUI() bool { method RunGUI (line 272) | func (l *LimaWslDriver) RunGUI() error { method Stop (line 276) | func (l *LimaWslDriver) Stop(ctx context.Context) error { method GuestAgentConn (line 285) | func (l *LimaWslDriver) GuestAgentConn(ctx context.Context) (net.Conn,... method Info (line 306) | func (l *LimaWslDriver) Info() driver.Info { method SSHAddress (line 325) | func (l *LimaWslDriver) SSHAddress(_ context.Context) (string, error) { method Create (line 329) | func (l *LimaWslDriver) Create(_ context.Context) error { method CreateDisk (line 333) | func (l *LimaWslDriver) CreateDisk(_ context.Context) error { method ChangeDisplayPassword (line 337) | func (l *LimaWslDriver) ChangeDisplayPassword(_ context.Context, _ str... method DisplayConnection (line 341) | func (l *LimaWslDriver) DisplayConnection(_ context.Context) (string, ... method CreateSnapshot (line 345) | func (l *LimaWslDriver) CreateSnapshot(_ context.Context, _ string) er... method ApplySnapshot (line 349) | func (l *LimaWslDriver) ApplySnapshot(_ context.Context, _ string) err... method DeleteSnapshot (line 353) | func (l *LimaWslDriver) DeleteSnapshot(_ context.Context, _ string) er... method ListSnapshots (line 357) | func (l *LimaWslDriver) ListSnapshots(_ context.Context) (string, erro... method ForwardGuestAgent (line 361) | func (l *LimaWslDriver) ForwardGuestAgent() bool { method AdditionalSetupForSSH (line 366) | func (l *LimaWslDriver) AdditionalSetupForSSH(_ context.Context) error { function New (line 61) | func New() *LimaWslDriver { function validateConfig (line 96) | func validateConfig(_ context.Context, cfg *limatype.LimaYAML) error { FILE: pkg/driverutil/disk.go function MigrateDiskLayout (line 26) | func MigrateDiskLayout(instDir string) error { function EnsureDisk (line 62) | func EnsureDisk(ctx context.Context, instDir, diskSize string, diskImage... FILE: pkg/driverutil/disk_test.go constant typeRAW (line 25) | typeRAW = image.Type("raw") constant typeASIF (line 26) | typeASIF = image.Type("asif") function writeMinimalISO (line 29) | func writeMinimalISO(t *testing.T, path string) { function writeNonISO (line 37) | func writeNonISO(t *testing.T, path string) { function sha256File (line 45) | func sha256File(t *testing.T, path string) string { function detectImageType (line 53) | func detectImageType(t *testing.T, path string) image.Type { function checkDisk (line 63) | func checkDisk(t *testing.T, diskPath string, expectedType image.Type) { function assertSymlink (line 71) | func assertSymlink(t *testing.T, path, expectedTarget string) { function isMacOS26OrHigher (line 78) | func isMacOS26OrHigher() bool { function TestEnsureDisk_WithISOImage (line 89) | func TestEnsureDisk_WithISOImage(t *testing.T) { function TestEnsureDisk_WithNonISOImage (line 121) | func TestEnsureDisk_WithNonISOImage(t *testing.T) { function TestEnsureDisk_ExistingDisk (line 146) | func TestEnsureDisk_ExistingDisk(t *testing.T) { function TestMigrateDiskLayout_LegacyDiffDisk (line 167) | func TestMigrateDiskLayout_LegacyDiffDisk(t *testing.T) { function TestMigrateDiskLayout_LegacyISOBaseDisk (line 185) | func TestMigrateDiskLayout_LegacyISOBaseDisk(t *testing.T) { function TestMigrateDiskLayout_LegacyNonISOBaseDisk (line 212) | func TestMigrateDiskLayout_LegacyNonISOBaseDisk(t *testing.T) { function TestMigrateDiskLayout_AlreadyMigrated (line 236) | func TestMigrateDiskLayout_AlreadyMigrated(t *testing.T) { FILE: pkg/driverutil/instance.go function CreateConfiguredDriver (line 18) | func CreateConfiguredDriver(inst *limatype.Instance, sshLocalPort int) (... FILE: pkg/driverutil/vm.go function ResolveVMType (line 22) | func ResolveVMType(ctx context.Context, y *limatype.LimaYAML, filePath s... function validateConfigAgainstDriver (line 39) | func validateConfigAgainstDriver(ctx context.Context, y *limatype.LimaYA... function handlePreConfiguredDriverAction (line 56) | func handlePreConfiguredDriverAction(ctx context.Context, y *limatype.Li... function InspectStatus (line 106) | func InspectStatus(ctx context.Context, inst *limatype.Instance) (string... function handleInspectStatusAction (line 129) | func handleInspectStatusAction(ctx context.Context, inst *limatype.Insta... FILE: pkg/editutil/editorcmd/editorcmd.go function Detect (line 30) | func Detect() string { FILE: pkg/editutil/editutil.go function fileWarning (line 22) | func fileWarning(filename string) string { function GenerateEditorWarningHeader (line 43) | func GenerateEditorWarningHeader() string { function OpenEditor (line 60) | func OpenEditor(ctx context.Context, content []byte, hdr string) ([]byte... FILE: pkg/envutil/envutil.go function validatePattern (line 47) | func validatePattern(pattern string) error { function getBlockList (line 59) | func getBlockList() []string { function getAllowList (line 81) | func getAllowList() []string { function parseEnvList (line 98) | func parseEnvList(envList string) []string { function matchesPattern (line 110) | func matchesPattern(name, pattern string) bool { function matchesAnyPattern (line 125) | func matchesAnyPattern(name string, patterns []string) bool { function FilterEnvironment (line 134) | func FilterEnvironment() []string { function filterEnvironmentWithLists (line 142) | func filterEnvironmentWithLists(env, allowList, blockList []string) []st... function GetDefaultBlockList (line 170) | func GetDefaultBlockList() []string { FILE: pkg/envutil/envutil_test.go function isUsingDefaultBlockList (line 15) | func isUsingDefaultBlockList() bool { function TestMatchesPattern (line 20) | func TestMatchesPattern(t *testing.T) { function TestMatchesAnyPattern (line 44) | func TestMatchesAnyPattern(t *testing.T) { function TestParseEnvList (line 66) | func TestParseEnvList(t *testing.T) { function TestGetBlockAndAllowLists (line 86) | func TestGetBlockAndAllowLists(t *testing.T) { function TestFilterEnvironment (line 126) | func TestFilterEnvironment(t *testing.T) { function containsAll (line 189) | func containsAll(slice, items []string) bool { function TestGetDefaultBlockList (line 198) | func TestGetDefaultBlockList(t *testing.T) { function TestValidatePattern (line 214) | func TestValidatePattern(t *testing.T) { function TestValidatePatternErrorMessage (line 246) | func TestValidatePatternErrorMessage(t *testing.T) { FILE: pkg/executil/command.go type options (line 15) | type options struct type Opt (line 19) | type Opt function WithContext (line 22) | func WithContext(ctx context.Context) Opt { function RunUTF16leCommand (line 29) | func RunUTF16leCommand(args []string, opts ...Opt) (string, error) { FILE: pkg/fileutils/download.go function DownloadFile (line 22) | func DownloadFile(ctx context.Context, dest string, f limatype.File, dec... function CachedFile (line 50) | func CachedFile(f limatype.File) (string, error) { function Errors (line 62) | func Errors(errs []error) error { FILE: pkg/freeport/freeport.go function TCP (line 12) | func TCP() (int, error) { function UDP (line 34) | func UDP() (int, error) { FILE: pkg/freeport/freeport_unix.go function VSock (line 10) | func VSock() (int, error) { FILE: pkg/freeport/freeport_windows.go function VSock (line 8) | func VSock() (int, error) { FILE: pkg/fsutil/fsutil_linux.go function IsNFS (line 17) | func IsNFS(path string) (bool, error) { FILE: pkg/fsutil/fsutil_others.go function IsNFS (line 8) | func IsNFS(string) (bool, error) { FILE: pkg/guestagent/api/client/client.go type GuestAgentClient (line 20) | type GuestAgentClient struct method Info (line 51) | func (c *GuestAgentClient) Info(ctx context.Context) (*api.Info, error) { method Events (line 55) | func (c *GuestAgentClient) Events(ctx context.Context, eventCb func(re... method Inotify (line 70) | func (c *GuestAgentClient) Inotify(ctx context.Context) (api.GuestServ... method Tunnel (line 78) | func (c *GuestAgentClient) Tunnel(ctx context.Context) (api.GuestServi... method SyncTime (line 86) | func (c *GuestAgentClient) SyncTime(ctx context.Context, hostTime time... function NewGuestAgentClient (line 24) | func NewGuestAgentClient(dialFn func(ctx context.Context) (net.Conn, err... FILE: pkg/guestagent/api/client/credentials.go function NewCredentials (line 14) | func NewCredentials() credentials.TransportCredentials { type secureTC (line 23) | type secureTC struct method Info (line 27) | func (c *secureTC) Info() credentials.ProtocolInfo { method ClientHandshake (line 31) | func (*secureTC) ClientHandshake(_ context.Context, _ string, conn net... method ServerHandshake (line 35) | func (*secureTC) ServerHandshake(conn net.Conn) (net.Conn, credentials... method Clone (line 39) | func (c *secureTC) Clone() credentials.TransportCredentials { method OverrideServerName (line 43) | func (c *secureTC) OverrideServerName(serverNameOverride string) error { type info (line 52) | type info struct method AuthType (line 56) | func (info) AuthType() string { FILE: pkg/guestagent/api/guestservice.pb.go constant _ (line 21) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 23) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Info (line 26) | type Info struct method Reset (line 33) | func (x *Info) Reset() { method String (line 40) | func (x *Info) String() string { method ProtoMessage (line 44) | func (*Info) ProtoMessage() {} method ProtoReflect (line 46) | func (x *Info) ProtoReflect() protoreflect.Message { method Descriptor (line 59) | func (*Info) Descriptor() ([]byte, []int) { method GetLocalPorts (line 63) | func (x *Info) GetLocalPorts() []*IPPort { type Event (line 70) | type Event struct method Reset (line 80) | func (x *Event) Reset() { method String (line 87) | func (x *Event) String() string { method ProtoMessage (line 91) | func (*Event) ProtoMessage() {} method ProtoReflect (line 93) | func (x *Event) ProtoReflect() protoreflect.Message { method Descriptor (line 106) | func (*Event) Descriptor() ([]byte, []int) { method GetTime (line 110) | func (x *Event) GetTime() *timestamppb.Timestamp { method GetAddedLocalPorts (line 117) | func (x *Event) GetAddedLocalPorts() []*IPPort { method GetRemovedLocalPorts (line 124) | func (x *Event) GetRemovedLocalPorts() []*IPPort { method GetErrors (line 131) | func (x *Event) GetErrors() []string { type IPPort (line 138) | type IPPort struct method Reset (line 147) | func (x *IPPort) Reset() { method String (line 154) | func (x *IPPort) String() string { method ProtoMessage (line 158) | func (*IPPort) ProtoMessage() {} method ProtoReflect (line 160) | func (x *IPPort) ProtoReflect() protoreflect.Message { method Descriptor (line 173) | func (*IPPort) Descriptor() ([]byte, []int) { method GetProtocol (line 177) | func (x *IPPort) GetProtocol() string { method GetIp (line 184) | func (x *IPPort) GetIp() string { method GetPort (line 191) | func (x *IPPort) GetPort() int32 { type Inotify (line 198) | type Inotify struct method Reset (line 206) | func (x *Inotify) Reset() { method String (line 213) | func (x *Inotify) String() string { method ProtoMessage (line 217) | func (*Inotify) ProtoMessage() {} method ProtoReflect (line 219) | func (x *Inotify) ProtoReflect() protoreflect.Message { method Descriptor (line 232) | func (*Inotify) Descriptor() ([]byte, []int) { method GetMountPath (line 236) | func (x *Inotify) GetMountPath() string { method GetTime (line 243) | func (x *Inotify) GetTime() *timestamppb.Timestamp { type TunnelMessage (line 250) | type TunnelMessage struct method Reset (line 261) | func (x *TunnelMessage) Reset() { method String (line 268) | func (x *TunnelMessage) String() string { method ProtoMessage (line 272) | func (*TunnelMessage) ProtoMessage() {} method ProtoReflect (line 274) | func (x *TunnelMessage) ProtoReflect() protoreflect.Message { method Descriptor (line 287) | func (*TunnelMessage) Descriptor() ([]byte, []int) { method GetId (line 291) | func (x *TunnelMessage) GetId() string { method GetProtocol (line 298) | func (x *TunnelMessage) GetProtocol() string { method GetData (line 305) | func (x *TunnelMessage) GetData() []byte { method GetGuestAddr (line 312) | func (x *TunnelMessage) GetGuestAddr() string { method GetUdpTargetAddr (line 319) | func (x *TunnelMessage) GetUdpTargetAddr() string { type TimeSyncRequest (line 326) | type TimeSyncRequest struct method Reset (line 333) | func (x *TimeSyncRequest) Reset() { method String (line 340) | func (x *TimeSyncRequest) String() string { method ProtoMessage (line 344) | func (*TimeSyncRequest) ProtoMessage() {} method ProtoReflect (line 346) | func (x *TimeSyncRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 359) | func (*TimeSyncRequest) Descriptor() ([]byte, []int) { method GetHostTime (line 363) | func (x *TimeSyncRequest) GetHostTime() *timestamppb.Timestamp { type TimeSyncResponse (line 370) | type TimeSyncResponse struct method Reset (line 379) | func (x *TimeSyncResponse) Reset() { method String (line 386) | func (x *TimeSyncResponse) String() string { method ProtoMessage (line 390) | func (*TimeSyncResponse) ProtoMessage() {} method ProtoReflect (line 392) | func (x *TimeSyncResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 405) | func (*TimeSyncResponse) Descriptor() ([]byte, []int) { method GetAdjusted (line 409) | func (x *TimeSyncResponse) GetAdjusted() bool { method GetDriftMs (line 416) | func (x *TimeSyncResponse) GetDriftMs() int64 { method GetError (line 423) | func (x *TimeSyncResponse) GetError() string { constant file_guestservice_proto_rawDesc (line 432) | file_guestservice_proto_rawDesc = "" + function file_guestservice_proto_rawDescGZIP (line 476) | func file_guestservice_proto_rawDescGZIP() []byte { function init (line 519) | func init() { file_guestservice_proto_init() } function file_guestservice_proto_init (line 520) | func file_guestservice_proto_init() { FILE: pkg/guestagent/api/guestservice_grpc.pb.go constant _ (line 20) | _ = grpc.SupportPackageIsVersion9 constant GuestService_GetInfo_FullMethodName (line 23) | GuestService_GetInfo_FullMethodName = "/GuestService/GetInfo" constant GuestService_GetEvents_FullMethodName (line 24) | GuestService_GetEvents_FullMethodName = "/GuestService/GetEvents" constant GuestService_PostInotify_FullMethodName (line 25) | GuestService_PostInotify_FullMethodName = "/GuestService/PostInotify" constant GuestService_Tunnel_FullMethodName (line 26) | GuestService_Tunnel_FullMethodName = "/GuestService/Tunnel" constant GuestService_SyncTime_FullMethodName (line 27) | GuestService_SyncTime_FullMethodName = "/GuestService/SyncTime" type GuestServiceClient (line 33) | type GuestServiceClient interface type guestServiceClient (line 41) | type guestServiceClient struct method GetInfo (line 49) | func (c *guestServiceClient) GetInfo(ctx context.Context, in *emptypb.... method GetEvents (line 59) | func (c *guestServiceClient) GetEvents(ctx context.Context, in *emptyp... method PostInotify (line 78) | func (c *guestServiceClient) PostInotify(ctx context.Context, opts ...... method Tunnel (line 91) | func (c *guestServiceClient) Tunnel(ctx context.Context, opts ...grpc.... method SyncTime (line 104) | func (c *guestServiceClient) SyncTime(ctx context.Context, in *TimeSyn... function NewGuestServiceClient (line 45) | func NewGuestServiceClient(cc grpc.ClientConnInterface) GuestServiceClie... type GuestServiceServer (line 117) | type GuestServiceServer interface type UnimplementedGuestServiceServer (line 131) | type UnimplementedGuestServiceServer struct method GetInfo (line 133) | func (UnimplementedGuestServiceServer) GetInfo(context.Context, *empty... method GetEvents (line 136) | func (UnimplementedGuestServiceServer) GetEvents(*emptypb.Empty, grpc.... method PostInotify (line 139) | func (UnimplementedGuestServiceServer) PostInotify(grpc.ClientStreamin... method Tunnel (line 142) | func (UnimplementedGuestServiceServer) Tunnel(grpc.BidiStreamingServer... method SyncTime (line 145) | func (UnimplementedGuestServiceServer) SyncTime(context.Context, *Time... method mustEmbedUnimplementedGuestServiceServer (line 148) | func (UnimplementedGuestServiceServer) mustEmbedUnimplementedGuestServ... method testEmbeddedByValue (line 149) | func (UnimplementedGuestServiceServer) testEmbeddedByValue() ... type UnsafeGuestServiceServer (line 154) | type UnsafeGuestServiceServer interface function RegisterGuestServiceServer (line 158) | func RegisterGuestServiceServer(s grpc.ServiceRegistrar, srv GuestServic... function _GuestService_GetInfo_Handler (line 169) | func _GuestService_GetInfo_Handler(srv interface{}, ctx context.Context,... function _GuestService_GetEvents_Handler (line 187) | func _GuestService_GetEvents_Handler(srv interface{}, stream grpc.Server... function _GuestService_PostInotify_Handler (line 198) | func _GuestService_PostInotify_Handler(srv interface{}, stream grpc.Serv... function _GuestService_Tunnel_Handler (line 205) | func _GuestService_Tunnel_Handler(srv interface{}, stream grpc.ServerStr... function _GuestService_SyncTime_Handler (line 212) | func _GuestService_SyncTime_Handler(srv interface{}, ctx context.Context... FILE: pkg/guestagent/api/ipport.go method HostString (line 11) | func (x *IPPort) HostString() string { FILE: pkg/guestagent/api/server/server.go function StartServer (line 22) | func StartServer(ctx context.Context, lis net.Listener, guest *GuestServ... type GuestServer (line 47) | type GuestServer struct method GetInfo (line 53) | func (s *GuestServer) GetInfo(ctx context.Context, _ *emptypb.Empty) (... method GetEvents (line 57) | func (s *GuestServer) GetEvents(_ *emptypb.Empty, stream api.GuestServ... method PostInotify (line 70) | func (s *GuestServer) PostInotify(server api.GuestService_PostInotifyS... method Tunnel (line 80) | func (s *GuestServer) Tunnel(stream api.GuestService_TunnelServer) err... method SyncTime (line 84) | func (s *GuestServer) SyncTime(_ context.Context, req *api.TimeSyncReq... FILE: pkg/guestagent/fakecloudinit/fakecloudinit_darwin.go function Run (line 27) | func Run(ctx context.Context) error { function enableSSHD (line 45) | func enableSSHD(ctx context.Context) error { function processMetaData (line 54) | func processMetaData(ctx context.Context, mnt string) error { function setLocalHostname (line 75) | func setLocalHostname(ctx context.Context, hostname string) error { function processUserData (line 84) | func processUserData(ctx context.Context, mnt string) error { function mountFSTabEntry (line 145) | func mountFSTabEntry(m []string) error { function mountVirtiofs (line 160) | func mountVirtiofs(pseudoTag, dir string) error { function setTimezone (line 186) | func setTimezone(ctx context.Context, timezone string) error { function generatePassword (line 195) | func generatePassword() (string, error) { function populateHomeDir (line 205) | func populateHomeDir(ctx context.Context, uid int, homedir string) error { function createUser (line 221) | func createUser(ctx context.Context, u *cloudinittypes.User) error { function writeSudoers (line 307) | func writeSudoers(userName, sudo string) error { function writeFiles (line 326) | func writeFiles(ctx context.Context, entry cloudinittypes.WriteFile) err... function setResolvConf (line 354) | func setResolvConf(ctx context.Context, resolvConf *cloudinittypes.Resol... function runBootScripts (line 365) | func runBootScripts(ctx context.Context) error { FILE: pkg/guestagent/guestagent.go type Agent (line 13) | type Agent interface FILE: pkg/guestagent/guestagent_linux.go function New (line 23) | func New(ctx context.Context, ticker ticker.Ticker, runtimeDir string) (... type agent (line 50) | type agent struct method collectEvent (line 91) | func (a *agent) collectEvent(ctx context.Context, st eventState) (*api... method Events (line 114) | func (a *agent) Events(ctx context.Context, ch chan *api.Event) { method LocalPorts (line 146) | func (a *agent) LocalPorts(_ context.Context) ([]*api.IPPort, error) { method Info (line 200) | func (a *agent) Info(ctx context.Context) (*api.Info, error) { method HandleInotify (line 212) | func (a *agent) HandleInotify(event *api.Inotify) { method Close (line 223) | func (a *agent) Close() error { method LoadEventState (line 238) | func (a *agent) LoadEventState() (eventState, error) { method SaveEventState (line 259) | func (a *agent) SaveEventState(st eventState) error { type eventState (line 60) | type eventState struct function comparePorts (line 64) | func comparePorts(old, neww []*api.IPPort) (added, removed []*api.IPPort) { function isEventEmpty (line 108) | func isEventEmpty(ev *api.Event) bool { constant eventStateFileName (line 233) | eventStateFileName = "event-state.json" FILE: pkg/guestagent/kubernetesservice/kubernetesservice.go type Protocol (line 25) | type Protocol constant TCP (line 28) | TCP Protocol = "tcp" constant UDP (line 29) | UDP Protocol = "udp" type Entry (line 32) | type Entry struct type ServiceWatcher (line 38) | type ServiceWatcher struct method Start (line 48) | func (s *ServiceWatcher) Start(ctx context.Context) { method loopAttemptToStartKubectl (line 53) | func (s *ServiceWatcher) loopAttemptToStartKubectl(ctx context.Context) { method attemptToStartKubectl (line 69) | func (s *ServiceWatcher) attemptToStartKubectl(ctx context.Context) { method startAndStreamKubectl (line 126) | func (s *ServiceWatcher) startAndStreamKubectl(cmd *exec.Cmd) error { method readKubectlStream (line 149) | func (s *ServiceWatcher) readKubectlStream(r io.Reader) error { method GetPorts (line 195) | func (s *ServiceWatcher) GetPorts() []Entry { function NewServiceWatcher (line 44) | func NewServiceWatcher() *ServiceWatcher { function chooseKubeconfig (line 92) | func chooseKubeconfig() string { function canGetServices (line 109) | func canGetServices(ctx context.Context, kubectl, kubeconfig string) err... FILE: pkg/guestagent/kubernetesservice/kubernetesservice_test.go function TestGetPorts (line 14) | func TestGetPorts(t *testing.T) { function TestReadKubectlStream (line 119) | func TestReadKubectlStream(t *testing.T) { FILE: pkg/guestagent/kubernetesservice/types.go type service (line 10) | type service struct type objectMeta (line 15) | type objectMeta struct type serviceSpec (line 20) | type serviceSpec struct type servicePort (line 25) | type servicePort struct type serviceType (line 33) | type serviceType constant serviceTypeNodePort (line 36) | serviceTypeNodePort serviceType = "NodePort" constant serviceTypeLoadBalancer (line 37) | serviceTypeLoadBalancer serviceType = "LoadBalancer" type k8sProtocol (line 40) | type k8sProtocol constant protocolTCP (line 43) | protocolTCP k8sProtocol = "TCP" constant protocolUDP (line 44) | protocolUDP k8sProtocol = "UDP" type eventType (line 47) | type eventType constant added (line 50) | added eventType = "ADDED" constant modified (line 51) | modified eventType = "MODIFIED" constant deleted (line 52) | deleted eventType = "DELETED" FILE: pkg/guestagent/serialport/serialconn_linux.go type SerialConn (line 11) | type SerialConn struct method Read (line 27) | func (c *SerialConn) Read(b []byte) (n int, err error) { method Write (line 31) | func (c *SerialConn) Write(b []byte) (n int, err error) { method Close (line 35) | func (c *SerialConn) Close() error { method LocalAddr (line 41) | func (c *SerialConn) LocalAddr() net.Addr { method RemoteAddr (line 45) | func (c *SerialConn) RemoteAddr() net.Addr { method SetDeadline (line 49) | func (c *SerialConn) SetDeadline(_ time.Time) error { method SetReadDeadline (line 53) | func (c *SerialConn) SetReadDeadline(_ time.Time) error { method SetWriteDeadline (line 57) | func (c *SerialConn) SetWriteDeadline(_ time.Time) error { function DialSerial (line 18) | func DialSerial(serialDevice string) (*SerialConn, error) { FILE: pkg/guestagent/serialport/seriallistener_linux.go type SerialListener (line 14) | type SerialListener struct method ok (line 29) | func (ln *SerialListener) ok() bool { method Accept (line 33) | func (ln *SerialListener) Accept() (net.Conn, error) { method Close (line 44) | func (ln *SerialListener) Close() error { method Addr (line 60) | func (ln *SerialListener) Addr() net.Addr { function Listen (line 20) | func Listen(serialDevice string) (net.Listener, error) { FILE: pkg/guestagent/serialport/serialport_linux.go function openPort (line 12) | func openPort(name string) (p *Port, err error) { type Port (line 32) | type Port struct method Read (line 36) | func (p *Port) Read(b []byte) (n int, err error) { method Write (line 40) | func (p *Port) Write(b []byte) (n int, err error) { method Close (line 44) | func (p *Port) Close() (err error) { FILE: pkg/guestagent/sockets/sockets.go constant TCP (line 13) | TCP Kind = "tcp" constant TCP6 (line 14) | TCP6 Kind = "tcp6" constant UDP (line 15) | UDP Kind = "udp" constant UDP6 (line 16) | UDP6 Kind = "udp6" constant TCPEstablished (line 23) | TCPEstablished State = 0x1 constant TCPListen (line 24) | TCPListen State = 0xA constant UDPUnconnected (line 25) | UDPUnconnected State = 0x7 type Socket (line 28) | type Socket struct FILE: pkg/guestagent/sockets/sockets_linux.go function buildInetDiagReqV2 (line 16) | func buildInetDiagReqV2(family, proto int) []byte { function query (line 35) | func query(conn *netlink.Conn, family, proto int) ([]netlink.Message, er... function parseMessages (line 51) | func parseMessages(msgs []netlink.Message, proto int) ([]Socket, error) { function NewLister (line 100) | func NewLister() (*Lister, error) { type Lister (line 108) | type Lister struct method List (line 112) | func (lister *Lister) List() ([]Socket, error) { method Close (line 133) | func (lister *Lister) Close() error { FILE: pkg/guestagent/sockets/sockets_linux_test.go function diagMsg (line 23) | func diagMsg(family int, state byte, port uint16, ip net.IP) netlink.Mes... function TestBuildInetDiagReqV2 (line 40) | func TestBuildInetDiagReqV2(t *testing.T) { function TestParseMessages_TCPv4 (line 55) | func TestParseMessages_TCPv4(t *testing.T) { function TestParseMessages_UDPv6 (line 77) | func TestParseMessages_UDPv6(t *testing.T) { function TestParseMessages_ShortDataSkipped (line 99) | func TestParseMessages_ShortDataSkipped(t *testing.T) { function TestListS_Integration (line 106) | func TestListS_Integration(t *testing.T) { FILE: pkg/guestagent/ticker/compound.go function NewCompoundTicker (line 12) | func NewCompoundTicker(t1, t2 Ticker) Ticker { type compoundTicker (line 16) | type compoundTicker struct method Chan (line 22) | func (ticker *compoundTicker) Chan() <-chan time.Time { method Stop (line 45) | func (ticker *compoundTicker) Stop() { FILE: pkg/guestagent/ticker/ebpf_linux.go function NewEbpfTicker (line 19) | func NewEbpfTicker(tracepoints []string) (Ticker, error) { type ebpfTicker (line 78) | type ebpfTicker struct method Chan (line 86) | func (ticker *ebpfTicker) Chan() <-chan time.Time { method Stop (line 90) | func (ticker *ebpfTicker) Stop() { function buildEbpfProg (line 106) | func buildEbpfProg(events *ebpf.Map) (*ebpf.Program, error) { FILE: pkg/guestagent/ticker/simple.go function NewSimpleTicker (line 13) | func NewSimpleTicker(ticker *time.Ticker) Ticker { type simpleTicker (line 23) | type simpleTicker struct method Chan (line 30) | func (ticker *simpleTicker) Chan() <-chan time.Time { method Stop (line 54) | func (ticker *simpleTicker) Stop() { FILE: pkg/guestagent/ticker/ticker.go type Ticker (line 10) | type Ticker interface FILE: pkg/guestagent/timesync/timesync_linux.go function SetSystemTime (line 12) | func SetSystemTime(t time.Time) error { FILE: pkg/guestagent/timesync/timesync_others.go function SetSystemTime (line 15) | func SetSystemTime(_ time.Time) error { FILE: pkg/guestpatch/macos/macos_darwin.go function attachImageWithRetry (line 24) | func attachImageWithRetry(ctx context.Context, disk string, retry int) (... function Patch (line 43) | func Patch(ctx context.Context, disk string) error { function patchWriteGuestFiles (line 52) | func patchWriteGuestFiles(ctx context.Context, disk string) error { function patchFixOwnership (line 83) | func patchFixOwnership(ctx context.Context, disk string) error { function writeGuestFiles (line 122) | func writeGuestFiles(ctx context.Context, dataSliceDevice, mnt string) e... FILE: pkg/hostagent/api/api.go type Info (line 6) | type Info struct FILE: pkg/hostagent/api/client/client.go type HostAgentClient (line 19) | type HostAgentClient interface function NewHostAgentClient (line 26) | func NewHostAgentClient(socketPath string) (HostAgentClient, error) { function NewHostAgentClientWithHTTPClient (line 34) | func NewHostAgentClientWithHTTPClient(hc *http.Client) HostAgentClient { type client (line 42) | type client struct method HTTPClient (line 50) | func (c *client) HTTPClient() *http.Client { method Info (line 54) | func (c *client) Info(ctx context.Context) (*api.Info, error) { FILE: pkg/hostagent/api/server/server.go type Backend (line 15) | type Backend struct method onError (line 19) | func (b *Backend) onError(w http.ResponseWriter, err error, ec int) { method GetInfo (line 31) | func (b *Backend) GetInfo(w http.ResponseWriter, r *http.Request) { function AddRoutes (line 56) | func AddRoutes(r *http.ServeMux, b *Backend) { FILE: pkg/hostagent/dns/dns.go constant truncateSize (line 21) | truncateSize = 512 type Network (line 25) | type Network constant TCP (line 28) | TCP Network = "tcp" constant UDP (line 29) | UDP Network = "udp" type HandlerOptions (line 32) | type HandlerOptions struct type ServerOptions (line 39) | type ServerOptions struct type Handler (line 46) | type Handler struct method lookupCnameToHost (line 75) | func (h *Handler) lookupCnameToHost(cname string) string { method handleQuery (line 140) | func (h *Handler) handleQuery(ctx context.Context, w dns.ResponseWrite... method handleDefault (line 303) | func (h *Handler) handleDefault(w dns.ResponseWriter, req *dns.Msg) { method ServeDNS (line 334) | func (h *Handler) ServeDNS(w dns.ResponseWriter, req *dns.Msg) { type Server (line 55) | type Server struct method Shutdown (line 60) | func (s *Server) Shutdown() { function newStaticClientConfig (line 69) | func newStaticClientConfig(ips []string) (*dns.ClientConfig, error) { function NewHandler (line 88) | func NewHandler(opts HandlerOptions) (dns.Handler, error) { function Start (line 343) | func Start(opts ServerOptions) (*Server, error) { function listenAndServe (line 362) | func listenAndServe(network Network, opts ServerOptions) (*dns.Server, e... function chunkify (line 386) | func chunkify(buffer string, limit int) []string { FILE: pkg/hostagent/dns/dns_test.go function TestNewHandler (line 23) | func TestNewHandler(t *testing.T) { function TestDNSRecords (line 131) | func TestDNSRecords(t *testing.T) { type TestResponseWriter (line 253) | type TestResponseWriter struct method LocalAddr (line 256) | func (r TestResponseWriter) LocalAddr() net.Addr { method RemoteAddr (line 261) | func (r TestResponseWriter) RemoteAddr() net.Addr { method Network (line 266) | func (r TestResponseWriter) Network() string { method WriteMsg (line 271) | func (r TestResponseWriter) WriteMsg(newMsg *dns.Msg) error { method Write (line 277) | func (r TestResponseWriter) Write([]byte) (int, error) { method Close (line 282) | func (r TestResponseWriter) Close() error { method TsigStatus (line 287) | func (r TestResponseWriter) TsigStatus() error { method TsigTimersOnly (line 292) | func (r TestResponseWriter) TsigTimersOnly(bool) { method Hijack (line 297) | func (r TestResponseWriter) Hijack() { type TestAddr (line 300) | type TestAddr struct method Network (line 302) | func (r TestAddr) Network() string { method String (line 306) | func (r TestAddr) String() string { FILE: pkg/hostagent/events/events.go type Status (line 10) | type Status struct type CloudInitProgress (line 31) | type CloudInitProgress struct type PortForwardEventType (line 40) | type PortForwardEventType constant PortForwardEventForwarding (line 43) | PortForwardEventForwarding PortForwardEventType = "forwarding" constant PortForwardEventNotForwarding (line 44) | PortForwardEventNotForwarding PortForwardEventType = "not-forwarding" constant PortForwardEventStopping (line 45) | PortForwardEventStopping PortForwardEventType = "stopping" constant PortForwardEventFailed (line 46) | PortForwardEventFailed PortForwardEventType = "failed" type PortForwardEvent (line 49) | type PortForwardEvent struct type VsockEventType (line 57) | type VsockEventType constant VsockEventStarted (line 60) | VsockEventStarted VsockEventType = "started" constant VsockEventSkipped (line 61) | VsockEventSkipped VsockEventType = "skipped" constant VsockEventFailed (line 62) | VsockEventFailed VsockEventType = "failed" type VsockEvent (line 65) | type VsockEvent struct type Event (line 72) | type Event struct FILE: pkg/hostagent/events/watcher.go function Watch (line 18) | func Watch(ctx context.Context, haStdoutPath, haStderrPath string, begin... FILE: pkg/hostagent/hostagent.go type HostAgent (line 52) | type HostAgent struct method emitEvent (line 327) | func (a *HostAgent) emitEvent(_ context.Context, ev events.Event) { method emitCloudInitProgressEvent (line 343) | func (a *HostAgent) emitCloudInitProgressEvent(ctx context.Context, pr... method emitPortForwardEvent (line 354) | func (a *HostAgent) emitPortForwardEvent(ctx context.Context, pfEvent ... method emitVsockEvent (line 365) | func (a *HostAgent) emitVsockEvent(ctx context.Context, vsockEvent *ev... method Run (line 381) | func (a *HostAgent) Run(ctx context.Context) error { method startRoutinesAndWait (line 490) | func (a *HostAgent) startRoutinesAndWait(ctx context.Context, errCh <-... method Info (line 521) | func (a *HostAgent) Info(_ context.Context) (*hostagentapi.Info, error) { method sshAddressPort (line 529) | func (a *HostAgent) sshAddressPort() (sshAddress string, sshPort int) { method startHostAgentRoutines (line 535) | func (a *HostAgent) startHostAgentRoutines(ctx context.Context) error { method cleanUp (line 670) | func (a *HostAgent) cleanUp(fn func() error) { method close (line 676) | func (a *HostAgent) close() error { method watchGuestAgentEvents (line 690) | func (a *HostAgent) watchGuestAgentEvents(ctx context.Context) { method addStaticPortForwardsFromList (line 774) | func (a *HostAgent) addStaticPortForwardsFromList(ctx context.Context,... method separateStaticPortForwards (line 797) | func (a *HostAgent) separateStaticPortForwards() []limatype.PortForward { method getOrCreateClient (line 823) | func (a *HostAgent) getOrCreateClient(ctx context.Context) (*guestagen... method createConnection (line 834) | func (a *HostAgent) createConnection(ctx context.Context) (net.Conn, e... method processGuestAgentEvents (line 844) | func (a *HostAgent) processGuestAgentEvents(ctx context.Context, clien... method watchCloudInitProgress (line 990) | func (a *HostAgent) watchCloudInitProgress(ctx context.Context) { type options (line 89) | type options struct type Opt (line 95) | type Opt function WithGuestAgentBinary (line 97) | func WithGuestAgentBinary(s string) Opt { function WithNerdctlArchive (line 104) | func WithNerdctlArchive(s string) Opt { function WithCloudInitProgress (line 111) | func WithCloudInitProgress(enabled bool) Opt { function New (line 121) | func New(ctx context.Context, instName string, stdout io.Writer, signalC... function writeSSHConfigFile (line 276) | func writeSSHConfigFile(sshPath, instName, instDir, instSSHAddress strin... function determineSSHLocalPort (line 309) | func determineSSHLocalPort(confLocalPort int, instName, limaVersion stri... function generatePassword (line 376) | func generatePassword(length int) (string, error) { function isGuestAgentSocketAccessible (line 818) | func isGuestAgentSocketAccessible(ctx context.Context, client *guestagen... constant verbForward (line 893) | verbForward = "forward" constant verbCancel (line 894) | verbCancel = "cancel" function executeSSH (line 897) | func executeSSH(ctx context.Context, sshConfig *ssh.SSHConfig, sshAddres... function forwardSSH (line 912) | func forwardSSH(ctx context.Context, sshConfig *ssh.SSHConfig, sshAddres... function isCloudInitFinished (line 1122) | func isCloudInitFinished(line string) bool { function isStartedCloudInitMainService (line 1127) | func isStartedCloudInitMainService(line string) bool { function isDeactivatedCloudInitMainService (line 1132) | func isDeactivatedCloudInitMainService(line string) bool { function copyToHost (line 1138) | func copyToHost(ctx context.Context, sshConfig *ssh.SSHConfig, sshAddres... FILE: pkg/hostagent/hostagent_unix.go function adjustNofileRlimit (line 20) | func adjustNofileRlimit() { FILE: pkg/hostagent/hostagent_windows.go function adjustNofileRlimit (line 6) | func adjustNofileRlimit() {} FILE: pkg/hostagent/inotify.go constant CacheSize (line 20) | CacheSize = 10000 method startInotify (line 28) | func (a *HostAgent) startInotify(ctx context.Context) error { method setupWatchers (line 70) | func (a *HostAgent) setupWatchers(events chan notify.EventInfo) error { function translateToGuestPath (line 95) | func translateToGuestPath(hostPath string, symlinks, locations map[strin... function filterEvents (line 113) | func filterEvents(event notify.EventInfo, stat os.FileInfo) bool { FILE: pkg/hostagent/inotify_darwin.go function GetNotifyEvent (line 8) | func GetNotifyEvent() notify.Event { FILE: pkg/hostagent/inotify_linux.go function GetNotifyEvent (line 8) | func GetNotifyEvent() notify.Event { FILE: pkg/hostagent/inotify_others.go function GetNotifyEvent (line 10) | func GetNotifyEvent() notify.Event { FILE: pkg/hostagent/inotify_test.go function TestTranslateToGuestPath (line 12) | func TestTranslateToGuestPath(t *testing.T) { FILE: pkg/hostagent/mount.go type mount (line 21) | type mount struct method setupMounts (line 25) | func (a *HostAgent) setupMounts(ctx context.Context) ([]*mount, error) { method setupMount (line 41) | func (a *HostAgent) setupMount(ctx context.Context, m limatype.Mount) (*... FILE: pkg/hostagent/port.go type portForwarder (line 19) | type portForwarder struct method emitEvent (line 43) | func (pf *portForwarder) emitEvent(ev *events.PortForwardEvent) { method forwardingAddresses (line 63) | func (pf *portForwarder) forwardingAddresses(guest *api.IPPort) (hostA... method OnEvent (line 98) | func (pf *portForwarder) OnEvent(ctx context.Context, ev *api.Event) { constant sshGuestPort (line 28) | sshGuestPort = 22 function newPortForwarder (line 32) | func newPortForwarder(sshConfig *ssh.SSHConfig, sshAddressPort func() (s... function hostAddress (line 49) | func hostAddress(rule limatype.PortForward, guest *api.IPPort) string { FILE: pkg/hostagent/port_darwin.go function forwardTCP (line 23) | func forwardTCP(ctx context.Context, sshConfig *ssh.SSHConfig, sshAddres... type pseudoLoopbackForwarder (line 92) | type pseudoLoopbackForwarder struct method Serve (line 122) | func (plf *pseudoLoopbackForwarder) Serve() error { method forward (line 149) | func (plf *pseudoLoopbackForwarder) forward(ac *net.TCPConn) error { method Close (line 160) | func (plf *pseudoLoopbackForwarder) Close() error { function newPseudoLoopbackForwarder (line 98) | func newPseudoLoopbackForwarder(localPort int, unixSock string) (*pseudo... FILE: pkg/hostagent/port_others.go function forwardTCP (line 14) | func forwardTCP(ctx context.Context, sshConfig *ssh.SSHConfig, sshAddres... FILE: pkg/hostagent/port_windows.go function forwardTCP (line 12) | func forwardTCP(ctx context.Context, sshConfig *ssh.SSHConfig, sshAddres... FILE: pkg/hostagent/requirements.go method waitForRequirements (line 20) | func (a *HostAgent) waitForRequirements(label string, requirements []req... function prefixExportParam (line 82) | func prefixExportParam(script string, guestOS *limatype.OS) (string, err... method bashAvailable (line 108) | func (a *HostAgent) bashAvailable() bool { method waitForRequirement (line 112) | func (a *HostAgent) waitForRequirement(r requirement) error { type requirement (line 150) | type requirement struct method essentialRequirements (line 158) | func (a *HostAgent) essentialRequirements() []requirement { method optionalRequirements (line 225) | func (a *HostAgent) optionalRequirements() []requirement { method finalRequirements (line 270) | func (a *HostAgent) finalRequirements() []requirement { FILE: pkg/hostagent/timesync.go constant timeSyncInterval (line 14) | timeSyncInterval = 10 * time.Second constant timeSyncStartupDelay (line 15) | timeSyncStartupDelay = 5 * time.Second method startTimeSync (line 18) | func (a *HostAgent) startTimeSync(ctx context.Context) { method syncTimeOnce (line 48) | func (a *HostAgent) syncTimeOnce(ctx context.Context) { FILE: pkg/httpclientutil/httpclientutil.go function Get (line 22) | func Get(ctx context.Context, c *http.Client, url string) (*http.Respons... function Head (line 38) | func Head(ctx context.Context, c *http.Client, url string) (*http.Respon... function Post (line 54) | func Post(ctx context.Context, c *http.Client, url string, body io.Reade... function readAtMost (line 70) | func readAtMost(r io.Reader, maxBytes int) ([]byte, error) { constant HTTPStatusErrorBodyMaxLength (line 86) | HTTPStatusErrorBodyMaxLength = 64 * 1024 type HTTPStatusError (line 89) | type HTTPStatusError struct method Error (line 99) | func (e *HTTPStatusError) Error() string { function Successful (line 109) | func Successful(resp *http.Response) error { function NewHTTPClientWithDialFn (line 125) | func NewHTTPClientWithDialFn(dialFn func(ctx context.Context) (net.Conn,... FILE: pkg/httpclientutil/httpclientutil_others.go function NewHTTPClientWithSocketPath (line 17) | func NewHTTPClientWithSocketPath(socketPath string) (*http.Client, error) { FILE: pkg/httpclientutil/httpclientutil_windows.go function NewHTTPClientWithSocketPath (line 15) | func NewHTTPClientWithSocketPath(socketPath string) (*http.Client, error) { FILE: pkg/httputil/httputil.go type ErrorJSON (line 7) | type ErrorJSON struct FILE: pkg/identifiers/validate.go constant maxLength (line 42) | maxLength = 76 constant alphanum (line 43) | alphanum = `[A-Za-z0-9]+` constant separators (line 44) | separators = `[._-]` function Validate (line 57) | func Validate(s string) error { function reGroup (line 72) | func reGroup(s string) string { function reAnchor (line 76) | func reAnchor(s string) string { FILE: pkg/identifiers/validate_test.go function TestValidIdentifiers (line 34) | func TestValidIdentifiers(t *testing.T) { function TestInvalidIdentifiers (line 55) | func TestInvalidIdentifiers(t *testing.T) { FILE: pkg/imgutil/manager.go type ImageDiskManager (line 14) | type ImageDiskManager interface FILE: pkg/imgutil/nativeimgutil/asifutil/asif_darwin.go function NewASIF (line 21) | func NewASIF(path string, size int64) error { function NewAttachedASIF (line 40) | func NewAttachedASIF(path string, size int64) (string, *os.File, error) { function DetachASIF (line 59) | func DetachASIF(devicePath string) error { function ResizeASIF (line 67) | func ResizeASIF(path string, size int64) error { type AttachedDisk (line 75) | type AttachedDisk struct function parseDiskutilImageAttachOutput (line 83) | func parseDiskutilImageAttachOutput(xmlStr string) (*AttachedDisk, error) { function DiskutilImageAttachNoMount (line 130) | func DiskutilImageAttachNoMount(ctx context.Context, disk string) (*Atta... FILE: pkg/imgutil/nativeimgutil/asifutil/asif_darwin_test.go function TestParseDiskutilImageAttachOutput (line 12) | func TestParseDiskutilImageAttachOutput(t *testing.T) { FILE: pkg/imgutil/nativeimgutil/asifutil/asif_others.go function NewASIF (line 15) | func NewASIF(_ string, _ int64) error { function NewAttachedASIF (line 19) | func NewAttachedASIF(_ string, _ int64) (string, *os.File, error) { function DetachASIF (line 23) | func DetachASIF(_ string) error { function ResizeASIF (line 27) | func ResizeASIF(_ string, _ int64) error { FILE: pkg/imgutil/nativeimgutil/fuzz_test.go function FuzzConvertToRaw (line 15) | func FuzzConvertToRaw(f *testing.F) { FILE: pkg/imgutil/nativeimgutil/nativeimgutil.go constant sectorSize (line 35) | sectorSize = 512 type NativeImageUtil (line 38) | type NativeImageUtil struct method CreateDisk (line 220) | func (n *NativeImageUtil) CreateDisk(_ context.Context, disk string, s... method Convert (line 235) | func (n *NativeImageUtil) Convert(_ context.Context, imageType image.T... method ResizeDisk (line 240) | func (n *NativeImageUtil) ResizeDisk(_ context.Context, disk string, s... method MakeSparse (line 246) | func (n *NativeImageUtil) MakeSparse(_ context.Context, f *os.File, of... function roundUp (line 41) | func roundUp(size int64) int64 { function convertTo (line 49) | func convertTo(destType image.Type, source, dest string, size *int64, al... function convertRawToRaw (line 169) | func convertRawToRaw(source, dest string, size *int64) error { function convertASIFToASIF (line 194) | func convertASIFToASIF(source, dest string, size *int64) error { function makeSparse (line 212) | func makeSparse(f *os.File, offset int64) error { FILE: pkg/imgutil/nativeimgutil/nativeimgutil_test.go function TestRoundUp (line 18) | func TestRoundUp(t *testing.T) { function createImg (line 36) | func createImg(ctx context.Context, name, format, size string) error { function TestConvertToRaw (line 40) | func TestConvertToRaw(t *testing.T) { function assertFileEquals (line 100) | func assertFileEquals(t *testing.T, expected, actual string) { FILE: pkg/imgutil/proxyimgutil/proxyimgutil.go type ImageDiskManager (line 21) | type ImageDiskManager struct method CreateDisk (line 35) | func (p *ImageDiskManager) CreateDisk(ctx context.Context, disk string... method ResizeDisk (line 47) | func (p *ImageDiskManager) ResizeDisk(ctx context.Context, disk string... method Convert (line 60) | func (p *ImageDiskManager) Convert(ctx context.Context, imageType imag... method MakeSparse (line 74) | func (p *ImageDiskManager) MakeSparse(ctx context.Context, f *os.File,... function NewDiskUtil (line 27) | func NewDiskUtil(_ context.Context) imgutil.ImageDiskManager { FILE: pkg/instance/ansible.go function runAnsibleProvision (line 20) | func runAnsibleProvision(ctx context.Context, inst *limatype.Instance) e... function runAnsiblePlaybook (line 32) | func runAnsiblePlaybook(ctx context.Context, inst *limatype.Instance, pl... function createAnsibleInventory (line 46) | func createAnsibleInventory(inst *limatype.Instance) (string, error) { function getAnsibleEnvironment (line 69) | func getAnsibleEnvironment(inst *limatype.Instance) []string { FILE: pkg/instance/clone.go function CloneOrRename (line 25) | func CloneOrRename(ctx context.Context, oldInst *limatype.Instance, newI... FILE: pkg/instance/create.go function Create (line 24) | func Create(ctx context.Context, instName string, instConfig []byte, sav... FILE: pkg/instance/delete.go function Delete (line 16) | func Delete(ctx context.Context, inst *limatype.Instance, force bool) er... function unregister (line 38) | func unregister(ctx context.Context, inst *limatype.Instance) error { FILE: pkg/instance/hostname/hostname.go function FromInstName (line 11) | func FromInstName(instName string) string { FILE: pkg/instance/hostname/hostname_test.go function TestFromInstName (line 14) | func TestFromInstName(t *testing.T) { FILE: pkg/instance/restart.go constant launchHostAgentForeground (line 19) | launchHostAgentForeground = false function Restart (line 22) | func Restart(ctx context.Context, inst *limatype.Instance, showProgress ... function RestartForcibly (line 43) | func RestartForcibly(ctx context.Context, inst *limatype.Instance, showP... FILE: pkg/instance/start.go constant DefaultWatchHostAgentEventsTimeout (line 41) | DefaultWatchHostAgentEventsTimeout = 10 * time.Minute type Prepared (line 43) | type Prepared struct function Prepare (line 50) | func Prepare(ctx context.Context, inst *limatype.Instance, guestAgent st... function StartWithPaths (line 168) | func StartWithPaths(ctx context.Context, inst *limatype.Instance, launch... function Start (line 286) | func Start(ctx context.Context, inst *limatype.Instance, launchHostAgent... function waitHostAgentStart (line 290) | func waitHostAgentStart(_ context.Context, haPIDPath, haStderrPath strin... function watchHostAgentEvents (line 304) | func watchHostAgentEvents(ctx context.Context, inst *limatype.Instance, ... function WithWatchHostAgentTimeout (line 395) | func WithWatchHostAgentTimeout(ctx context.Context, timeout time.Duratio... function WithLaunchingShell (line 403) | func WithLaunchingShell(ctx context.Context) context.Context { function isLaunchingShell (line 408) | func isLaunchingShell(ctx context.Context) bool { function watchHostAgentTimeout (line 415) | func watchHostAgentTimeout(ctx context.Context) time.Duration { function LimactlShellCmd (line 422) | func LimactlShellCmd(instName string) string { function ShowMessage (line 430) | func ShowMessage(inst *limatype.Instance) error { function prepareDisk (line 457) | func prepareDisk(ctx context.Context, inst *limatype.Instance) error { FILE: pkg/instance/start_unix.go function execHostAgentForeground (line 20) | func execHostAgentForeground(limactl string, haCmd *exec.Cmd) error { FILE: pkg/instance/start_windows.go function execHostAgentForeground (line 11) | func execHostAgentForeground(_ string, _ *exec.Cmd) error { FILE: pkg/instance/stop.go function StopGracefully (line 25) | func StopGracefully(ctx context.Context, inst *limatype.Instance, isRest... function waitForHostAgentTermination (line 54) | func waitForHostAgentTermination(ctx context.Context, inst *limatype.Ins... function waitForInstanceShutdown (line 84) | func waitForInstanceShutdown(ctx context.Context, inst *limatype.Instanc... function StopForcibly (line 109) | func StopForcibly(inst *limatype.Instance) { FILE: pkg/ioutilx/ioutilx.go function ReadAtMaximum (line 21) | func ReadAtMaximum(r io.Reader, n int64) ([]byte, error) { function FromUTF16le (line 38) | func FromUTF16le(r io.Reader) io.Reader { function FromUTF16leToString (line 44) | func FromUTF16leToString(r io.Reader) (string, error) { function WindowsSubsystemPath (line 53) | func WindowsSubsystemPath(ctx context.Context, orig string) (string, err... function WindowsSubsystemPathForLinux (line 62) | func WindowsSubsystemPathForLinux(ctx context.Context, orig, distro stri... FILE: pkg/iso9660util/fuzz_test.go function FuzzIsISO9660 (line 14) | func FuzzIsISO9660(f *testing.F) { FILE: pkg/iso9660util/iso9660util.go type Entry (line 17) | type Entry struct type WriteOptions (line 22) | type WriteOptions struct type WriteOpt (line 26) | type WriteOpt function WithJoliet (line 28) | func WithJoliet() WriteOpt { function Write (line 34) | func Write(isoPath, label string, layout []Entry, opts ...WriteOpt) error { function WriteFile (line 83) | func WriteFile(fs filesystem.FileSystem, pathStr string, r io.Reader) (i... function IsISO9660 (line 97) | func IsISO9660(imagePath string) (bool, error) { FILE: pkg/iso9660util/joliet.go function writeJoliet (line 18) | func writeJoliet(isoPath, label string, layout []Entry) error { function writeJolietCommand (line 57) | func writeJolietCommand(isoPath, label, workDir string) ([]string, error) { FILE: pkg/jsonschemautil/jsonschemautil.go function Validate (line 13) | func Validate(schemafile, instancefile string) error { FILE: pkg/jsonschemautil/jsonschemautil_test.go function TestValidateValidInstance (line 12) | func TestValidateValidInstance(t *testing.T) { function TestValidateInvalidInstance (line 19) | func TestValidateInvalidInstance(t *testing.T) { FILE: pkg/limactlutil/limactlutil.go function Path (line 19) | func Path() (string, error) { function Inspect (line 25) | func Inspect(ctx context.Context, limactl, instName string) (*limatype.I... FILE: pkg/limainfo/limainfo.go type LimaInfo (line 27) | type LimaInfo struct type DriverExt (line 44) | type DriverExt struct type GuestAgent (line 48) | type GuestAgent struct function New (line 55) | func New(ctx context.Context) (*LimaInfo, error) { FILE: pkg/limatmpl/abs.go method UseAbsLocators (line 20) | func (tmpl *Template) UseAbsLocators() error { method useAbsLocators (line 25) | func (tmpl *Template) useAbsLocators() error { function withVolume (line 75) | func withVolume(path string) (string, error) { function basePath (line 87) | func basePath(locator string) (string, error) { function absPath (line 105) | func absPath(locator, basePath string) (string, error) { FILE: pkg/limatmpl/abs_test.go type useAbsLocatorsTestCase (line 16) | type useAbsLocatorsTestCase struct function TestUseAbsLocators (line 124) | func TestUseAbsLocators(t *testing.T) { function RunUseAbsLocatorTest (line 130) | func RunUseAbsLocatorTest(t *testing.T, tc useAbsLocatorsTestCase) { function TestBasePath (line 143) | func TestBasePath(t *testing.T) { function TestAbsPath (line 198) | func TestAbsPath(t *testing.T) { FILE: pkg/limatmpl/embed.go method Embed (line 32) | func (tmpl *Template) Embed(ctx context.Context, embedAll, defaultBase b... method embedAllBases (line 47) | func (tmpl *Template) embedAllBases(ctx context.Context, embedAll, defau... method embedBase (line 110) | func (tmpl *Template) embedBase(ctx context.Context, baseLocator limatyp... method evalExprImpl (line 136) | func (tmpl *Template) evalExprImpl(prefix string, b []byte) error { method evalExpr (line 148) | func (tmpl *Template) evalExpr() error { method merge (line 159) | func (tmpl *Template) merge(base *Template) error { method mergeBase (line 170) | func (tmpl *Template) mergeBase(base *Template) error { constant mergeDocuments (line 211) | mergeDocuments = ` function listFields (line 265) | func listFields(list string, dstIdx, srcIdx int, field string) (dst, src... method copyField (line 276) | func (tmpl *Template) copyField(dst, src string) { method copyListEntryField (line 285) | func (tmpl *Template) copyListEntryField(list string, dstIdx, srcIdx int... type commentType (line 289) | type commentType constant headComment (line 292) | headComment commentType = "head" constant lineComment (line 293) | lineComment commentType = "line" method copyComment (line 297) | func (tmpl *Template) copyComment(dst, src string, commentType commentTy... method copyComments (line 309) | func (tmpl *Template) copyComments(dst, src string, isMapElement bool) { method copyListEntryComments (line 316) | func (tmpl *Template) copyListEntryComments(list string, dstIdx, srcIdx ... method deleteListEntry (line 322) | func (tmpl *Template) deleteListEntry(list string, idx int) { method upgradeListEntryStringToMapField (line 327) | func (tmpl *Template) upgradeListEntryStringToMapField(list string, idx ... method combineListEntries (line 340) | func (tmpl *Template) combineListEntries() error { method combineAdditionalDisks (line 356) | func (tmpl *Template) combineAdditionalDisks() { method combineMounts (line 416) | func (tmpl *Template) combineMounts() { method combineNetworks (line 503) | func (tmpl *Template) combineNetworks() { function encodeScriptReason (line 565) | func encodeScriptReason(script string) string { constant base64ChunkLength (line 586) | base64ChunkLength = 76 function binaryString (line 590) | func binaryString(s string) string { method updateScript (line 611) | func (tmpl *Template) updateScript(field string, idx int, newName, scrip... method embedAllScripts (line 625) | func (tmpl *Template) embedAllScripts(ctx context.Context, embedAll bool... FILE: pkg/limatmpl/embed_test.go type embedTestCase (line 21) | type embedTestCase struct function TestEmbed (line 420) | func TestEmbed(t *testing.T) { function RunEmbedTest (line 434) | func RunEmbedTest(t *testing.T, tc embedTestCase) { function TestEncodeScriptReason (line 496) | func TestEncodeScriptReason(t *testing.T) { FILE: pkg/limatmpl/github.go constant defaultFilename (line 19) | defaultFilename = ".lima.yaml" function transformGitHubURL (line 29) | func transformGitHubURL(ctx context.Context, input string) (string, erro... function githubUserContentURL (line 77) | func githubUserContentURL(org, repo, branch, filePath string) string { function getGitHubUserContent (line 81) | func getGitHubUserContent(ctx context.Context, org, repo, branch, filePa... function getGitHubDefaultBranch (line 92) | func getGitHubDefaultBranch(ctx context.Context, org, repo string) (stri... function resolveGitHubSymlink (line 138) | func resolveGitHubSymlink(ctx context.Context, org, repo, branch, filePa... function resolveGitHubRedirect (line 179) | func resolveGitHubRedirect(ctx context.Context, org, repo, defaultBranch... function validateGitHubRedirect (line 196) | func validateGitHubRedirect(body, org, origBranch, url string) (string, ... FILE: pkg/limatmpl/locator.go constant yBytesLimit (line 30) | yBytesLimit = 4 * 1024 * 1024 function Read (line 32) | func Read(ctx context.Context, name, locator string) (*Template, error) { function imageTemplate (line 190) | func imageTemplate(tmpl *Template, locator string) bool { function InstNameFromImageURL (line 239) | func InstNameFromImageURL(locator, imageArch string) string { function SeemsTemplateURL (line 285) | func SeemsTemplateURL(arg string) (isTemplate bool, templateName string) { function SeemsHTTPURL (line 300) | func SeemsHTTPURL(arg string) bool { function SeemsFileURL (line 312) | func SeemsFileURL(arg string) bool { function InstNameFromURL (line 320) | func InstNameFromURL(urlStr string) (string, error) { function InstNameFromYAMLPath (line 328) | func InstNameFromYAMLPath(yamlPath string) (string, error) { function transformCustomURL (line 339) | func transformCustomURL(ctx context.Context, locator string) (string, er... function TransformCustomURL (line 391) | func TransformCustomURL(ctx context.Context, locator string) (string, er... FILE: pkg/limatmpl/locator_test.go function TestInstNameFromImageURL (line 17) | func TestInstNameFromImageURL(t *testing.T) { function TestReadImageURLRespectsName (line 66) | func TestReadImageURLRespectsName(t *testing.T) { function TestSeemsTemplateURL (line 81) | func TestSeemsTemplateURL(t *testing.T) { function TestSeemsHTTPURL (line 102) | func TestSeemsHTTPURL(t *testing.T) { function TestSeemsFileURL (line 124) | func TestSeemsFileURL(t *testing.T) { function TestRead (line 143) | func TestRead(t *testing.T) { FILE: pkg/limatmpl/template.go type Template (line 13) | type Template struct method ClearOnError (line 24) | func (tmpl *Template) ClearOnError(err error) error { method Unmarshal (line 35) | func (tmpl *Template) Unmarshal() error { FILE: pkg/limatype/dirnames/dirnames.go constant DotLima (line 18) | DotLima = ".lima" function LimaDir (line 25) | func LimaDir() (string, error) { function LimaConfigDir (line 45) | func LimaConfigDir() (string, error) { function LimaNetworksDir (line 54) | func LimaNetworksDir() (string, error) { function LimaDisksDir (line 63) | func LimaDisksDir() (string, error) { function LimaTemplatesDir (line 72) | func LimaTemplatesDir() (string, error) { function InstanceDir (line 82) | func InstanceDir(name string) (string, error) { function ValidateInstName (line 96) | func ValidateInstName(name string) error { FILE: pkg/limatype/filenames/filenames.go constant CacheDir (line 13) | CacheDir = "_cache" constant ConfigDir (line 14) | ConfigDir = "_config" constant DisksDir (line 15) | DisksDir = "_disks" constant NetworksDir (line 16) | NetworksDir = "_networks" constant TemplatesDir (line 17) | TemplatesDir = "_templates" constant UserPrivateKey (line 23) | UserPrivateKey = "user" constant UserPublicKey (line 24) | UserPublicKey = UserPrivateKey + ".pub" constant NetworksConfig (line 25) | NetworksConfig = "networks.yaml" constant Default (line 26) | Default = "default.yaml" constant Override (line 27) | Override = "override.yaml" constant Base (line 28) | Base = "base.yaml" constant LimaYAML (line 34) | LimaYAML = "lima.yaml" constant LimaVersion (line 35) | LimaVersion = "lima-version" constant CIDataISO (line 36) | CIDataISO = "cidata.iso" constant CIDataISODir (line 37) | CIDataISODir = "cidata" constant CloudConfig (line 38) | CloudConfig = "cloud-config.yaml" constant Image (line 39) | Image = "image" constant ImageIPSW (line 40) | ImageIPSW = "image.ipsw" constant Disk (line 41) | Disk = "disk" constant ISO (line 42) | ISO = "iso" constant BaseDiskLegacy (line 43) | BaseDiskLegacy = "basedisk" constant DiffDiskLegacy (line 44) | DiffDiskLegacy = "diffdisk" constant Kernel (line 45) | Kernel = "kernel" constant KernelCmdline (line 46) | KernelCmdline = "kernel.cmdline" constant Initrd (line 47) | Initrd = "initrd" constant QMPSock (line 48) | QMPSock = "qmp.sock" constant SerialLog (line 49) | SerialLog = "serial.log" constant SerialSock (line 50) | SerialSock = "serial.sock" constant SerialPCILog (line 51) | SerialPCILog = "serialp.log" constant SerialPCISock (line 52) | SerialPCISock = "serialp.sock" constant SerialVirtioLog (line 53) | SerialVirtioLog = "serialv.log" constant SerialVirtioSock (line 54) | SerialVirtioSock = "serialv.sock" constant SSHSock (line 55) | SSHSock = "ssh.sock" constant SSHConfig (line 56) | SSHConfig = "ssh.config" constant VhostSock (line 57) | VhostSock = "virtiofsd-%d.sock" constant VNCDisplayFile (line 58) | VNCDisplayFile = "vncdisplay" constant VNCPasswordFile (line 59) | VNCPasswordFile = "vncpassword" constant GuestAgentSock (line 60) | GuestAgentSock = "ga.sock" constant VirtioPort (line 61) | VirtioPort = "io.lima-vm.guest_agent.0" constant HostAgentPID (line 62) | HostAgentPID = "ha.pid" constant HostAgentSock (line 63) | HostAgentSock = "ha.sock" constant HostAgentStdoutLog (line 64) | HostAgentStdoutLog = "ha.stdout.log" constant HostAgentStderrLog (line 65) | HostAgentStderrLog = "ha.stderr.log" constant ExternalDriverStderrLog (line 66) | ExternalDriverStderrLog = "driver.stderr.log" constant VzIdentifier (line 67) | VzIdentifier = "vz-identifier" constant VzHwModel (line 68) | VzHwModel = "vz-hwmodel" constant VzAux (line 69) | VzAux = "vz-aux" constant VzEfi (line 70) | VzEfi = "vz-efi" constant QemuEfiCodeFD (line 71) | QemuEfiCodeFD = "qemu-efi-code.fd" constant QemuEfiFullFD (line 72) | QemuEfiFullFD = "qemu-efi-full.fd" constant AnsibleInventoryYAML (line 73) | AnsibleInventoryYAML = "ansible-inventory.yaml" constant SocketDir (line 76) | SocketDir = "sock" constant MntDir (line 77) | MntDir = "mnt" constant Protected (line 79) | Protected = "protected" constant DataDisk (line 85) | DataDisk = "datadisk" constant InUseBy (line 86) | InUseBy = "in_use_by" constant LongestSock (line 97) | LongestSock = SSHSock + ".1234567890123456" function PIDFile (line 99) | func PIDFile(name string) string { FILE: pkg/limatype/lima_instance.go constant StatusUnknown (line 18) | StatusUnknown Status = "" constant StatusUninitialized (line 19) | StatusUninitialized Status = "Uninitialized" constant StatusInstalling (line 20) | StatusInstalling Status = "Installing" constant StatusBroken (line 21) | StatusBroken Status = "Broken" constant StatusStopped (line 22) | StatusStopped Status = "Stopped" constant StatusRunning (line 23) | StatusRunning Status = "Running" type Instance (line 26) | type Instance struct method Protect (line 55) | func (inst *Instance) Protect() error { method Unprotect (line 68) | func (inst *Instance) Unprotect() error { method MarshalJSON (line 77) | func (inst *Instance) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 94) | func (inst *Instance) UnmarshalJSON(data []byte) error { FILE: pkg/limatype/lima_yaml.go type LimaYAML (line 16) | type LimaYAML struct type BaseTemplates (line 63) | type BaseTemplates type LocatorWithDigest (line 65) | type LocatorWithDigest struct constant LINUX (line 80) | LINUX OS = "Linux" constant DARWIN (line 81) | DARWIN OS = "Darwin" constant FREEBSD (line 82) | FREEBSD OS = "FreeBSD" constant X8664 (line 84) | X8664 Arch = "x86_64" constant AARCH64 (line 85) | AARCH64 Arch = "aarch64" constant ARMV7L (line 86) | ARMV7L Arch = "armv7l" constant PPC64LE (line 87) | PPC64LE Arch = "ppc64le" constant RISCV64 (line 88) | RISCV64 Arch = "riscv64" constant S390X (line 89) | S390X Arch = "s390x" constant REVSSHFS (line 91) | REVSSHFS MountType = "reverse-sshfs" constant NINEP (line 92) | NINEP MountType = "9p" constant VIRTIOFS (line 93) | VIRTIOFS MountType = "virtiofs" constant WSLMount (line 94) | WSLMount MountType = "wsl2" constant QEMU (line 96) | QEMU VMType = "qemu" constant VZ (line 97) | VZ VMType = "vz" constant WSL2 (line 98) | WSL2 VMType = "wsl2" type User (line 108) | type User struct type VMOpts (line 116) | type VMOpts type QEMUOpts (line 118) | type QEMUOpts struct type VZOpts (line 123) | type VZOpts struct type Rosetta (line 128) | type Rosetta struct type File (line 133) | type File struct type FileWithVMType (line 139) | type FileWithVMType struct type Kernel (line 144) | type Kernel struct type Image (line 149) | type Image struct type Disk (line 155) | type Disk struct type Mount (line 162) | type Mount struct constant SFTPDriverBuiltin (line 174) | SFTPDriverBuiltin = "builtin" constant SFTPDriverOpenSSHSFTPServer (line 175) | SFTPDriverOpenSSHSFTPServer = "openssh-sftp-server" type SSHFS (line 178) | type SSHFS struct type NineP (line 184) | type NineP struct type Virtiofs (line 191) | type Virtiofs struct type SSH (line 195) | type SSH struct type Firmware (line 207) | type Firmware struct type Audio (line 217) | type Audio struct type VNCOptions (line 222) | type VNCOptions struct type Video (line 226) | type Video struct constant ProvisionModeSystem (line 235) | ProvisionModeSystem ProvisionMode = "system" constant ProvisionModeUser (line 236) | ProvisionModeUser ProvisionMode = "user" constant ProvisionModeBoot (line 237) | ProvisionModeBoot ProvisionMode = "boot" constant ProvisionModeDependency (line 238) | ProvisionModeDependency ProvisionMode = "dependency" constant ProvisionModeAnsible (line 239) | ProvisionModeAnsible ProvisionMode = "ansible" constant ProvisionModeData (line 240) | ProvisionModeData ProvisionMode = "data" constant ProvisionModeYQ (line 241) | ProvisionModeYQ ProvisionMode = "yq" type Provision (line 244) | type Provision struct type ProvisionData (line 257) | type ProvisionData struct type Containerd (line 265) | type Containerd struct constant ProbeModeReadiness (line 274) | ProbeModeReadiness ProbeMode = "readiness" type Probe (line 277) | type Probe struct constant ProtoTCP (line 288) | ProtoTCP Proto = "tcp" constant ProtoUDP (line 289) | ProtoUDP Proto = "udp" constant ProtoAny (line 290) | ProtoAny Proto = "any" type PortForward (line 293) | type PortForward struct type CopyToHost (line 309) | type CopyToHost struct type Network (line 315) | type Network struct type HostResolver (line 328) | type HostResolver struct type CACertificates (line 334) | type CACertificates struct type PreConfiguredDriverPayload (line 340) | type PreConfiguredDriverPayload struct function NewOS (line 345) | func NewOS(osname string) OS { function Goarm (line 357) | func Goarm() int { function NewArch (line 373) | func NewArch(arch string) Arch { function IsNativeArch (line 398) | func IsNativeArch(arch Arch) bool { function DefaultDriver (line 408) | func DefaultDriver() VMType { function DefaultNonNativeArchDriver (line 419) | func DefaultNonNativeArchDriver() VMType { FILE: pkg/limayaml/defaults.go constant Default9pSecurityModel (line 45) | Default9pSecurityModel string = "none" constant Default9pProtocolVersion (line 46) | Default9pProtocolVersion string = "9p2000.L" constant Default9pMsize (line 47) | Default9pMsize string = "128KiB" constant Default9pCacheForRO (line 48) | Default9pCacheForRO string = "fscache" constant Default9pCacheForRW (line 49) | Default9pCacheForRW string = "mmap" constant DefaultVirtiofsQueueSize (line 51) | DefaultVirtiofsQueueSize int = 1024 type ContainerdYAML (line 64) | type ContainerdYAML struct function defaultContainerdArchives (line 68) | func defaultContainerdArchives() []limatype.File { function FirstUsernetIndex (line 78) | func FirstUsernetIndex(l *limatype.LimaYAML) int { function MACAddress (line 82) | func MACAddress(uniqueID string) string { function MountTag (line 97) | func MountTag(location, mountPoint string) string { function defaultCPUs (line 102) | func defaultCPUs() int { function defaultMemory (line 110) | func defaultMemory() uint64 { function defaultMemoryAsString (line 118) | func defaultMemoryAsString() string { function defaultDiskSizeAsString (line 122) | func defaultDiskSizeAsString() string { function defaultGuestInstallPrefix (line 127) | func defaultGuestInstallPrefix() string { function FillDefault (line 145) | func FillDefault(ctx context.Context, y, d, o *limatype.LimaYAML, filePa... function ExistingLimaVersion (line 844) | func ExistingLimaVersion(instDir string) string { function fixUpForPlainMode (line 859) | func fixUpForPlainMode(y *limatype.LimaYAML) { function deleteNonStaticPortForwards (line 871) | func deleteNonStaticPortForwards(portForwards *[]limatype.PortForward) { function executeGuestTemplate (line 881) | func executeGuestTemplate(format, instDir string, user limatype.User, pa... function executeHostTemplate (line 902) | func executeHostTemplate(format, instDir string, param map[string]string... function FillPortForwardDefaults (line 935) | func FillPortForwardDefaults(rule *limatype.PortForward, instDir string,... function FillCopyToHostDefaults (line 987) | func FillCopyToHostDefaults(rule *limatype.CopyToHost, instDir string, u... function IsExistingInstanceDir (line 1004) | func IsExistingInstanceDir(dir string) bool { function ResolveOS (line 1019) | func ResolveOS(s *string) limatype.OS { function ResolveArch (line 1026) | func ResolveArch(s *string) limatype.Arch { function unique (line 1033) | func unique(s []string) []string { FILE: pkg/limayaml/defaults_test.go function TestFillDefault (line 30) | func TestFillDefault(t *testing.T) { function TestContainerdDefault (line 724) | func TestContainerdDefault(t *testing.T) { function TestStaticPortForwarding (line 729) | func TestStaticPortForwarding(t *testing.T) { function TestMountTag (line 846) | func TestMountTag(t *testing.T) { function TestMountTagUniqueness (line 868) | func TestMountTagUniqueness(t *testing.T) { function TestMountTagDuplicateLocation (line 884) | func TestMountTagDuplicateLocation(t *testing.T) { FILE: pkg/limayaml/defaults_unix.go function hostTimeZone (line 19) | func hostTimeZone() string { function extractTZFromPath (line 42) | func extractTZFromPath(zoneinfoFile string) (string, error) { FILE: pkg/limayaml/defaults_unix_test.go function TestExtractTimezoneFromPath (line 16) | func TestExtractTimezoneFromPath(t *testing.T) { FILE: pkg/limayaml/defaults_windows.go function hostTimeZone (line 8) | func hostTimeZone() string { FILE: pkg/limayaml/limayaml_test.go function dumpJSON (line 19) | func dumpJSON(t *testing.T, d any) string { constant emptyYAML (line 25) | emptyYAML = "{}\n" function TestEmptyYAML (line 27) | func TestEmptyYAML(t *testing.T) { constant defaultYAML (line 35) | defaultYAML = "{}\n" function TestDefaultYAML (line 37) | func TestDefaultYAML(t *testing.T) { FILE: pkg/limayaml/load.go function Load (line 23) | func Load(ctx context.Context, b []byte, filePath string) (*limatype.Lim... function LoadWithWarnings (line 30) | func LoadWithWarnings(ctx context.Context, b []byte, filePath string) (*... function load (line 34) | func load(ctx context.Context, b []byte, filePath string, warn bool) (*l... FILE: pkg/limayaml/load_test.go function TestLoadEmpty (line 12) | func TestLoadEmpty(t *testing.T) { function TestLoadError (line 17) | func TestLoadError(t *testing.T) { function TestLoadDiskString (line 37) | func TestLoadDiskString(t *testing.T) { function TestLoadDiskStruct (line 51) | func TestLoadDiskStruct(t *testing.T) { FILE: pkg/limayaml/marshal.go constant documentStart (line 17) | documentStart = "---\n" constant documentEnd (line 18) | documentEnd = "...\n" function Marshal (line 22) | func Marshal(y *limatype.LimaYAML, stream bool) ([]byte, error) { function unmarshalDisk (line 34) | func unmarshalDisk(dst *limatype.Disk, b []byte) error { function unmarshalBaseTemplates (line 44) | func unmarshalBaseTemplates(dst *limatype.BaseTemplates, b []byte) error { function unmarshalLocatorWithDigest (line 54) | func unmarshalLocatorWithDigest(dst *limatype.LocatorWithDigest, b []byt... function Unmarshal (line 63) | func Unmarshal(data []byte, y *limatype.LimaYAML, comment string) error { function Convert (line 88) | func Convert(x, y any, comment string) error { FILE: pkg/limayaml/marshal_test.go function dumpYAML (line 18) | func dumpYAML(t *testing.T, d any) string { function TestMarshalEmpty (line 24) | func TestMarshalEmpty(t *testing.T) { function TestMarshalTilde (line 29) | func TestMarshalTilde(t *testing.T) { type Opts (line 52) | type Opts struct function TestConvert (line 63) | func TestConvert(t *testing.T) { function TestVMOpts (line 76) | func TestVMOpts(t *testing.T) { function TestQEMUOpts (line 89) | func TestQEMUOpts(t *testing.T) { function TestVZOpts (line 106) | func TestVZOpts(t *testing.T) { function TestVMOptsNull (line 125) | func TestVMOptsNull(t *testing.T) { type FormatData (line 143) | type FormatData struct function TestVZOptsRosettaMessage (line 147) | func TestVZOptsRosettaMessage(t *testing.T) { FILE: pkg/limayaml/validate.go function Validate (line 34) | func Validate(y *limatype.LimaYAML, warn bool) error { function validateFileObject (line 423) | func validateFileObject(f limatype.File, fieldName string) error { function validateNetwork (line 442) | func validateNetwork(y *limatype.LimaYAML) error { function validateParamIsUsed (line 518) | func validateParamIsUsed(y *limatype.LimaYAML) error { function validatePort (line 578) | func validatePort(field string, port int) error { function warnExperimental (line 592) | func warnExperimental(y *limatype.LimaYAML) { function ValidateAgainstLatestConfig (line 613) | func ValidateAgainstLatestConfig(ctx context.Context, yNew, yLatest []by... FILE: pkg/limayaml/validate_test.go function TestValidateEmpty (line 16) | func TestValidateEmpty(t *testing.T) { function TestValidateMinimumLimaVersion (line 23) | func TestValidateMinimumLimaVersion(t *testing.T) { function TestValidateDigest (line 77) | func TestValidateDigest(t *testing.T) { function TestValidateProbes (line 92) | func TestValidateProbes(t *testing.T) { function TestValidateProvisionMode (line 117) | func TestValidateProvisionMode(t *testing.T) { function TestValidateProvisionData (line 149) | func TestValidateProvisionData(t *testing.T) { function TestValidateProvisionYQ (line 173) | func TestValidateProvisionYQ(t *testing.T) { function TestValidateAdditionalDisks (line 212) | func TestValidateAdditionalDisks(t *testing.T) { function TestValidateParamName (line 237) | func TestValidateParamName(t *testing.T) { function TestValidateParamValue (line 268) | func TestValidateParamValue(t *testing.T) { function TestValidateParamIsUsed (line 298) | func TestValidateParamIsUsed(t *testing.T) { function TestValidateMultipleErrors (line 351) | func TestValidateMultipleErrors(t *testing.T) { function TestValidateAgainstLatestConfig (line 379) | func TestValidateAgainstLatestConfig(t *testing.T) { FILE: pkg/limayaml/validate_unix_test.go function TestValidateMounts (line 14) | func TestValidateMounts(t *testing.T) { FILE: pkg/localpathutil/localpathutil.go function IsTildePath (line 16) | func IsTildePath(path string) bool { function Expand (line 24) | func Expand(orig string) (string, error) { FILE: pkg/lockutil/lockutil_test.go constant parallel (line 17) | parallel = 20 function TestWithDirLock (line 19) | func TestWithDirLock(t *testing.T) { FILE: pkg/lockutil/lockutil_unix.go function WithDirLock (line 33) | func WithDirLock(dir string, fn func() error) error { function Flock (line 50) | func Flock(f *os.File, flags int) error { FILE: pkg/lockutil/lockutil_windows.go constant flagLockfileExclusiveLock (line 40) | flagLockfileExclusiveLock = 0x00000002 function WithDirLock (line 42) | func WithDirLock(dir string, fn func() error) error { function lockFileEx (line 73) | func lockFileEx(h syscall.Handle, flags, reserved, locklow, lockhigh uin... function unlockFileEx (line 81) | func unlockFileEx(h syscall.Handle, reserved, locklow, lockhigh uint32, ... FILE: pkg/logrusutil/logrusutil.go constant epsilon (line 14) | epsilon = 1 * time.Second function PropagateJSON (line 19) | func PropagateJSON(logger *logrus.Logger, jsonLine []byte, header string... type JSON (line 66) | type JSON struct FILE: pkg/logrusutil/logrusutil_test.go function TestPropagateJSON (line 15) | func TestPropagateJSON(t *testing.T) { FILE: pkg/mcp/msi/filesystem.go type ListDirectoryParams (line 23) | type ListDirectoryParams struct type ListDirectoryResultEntry (line 28) | type ListDirectoryResultEntry struct type ListDirectoryResult (line 36) | type ListDirectoryResult struct type ReadFileResult (line 45) | type ReadFileResult struct type ReadFileParams (line 49) | type ReadFileParams struct type WriteFileResult (line 60) | type WriteFileResult struct type WriteFileParams (line 64) | type WriteFileParams struct type GlobParams (line 74) | type GlobParams struct type GlobResult (line 80) | type GlobResult struct type SearchFileContentParams (line 89) | type SearchFileContentParams struct type SearchFileContentResult (line 95) | type SearchFileContentResult struct FILE: pkg/mcp/msi/shell.go type RunShellCommandParams (line 18) | type RunShellCommandParams struct type RunShellCommandResult (line 24) | type RunShellCommandResult struct FILE: pkg/mcp/toolset/filesystem.go method ListDirectory (line 20) | func (ts *ToolSet) ListDirectory(ctx context.Context, method ReadFile (line 49) | func (ts *ToolSet) ReadFile(_ context.Context, method WriteFile (line 81) | func (ts *ToolSet) WriteFile(_ context.Context, method Glob (line 114) | func (ts *ToolSet) Glob(_ context.Context, method SearchFileContent (line 149) | func (ts *ToolSet) SearchFileContent(ctx context.Context, FILE: pkg/mcp/toolset/shell.go method RunShellCommand (line 18) | func (ts *ToolSet) RunShellCommand(ctx context.Context, FILE: pkg/mcp/toolset/toolset.go function New (line 26) | func New(limactl string) (*ToolSet, error) { type ToolSet (line 33) | type ToolSet struct method RegisterInstance (line 70) | func (ts *ToolSet) RegisterInstance(ctx context.Context, inst *limatyp... method RegisterServer (line 84) | func (ts *ToolSet) RegisterServer(server *mcp.Server) error { method Close (line 94) | func (ts *ToolSet) Close() error { method TranslateHostPath (line 105) | func (ts *ToolSet) TranslateHostPath(hostPath string) (string, error) { function newSFTPClient (line 42) | func newSFTPClient(ctx context.Context, inst *limatype.Instance) (*sftp.... FILE: pkg/must/must.go function Must (line 6) | func Must[T any](obj T, err error) T { FILE: pkg/networks/commands.go constant SocketVMNet (line 18) | SocketVMNet = "socket_vmnet" method Check (line 24) | func (c *Config) Check(name string) error { method Usernet (line 32) | func (c *Config) Usernet(name string) (bool, error) { method DaemonPath (line 40) | func (c *Config) DaemonPath(daemon string) (string, error) { method IsDaemonInstalled (line 50) | func (c *Config) IsDaemonInstalled(daemon string) (bool, error) { method Sock (line 68) | func (c *Config) Sock(name string) string { method PIDFile (line 72) | func (c *Config) PIDFile(name, daemon string) string { method LogFile (line 76) | func (c *Config) LogFile(name, daemon, stream string) string { method User (line 81) | func (c *Config) User(daemon string) (osutil.User, error) { method MkdirCmd (line 94) | func (c *Config) MkdirCmd() string { method StartCmd (line 98) | func (c *Config) StartCmd(name, daemon string) string { method StopCmd (line 125) | func (c *Config) StopCmd(name, daemon string) string { FILE: pkg/networks/commands_darwin_test.go function TestSock (line 12) | func TestSock(t *testing.T) { function TestPIDFile (line 20) | func TestPIDFile(t *testing.T) { FILE: pkg/networks/commands_test.go function TestCheck (line 16) | func TestCheck(t *testing.T) { function TestLogFile (line 28) | func TestLogFile(t *testing.T) { function TestUser (line 38) | func TestUser(t *testing.T) { function TestMkdirCmd (line 67) | func TestMkdirCmd(t *testing.T) { function TestStartCmd (line 75) | func TestStartCmd(t *testing.T) { function TestStopCmd (line 96) | func TestStopCmd(t *testing.T) { FILE: pkg/networks/config.go type defaultConfigTemplateArgs (line 26) | type defaultConfigTemplateArgs struct function defaultConfigBytes (line 30) | func defaultConfigBytes() ([]byte, error) { function fillDefaults (line 58) | func fillDefaults(cfg Config) (Config, error) { function DefaultConfig (line 78) | func DefaultConfig() (Config, error) { function ConfigFile (line 97) | func ConfigFile() (string, error) { function loadCache (line 106) | func loadCache() { function LoadConfig (line 158) | func LoadConfig() (Config, error) { function Sock (line 164) | func Sock(name string) (string, error) { function IsUsernet (line 180) | func IsUsernet(name string) bool { FILE: pkg/networks/config_test.go function TestFillDefault (line 13) | func TestFillDefault(t *testing.T) { function TestFillDefaultWithV2 (line 25) | func TestFillDefaultWithV2(t *testing.T) { function TestFillDefaultWithV2AndGateway (line 40) | func TestFillDefaultWithV2AndGateway(t *testing.T) { FILE: pkg/networks/const.go constant SlirpNICName (line 7) | SlirpNICName = "eth0" constant SlirpNetwork (line 9) | SlirpNetwork = "192.168.5.0/24" constant SlirpGateway (line 10) | SlirpGateway = "192.168.5.2" constant SlirpIPAddress (line 11) | SlirpIPAddress = "192.168.5.15" FILE: pkg/networks/networks.go type Config (line 8) | type Config struct type Paths (line 14) | type Paths struct constant ModeUserV2 (line 21) | ModeUserV2 = "user-v2" constant ModeHost (line 22) | ModeHost = "host" constant ModeShared (line 23) | ModeShared = "shared" constant ModeBridged (line 24) | ModeBridged = "bridged" type Network (line 34) | type Network struct FILE: pkg/networks/reconcile/reconcile.go function Reconcile (line 27) | func Reconcile(ctx context.Context, newInst string) error { function sudo (line 71) | func sudo(ctx context.Context, user, group, command string) error { function makeVarRun (line 86) | func makeVarRun(ctx context.Context, cfg *networks.Config) error { function startDaemon (line 115) | func startDaemon(ctx context.Context, cfg *networks.Config, name, daemon... function validateConfig (line 168) | func validateConfig(ctx context.Context, cfg *networks.Config) error { function startNetwork (line 179) | func startNetwork(ctx context.Context, cfg *networks.Config, name string... function stopNetwork (line 223) | func stopNetwork(ctx context.Context, cfg *networks.Config, name string)... FILE: pkg/networks/sudoers.go function Sudoers (line 18) | func Sudoers() (string, error) { method passwordLessSudo (line 59) | func (c *Config) passwordLessSudo(ctx context.Context) error { method VerifySudoAccess (line 85) | func (c *Config) VerifySudoAccess(ctx context.Context, sudoersFile strin... FILE: pkg/networks/usernet/client.go type Client (line 26) | type Client struct method ConfigureDriver (line 35) | func (c *Client) ConfigureDriver(ctx context.Context, inst *limatype.I... method UnExposeSSH (line 56) | func (c *Client) UnExposeSSH(sshPort int) error { method AddDNSHosts (line 63) | func (c *Client) AddDNSHosts(hosts map[string]string) error { method ResolveAndForwardSSH (line 75) | func (c *Client) ResolveAndForwardSSH(ipAddr string, sshPort int) error { method ResolveIPAddress (line 87) | func (c *Client) ResolveIPAddress(ctx context.Context, vmMacAddr strin... method Leases (line 117) | func (c *Client) Leases(ctx context.Context) (map[string]string, error) { method WaitOpeningSSHPort (line 133) | func (c *Client) WaitOpeningSSHPort(ctx context.Context, inst *limatyp... function NewClientByName (line 156) | func NewClientByName(nwName string) *Client { function NewClient (line 168) | func NewClient(endpointSock string, subnet net.IP) *Client { function create (line 172) | func create(sock string, subnet net.IP, base string) *Client { FILE: pkg/networks/usernet/config.go constant FDSock (line 21) | FDSock = "fd" constant QEMUSock (line 22) | QEMUSock = "qemu" constant EndpointSock (line 23) | EndpointSock = "ep" function Sock (line 27) | func Sock(name string, sockType SockType) (string, error) { function SockWithDirectory (line 36) | func SockWithDirectory(dir, name string, sockType SockType) (string, err... function PIDFile (line 49) | func PIDFile(name string) (string, error) { function SubnetCIDR (line 58) | func SubnetCIDR(name string) (*net.IPNet, error) { function Subnet (line 75) | func Subnet(name string) (net.IP, error) { function GatewayIP (line 92) | func GatewayIP(subnet net.IP) string { function DNSIP (line 97) | func DNSIP(subnet net.IP) string { function Leases (line 102) | func Leases(name string) (string, error) { function netmaskToCidr (line 115) | func netmaskToCidr(baseIP, netMask net.IP) (net.IP, *net.IPNet, error) { FILE: pkg/networks/usernet/config_test.go function TestUsernetConfig (line 15) | func TestUsernetConfig(t *testing.T) { FILE: pkg/networks/usernet/dnshosts/dnshosts.go function ExtractZones (line 38) | func ExtractZones(hosts hostMap) []types.Zone { type hostMap (line 70) | type hostMap method hostIP (line 72) | func (z hostMap) hostIP(host string) net.IP { type zoneHost (line 91) | type zoneHost method name (line 93) | func (z zoneHost) name() string { method recordName (line 101) | func (z zoneHost) recordName() string { method dotIndex (line 109) | func (z zoneHost) dotIndex() int { FILE: pkg/networks/usernet/dnshosts/dnshosts_test.go function Test_hostsMapIP (line 41) | func Test_hostsMapIP(t *testing.T) { function Test_zoneHost (line 71) | func Test_zoneHost(t *testing.T) { function TestExtractZones (line 101) | func TestExtractZones(t *testing.T) { FILE: pkg/networks/usernet/gvproxy.go type GVisorNetstackOpts (line 27) | type GVisorNetstackOpts struct constant gatewayMacAddr (line 43) | gatewayMacAddr = "5a:94:ef:e4:0c:dd" function StartGVisorNetstack (line 45) | func StartGVisorNetstack(ctx context.Context, gVisorOpts *GVisorNetstack... function run (line 97) | func run(ctx context.Context, g *errgroup.Group, configuration *types.Co... function listenQEMU (line 125) | func listenQEMU(ctx context.Context, vn *virtualnetwork.VirtualNetwork) ... function listenFD (line 166) | func listenFD(ctx context.Context, vn *virtualnetwork.VirtualNetwork) er... function httpServe (line 222) | func httpServe(ctx context.Context, g *errgroup.Group, ln net.Listener, ... function muxWithExtension (line 244) | func muxWithExtension(n *virtualnetwork.VirtualNetwork) *http.ServeMux { function searchDomains (line 296) | func searchDomains() []string { function resolveSearchDomain (line 303) | func resolveSearchDomain(file string) []string { FILE: pkg/networks/usernet/gvproxy_test.go function TestSearchDomain (line 15) | func TestSearchDomain(t *testing.T) { function createResolveFile (line 39) | func createResolveFile(t *testing.T, file, content string) { FILE: pkg/networks/usernet/recoincile.go function Start (line 29) | func Start(ctx context.Context, name string) error { function Stop (line 130) | func Stop(ctx context.Context, name string) error { function mapToCliString (line 171) | func mapToCliString(m map[string]string) string { function readLeases (line 179) | func readLeases(name string) (map[string]string, error) { function writeLeases (line 197) | func writeLeases(ctx context.Context, nwName string) error { FILE: pkg/networks/usernet/udpfileconn.go type UDPFileConn (line 12) | type UDPFileConn struct method Read (line 16) | func (conn *UDPFileConn) Read(b []byte) (n int, err error) { FILE: pkg/networks/validate.go method Validate (line 19) | func (c *Config) Validate() error { function findBaseDirectory (line 59) | func findBaseDirectory(path string) string { function validatePath (line 68) | func validatePath(path string, allowDaemonGroupWritable bool) error { FILE: pkg/osutil/dns_darwin.go function DNSAddresses (line 14) | func DNSAddresses() ([]string, error) { function proxyURL (line 31) | func proxyURL(proxy string, port any) string { function ProxySettings (line 49) | func ProxySettings() (map[string]string, error) { FILE: pkg/osutil/dns_others.go function DNSAddresses (line 8) | func DNSAddresses() ([]string, error) { function ProxySettings (line 13) | func ProxySettings() (map[string]string, error) { FILE: pkg/osutil/exit.go function HandleExitError (line 15) | func HandleExitError(err error) { FILE: pkg/osutil/file.go function FileExists (line 13) | func FileExists(path string) bool { function Touch (line 19) | func Touch(path string) error { FILE: pkg/osutil/machineid.go function machineID (line 37) | func machineID(ctx context.Context) (string, error) { function parseIOPlatformUUIDFromIOPlatformExpertDevice (line 61) | func parseIOPlatformUUIDFromIOPlatformExpertDevice(r io.Reader) (string,... FILE: pkg/osutil/machineid_test.go function TestMachineID (line 13) | func TestMachineID(t *testing.T) { function TestParseIOPlatformUUIDFromIOPlatformExpertDevice (line 17) | func TestParseIOPlatformUUIDFromIOPlatformExpertDevice(t *testing.T) { FILE: pkg/osutil/mount_darwin.go function Mount (line 17) | func Mount(ctx context.Context, fs, dev, mnt string, options []string) e... function Umount (line 31) | func Umount(ctx context.Context, mnt string) error { FILE: pkg/osutil/osutil_linux.go constant UnixPathMax (line 12) | UnixPathMax = 108 type Stat (line 15) | type Stat struct function SysStat (line 20) | func SysStat(fi fs.FileInfo) (Stat, bool) { constant SigInt (line 26) | SigInt = Signal(syscall.SIGINT) constant SigKill (line 29) | SigKill = Signal(syscall.SIGKILL) type Signal (line 31) | type Signal function SysKill (line 33) | func SysKill(pid int, sig Signal) error { FILE: pkg/osutil/osutil_others.go constant UnixPathMax (line 14) | UnixPathMax = 104 type Stat (line 17) | type Stat struct function SysStat (line 22) | func SysStat(fi fs.FileInfo) (Stat, bool) { constant SigInt (line 28) | SigInt = Signal(syscall.SIGINT) constant SigKill (line 31) | SigKill = Signal(syscall.SIGKILL) type Signal (line 33) | type Signal function SysKill (line 35) | func SysKill(pid int, sig Signal) error { FILE: pkg/osutil/osutil_unix.go function Dup2 (line 21) | func Dup2(oldfd, newfd int) (err error) { function SignalName (line 25) | func SignalName(sig os.Signal) string { function Sysctl (line 29) | func Sysctl(ctx context.Context, name string) (string, error) { function IsEACCES (line 41) | func IsEACCES(err error) bool { FILE: pkg/osutil/osutil_windows.go constant UnixPathMax (line 18) | UnixPathMax = 108 type Stat (line 21) | type Stat struct function SysStat (line 26) | func SysStat(_ fs.FileInfo) (Stat, bool) { constant SigInt (line 31) | SigInt = Signal(2) constant SigKill (line 34) | SigKill = Signal(9) type Signal (line 36) | type Signal function SysKill (line 38) | func SysKill(pid int, _ Signal) error { function Dup2 (line 42) | func Dup2(_ int, _ syscall.Handle) error { function SignalName (line 46) | func SignalName(sig os.Signal) string { function Sysctl (line 57) | func Sysctl(_ context.Context, _ string) (string, error) { function IsEACCES (line 61) | func IsEACCES(err error) bool { FILE: pkg/osutil/osversion_others.go function ProductVersion (line 15) | func ProductVersion() (*semver.Version, error) { FILE: pkg/osutil/rosetta_darwin.go function IsBeingRosettaTranslated (line 14) | func IsBeingRosettaTranslated() bool { FILE: pkg/osutil/rosetta_others.go function IsBeingRosettaTranslated (line 8) | func IsBeingRosettaTranslated() bool { FILE: pkg/osutil/user.go type User (line 24) | type User struct type Group (line 33) | type Group struct function LookupUser (line 48) | func LookupUser(name string) (User, error) { function LookupGroup (line 74) | func LookupGroup(name string) (Group, error) { constant fallbackUser (line 93) | fallbackUser = "lima" constant fallbackUid (line 94) | fallbackUid = 1000 constant fallbackGid (line 95) | fallbackGid = 1000 function LimaUser (line 106) | func LimaUser(ctx context.Context, limaVersion string, warn bool, guestO... function call (line 174) | func call(ctx context.Context, args []string) (string, error) { function parseUidGid (line 184) | func parseUidGid(uidOrGid string) (uint32, error) { function formatUidGid (line 193) | func formatUidGid(uidOrGid uint32) string { FILE: pkg/osutil/user_test.go constant limaVersion (line 15) | limaVersion = "1.0.0" function TestLimaUserAdminNew (line 18) | func TestLimaUserAdminNew(t *testing.T) { function TestLimaUserAdminOld (line 26) | func TestLimaUserAdminOld(t *testing.T) { function TestLimaUserInvalid (line 33) | func TestLimaUserInvalid(t *testing.T) { function TestLimaUserUid (line 40) | func TestLimaUserUid(t *testing.T) { function TestLimaUserGid (line 48) | func TestLimaUserGid(t *testing.T) { function TestLimaHomeDir (line 56) | func TestLimaHomeDir(t *testing.T) { FILE: pkg/plist/plist.go type Plist (line 20) | type Plist struct method UnmarshalXML (line 44) | func (p *Plist) UnmarshalXML(dec *xml.Decoder, start xml.StartElement)... type Value (line 25) | type Value struct method UnmarshalXML (line 68) | func (v *Value) UnmarshalXML(dec *xml.Decoder, start xml.StartElement)... type Array (line 39) | type Array method UnmarshalXML (line 153) | func (a *Array) UnmarshalXML(dec *xml.Decoder, start xml.StartElement)... type Dict (line 42) | type Dict method UnmarshalXML (line 180) | func (d *Dict) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) ... FILE: pkg/plist/plist_test.go function TestUnmarshalPlist (line 22) | func TestUnmarshalPlist(t *testing.T) { FILE: pkg/plugins/plugins.go constant defaultPathExt (line 24) | defaultPathExt = ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;... type Plugin (line 26) | type Plugin struct method Run (line 149) | func (plugin *Plugin) Run(ctx context.Context, args []string) { function isWindowsExecutableExt (line 72) | func isWindowsExecutableExt(ext string) bool { function isExecutable (line 82) | func isExecutable(path string) bool { function scanDirectory (line 99) | func scanDirectory(dir string) []Plugin { function extractDescFromScript (line 171) | func extractDescFromScript(path string) string { function Find (line 195) | func Find(name string) (*Plugin, error) { function UpdatePath (line 209) | func UpdatePath() error { FILE: pkg/portfwd/client.go function HandleTCPConnection (line 21) | func HandleTCPConnection(_ context.Context, dialContext func(ctx context... function HandleUDPConnection (line 27) | func HandleUDPConnection(ctx context.Context, dialContext func(ctx conte... function DialContextToGRPCTunnel (line 46) | func DialContextToGRPCTunnel(client *guestagentclient.GuestAgentClient) ... type GrpcClientRW (line 69) | type GrpcClientRW struct method Write (line 79) | func (g *GrpcClientRW) Write(p []byte) (n int, err error) { method Read (line 92) | func (g *GrpcClientRW) Read(p []byte) (n int, err error) { method Close (line 101) | func (g *GrpcClientRW) Close() error { method LocalAddr (line 106) | func (g *GrpcClientRW) LocalAddr() net.Addr { method RemoteAddr (line 110) | func (g *GrpcClientRW) RemoteAddr() net.Addr { method SetDeadline (line 114) | func (g *GrpcClientRW) SetDeadline(_ time.Time) error { method SetReadDeadline (line 118) | func (g *GrpcClientRW) SetReadDeadline(_ time.Time) error { method SetWriteDeadline (line 122) | func (g *GrpcClientRW) SetWriteDeadline(_ time.Time) error { FILE: pkg/portfwd/control_others.go function Control (line 14) | func Control(_, _ string, c syscall.RawConn) (err error) { FILE: pkg/portfwd/control_windows.go function Control (line 12) | func Control(_, _ string, c syscall.RawConn) (err error) { FILE: pkg/portfwd/forward.go type Forwarder (line 21) | type Forwarder struct method emitEvent (line 39) | func (fw *Forwarder) emitEvent(ev *events.PortForwardEvent) { method Close (line 45) | func (fw *Forwarder) Close() error { method OnEvent (line 49) | func (fw *Forwarder) OnEvent(ctx context.Context, dialContext func(ctx... method forwardingAddresses (line 100) | func (fw *Forwarder) forwardingAddresses(guest *api.IPPort) (hostAddr,... method isPortStaticallyForwarded (line 133) | func (fw *Forwarder) isPortStaticallyForwarded(guest *api.IPPort) bool { function NewPortForwarder (line 29) | func NewPortForwarder(rules []limatype.PortForward, ignoreTCP, ignoreUDP... function hostAddress (line 145) | func hostAddress(rule limatype.PortForward, guest *api.IPPort) string { FILE: pkg/portfwd/listener.go type ClosableListeners (line 21) | type ClosableListeners struct method Close (line 41) | func (p *ClosableListeners) Close() error { method Forward (line 62) | func (p *ClosableListeners) Forward(ctx context.Context, dialContext f... method Remove (line 73) | func (p *ClosableListeners) Remove(_ context.Context, protocol, hostAd... method forwardTCP (line 96) | func (p *ClosableListeners) forwardTCP(ctx context.Context, dialContex... method forwardUDP (line 131) | func (p *ClosableListeners) forwardUDP(ctx context.Context, dialContex... function NewClosableListener (line 29) | func NewClosableListener() *ClosableListeners { function key (line 154) | func key(protocol, hostAddress, guestAddress string) string { function prepareUnixSocket (line 158) | func prepareUnixSocket(hostSocket string) error { function logListenError (line 168) | func logListenError(err error, proto, hostAddress string) { FILE: pkg/portfwd/listener_darwin.go function Listen (line 16) | func Listen(ctx context.Context, listenConfig net.ListenConfig, hostAddr... function ListenPacket (line 51) | func ListenPacket(ctx context.Context, listenConfig net.ListenConfig, ho... type pseudoLoopbackListener (line 73) | type pseudoLoopbackListener struct method Accept (line 77) | func (p pseudoLoopbackListener) Accept() (net.Conn, error) { type pseudoLoopbackPacketConn (line 100) | type pseudoLoopbackPacketConn struct method ReadFrom (line 104) | func (pk *pseudoLoopbackPacketConn) ReadFrom(bytes []byte) (n int, add... method WriteTo (line 120) | func (pk *pseudoLoopbackPacketConn) WriteTo(bytes []byte, remoteAddr n... function IsLoopback (line 131) | func IsLoopback(addr string) bool { FILE: pkg/portfwd/listener_others.go function Listen (line 14) | func Listen(ctx context.Context, listenConfig net.ListenConfig, hostAddr... function ListenPacket (line 31) | func ListenPacket(ctx context.Context, listenConfig net.ListenConfig, ho... FILE: pkg/portfwdserver/server.go type TunnelServer (line 19) | type TunnelServer struct method Start (line 25) | func (s *TunnelServer) Start(stream api.GuestService_TunnelServer) err... function NewTunnelServer (line 21) | func NewTunnelServer() *TunnelServer { type GRPCServerRW (line 62) | type GRPCServerRW struct method Write (line 70) | func (g *GRPCServerRW) Write(p []byte) (n int, err error) { method Read (line 75) | func (g *GRPCServerRW) Read(p []byte) (n int, err error) { method Close (line 84) | func (g *GRPCServerRW) Close() error { method CloseRead (line 93) | func (g *GRPCServerRW) CloseRead() error { method CloseWrite (line 99) | func (g *GRPCServerRW) CloseWrite() error { method LocalAddr (line 105) | func (g *GRPCServerRW) LocalAddr() net.Addr { method RemoteAddr (line 109) | func (g *GRPCServerRW) RemoteAddr() net.Addr { method SetDeadline (line 113) | func (g *GRPCServerRW) SetDeadline(_ time.Time) error { method SetReadDeadline (line 117) | func (g *GRPCServerRW) SetReadDeadline(_ time.Time) error { method SetWriteDeadline (line 121) | func (g *GRPCServerRW) SetWriteDeadline(_ time.Time) error { FILE: pkg/progressbar/progressbar.go type ProgressBar (line 16) | type ProgressBar struct method Update (line 20) | func (b *ProgressBar) Update(n int64) { function New (line 24) | func New(size int64) (*ProgressBar, error) { function showProgress (line 44) | func showProgress() bool { FILE: pkg/ptr/ptr.go function Of (line 8) | func Of[T any](value T) *T { FILE: pkg/ptr/ptr_test.go function TestOf (line 12) | func TestOf(t *testing.T) { FILE: pkg/qemuimgutil/qemuimgutil.go constant QemuImgFormat (line 22) | QemuImgFormat = "qcow2" type QemuImageUtil (line 25) | type QemuImageUtil struct method CreateDisk (line 166) | func (q *QemuImageUtil) CreateDisk(ctx context.Context, disk string, s... method ResizeDisk (line 181) | func (q *QemuImageUtil) ResizeDisk(ctx context.Context, disk string, s... method MakeSparse (line 190) | func (q *QemuImageUtil) MakeSparse(_ context.Context, _ *os.File, _ in... method Convert (line 206) | func (q *QemuImageUtil) Convert(ctx context.Context, imageType image.T... type Info (line 30) | type Info struct type InfoChild (line 44) | type InfoChild struct type InfoFormatSpecific (line 49) | type InfoFormatSpecific struct method Qcow2 (line 63) | func (sp *InfoFormatSpecific) Qcow2() *InfoFormatSpecificDataQcow2 { method Vmdk (line 74) | func (sp *InfoFormatSpecific) Vmdk() *InfoFormatSpecificDataVmdk { function resizeDisk (line 54) | func resizeDisk(ctx context.Context, disk, format string, size int64) er... type InfoFormatSpecificDataQcow2 (line 85) | type InfoFormatSpecificDataQcow2 struct type InfoFormatSpecificDataVmdk (line 94) | type InfoFormatSpecificDataVmdk struct type InfoFormatSpecificDataVmdkExtent (line 101) | type InfoFormatSpecificDataVmdkExtent struct function convertToRaw (line 108) | func convertToRaw(ctx context.Context, source, dest string) error { function execQemuImgConvert (line 133) | func execQemuImgConvert(ctx context.Context, source, dest string) error { function parseInfo (line 145) | func parseInfo(b []byte) (*Info, error) { function getInfo (line 153) | func getInfo(ctx context.Context, f string) (*Info, error) { function GetInfo (line 195) | func GetInfo(ctx context.Context, path string) (*Info, error) { function AcceptableAsBaseDisk (line 239) | func AcceptableAsBaseDisk(info *Info) error { FILE: pkg/qemuimgutil/qemuimgutil_test.go function TestParseInfo (line 12) | func TestParseInfo(t *testing.T) { FILE: pkg/reflectutil/reflectutil.go function UnknownNonEmptyFields (line 25) | func UnknownNonEmptyFields(structOrStructPtr any, knownNames ...string) ... function isEmpty (line 54) | func isEmpty(v reflect.Value) bool { FILE: pkg/registry/registry.go constant Internal (line 23) | Internal = "internal" constant External (line 24) | External = "external" type ExternalDriver (line 27) | type ExternalDriver struct function List (line 44) | func List() map[string]string { function CheckInternalOrExternal (line 60) | func CheckInternalOrExternal(name string) string { function Get (line 72) | func Get(name string) (*ExternalDriver, driver.Driver, bool) { function registerExternalDriver (line 86) | func registerExternalDriver(name, path string) { function discoverDrivers (line 103) | func discoverDrivers() error { function discoverDriversInDir (line 143) | func discoverDriversInDir(dir string) error { function registerDriverFile (line 171) | func registerDriverFile(path string) { function isExecutable (line 189) | func isExecutable(mode os.FileMode) bool { function Register (line 196) | func Register(driver driver.Driver) { FILE: pkg/registry/registry_test.go type mockDriver (line 20) | type mockDriver struct method Validate (line 30) | func (m *mockDriver) Validate(_ context.Context) error ... method Create (line 31) | func (m *mockDriver) Create(_ context.Context) error ... method Delete (line 32) | func (m *mockDriver) Delete(_ context.Context) error ... method CreateDisk (line 33) | func (m *mockDriver) CreateDisk(_ context.Context) error ... method Start (line 34) | func (m *mockDriver) Start(_ context.Context) (chan error, error) ... method Stop (line 35) | func (m *mockDriver) Stop(_ context.Context) error ... method RunGUI (line 36) | func (m *mockDriver) RunGUI() error ... method ChangeDisplayPassword (line 37) | func (m *mockDriver) ChangeDisplayPassword(_ context.Context, _ string... method DisplayConnection (line 38) | func (m *mockDriver) DisplayConnection(_ context.Context) (string, err... method CreateSnapshot (line 39) | func (m *mockDriver) CreateSnapshot(_ context.Context, _ string) error... method ApplySnapshot (line 40) | func (m *mockDriver) ApplySnapshot(_ context.Context, _ string) error ... method DeleteSnapshot (line 41) | func (m *mockDriver) DeleteSnapshot(_ context.Context, _ string) error... method ListSnapshots (line 42) | func (m *mockDriver) ListSnapshots(_ context.Context) (string, error) ... method Register (line 43) | func (m *mockDriver) Register(_ context.Context) error ... method Unregister (line 44) | func (m *mockDriver) Unregister(_ context.Context) error ... method ForwardGuestAgent (line 45) | func (m *mockDriver) ForwardGuestAgent() bool ... method GuestAgentConn (line 46) | func (m *mockDriver) GuestAgentConn(_ context.Context) (net.Conn, stri... method Info (line 47) | func (m *mockDriver) Info() driver.Info { method Configure (line 50) | func (m *mockDriver) Configure(_ *limatype.Instance) *driver.Configure... method FillConfig (line 51) | func (m *mockDriver) FillConfig(_ context.Context, _ *limatype.LimaYAM... method InspectStatus (line 52) | func (m *mockDriver) InspectStatus(_ context.Context, _ *limatype.Inst... method SSHAddress (line 53) | func (m *mockDriver) SSHAddress(_ context.Context) (string, error) ... method BootScripts (line 54) | func (m *mockDriver) BootScripts() (map[string][]byte, error) ... method AdditionalSetupForSSH (line 55) | func (m *mockDriver) AdditionalSetupForSSH(_ context.Context) error ... function newMockDriver (line 24) | func newMockDriver(name string) *mockDriver { function TestRegister (line 57) | func TestRegister(t *testing.T) { function TestDiscoverDriversInDir (line 89) | func TestDiscoverDriversInDir(t *testing.T) { function TestRegisterDriverFile (line 127) | func TestRegisterDriverFile(t *testing.T) { function TestGet (line 183) | func TestGet(t *testing.T) { function TestList (line 208) | func TestList(t *testing.T) { function BackupRegistry (line 229) | func BackupRegistry(t *testing.T) { FILE: pkg/snapshot/snapshot.go function Del (line 14) | func Del(ctx context.Context, inst *limatype.Instance, tag string) error { function Save (line 23) | func Save(ctx context.Context, inst *limatype.Instance, tag string) error { function Load (line 31) | func Load(ctx context.Context, inst *limatype.Instance, tag string) error { function List (line 39) | func List(ctx context.Context, inst *limatype.Instance) (string, error) { FILE: pkg/sshutil/format.go constant FormatCmd (line 21) | FormatCmd = FormatT("cmd") constant FormatArgs (line 26) | FormatArgs = FormatT("args") constant FormatOptions (line 34) | FormatOptions = FormatT("options") constant FormatConfig (line 43) | FormatConfig = FormatT("config") function quoteOption (line 55) | func quoteOption(o string) string { function Format (line 64) | func Format(w io.Writer, sshPath, instName string, format FormatT, opts ... FILE: pkg/sshutil/sshutil.go constant EnvShellSSH (line 38) | EnvShellSSH = "SSH" type SSHExe (line 40) | type SSHExe struct function NewSSHExe (line 45) | func NewSSHExe() (SSHExe, error) { type PubKey (line 72) | type PubKey struct function readPublicKey (line 77) | func readPublicKey(f string) (PubKey, error) { function DefaultPubKeys (line 95) | func DefaultPubKeys(ctx context.Context, loadDotSSH bool) ([]PubKey, err... type openSSHInfo (line 166) | type openSSHInfo struct function CommonOpts (line 189) | func CommonOpts(ctx context.Context, sshExe SSHExe, useDotSSH bool) ([]s... function identityFileEntry (line 287) | func identityFileEntry(ctx context.Context, privateKeyPath string) (stri... function DisableControlMasterOptsFromSSHArgs (line 299) | func DisableControlMasterOptsFromSSHArgs(sshArgs []string) []string { function removeOptsFromSSHArgs (line 308) | func removeOptsFromSSHArgs(sshArgs []string, removeOpts ...string) []str... function IsControlMasterExisting (line 329) | func IsControlMasterExisting(instDir string) bool { function SSHOpts (line 336) | func SSHOpts(ctx context.Context, sshExe SSHExe, instDir, username strin... function SSHArgsFromOpts (line 373) | func SSHArgsFromOpts(opts []string) []string { function SSHOptsRemovingControlPath (line 382) | func SSHOptsRemovingControlPath(opts []string) []string { function ParseOpenSSHVersion (line 390) | func ParseOpenSSHVersion(version []byte) *semver.Version { function parseOpenSSHGSSAPISupported (line 402) | func parseOpenSSHGSSAPISupported(version string) bool { type sshExecutable (line 407) | type sshExecutable struct function detectOpenSSHInfo (line 419) | func detectOpenSSHInfo(ctx context.Context, sshExe SSHExe) openSSHInfo { function DetectOpenSSHVersion (line 458) | func DetectOpenSSHVersion(ctx context.Context, sshExe SSHExe) semver.Ver... function detectValidPublicKey (line 466) | func detectValidPublicKey(content string) bool { function detectAESAcceleration (line 487) | func detectAESAcceleration() bool { FILE: pkg/sshutil/sshutil_test.go function TestDefaultPubKeys (line 13) | func TestDefaultPubKeys(t *testing.T) { function TestParseOpenSSHVersion (line 21) | func TestParseOpenSSHVersion(t *testing.T) { function TestParseOpenSSHGSSAPISupported (line 38) | func TestParseOpenSSHGSSAPISupported(t *testing.T) { function Test_detectValidPublicKey (line 44) | func Test_detectValidPublicKey(t *testing.T) { function Test_DisableControlMasterOptsFromSSHArgs (line 57) | func Test_DisableControlMasterOptsFromSSHArgs(t *testing.T) { FILE: pkg/store/disk.go type Disk (line 18) | type Disk struct method Lock (line 91) | func (d *Disk) Lock(instanceDir string) error { method Unlock (line 96) | func (d *Disk) Unlock() error { method LockForInstance (line 101) | func (d *Disk) LockForInstance(instanceDir string) error { function InspectDisk (line 31) | func InspectDisk(diskName string, fsType *string) (*Disk, error) { function inspectDisk (line 73) | func inspectDisk(fName string) (size int64, format string, _ error) { FILE: pkg/store/disk_test.go function TestDiskLockForInstance (line 16) | func TestDiskLockForInstance(t *testing.T) { FILE: pkg/store/fuzz_test.go function FuzzLoadYAMLByFilePath (line 16) | func FuzzLoadYAMLByFilePath(f *testing.F) { function FuzzInspect (line 25) | func FuzzInspect(f *testing.F) { FILE: pkg/store/instance.go function Inspect (line 36) | func Inspect(ctx context.Context, instName string) (*limatype.Instance, ... function inspectStatus (line 160) | func inspectStatus(ctx context.Context, instDir string, inst *limatype.I... function inspectStatusWithPIDFiles (line 176) | func inspectStatusWithPIDFiles(instDir string, inst *limatype.Instance, ... function ReadPIDFile (line 202) | func ReadPIDFile(path string) (int, error) { function sshPortFromConfig (line 238) | func sshPortFromConfig(configPath string) (int, error) { type FormatData (line 252) | type FormatData struct function AddGlobalFields (line 268) | func AddGlobalFields(inst *limatype.Instance) (FormatData, error) { type PrintOptions (line 289) | type PrintOptions struct function PrintInstances (line 296) | func PrintInstances(w io.Writer, instances []*limatype.Instance, format ... FILE: pkg/store/instance_test.go constant separator (line 19) | separator = string(filepath.Separator) function TestSSHPortFromConfig (line 69) | func TestSSHPortFromConfig(t *testing.T) { function TestPrintInstanceTable (line 96) | func TestPrintInstanceTable(t *testing.T) { function TestPrintInstanceTableEmu (line 104) | func TestPrintInstanceTableEmu(t *testing.T) { function TestPrintInstanceTableHome (line 114) | func TestPrintInstanceTableHome(t *testing.T) { function TestPrintInstanceTable60 (line 126) | func TestPrintInstanceTable60(t *testing.T) { function TestPrintInstanceTable80SameArch (line 135) | func TestPrintInstanceTable80SameArch(t *testing.T) { function TestPrintInstanceTable80DiffArch (line 144) | func TestPrintInstanceTable80DiffArch(t *testing.T) { function TestPrintInstanceTable100 (line 155) | func TestPrintInstanceTable100(t *testing.T) { function TestPrintInstanceTableAll (line 164) | func TestPrintInstanceTableAll(t *testing.T) { function TestPrintInstanceTableTwo (line 173) | func TestPrintInstanceTableTwo(t *testing.T) { FILE: pkg/store/store.go function Directory (line 23) | func Directory() string { function Validate (line 32) | func Validate() error { function Instances (line 53) | func Instances() ([]string, error) { function Disks (line 78) | func Disks() ([]string, error) { function DiskDir (line 97) | func DiskDir(name string) (string, error) { function LoadYAMLByFilePath (line 110) | func LoadYAMLByFilePath(ctx context.Context, filePath string) (*limatype... FILE: pkg/store/store_test.go function TestValidateInstName (line 14) | func TestValidateInstName(t *testing.T) { FILE: pkg/sysprof/network_darwin.go type SPNetworkDataType (line 6) | type SPNetworkDataType struct type NetworkDataType (line 10) | type NetworkDataType struct type DNS (line 17) | type DNS struct type IPv4 (line 21) | type IPv4 struct type Proxies (line 25) | type Proxies struct FILE: pkg/sysprof/sysprof_darwin.go function SystemProfiler (line 30) | func SystemProfiler(ctx context.Context, dataType string) ([]byte, error) { FILE: pkg/templatestore/templatestore.go type Template (line 21) | type Template struct function templatesPaths (line 26) | func templatesPaths() ([]string, error) { function Read (line 50) | func Read(name string) ([]byte, error) { constant Default (line 75) | Default = "default" function Templates (line 81) | func Templates() ([]Template, error) { FILE: pkg/textutil/textutil.go function ExecuteTemplate (line 18) | func ExecuteTemplate(tmpl string, args any) ([]byte, error) { function PrefixString (line 31) | func PrefixString(prefix, text string) string { function IndentString (line 42) | func IndentString(size int, text string) string { function MissingString (line 48) | func MissingString(message, text string) string { FILE: pkg/textutil/textutil_test.go function TestPrefixString (line 14) | func TestPrefixString(t *testing.T) { function TestIndentString (line 22) | func TestIndentString(t *testing.T) { function TestMissingString (line 27) | func TestMissingString(t *testing.T) { function TestTemplateFuncs (line 32) | func TestTemplateFuncs(t *testing.T) { FILE: pkg/uiutil/uiutil.go function Confirm (line 18) | func Confirm(message string, defaultParam bool) (bool, error) { function Select (line 32) | func Select(message string, options []string) (int, error) { function InputIsTTY (line 46) | func InputIsTTY(reader io.Reader) bool { function OutputIsTTY (line 52) | func OutputIsTTY(writer io.Writer) bool { FILE: pkg/usrlocal/usrlocal.go function SelfDirs (line 47) | func SelfDirs() []string { function delveDebugExe (line 76) | func delveDebugExe() string { function delveWorkspace (line 88) | func delveWorkspace() string { function ShareLima (line 100) | func ShareLima() ([]string, error) { function GuestAgentBinary (line 130) | func GuestAgentBinary(ostype limatype.OS, arch limatype.Arch) (string, e... function chooseGABinary (line 159) | func chooseGABinary(candidates []string) (string, error) { function LibexecLima (line 184) | func LibexecLima() ([]string, error) { FILE: pkg/version/versionutil/versionutil.go function Parse (line 16) | func Parse(version string) (*semver.Version, error) { function compare (line 23) | func compare(limaVersion, oldVersion string) int { function GreaterThan (line 51) | func GreaterThan(limaVersion, oldVersion string) bool { function GreaterEqual (line 56) | func GreaterEqual(limaVersion, oldVersion string) bool { function LessThan (line 61) | func LessThan(limaVersion, oldVersion string) bool { FILE: pkg/version/versionutil/versionutil_test.go function TestGreaterThan (line 12) | func TestGreaterThan(t *testing.T) { function TestGreaterEqual (line 21) | func TestGreaterEqual(t *testing.T) { function TestParse (line 31) | func TestParse(t *testing.T) { function TestCompareWithUnparsableOldVersion (line 45) | func TestCompareWithUnparsableOldVersion(t *testing.T) { FILE: pkg/windows/process_windows.go type CommandLineJSON (line 13) | type CommandLineJSON function GetProcessCommandLine (line 18) | func GetProcessCommandLine(ctx context.Context, name string) ([]string, ... FILE: pkg/windows/registry_windows.go constant guestCommunicationsPrefix (line 17) | guestCommunicationsPrefix = `SOFTWARE\Microsoft\Windows NT\CurrentVersio... constant magicVSOCKSuffix (line 18) | magicVSOCKSuffix = "-facb-11e6-bd58-64006a7986d3" constant wslDistroInfoPrefix (line 19) | wslDistroInfoPrefix = `SOFTWARE\Microsoft\Windows\CurrentVersion\L... function AddVSockRegistryKey (line 23) | func AddVSockRegistryKey(port int) error { function RemoveVSockRegistryKey (line 59) | func RemoveVSockRegistryKey(port int) error { function IsVSockPortFree (line 80) | func IsVSockPortFree(port int) (bool, error) { function GetDistroID (line 100) | func GetDistroID(name string) (string, error) { function GetRandomFreeVSockPort (line 148) | func GetRandomFreeVSockPort(minPort, maxPort int) (int, error) { function getGuestCommunicationServicesKey (line 191) | func getGuestCommunicationServicesKey(allowWrite bool) (registry.Key, er... function getUsedPorts (line 212) | func getUsedPorts(key registry.Key) ([]int, error) { FILE: pkg/windows/wsl_util_windows.go function GetInstanceVMID (line 17) | func GetInstanceVMID(ctx context.Context, instanceName string) (string, ... FILE: pkg/yqutil/fuzz_test.go function FuzzEvaluateExpression (line 10) | func FuzzEvaluateExpression(f *testing.F) { FILE: pkg/yqutil/yqutil.go function ValidateContent (line 22) | func ValidateContent(content []byte) error { function EvaluateExpressionWithEncoder (line 43) | func EvaluateExpressionWithEncoder(expression, content string, encoder y... function EvaluateExpressionPlain (line 86) | func EvaluateExpressionPlain(expression, content string, colorsEnabled b... function EvaluateExpression (line 95) | func EvaluateExpression(expression string, content []byte) ([]byte, erro... function Join (line 120) | func Join(yqExprs []string) string { function yamlfmtBasicFormatter (line 124) | func yamlfmtBasicFormatter() (*basic.BasicFormatter, error) { FILE: pkg/yqutil/yqutil_test.go function TestValidateContent (line 13) | func TestValidateContent(t *testing.T) { function TestValidateContentError (line 22) | func TestValidateContentError(t *testing.T) { function TestEvaluateExpressionEmpty (line 32) | func TestEvaluateExpressionEmpty(t *testing.T) { function TestEvaluateExpressionSimple (line 43) | func TestEvaluateExpressionSimple(t *testing.T) { function TestEvaluateExpressionComplex (line 65) | func TestEvaluateExpressionComplex(t *testing.T) { function TestEvaluateExpressionError (line 97) | func TestEvaluateExpressionError(t *testing.T) { function TestEvaluateMergeExpression (line 103) | func TestEvaluateMergeExpression(t *testing.T) { function TestJoin (line 127) | func TestJoin(t *testing.T) {