daemon

package
v0.0.0-...-6de12c4 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: BSD-3-Clause Imports: 48 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultNewuidmap      = "newuidmap"
	DefaultNewgidmap      = "newgidmap"
	DefaultImageStateDir  = "${XDG_STATE_HOME}/gate/image"
	DefaultDatabaseDriver = "sqlite"
	DefaultInventoryDSN   = "file:${XDG_STATE_HOME}/gate/inventory/inventory.sqlite?cache=shared"
)

Variables

View Source
var DefaultConfigFiles = []string{
	"${XDG_CONFIG_HOME}/gate/daemon.toml",
	"${XDG_CONFIG_HOME}/gate/daemon.d/*.toml",
}

Functions

func Main

func Main()

Types

type Config

type Config struct {
	Runtime struct {
		runtime.Config
		PrepareProcesses int
	}

	Image struct {
		StateDir string
	}

	Inventory map[string]database.Config

	Service map[string]any

	Principal server.AccessConfig

	HTTP struct {
		Addr string
		webserver.Config

		Static []struct {
			URI  string
			Path string
		}
	}

	Log struct {
		Journal bool
	}
}

Jump to

Keyboard shortcuts

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