SYMBOL INDEX (790 symbols across 105 files) FILE: app/app.go type App (line 30) | type App interface function New (line 46) | func New() (App, error) { type colimaApp (line 57) | type colimaApp struct method startWithRuntime (line 61) | func (c colimaApp) startWithRuntime(conf config.Config) ([]environment... method Start (line 102) | func (c colimaApp) Start(conf config.Config) error { method runProvisionScripts (line 163) | func (c colimaApp) runProvisionScripts(conf config.Config, mode string) { method Stop (line 178) | func (c colimaApp) Stop(force bool) error { method Delete (line 222) | func (c colimaApp) Delete(data, force bool) error { method SSH (line 302) | func (c colimaApp) SSH(args ...string) error { method getStatus (line 366) | func (c colimaApp) getStatus() (status statusInfo, err error) { method Status (line 412) | func (c colimaApp) Status(extended bool, jsonOutput bool) error { method Version (line 470) | func (c colimaApp) Version() error { method currentRuntime (line 503) | func (c colimaApp) currentRuntime(ctx context.Context) (string, error) { method setRuntime (line 516) | func (c colimaApp) setRuntime(runtime string) error { method setKubernetes (line 531) | func (c colimaApp) setKubernetes(conf config.Kubernetes) error { method currentContainerEnvironments (line 540) | func (c colimaApp) currentContainerEnvironments(ctx context.Context) (... method containerEnvironment (line 568) | func (c colimaApp) containerEnvironment(runtime string) (environment.C... method Runtime (line 580) | func (c colimaApp) Runtime() (string, error) { method Kubernetes (line 584) | func (c colimaApp) Kubernetes() (environment.Container, error) { method Active (line 588) | func (c colimaApp) Active() bool { method Update (line 592) | func (c *colimaApp) Update() error { type statusInfo (line 349) | type statusInfo struct function generateSSHConfig (line 627) | func generateSSHConfig(modifySSHConfig bool) error { FILE: cli/chain.go type errNonFatal (line 16) | type errNonFatal struct method Error (line 21) | func (e errNonFatal) Error() string { return e.err.Error() } function ErrNonFatal (line 25) | func ErrNonFatal(err error) error { function New (line 30) | func New(name string) CommandChain { type cFunc (line 36) | type cFunc struct type CommandChain (line 43) | type CommandChain interface type namedCommandChain (line 52) | type namedCommandChain struct method Logger (line 57) | func (n *namedCommandChain) Logger(ctx context.Context) *log.Entry { method Init (line 69) | func (n *namedCommandChain) Init(ctx context.Context) *ActiveCommandCh... type ActiveCommandChain (line 76) | type ActiveCommandChain struct method Logger (line 85) | func (a *ActiveCommandChain) Logger() *log.Entry { return a.log } method Add (line 88) | func (a *ActiveCommandChain) Add(f func() error) { method Stage (line 93) | func (a *ActiveCommandChain) Stage(s string) { method Stagef (line 102) | func (a *ActiveCommandChain) Stagef(format string, s ...any) { method Exec (line 110) | func (a *ActiveCommandChain) Exec() error { method Retry (line 151) | func (a *ActiveCommandChain) Retry(stage string, interval time.Duratio... FILE: cli/command.go function Command (line 21) | func Command(command string, args ...string) *exec.Cmd { return runner.C... function CommandInteractive (line 24) | func CommandInteractive(command string, args ...string) *exec.Cmd { type commandRunner (line 28) | type commandRunner interface type defaultCommandRunner (line 35) | type defaultCommandRunner struct method Command (line 37) | func (d defaultCommandRunner) Command(command string, args ...string) ... method CommandInteractive (line 47) | func (d defaultCommandRunner) CommandInteractive(command string, args ... function quotedArgs (line 58) | func quotedArgs(args []string) string { function Prompt (line 67) | func Prompt(question string) bool { FILE: cmd/clone.go function init (line 77) | func init() { FILE: cmd/colima/main.go function main (line 11) | func main() { FILE: cmd/completion.go function completionCmd (line 11) | func completionCmd() *cobra.Command { function init (line 72) | func init() { FILE: cmd/daemon/cmd.go function init (line 96) | func init() { FILE: cmd/daemon/daemon.go function daemonize (line 24) | func daemonize() (ctx *godaemon.Context, child bool, err error) { function start (line 54) | func start(ctx context.Context, processes []process.Process) error { function stop (line 83) | func stop(ctx context.Context) error { function status (line 112) | func status() error { constant pidFileName (line 141) | pidFileName = "daemon.pid" constant logFileName (line 142) | logFileName = "daemon.log" function Info (line 145) | func Info() struct { function RunProcesses (line 162) | func RunProcesses(ctx context.Context, processes ...process.Process) err... FILE: cmd/daemon/daemon_test.go function setDir (line 15) | func setDir(t *testing.T) { function getProcesses (line 22) | func getProcesses() []process.Process { function TestStart (line 36) | func TestStart(t *testing.T) { function TestRunProcesses (line 90) | func TestRunProcesses(t *testing.T) { type pinger (line 117) | type pinger struct method Alive (line 121) | func (p pinger) Alive(ctx context.Context) error { method Name (line 126) | func (pinger) Name() string { return "pinger" } method Start (line 129) | func (p *pinger) Start(ctx context.Context) error { method Dependencies (line 134) | func (p *pinger) Dependencies() ([]process.Dependency, bool) { return ... method run (line 136) | func (p *pinger) run(ctx context.Context, command string, args ...stri... FILE: cmd/delete.go function init (line 27) | func init() { FILE: cmd/kubernetes.go function init (line 131) | func init() { FILE: cmd/list.go function init (line 79) | func init() { FILE: cmd/model.go function init (line 221) | func init() { function getModelRunner (line 234) | func getModelRunner() (model.Runner, error) { FILE: cmd/nerdctl.go constant nerdctlDefaultInstallPath (line 169) | nerdctlDefaultInstallPath = "/usr/local/bin/nerdctl" constant nerdctlScript (line 171) | nerdctlScript = `#!/usr/bin/env sh function init (line 176) | func init() { FILE: cmd/prune.go function init (line 56) | func init() { FILE: cmd/restart.go function init (line 49) | func init() { FILE: cmd/root/root.go function Cmd (line 65) | func Cmd() *cobra.Command { function Execute (line 78) | func Execute() { function init (line 84) | func init() { function initLog (line 90) | func initLog() { FILE: cmd/ssh-config.go function init (line 27) | func init() { FILE: cmd/ssh.go function init (line 24) | func init() { FILE: cmd/start.go constant defaultCPU (line 124) | defaultCPU = 2 constant defaultMemory (line 125) | defaultMemory = 2 constant defaultDisk (line 126) | defaultDisk = 100 constant defaultRootDisk (line 127) | defaultRootDisk = 20 constant defaultKubernetesVersion (line 128) | defaultKubernetesVersion = kubernetes.DefaultVersion constant defaultMountTypeQEMU (line 130) | defaultMountTypeQEMU = "sshfs" constant defaultMountTypeVZ (line 131) | defaultMountTypeVZ = "virtiofs" function init (line 160) | func init() { function dnsHostsFromFlag (line 274) | func dnsHostsFromFlag(hosts []string) map[string]string { function mountsFromFlag (line 292) | func mountsFromFlag(mounts []string) []config.Mount { function setFlagDefaults (line 320) | func setFlagDefaults(cmd *cobra.Command) { function setConfigDefaults (line 370) | func setConfigDefaults(conf *config.Config) { function setFixedConfigs (line 396) | func setFixedConfigs(conf *config.Config) { function prepareConfig (line 436) | func prepareConfig(cmd *cobra.Command) { function editConfigFile (line 622) | func editConfigFile() (config.Config, error) { function start (line 658) | func start(app app.App, conf config.Config) error { function awaitForInterruption (line 668) | func awaitForInterruption(app app.App) error { FILE: cmd/start_test.go function Test_mountsFromFlag (line 11) | func Test_mountsFromFlag(t *testing.T) { FILE: cmd/status.go function init (line 24) | func init() { FILE: cmd/stop.go function init (line 26) | func init() { FILE: cmd/template.go function templateFile (line 70) | func templateFile() string { return filepath.Join(config.TemplatesDir(),... function templateFileOrDefault (line 72) | func templateFileOrDefault() (string, error) { function init (line 89) | func init() { FILE: cmd/update.go function init (line 20) | func init() { FILE: cmd/util.go function newApp (line 17) | func newApp() app.App { function waitForUserEdit (line 28) | func waitForUserEdit(editor string, content []byte) (string, error) { function launchEditor (line 58) | func launchEditor(editor string, file string) error { FILE: cmd/version.go function init (line 41) | func init() { FILE: config/config.go constant AppName (line 12) | AppName = "colima" constant envProfile (line 13) | envProfile = "COLIMA_PROFILE" type VersionInfo (line 17) | type VersionInfo struct function AppVersion (line 22) | func AppVersion() VersionInfo { return VersionInfo{Version: appVersion, ... function EnvProfile (line 23) | func EnvProfile() string { return osutil.EnvVar(envProfile).Val() } type Config (line 31) | type Config struct method MountsOrDefault (line 121) | func (c Config) MountsOrDefault() []Mount { method AutoActivate (line 134) | func (c Config) AutoActivate() bool { method Empty (line 142) | func (c Config) Empty() bool { return c.Runtime == "" } method DriverLabel (line 144) | func (c Config) DriverLabel() string { type Kubernetes (line 78) | type Kubernetes struct type Network (line 86) | type Network struct type Mount (line 98) | type Mount struct constant ProvisionModeAfterBoot (line 106) | ProvisionModeAfterBoot = "after-boot" constant ProvisionModeReady (line 107) | ProvisionModeReady = "ready" type Provision (line 110) | type Provision struct method IsColimaMode (line 117) | func (p Provision) IsColimaMode() bool { type Disk (line 154) | type Disk method GiB (line 157) | func (d Disk) GiB() string { return fmt.Sprintf("%dGiB", d) } method Int (line 160) | func (d Disk) Int() int64 { return 1024 * 1024 * 1024 * int64(d) } function CtxKey (line 163) | func CtxKey() any { FILE: config/configmanager/configmanager.go function Save (line 16) | func Save(c config.Config) error { function SaveFromFile (line 21) | func SaveFromFile(file string) error { function SaveToFile (line 30) | func SaveToFile(c config.Config, file string) error { function LoadFrom (line 35) | func LoadFrom(file string) (config.Config, error) { function ValidateConfig (line 51) | func ValidateConfig(c config.Config) error { function Load (line 107) | func Load() (c config.Config, err error) { function LoadInstance (line 117) | func LoadInstance() (config.Config, error) { function Teardown (line 122) | func Teardown() error { function validateGatewayAddress (line 132) | func validateGatewayAddress(gateway net.IP) error { FILE: config/files.go type requiredDir (line 15) | type requiredDir struct method Dir (line 29) | func (r *requiredDir) Dir() string { function CacheDir (line 156) | func CacheDir() string { return cacheDir.Dir() } function TemplatesDir (line 159) | func TemplatesDir() string { return templatesDir.Dir() } function LimaDir (line 162) | func LimaDir() string { return limaDir.Dir() } constant configFileName (line 164) | configFileName = "colima.yaml" function SSHConfigFile (line 167) | func SSHConfigFile() string { return filepath.Join(configBaseDir.Dir(), ... FILE: config/profile.go function SetProfile (line 13) | func SetProfile(profileName string) { function ProfileFromName (line 19) | func ProfileFromName(name string) *Profile { function CurrentProfile (line 42) | func CurrentProfile() *Profile { return profile } type Profile (line 45) | type Profile struct method ConfigDir (line 56) | func (p *Profile) ConfigDir() string { method LimaInstanceDir (line 68) | func (p *Profile) LimaInstanceDir() string { method File (line 73) | func (p *Profile) File() string { method LimaFile (line 78) | func (p *Profile) LimaFile() string { method StateFile (line 83) | func (p *Profile) StateFile() string { method StoreFile (line 87) | func (p *Profile) StoreFile() string { type ProfileInfo (line 94) | type ProfileInfo interface FILE: core/core.go constant limaVersion (line 16) | limaVersion = "v0.18.0" function SetupBinfmt (line 24) | func SetupBinfmt(host hostActions, guest guestActions, arch environment.... function LimaVersionSupported (line 46) | func LimaVersionSupported() error { FILE: daemon/daemon.go type Manager (line 19) | type Manager interface type Status (line 26) | type Status struct type processStatus (line 32) | type processStatus struct function NewManager (line 39) | func NewManager(host environment.HostActions) Manager { function CtxKey (line 45) | func CtxKey(s string) any { return struct{ key string }{key: s} } type processManager (line 49) | type processManager struct method Dependency (line 53) | func (l processManager) Dependency(ctx context.Context, conf config.Co... method init (line 65) | func (l processManager) init() error { method Running (line 73) | func (l processManager) Running(ctx context.Context, conf config.Confi... method Start (line 93) | func (l processManager) Start(ctx context.Context, conf config.Config)... method Stop (line 126) | func (l processManager) Stop(ctx context.Context, conf config.Config) ... function processesFromConfig (line 133) | func processesFromConfig(conf config.Config) []process.Process { FILE: daemon/process/inotify/events.go type modEvent (line 10) | type modEvent struct method Mode (line 15) | func (m modEvent) Mode() string { return fmt.Sprintf("%o", m.FileMode) } method handleEvents (line 17) | func (f *inotifyProcess) handleEvents(ctx context.Context, watcher dirWa... FILE: daemon/process/inotify/inotify.go constant Name (line 14) | Name = "inotify" constant volumesInterval (line 15) | volumesInterval = 5 * time.Second type Args (line 17) | type Args struct function CtxKeyArgs (line 23) | func CtxKeyArgs() any { return struct{ name string }{name: "inotify_args... function New (line 26) | func New() process.Process { type inotifyProcess (line 34) | type inotifyProcess struct method Alive (line 43) | func (f *inotifyProcess) Alive(ctx context.Context) error { method Dependencies (line 54) | func (*inotifyProcess) Dependencies() (deps []process.Dependency, root... method Name (line 59) | func (*inotifyProcess) Name() string { method Start (line 64) | func (f *inotifyProcess) Start(ctx context.Context) error { method waitForLima (line 85) | func (f *inotifyProcess) waitForLima(ctx context.Context) { FILE: daemon/process/inotify/volumes.go method monitorContainerVolumes (line 16) | func (f *inotifyProcess) monitorContainerVolumes(ctx context.Context, c ... method fetchVolumes (line 83) | func (f *inotifyProcess) fetchVolumes(cmdArgs ...string) ([]string, erro... function omitChildrenDirectories (line 152) | func omitChildrenDirectories(dirs []string) []string { FILE: daemon/process/inotify/volumes_test.go function Test_omitChildrenDirectories (line 9) | func Test_omitChildrenDirectories(t *testing.T) { FILE: daemon/process/inotify/watch.go type dirWatcher (line 13) | type dirWatcher interface type defaultWatcher (line 24) | type defaultWatcher struct method Watch (line 29) | func (d *defaultWatcher) Watch(ctx context.Context, dirs []string, mod... FILE: daemon/process/process.go function CtxKeyDaemon (line 13) | func CtxKeyDaemon() any { return struct{ key string }{key: "colima_daemo... type Process (line 16) | type Process interface function Dir (line 31) | func Dir() string { return filepath.Join(config.CurrentProfile().ConfigD... type Dependency (line 34) | type Dependency interface function Dependencies (line 41) | func Dependencies(processes ...Process) (deps Dependency, root bool) { type processDeps (line 57) | type processDeps method Installed (line 59) | func (p processDeps) Installed() bool { method Install (line 72) | func (p processDeps) Install(host environment.HostActions) error { FILE: daemon/process/vmnet/deps.go type sudoerFile (line 16) | type sudoerFile struct method Installed (line 19) | func (s sudoerFile) Installed() bool { return embedded.SudoersInstalle... method Install (line 22) | func (s sudoerFile) Install(host environment.HostActions) error { constant BinaryPath (line 28) | BinaryPath = "/opt/colima/bin/socket_vmnet" constant ClientBinaryPath (line 29) | ClientBinaryPath = "/opt/colima/bin/socket_vmnet_client" type vmnetFile (line 31) | type vmnetFile struct method Installed (line 34) | func (v vmnetFile) Installed() bool { method bins (line 43) | func (v vmnetFile) bins() []string { method Install (line 46) | func (v vmnetFile) Install(host environment.HostActions) error { type vmnetRunDir (line 86) | type vmnetRunDir struct method Install (line 89) | func (v vmnetRunDir) Install(host environment.HostActions) error { method Installed (line 94) | func (v vmnetRunDir) Installed() bool { constant optDir (line 99) | optDir = "/opt/colima" function runDir (line 102) | func runDir() string { return filepath.Join(optDir, "run") } FILE: daemon/process/vmnet/vmnet.go constant Name (line 18) | Name = "vmnet" constant SubProcessEnvVar (line 21) | SubProcessEnvVar = "COLIMA_VMNET" constant NetGateway (line 23) | NetGateway = "192.168.106.1" constant NetDHCPEnd (line 24) | NetDHCPEnd = "192.168.106.254" function New (line 29) | func New(mode, netInterface string) process.Process { type vmnetProcess (line 36) | type vmnetProcess struct method Alive (line 41) | func (*vmnetProcess) Alive(ctx context.Context) error { method Name (line 68) | func (*vmnetProcess) Name() string { return Name } method Start (line 71) | func (v *vmnetProcess) Start(ctx context.Context) error { method Dependencies (line 127) | func (vmnetProcess) Dependencies() (deps []process.Dependency, root bo... function stop (line 135) | func stop(pidFile string) error { function forceDeleteFileIfExists (line 147) | func forceDeleteFileIfExists(name string) error { function Info (line 154) | func Info() struct { FILE: embedded/embed.go function FS (line 11) | func FS() embed.FS { return fs } function read (line 13) | func read(file string) ([]byte, error) { return fs.ReadFile(file) } function Read (line 16) | func Read(file string) ([]byte, error) { return read(file) } function ReadString (line 19) | func ReadString(file string) (string, error) { FILE: embedded/sudoers.go constant sudoersPath (line 14) | sudoersPath = "/etc/sudoers.d/colima" constant sudoersEmbeddedPath (line 15) | sudoersEmbeddedPath = "network/sudo.txt" type SudoersInstaller (line 19) | type SudoersInstaller interface function SudoersInstalled (line 25) | func SudoersInstalled() bool { function InstallSudoers (line 39) | func InstallSudoers(host SudoersInstaller) error { FILE: environment/container.go function IsNoneRuntime (line 10) | func IsNoneRuntime(runtime string) bool { return runtime == "none" } type Container (line 13) | type Container interface function NewContainer (line 37) | func NewContainer(runtime string, host HostActions, guest GuestActions) ... type NewContainerFunc (line 46) | type NewContainerFunc type containerRuntimeFunc (line 50) | type containerRuntimeFunc struct function RegisterContainer (line 57) | func RegisterContainer(name string, f NewContainerFunc, hidden bool) { function ContainerRuntimes (line 65) | func ContainerRuntimes() (names []string) { type DataDisk (line 76) | type DataDisk struct type DiskDir (line 83) | type DiskDir struct FILE: environment/container/containerd/containerd.go constant Name (line 18) | Name = "containerd" function HostSocketFiles (line 23) | func HostSocketFiles() (files struct { constant containerdConfFile (line 43) | containerdConfFile = "/etc/containerd/config.toml" constant buildKitConfFile (line 44) | buildKitConfFile = "/etc/buildkit/buildkitd.toml" function newRuntime (line 46) | func newRuntime(host environment.HostActions, guest environment.GuestAct... function init (line 55) | func init() { type containerdRuntime (line 61) | type containerdRuntime struct method Name (line 68) | func (c containerdRuntime) Name() string { method Provision (line 72) | func (c containerdRuntime) Provision(ctx context.Context) error { method provisionConfig (line 114) | func (c containerdRuntime) provisionConfig(profilePath, centralPath, g... method Start (line 137) | func (c containerdRuntime) Start(ctx context.Context) error { method Running (line 156) | func (c containerdRuntime) Running(ctx context.Context) bool { method Stop (line 160) | func (c containerdRuntime) Stop(ctx context.Context, force bool) error { method Teardown (line 168) | func (c containerdRuntime) Teardown(context.Context) error { method Dependencies (line 173) | func (c containerdRuntime) Dependencies() []string { method Version (line 178) | func (c containerdRuntime) Version(ctx context.Context) string { method Update (line 183) | func (c *containerdRuntime) Update(ctx context.Context) (bool, error) { function userConfigDir (line 95) | func userConfigDir() string { function DataDisk (line 188) | func DataDisk() environment.DataDisk { FILE: environment/container/docker/containerd.go constant containerdConfFile (line 9) | containerdConfFile = "/etc/containerd/config.toml" constant containerdConfFileBackup (line 10) | containerdConfFileBackup = "/etc/containerd/config.colima.bak.toml" method provisionContainerd (line 15) | func (d dockerRuntime) provisionContainerd(ctx context.Context) error { FILE: environment/container/docker/context.go function HostSocketFile (line 12) | func HostSocketFile() string { return filepath.Join(configDir(), "docker... function LegacyDefaultHostSocketFile (line 13) | func LegacyDefaultHostSocketFile() string { method contextCreated (line 17) | func (d dockerRuntime) contextCreated() bool { method setupContext (line 21) | func (d dockerRuntime) setupContext() error { method useContext (line 34) | func (d dockerRuntime) useContext() error { method teardownContext (line 38) | func (d dockerRuntime) teardownContext() error { FILE: environment/container/docker/daemon.go constant daemonFile (line 10) | daemonFile = "/etc/docker/daemon.json" constant hostGatewayIPKey (line 11) | hostGatewayIPKey = "host-gateway-ip" function getHostGatewayIp (line 13) | func getHostGatewayIp(d dockerRuntime, conf map[string]any) (string, err... function resolveHostProxy (line 32) | func resolveHostProxy(hostProxy, hostGateway string) string { method createDaemonFile (line 55) | func (d dockerRuntime) createDaemonFile(conf map[string]any, env map[str... method addHostGateway (line 105) | func (d dockerRuntime) addHostGateway(conf map[string]any) error { method reloadAndRestartSystemdService (line 121) | func (d dockerRuntime) reloadAndRestartSystemdService() error { constant systemdUnitFilename (line 131) | systemdUnitFilename = "/etc/systemd/system/docker.service.d/docker.conf" constant systemdUnitFileContent (line 132) | systemdUnitFileContent string = ` FILE: environment/container/docker/docker.go constant Name (line 18) | Name = "docker" function init (line 22) | func init() { type dockerRuntime (line 26) | type dockerRuntime struct method Name (line 43) | func (d dockerRuntime) Name() string { method Provision (line 47) | func (d dockerRuntime) Provision(ctx context.Context) error { method Start (line 82) | func (d dockerRuntime) Start(ctx context.Context) error { method Running (line 107) | func (d dockerRuntime) Running(ctx context.Context) bool { method Stop (line 111) | func (d dockerRuntime) Stop(ctx context.Context, force bool) error { method Teardown (line 129) | func (d dockerRuntime) Teardown(ctx context.Context) error { method Dependencies (line 138) | func (d dockerRuntime) Dependencies() []string { method Version (line 142) | func (d dockerRuntime) Version(ctx context.Context) string { method Update (line 147) | func (d *dockerRuntime) Update(ctx context.Context) (bool, error) { function newRuntime (line 34) | func newRuntime(host environment.HostActions, guest environment.GuestAct... function DataDisk (line 158) | func DataDisk() environment.DataDisk { function DockerDir (line 178) | func DockerDir() string { FILE: environment/container/docker/proxy.go type proxyVars (line 8) | type proxyVars struct method empty (line 14) | func (p proxyVars) empty() bool { type proxyVarKey (line 18) | type proxyVarKey method Keys (line 28) | func (p proxyVarKey) Keys() []string { method proxyEnvVars (line 32) | func (d dockerRuntime) proxyEnvVars(env map[string]string) proxyVars { FILE: environment/container/incus/incus.go constant incusBridgeInterface (line 21) | incusBridgeInterface = "incusbr0" function newRuntime (line 23) | func newRuntime(host environment.HostActions, guest environment.GuestAct... function HostSocketFile (line 35) | func HostSocketFile() string { return filepath.Join(configDir(), "incus.... constant Name (line 38) | Name = "incus" constant storageDriver (line 40) | storageDriver = "zfs" constant poolName (line 42) | poolName = "default" constant poolMetaDir (line 43) | poolMetaDir = "/var/lib/incus/storage-pools/" + poolName constant poolDisksDir (line 45) | poolDisksDir = "/var/lib/incus/disks" constant poolDiskFile (line 46) | poolDiskFile = poolDisksDir + "/" + poolName + ".img" function init (line 49) | func init() { type incusRuntime (line 55) | type incusRuntime struct method Dependencies (line 63) | func (c *incusRuntime) Dependencies() []string { method Provision (line 68) | func (c *incusRuntime) Provision(ctx context.Context) error { method Running (line 144) | func (c *incusRuntime) Running(ctx context.Context) bool { method Start (line 149) | func (c *incusRuntime) Start(ctx context.Context) error { method Stop (line 212) | func (c *incusRuntime) Stop(ctx context.Context, force bool) error { method Teardown (line 230) | func (c *incusRuntime) Teardown(ctx context.Context) error { method Version (line 244) | func (c *incusRuntime) Version(ctx context.Context) string { method Name (line 249) | func (c incusRuntime) Name() string { method setRemote (line 253) | func (c incusRuntime) setRemote(activate bool) error { method unsetRemote (line 271) | func (c incusRuntime) unsetRemote() error { method hasRemote (line 287) | func (c incusRuntime) hasRemote(name string) bool { method fetchRemotes (line 297) | func (c incusRuntime) fetchRemotes() (remoteInfo, error) { method isDefaultRemote (line 311) | func (c incusRuntime) isDefaultRemote() bool { method addDockerRemote (line 316) | func (c incusRuntime) addDockerRemote() error { method findNetwork (line 325) | func (c incusRuntime) findNetwork(interfaceName string) (found bool, i... method Update (line 356) | func (c *incusRuntime) Update(ctx context.Context) (bool, error) { method poolImported (line 368) | func (c *incusRuntime) poolImported() bool { method recoverDisk (line 375) | func (c *incusRuntime) recoverDisk(ctx context.Context) error { method wipeDisk (line 415) | func (c *incusRuntime) wipeDisk(size int) error { type remoteInfo (line 346) | type remoteInfo type networkInfo (line 350) | type networkInfo struct function migrationScript (line 434) | func migrationScript() string { function DataDisk (line 452) | func DataDisk() environment.DataDisk { FILE: environment/container/incus/route.go constant BridgeSubnet (line 13) | BridgeSubnet = "192.168.100.0/24" constant bridgeGateway (line 14) | bridgeGateway = "192.168.100.1/24" method addContainerRoute (line 18) | func (c *incusRuntime) addContainerRoute() error { method removeContainerRoute (line 48) | func (c *incusRuntime) removeContainerRoute() error { FILE: environment/container/kubernetes/cni.go function installCniConfig (line 13) | func installCniConfig(guest environment.GuestActions, a *cli.ActiveComma... FILE: environment/container/kubernetes/k3s.go constant listenPortKey (line 20) | listenPortKey = "k3s_listen_port" function hasK3sArg (line 22) | func hasK3sArg(k3sArgs []string, argName string) bool { function installK3s (line 37) | func installK3s(host environment.HostActions, function installK3sBinary (line 51) | func installK3sBinary( function installK3sCache (line 79) | func installK3sCache( function installK3sCluster (line 138) | func installK3sCluster( function getPortNumber (line 204) | func getPortNumber(guest environment.GuestActions, k3sListenPort int) (i... FILE: environment/container/kubernetes/kubeconfig.go constant masterAddressKey (line 15) | masterAddressKey = "master_address" method provisionKubeconfig (line 17) | func (c kubernetesRuntime) provisionKubeconfig(ctx context.Context) error { method unsetKubeconfig (line 123) | func (c kubernetesRuntime) unsetKubeconfig(a *cli.ActiveCommandChain) { method teardownKubeconfig (line 143) | func (c kubernetesRuntime) teardownKubeconfig(a *cli.ActiveCommandChain) { FILE: environment/container/kubernetes/kubernetes.go constant Name (line 21) | Name = "kubernetes" constant DefaultVersion (line 22) | DefaultVersion = "v1.35.0+k3s1" constant ConfigKey (line 24) | ConfigKey = "kubernetes_config" function newRuntime (line 27) | func newRuntime(host environment.HostActions, guest environment.GuestAct... function init (line 36) | func init() { type kubernetesRuntime (line 42) | type kubernetesRuntime struct method Name (line 49) | func (c kubernetesRuntime) Name() string { method isInstalled (line 53) | func (c kubernetesRuntime) isInstalled() bool { method isVersionInstalled (line 58) | func (c kubernetesRuntime) isVersionInstalled(version string) bool { method Running (line 67) | func (c kubernetesRuntime) Running(context.Context) bool { method runtime (line 71) | func (c kubernetesRuntime) runtime() string { method config (line 75) | func (c kubernetesRuntime) config() config.Kubernetes { method setConfig (line 83) | func (c kubernetesRuntime) setConfig(conf config.Kubernetes) error { method Provision (line 92) | func (c *kubernetesRuntime) Provision(ctx context.Context) error { method Start (line 149) | func (c kubernetesRuntime) Start(ctx context.Context) error { method Stop (line 171) | func (c kubernetesRuntime) Stop(ctx context.Context, force bool) error { method deleteAllContainers (line 186) | func (c kubernetesRuntime) deleteAllContainers() error { method stopAllContainers (line 208) | func (c kubernetesRuntime) stopAllContainers() error { method runningContainerIDs (line 230) | func (c kubernetesRuntime) runningContainerIDs() string { method Teardown (line 249) | func (c kubernetesRuntime) Teardown(ctx context.Context) error { method Dependencies (line 267) | func (c kubernetesRuntime) Dependencies() []string { method Version (line 271) | func (c kubernetesRuntime) Version(context.Context) string { method Update (line 276) | func (c *kubernetesRuntime) Update(ctx context.Context) (bool, error) { FILE: environment/environment.go type runActions (line 11) | type runActions interface type fileActions (line 25) | type fileActions interface type HostActions (line 32) | type HostActions interface type GuestActions (line 46) | type GuestActions interface type Dependencies (line 74) | type Dependencies interface FILE: environment/guest/systemctl/systemctl.go type Runner (line 7) | type Runner interface type Systemctl (line 16) | type Systemctl struct method Start (line 26) | func (s Systemctl) Start(service string) error { method Restart (line 31) | func (s Systemctl) Restart(service string) error { method Stop (line 36) | func (s Systemctl) Stop(service string, force bool) error { method Active (line 45) | func (s Systemctl) Active(service string) bool { method DaemonReload (line 50) | func (s Systemctl) DaemonReload() error { function New (line 21) | func New(guest Runner) Systemctl { FILE: environment/guest/systemctl/systemctl_test.go type mockGuest (line 9) | type mockGuest struct method Run (line 14) | func (m *mockGuest) Run(args ...string) error { m.lastArgs = args... method RunQuiet (line 15) | func (m *mockGuest) RunQuiet(args ...string) error { m.lastArgs = args... function TestStart (line 17) | func TestStart(t *testing.T) { function TestRestart (line 28) | func TestRestart(t *testing.T) { function TestStop (line 39) | func TestStop(t *testing.T) { function TestActive (line 63) | func TestActive(t *testing.T) { function TestDaemonReload (line 91) | func TestDaemonReload(t *testing.T) { function assertArgs (line 103) | func assertArgs(t *testing.T, got, want []string) { FILE: environment/host.go type Host (line 4) | type Host interface FILE: environment/host/host.go function New (line 20) | func New() environment.Host { type hostEnv (line 26) | type hostEnv struct method clone (line 31) | func (h hostEnv) clone() hostEnv { method WithEnv (line 38) | func (h hostEnv) WithEnv(env ...string) environment.HostActions { method WithDir (line 45) | func (h hostEnv) WithDir(dir string) environment.HostActions { method Run (line 51) | func (h hostEnv) Run(args ...string) error { method RunQuiet (line 77) | func (h hostEnv) RunQuiet(args ...string) error { method RunOutput (line 99) | func (h hostEnv) RunOutput(args ...string) (string, error) { method RunInteractive (line 132) | func (h hostEnv) RunInteractive(args ...string) error { method RunWith (line 144) | func (h hostEnv) RunWith(stdin io.Reader, stdout io.Writer, args ...st... method Env (line 167) | func (h hostEnv) Env(s string) string { method Read (line 171) | func (h hostEnv) Read(fileName string) (string, error) { method Write (line 176) | func (h hostEnv) Write(fileName string, body []byte) error { method Stat (line 180) | func (h hostEnv) Stat(fileName string) (os.FileInfo, error) { function errCmd (line 122) | func errCmd(args []string, stderr bytes.Buffer, err error) error { function IsInstalled (line 185) | func IsInstalled(dependencies environment.Dependencies) error { FILE: environment/vm.go type VM (line 11) | type VM interface constant ContainerRuntimeKey (line 21) | ContainerRuntimeKey = "runtime" type Arch (line 25) | type Arch method GoArch (line 38) | func (a Arch) GoArch() string { method Value (line 50) | func (a Arch) Value() Arch { constant X8664 (line 28) | X8664 Arch = "x86_64" constant AARCH64 (line 29) | AARCH64 Arch = "aarch64" function HostArch (line 33) | func HostArch() Arch { function DefaultVMType (line 66) | func DefaultVMType() string { FILE: environment/vm/lima/certs.go method copyCerts (line 12) | func (l limaVM) copyCerts() error { FILE: environment/vm/lima/config.go constant configFile (line 10) | configFile = "/etc/colima/colima.json" method getConf (line 12) | func (l limaVM) getConf() map[string]string { method Get (line 28) | func (l limaVM) Get(key string) string { method Set (line 36) | func (l limaVM) Set(key, value string) error { FILE: environment/vm/lima/daemon.go method startDaemon (line 16) | func (l *limaVM) startDaemon(ctx context.Context, conf config.Config) (c... FILE: environment/vm/lima/disk.go method createRuntimeDisk (line 27) | func (l *limaVM) createRuntimeDisk(conf config.Config) error { method useRuntimeDisk (line 61) | func (l *limaVM) useRuntimeDisk(conf config.Config) { function dataDisk (line 82) | func dataDisk(runtime string) environment.DataDisk { function diskMountScript (line 95) | func diskMountScript(format bool) string { method mountRuntimeDisk (line 112) | func (l *limaVM) mountRuntimeDisk(conf config.Config, format bool) { method downloadDiskImage (line 145) | func (l *limaVM) downloadDiskImage(ctx context.Context, conf config.Conf... method setDiskImage (line 186) | func (l *limaVM) setDiskImage() error { method syncDiskSize (line 200) | func (l *limaVM) syncDiskSize(ctx context.Context, conf config.Config) c... FILE: environment/vm/lima/dns.go constant localhostAddr (line 12) | localhostAddr = "127.0.0.1" constant defaultGatewayAddress (line 13) | defaultGatewayAddress = "192.168.5.2" function hasDnsmasq (line 16) | func hasDnsmasq(l *limaVM) bool { method setupDNS (line 21) | func (l *limaVM) setupDNS(conf config.Config) error { FILE: environment/vm/lima/file.go method Read (line 16) | func (l limaVM) Read(fileName string) (string, error) { method Write (line 24) | func (l *limaVM) Write(fileName string, body []byte) error { method Stat (line 33) | func (l *limaVM) Stat(fileName string) (os.FileInfo, error) { type fileInfo (line 39) | type fileInfo struct method IsDir (line 78) | func (f fileInfo) IsDir() bool { return f.isDir } method ModTime (line 81) | func (f fileInfo) ModTime() time.Time { return f.modTime } method Mode (line 84) | func (f fileInfo) Mode() fs.FileMode { return f.mode } method Name (line 87) | func (f fileInfo) Name() string { return f.name } method Size (line 90) | func (f fileInfo) Size() int64 { return f.size } method Sys (line 93) | func (fileInfo) Sys() any { return nil } function newFileInfo (line 47) | func newFileInfo(guest environment.GuestActions, filename string) (fileI... function statError (line 73) | func statError(filename string, err error) error { FILE: environment/vm/lima/lima.go function New (line 27) | func New(host environment.HostActions) environment.VM { constant envLimaInstance (line 48) | envLimaInstance = "LIMA_INSTANCE" constant lima (line 49) | lima = "lima" constant limactl (line 50) | limactl = limautil.LimactlCommand type limaVM (line 55) | type limaVM struct method Dependencies (line 72) | func (l limaVM) Dependencies() []string { method Start (line 78) | func (l *limaVM) Start(ctx context.Context, conf config.Config) error { method resume (line 134) | func (l *limaVM) resume(ctx context.Context, conf config.Config) error { method Running (line 182) | func (l limaVM) Running(_ context.Context) bool { method Stop (line 191) | func (l limaVM) Stop(ctx context.Context, force bool) error { method Teardown (line 226) | func (l limaVM) Teardown(ctx context.Context) error { method Restart (line 243) | func (l limaVM) Restart(ctx context.Context) error { method Host (line 262) | func (l limaVM) Host() environment.HostActions { method Env (line 266) | func (l limaVM) Env(s string) (string, error) { method Created (line 274) | func (l limaVM) Created() bool { method User (line 279) | func (l limaVM) User() (string, error) { method Arch (line 283) | func (l limaVM) Arch() environment.Arch { method addPostStartActions (line 288) | func (l *limaVM) addPostStartActions(a *cli.ActiveCommandChain, conf c... method assertQemu (line 367) | func (l *limaVM) assertQemu() error { method prepareHost (line 381) | func (l *limaVM) prepareHost(conf config.Config) { constant envLimaSSHPortForwarder (line 379) | envLimaSSHPortForwarder = "LIMA_SSH_PORT_FORWARDER" FILE: environment/vm/lima/limaconfig/config.go type Config (line 12) | type Config struct type File (line 35) | type File struct type Mount (line 41) | type Mount struct type Disk (line 48) | type Disk struct type SSH (line 55) | type SSH struct type Containerd (line 61) | type Containerd struct type Firmware (line 66) | type Firmware struct constant TCP (line 79) | TCP Proto = "tcp" constant UDP (line 80) | UDP Proto = "udp" constant REVSSHFS (line 82) | REVSSHFS MountType = "reverse-sshfs" constant NINEP (line 83) | NINEP MountType = "9p" constant VIRTIOFS (line 84) | VIRTIOFS MountType = "virtiofs" constant Krunkit (line 86) | Krunkit VMType = "krunkit" constant QEMU (line 87) | QEMU VMType = "qemu" constant VZ (line 88) | VZ VMType = "vz" type PortForward (line 91) | type PortForward struct type HostResolver (line 105) | type HostResolver struct type Network (line 111) | type Network struct constant ProvisionModeSystem (line 132) | ProvisionModeSystem ProvisionMode = "system" constant ProvisionModeUser (line 133) | ProvisionModeUser ProvisionMode = "user" constant ProvisionModeBoot (line 134) | ProvisionModeBoot ProvisionMode = "boot" constant ProvisionModeDependency (line 135) | ProvisionModeDependency ProvisionMode = "dependency" type Provision (line 138) | type Provision struct type NineP (line 144) | type NineP struct type VMOpts (line 151) | type VMOpts struct type QEMUOpts (line 156) | type QEMUOpts struct type VZOpts (line 161) | type VZOpts struct type Rosetta (line 165) | type Rosetta struct FILE: environment/vm/lima/limautil/disk.go function HasDisk (line 13) | func HasDisk() bool { function CreateDisk (line 37) | func CreateDisk(size int) error { function ResizeDisk (line 53) | func ResizeDisk(size int) error { function DeleteDisk (line 69) | func DeleteDisk() error { function MountPoint (line 85) | func MountPoint() string { return fmt.Sprintf("/mnt/lima-%s", config.Cur... function DiskProvisioned (line 88) | func DiskProvisioned(runtime string) bool { FILE: environment/vm/lima/limautil/files.go constant colimaDiffDiskFile (line 9) | colimaDiffDiskFile = "diffdisk" function ColimaDiffDisk (line 12) | func ColimaDiffDisk(profileID string) string { constant networkFile (line 16) | networkFile = "networks.yaml" function NetworkFile (line 19) | func NetworkFile() string { function NetworkAssetsDirectory (line 24) | func NetworkAssetsDirectory() string { FILE: environment/vm/lima/limautil/image.go function init (line 20) | func init() { function ImageCached (line 28) | func ImageCached(arch environment.Arch, runtime string) (limaconfig.File... function findImage (line 42) | func findImage(arch environment.Arch, runtime string) (f limaconfig.File... function Image (line 57) | func Image(arch environment.Arch, runtime string) (limaconfig.File, erro... function DownloadImage (line 62) | func DownloadImage(arch environment.Arch, runtime string) (f limaconfig.... type diskImages (line 99) | type diskImages function loadImages (line 101) | func loadImages() error { function loadImagesFromBytes (line 110) | func loadImagesFromBytes(b []byte) error { function downloadImage (line 142) | func downloadImage(host environment.HostActions, file limaconfig.File) (... function qcow2ToRaw (line 158) | func qcow2ToRaw(host environment.Host, image diskImageFile) (string, err... type diskImageFile (line 174) | type diskImageFile method String (line 176) | func (d diskImageFile) String() string { return strings.TrimSuffix(str... method Raw (line 177) | func (d diskImageFile) Raw() string { return d.String() + ".raw" } method Generated (line 178) | func (d diskImageFile) Generated() bool { method Location (line 184) | func (d diskImageFile) Location() string { FILE: environment/vm/lima/limautil/instance.go function Instance (line 15) | func Instance() (InstanceInfo, error) { type InstanceInfo (line 20) | type InstanceInfo struct method Running (line 37) | func (i InstanceInfo) Running() bool { return i.Status == limaStatusRu... method Config (line 40) | func (i InstanceInfo) Config() (config.Config, error) { constant limaStatusRunning (line 46) | limaStatusRunning = "Running" function getInstance (line 49) | func getInstance(profileID string) (InstanceInfo, error) { function Instances (line 77) | func Instances(ids ...string) ([]InstanceInfo, error) { function RunningInstances (line 135) | func RunningInstances() ([]InstanceInfo, error) { function getRuntime (line 151) | func getRuntime(conf config.Config) string { FILE: environment/vm/lima/limautil/limautil.go constant EnvLimaHome (line 12) | EnvLimaHome = "LIMA_HOME" constant EnvLimaDrivers (line 15) | EnvLimaDrivers = "LIMA_DRIVERS_PATH" constant LimactlCommand (line 18) | LimactlCommand = "limactl" function Limactl (line 21) | func Limactl(args ...string) *exec.Cmd { FILE: environment/vm/lima/limautil/network.go constant NetInterface (line 10) | NetInterface = "col0" constant NetMetric (line 13) | NetMetric uint32 = 300 constant NetMetricPreferred (line 14) | NetMetricPreferred uint32 = 100 function IPAddress (line 21) | func IPAddress(profileID string) string { function InternalIPAddress (line 40) | func InternalIPAddress(profileID string) string { function getIPAddress (line 44) | func getIPAddress(profileID, interfaceName string) string { type LimaNetworkConfig (line 56) | type LimaNetworkConfig struct type LimaNetwork (line 62) | type LimaNetwork struct FILE: environment/vm/lima/limautil/ssh.go function ShowSSH (line 16) | func ShowSSH(profileID string) (resp struct { function replaceSSHConfig (line 35) | func replaceSSHConfig(conf string, profileID string) string { constant sshConfigFile (line 53) | sshConfigFile = "ssh.config" type sshConfig (line 56) | type sshConfig method Contents (line 59) | func (s sshConfig) Contents() (string, error) { method File (line 69) | func (s sshConfig) File() string { FILE: environment/vm/lima/network.go method writeNetworkFile (line 30) | func (l *limaVM) writeNetworkFile(conf config.Config) error { method replicateHostAddresses (line 61) | func (l *limaVM) replicateHostAddresses(conf config.Config) error { method removeHostAddresses (line 72) | func (l *limaVM) removeHostAddresses() { method removeIncusContainerRoute (line 83) | func (l *limaVM) removeIncusContainerRoute() { FILE: environment/vm/lima/shell.go method Run (line 10) | func (l limaVM) Run(args ...string) error { method SSH (line 22) | func (l limaVM) SSH(workingDir string, args ...string) error { method RunInteractive (line 38) | func (l limaVM) RunInteractive(args ...string) error { method RunWith (line 50) | func (l limaVM) RunWith(stdin io.Reader, stdout io.Writer, args ...strin... method RunOutput (line 62) | func (l limaVM) RunOutput(args ...string) (out string, err error) { method RunQuiet (line 76) | func (l limaVM) RunQuiet(args ...string) (err error) { FILE: environment/vm/lima/yaml.go function newConf (line 24) | func newConf(ctx context.Context, conf config.Config) (l limaconfig.Conf... function selectPath (line 424) | func selectPath(m config.Mount) (string, error) { function checkOverlappingMounts (line 432) | func checkOverlappingMounts(mounts []config.Mount) error { function ingressDisabled (line 452) | func ingressDisabled(disableFlags []string) bool { constant diskLabelMaxLength (line 475) | diskLabelMaxLength = 16 function diskByLabelPath (line 477) | func diskByLabelPath(instanceId string) string { FILE: environment/vm/lima/yaml_test.go function Test_checkOverlappingMounts (line 16) | func Test_checkOverlappingMounts(t *testing.T) { function Test_config_Mounts (line 48) | func Test_config_Mounts(t *testing.T) { function Test_ingressDisabled (line 105) | func Test_ingressDisabled(t *testing.T) { FILE: model/docker.go type DockerModelInfo (line 17) | type DockerModelInfo struct method Hash (line 30) | func (m *DockerModelInfo) Hash() string { type ociManifest (line 38) | type ociManifest struct function findGGUFPath (line 48) | func findGGUFPath(guest environment.VM, modelHash string) (string, error) { function InspectDockerModel (line 98) | func InspectDockerModel(modelName string) (*DockerModelInfo, error) { function SetupOrUpdateDocker (line 114) | func SetupOrUpdateDocker() error { function GetDockerModelVersion (line 137) | func GetDockerModelVersion() string { function EnsureDockerModel (line 148) | func EnsureDockerModel(modelName string) (string, error) { type DockerModelServeConfig (line 173) | type DockerModelServeConfig struct function ServeDockerModel (line 184) | func ServeDockerModel(cfg DockerModelServeConfig) error { function ensureDockerModelRunner (line 266) | func ensureDockerModelRunner(guest environment.VM) error { function getDockerModelRunnerIP (line 282) | func getDockerModelRunnerIP(guest environment.VM) (string, error) { function startSocat (line 298) | func startSocat(guest environment.VM, port int, containerIP string) error { function stopSocat (line 305) | func stopSocat(guest environment.VM, port int) { function StopDockerModelServe (line 311) | func StopDockerModelServe(port int) error { function IsDockerModelServeRunning (line 328) | func IsDockerModelServeRunning(port int) bool { FILE: model/ramalama.go constant ramalamaReleasesURL (line 16) | ramalamaReleasesURL = "https://api.github.com/repos/containers/ramalama/... function SetupOrUpdateRamalama (line 20) | func SetupOrUpdateRamalama() error { function GetRamalamaVersion (line 26) | func GetRamalamaVersion() string { function getLatestRamalamaVersion (line 41) | func getLatestRamalamaVersion() (string, error) { type ramalamaModel (line 66) | type ramalamaModel struct function listRamalamaModels (line 73) | func listRamalamaModels() ([]ramalamaModel, error) { function ramalamaModelExists (line 94) | func ramalamaModelExists(modelName string) bool { function normalizeRamalamaModelName (line 115) | func normalizeRamalamaModelName(name string) string { function EnsureRamalamaModel (line 128) | func EnsureRamalamaModel(modelName string) error { function ProvisionRamalama (line 148) | func ProvisionRamalama() error { FILE: model/runner.go type RunnerType (line 24) | type RunnerType constant RunnerDocker (line 27) | RunnerDocker RunnerType = "docker" constant RunnerRamalama (line 28) | RunnerRamalama RunnerType = "ramalama" type SetupStatus (line 32) | type SetupStatus struct type Runner (line 42) | type Runner interface function GetRunner (line 72) | func GetRunner(runnerType RunnerType) (Runner, error) { function validateCommonPrerequisites (line 84) | func validateCommonPrerequisites(a app.App) error { type dockerRunner (line 119) | type dockerRunner struct method Name (line 121) | func (d *dockerRunner) Name() RunnerType { method DisplayName (line 125) | func (d *dockerRunner) DisplayName() string { method ValidatePrerequisites (line 129) | func (d *dockerRunner) ValidatePrerequisites(a app.App) error { method EnsureProvisioned (line 133) | func (d *dockerRunner) EnsureProvisioned() error { method BuildArgs (line 138) | func (d *dockerRunner) BuildArgs(args []string) ([]string, error) { method EnsureModel (line 145) | func (d *dockerRunner) EnsureModel(modelName string) (string, error) { method Serve (line 150) | func (d *dockerRunner) Serve(modelName string, port int) error { method CheckSetup (line 283) | func (d *dockerRunner) CheckSetup() (SetupStatus, error) { method Setup (line 291) | func (d *dockerRunner) Setup() error { method GetCurrentVersion (line 295) | func (d *dockerRunner) GetCurrentVersion() string { type dockerModel (line 158) | type dockerModel struct function GetFirstModel (line 165) | func GetFirstModel() (string, error) { function listDockerModels (line 181) | func listDockerModels() ([]dockerModel, error) { function ResolveModelName (line 208) | func ResolveModelName(name string) (string, error) { function matchesModel (line 226) | func matchesModel(name, tag string) bool { function normalizeModelName (line 273) | func normalizeModelName(name string) string { type ramalamaRunner (line 309) | type ramalamaRunner struct method Name (line 311) | func (r *ramalamaRunner) Name() RunnerType { method DisplayName (line 315) | func (r *ramalamaRunner) DisplayName() string { method ValidatePrerequisites (line 319) | func (r *ramalamaRunner) ValidatePrerequisites(a app.App) error { method EnsureProvisioned (line 323) | func (r *ramalamaRunner) EnsureProvisioned() error { method BuildArgs (line 340) | func (r *ramalamaRunner) BuildArgs(args []string) ([]string, error) { method EnsureModel (line 345) | func (r *ramalamaRunner) EnsureModel(modelName string) (string, error) { method Serve (line 353) | func (r *ramalamaRunner) Serve(modelName string, port int) error { method buildRamalamaArgs (line 365) | func (r *ramalamaRunner) buildRamalamaArgs(args []string) []string { method CheckSetup (line 381) | func (r *ramalamaRunner) CheckSetup() (SetupStatus, error) { method Setup (line 434) | func (r *ramalamaRunner) Setup() error { method GetCurrentVersion (line 438) | func (r *ramalamaRunner) GetCurrentVersion() string { FILE: model/runner_test.go function TestNormalizeModelName (line 7) | func TestNormalizeModelName(t *testing.T) { function TestMatchesModel (line 55) | func TestMatchesModel(t *testing.T) { function TestResolveModelNameWithMockData (line 199) | func TestResolveModelNameWithMockData(t *testing.T) { FILE: store/store.go type Store (line 13) | type Store struct function storeFile (line 22) | func storeFile() string { return config.CurrentProfile().StoreFile() } function Load (line 25) | func Load() (s Store, err error) { function save (line 39) | func save(s Store) error { function Set (line 53) | func Set(f func(*Store)) error { function Reset (line 69) | func Reset() error { FILE: util/debutil/debutil.go type packages (line 13) | type packages method Upgradable (line 17) | func (p packages) Upgradable() string { method Install (line 27) | func (p packages) Install() string { function UpdateRuntime (line 31) | func UpdateRuntime( FILE: util/downloader/curl.go constant DownloaderNative (line 15) | DownloaderNative = "native" constant DownloaderCurl (line 17) | DownloaderCurl = "curl" constant envDownloader (line 19) | envDownloader = "COLIMA_DOWNLOADER" function ValidateDownloader (line 24) | func ValidateDownloader(v string) (string, error) { type curlDownloader (line 36) | type curlDownloader struct method Download (line 39) | func (c *curlDownloader) Download(r Request, destPath string) error { FILE: util/downloader/download.go type Request (line 23) | type Request struct type FileDownloader (line 29) | type FileDownloader interface function SetDownloader (line 38) | func SetDownloader(v string) { function init (line 46) | func init() { function DownloadToGuest (line 60) | func DownloadToGuest(host hostActions, guest guestActions, r Request, fi... function CopyToGuest (line 75) | func CopyToGuest(host hostActions, src, dest string) error { function Download (line 81) | func Download(host hostActions, r Request) (string, error) { type downloader (line 93) | type downloader struct method cacheDownloadingFileName (line 100) | func (d downloader) cacheDownloadingFileName(url string) string { method resumeInfoPath (line 104) | func (d downloader) resumeInfoPath(url string) string { method downloadFile (line 108) | func (d downloader) downloadFile(r Request) (err error) { method saveResumeInfo (line 138) | func (d downloader) saveResumeInfo(url, etag string, bytesWritten int6... method hasCache (line 144) | func (d downloader) hasCache(url string) bool { function CacheFilename (line 96) | func CacheFilename(url string) string { FILE: util/downloader/errors.go type NetworkError (line 21) | type NetworkError struct method Error (line 27) | func (e *NetworkError) Error() string { method Unwrap (line 31) | func (e *NetworkError) Unwrap() error { method friendlyMessage (line 35) | func (e *NetworkError) friendlyMessage() string { type HTTPStatusError (line 65) | type HTTPStatusError struct method Error (line 71) | func (e *HTTPStatusError) Error() string { method Unwrap (line 88) | func (e *HTTPStatusError) Unwrap() error { type ResumeError (line 93) | type ResumeError struct method Error (line 98) | func (e *ResumeError) Error() string { method Unwrap (line 102) | func (e *ResumeError) Unwrap() error { type SHAValidationError (line 107) | type SHAValidationError struct method Error (line 114) | func (e *SHAValidationError) Error() string { method Unwrap (line 119) | func (e *SHAValidationError) Unwrap() error { FILE: util/downloader/http.go type HTTPClient (line 20) | type HTTPClient struct method GetFinalURL (line 73) | func (h *HTTPClient) GetFinalURL(ctx context.Context, rawURL string) (... method Download (line 100) | func (h *HTTPClient) Download(ctx context.Context, opts DownloadOption... method Fetch (line 221) | func (h *HTTPClient) Fetch(ctx context.Context, url string) ([]byte, e... method createProgressBar (line 247) | func (h *HTTPClient) createProgressBar(totalBytes, startOffset int64) ... type DownloadOptions (line 26) | type DownloadOptions struct type DownloadResult (line 35) | type DownloadResult struct type ResumeInfo (line 43) | type ResumeInfo struct function NewHTTPClient (line 49) | func NewHTTPClient() *HTTPClient { function parseContentRangeTotal (line 284) | func parseContentRangeTotal(header string) int64 { function isTerminal (line 300) | func isTerminal() bool { FILE: util/downloader/native.go type nativeDownloader (line 13) | type nativeDownloader struct method Download (line 16) | func (n *nativeDownloader) Download(r Request, destPath string) error { FILE: util/downloader/sha.go type SHA (line 19) | type SHA struct method ValidateFile (line 27) | func (s SHA) ValidateFile(host hostActions, file string) error { method validateFile (line 32) | func (s SHA) validateFile(file string) error { method validateDownload (line 73) | func (s SHA) validateDownload(url string, filename string) error { function fetchSHAFromURL (line 98) | func fetchSHAFromURL(shaURL, targetFilename string) (string, error) { function parseSHAContent (line 123) | func parseSHAContent(data []byte, targetFilename string) (string, error) { FILE: util/fsutil/fs.go function MkdirAll (line 13) | func MkdirAll(path string, perm os.FileMode) error { return FS.MkdirAll(... function Open (line 16) | func Open(name string) (fs.File, error) { return FS.Open(name) } type FileSystem (line 19) | type FileSystem interface type DefaultFS (line 28) | type DefaultFS struct method Open (line 31) | func (DefaultFS) Open(name string) (fs.File, error) { return os.Open(n... method MkdirAll (line 34) | func (DefaultFS) MkdirAll(path string, perm fs.FileMode) error { retur... type fakeFS (line 41) | type fakeFS struct method Open (line 44) | func (fakeFS) Open(name string) (fs.File, error) { method MkdirAll (line 51) | func (fakeFS) MkdirAll(path string, perm fs.FileMode) error { return n... FILE: util/macos.go function MacOS (line 19) | func MacOS() bool { function MacOS13OrNewerOnArm (line 24) | func MacOS13OrNewerOnArm() bool { function MacOS13OrNewer (line 29) | func MacOS13OrNewer() bool { return minMacOSVersion("13.0.0") } function MacOS15OrNewer (line 32) | func MacOS15OrNewer() bool { return minMacOSVersion("15.0.0") } function MacOSNestedVirtualizationSupported (line 35) | func MacOSNestedVirtualizationSupported() bool { function minMacOSVersion (line 39) | func minMacOSVersion(version string) bool { function IsMxOrNewer (line 60) | func IsMxOrNewer(min int) bool { type chipTypeDetector (line 74) | type chipTypeDetector interface type systemProfilerChipDetector (line 80) | type systemProfilerChipDetector struct method GetChipType (line 82) | func (d systemProfilerChipDetector) GetChipType() (string, error) { function parseMNumber (line 117) | func parseMNumber(s string) (int, bool) { function RosettaRunning (line 133) | func RosettaRunning() bool { function macOSProductVersion (line 144) | func macOSProductVersion() (*semver.Version, error) { FILE: util/macos_test.go type fakeDetector (line 8) | type fakeDetector struct method GetChipType (line 13) | func (f fakeDetector) GetChipType() (string, error) { return f.v, f.e } function TestParseMNumber (line 15) | func TestParseMNumber(t *testing.T) { function TestIsMxOrNewer (line 39) | func TestIsMxOrNewer(t *testing.T) { FILE: util/osutil/os.go type EnvVar (line 15) | type EnvVar method Exists (line 18) | func (e EnvVar) Exists() bool { method Bool (line 24) | func (e EnvVar) Bool() bool { method Val (line 30) | func (e EnvVar) Val() string { method ValOr (line 35) | func (e EnvVar) ValOr(val string) string { method WithPath (line 43) | func (e EnvVar) WithPath(p string) string { constant EnvColimaBinary (line 50) | EnvColimaBinary = "COLIMA_BINARY" function Executable (line 54) | func Executable() string { type Socket (line 89) | type Socket method Unix (line 92) | func (s Socket) Unix() string { return "unix://" + s.File() } method File (line 95) | func (s Socket) File() string { return strings.TrimPrefix(string(s), "... FILE: util/qemu.go function AssertQemuImg (line 9) | func AssertQemuImg() error { function AssertKrunkit (line 19) | func AssertKrunkit() error { FILE: util/shautil/sha.go type SHA (line 10) | type SHA interface type s1 (line 15) | type s1 method String (line 17) | func (s s1) String() string { return fmt.Sprintf("%x", s[:]) } method Bytes (line 18) | func (s s1) Bytes() []byte { return s[:] } type s256 (line 20) | type s256 method String (line 22) | func (s s256) String() string { return fmt.Sprintf("%x", s[:]) } method Bytes (line 23) | func (s s256) Bytes() []byte { return s[:] } function SHA256 (line 26) | func SHA256(s string) SHA { function SHA1 (line 31) | func SHA1(s string) SHA { FILE: util/template.go function WriteTemplate (line 11) | func WriteTemplate(body string, file string, values any) error { function ParseTemplate (line 20) | func ParseTemplate(body string, values any) ([]byte, error) { FILE: util/terminal/output.go type verboseWriter (line 19) | type verboseWriter struct method Write (line 39) | func (v *verboseWriter) Write(p []byte) (n int, err error) { method printLineVerbose (line 62) | func (v *verboseWriter) printLineVerbose() { method refresh (line 68) | func (v *verboseWriter) refresh() error { method addLine (line 74) | func (v *verboseWriter) addLine() { method Close (line 89) | func (v *verboseWriter) Close() error { method sanitizeLine (line 103) | func (v *verboseWriter) sanitizeLine(line string) string { method printScreen (line 115) | func (v *verboseWriter) printScreen() error { method clearScreen (line 135) | func (v *verboseWriter) clearScreen() { method updateTerm (line 141) | func (v *verboseWriter) updateTerm() error { function NewVerboseWriter (line 35) | func NewVerboseWriter(lineHeight int) io.WriteCloser { FILE: util/terminal/terminal.go function IsTerminal (line 15) | func IsTerminal() bool { function ClearLine (line 20) | func ClearLine() { function EnterAltScreen (line 31) | func EnterAltScreen() { function ExitAltScreen (line 41) | func ExitAltScreen() { function WithAltScreen (line 55) | func WithAltScreen(fn func() error, header ...string) error { function countLines (line 127) | func countLines(s string, termWidth int) int { FILE: util/util.go function HomeDir (line 16) | func HomeDir() string { function RandomAvailablePort (line 26) | func RandomAvailablePort() int { function isPortAvailable (line 40) | func isPortAvailable(port int) bool { function FindAvailablePort (line 54) | func FindAvailablePort(startPort, maxAttempts int) (int, bool) { function HostIPAddresses (line 65) | func HostIPAddresses() []net.IP { function SubnetAvailable (line 85) | func SubnetAvailable(subnet string) bool { function RouteExists (line 113) | func RouteExists(subnet string) bool { function ShellSplit (line 143) | func ShellSplit(cmd string) []string { function CleanPath (line 156) | func CleanPath(location string) (string, error) { FILE: util/yamlutil/yaml.go function WriteYAML (line 17) | func WriteYAML(value any, file string) error { function Save (line 27) | func Save(c config.Config, file string) error { function encodeYAML (line 39) | func encodeYAML(conf config.Config) ([]byte, error) { function traverseConfig (line 112) | func traverseConfig(parentKey string, s any, vals map[string]any) { function traverseNode (line 140) | func traverseNode(parentKey string, node *yaml.Node, vals map[string]*ya... function encode (line 186) | func encode(v any) ([]byte, error) { FILE: util/yamlutil/yaml_test.go function Test_encode_Docker (line 12) | func Test_encode_Docker(t *testing.T) {