daemon

package
v0.0.0-...-9ccd474 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: BSD-3-Clause Imports: 44 Imported by: 2

Documentation

Index

Constants

View Source
const (
	DefaultNewuidmap       = "newuidmap"
	DefaultNewgidmap       = "newgidmap"
	DefaultImageVarDir     = ".gate/image" // Relative to home directory.
	DefaultInventoryDriver = "sqlite"
	DefaultInventoryFile   = ".gate/inventory.sqlite" // Relative to home directory.
)

Variables

View Source
var Defaults = []string{
	".config/gate/daemon.toml",
	".config/gate/daemon.d/*.toml",
}

Defaults are relative to home directory.

Functions

func Main

func Main()

Types

type Config

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

	Image struct {
		VarDir string
	}

	Inventory map[string]database.Config

	Service map[string]interface{}

	Principal server.AccessConfig

	HTTP struct {
		Addr string
		web.Config

		Static []struct {
			URI  string
			Path string
		}
	}
}

Jump to

Keyboard shortcuts

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