Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigPath = "/cluster/terra.toml" DefaultRuntime = "io.containerd.runc.v2" Port = 9000 )
View Source
const (
Banner = `
__ _ __
____ _____/ /_ (_) /_
/ __ \/ ___/ __ \/ / __/
/ /_/ / / / /_/ / / /_
\____/_/ /_.___/_/\__/`
)
Variables ¶
View Source
var ( ErrNoOS = errors.New("no os version specified") ErrNoID = errors.New("no id specified") )
Functions ¶
func CancelContext ¶
func DumpNodeConfig ¶
func DumpNodeConfig() error
Types ¶
type Network ¶
type Network struct { Interfaces string `toml:"interfaces"` Nameservers []string `toml:"nameservers"` Gateway string `toml:"gateway"` PXE *PXENetwork `toml:"pxe"` }
type Node ¶
type Node struct { Hostname string `toml:"hostname"` Labels []string `toml:"labels"` Volumes []Volume `toml:"volumes"` GPUs []GPU `toml:"gpus"` CPUs float64 `toml:"cpus"` Memory uint32 `toml:"memory"` Domain string `toml:"domain"` Image Image `toml:"image"` PXE PXE `toml:"pxe"` Network Network `toml:"network"` }
type PXENetwork ¶
Directories ¶
Path | Synopsis |
---|---|
stole from buildkit, tonis said it was ok
|
stole from buildkit, tonis said it was ok |
Click to show internal directories.
Click to hide internal directories.