config

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Domain        string
	Cluster       string
	Subnet        string
	SubnetDynamic string
	ForwardDNS    string
	Nodes         []*NodeConfig
	Switches      []*SwitchConfig
	Services      []*facility.DanceService
	Dns           *DnsConfig
	StaticFiles   []StaticFile
	OnieURL       string
}

type DnsConfig

type DnsConfig struct {
	Entries  []DnsEntry
	Wildcard []WildcardEntry
}

type DnsEntry

type DnsEntry struct {
	Name string
	Ipv4 []string
}

type NodeConfig

type NodeConfig struct {
	*groundcontrol.NodeConfig `yaml:",inline"`
	Parsed                    ParsedConfig `yaml:"-"`
}

type ParsedConfig

type ParsedConfig struct {
	Mac  uint64
	Ipv4 uint32
}

type StaticFile

type StaticFile struct {
	SourceURL    string
	DestFilename string
}

type SwitchConfig

type SwitchConfig struct {
	*groundcontrol.SwitchConfig `yaml:",inline"`
	Parsed                      ParsedConfig `yaml:"-"`
}

type WildcardEntry

type WildcardEntry struct {
	Suffix string
	Ipv4   []string
}

Jump to

Keyboard shortcuts

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