sanity commit

This commit is contained in:
Mikaël Cluseau
2019-12-16 08:00:57 +01:00
parent 8ce4e97922
commit 55c72aefa8
9 changed files with 74 additions and 8 deletions

View File

@ -210,7 +210,11 @@ func (t *Template) Execute(contextName, elementName string, wr io.Writer, data i
// Host represents a host served by this server.
type Host struct {
WithRev
Name string
Name string
Labels map[string]string
Annotations map[string]string
MAC string
IP string
IPs []string
@ -222,7 +226,11 @@ type Host struct {
// Group represents a group of hosts and provides their configuration.
type Group struct {
WithRev
Name string
Name string
Labels map[string]string
Annotations map[string]string
Master bool
IPXE string
Kernel string
@ -239,7 +247,11 @@ type Vars map[string]interface{}
// Cluster represents a cluster of hosts, allowing for cluster-wide variables.
type Cluster struct {
WithRev
Name string
Name string
Labels map[string]string
Annotations map[string]string
Domain string
Addons string
BootstrapPods string `yaml:"bootstrap_pods"`