store

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reset

func Reset() error

Reset resets the values in the store to the defaults.

func Set

func Set(f func(*Store)) error

Set provides an easy way to set a value in the store.

Types

type Store

type Store struct {
	// if the runtime disk has been formatted.
	DiskFormatted bool `json:"disk_formatted"`
	// the container runtime the disk is provisioned for
	DiskRuntime string `json:"disk_runtime"`
	// if ramalama has been provisioned in the VM
	RamalamaProvisioned bool `json:"ramalama_provisioned"`
}

Store stores internal Colima configuration for an instance

func Load

func Load() (s Store, err error)

Load loads the store from the json file.

Jump to

Keyboard shortcuts

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