defaults

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package defaults is where Dicer lives on a host unless configured otherwise: the locations more than one of its packages or programs must agree on, such as the socket the daemon serves on and a client looks at. Settings only one package uses stay with it.

Index

Constants

View Source
const (
	// DataDir holds what persists: definitions, images and disks.
	DataDir = "/var/lib/dicer"

	// RunDir holds runtime state. It should be a tmpfs, so that a reboot
	// clears it.
	RunDir = "/run/dicer"

	// Socket is where the daemon serves its API, and where a client looks
	// for it.
	Socket = RunDir + "/dicer.sock"

	// ConfigFile is the daemon's configuration file.
	ConfigFile = "/etc/dicerd/config.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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