store

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 5 Imported by: 0

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"`
}

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