api

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addresses added in v0.8.0

type Addresses struct {
	IPv4 map[Arch]string `yaml:"ipv4"`
	IPv6 map[Arch]string `yaml:"ipv6"`
}

type Arch added in v0.8.0

type Arch string
const (
	AMD64       Arch = "amd64"
	ARM64       Arch = "arm64"
	UnknownArch Arch = "unknown"
)

type Architectures added in v0.8.0

type Architectures struct {
	Amd64 string `yaml:"amd64"`
	Arm64 string `yaml:"arm64"`
}

type BluefieldConfig added in v0.5.0

type BluefieldConfig struct {
	BluefieldIP string `yaml:"bluefieldIP"`
}

type Filter added in v0.4.0

type Filter struct {
	MacPrefix []string `yaml:"macPrefix"`
}

type HttpBootConfig added in v0.5.0

type HttpBootConfig struct {
	BootFile       string `yaml:"bootFile"`
	ClientSpecific bool   `yaml:"clientSpecific"`
}

type IPAMConfig added in v0.5.0

type IPAMConfig struct {
	Namespace string   `yaml:"namespace"`
	Subnets   []string `yaml:"subnets"`
}

type Inventory

type Inventory struct {
	Name       string `yaml:"name"`
	MacAddress string `yaml:"macAddress"`
}

type LeasesConfig added in v0.8.1

type LeasesConfig struct {
	Namespace string `yaml:"namespace"`
}

type MACFilterConfig added in v0.5.1

type MACFilterConfig struct {
	AllowList []string `yaml:"allowList"`
	DenyList  []string `yaml:"denyList"`
}

type MetalConfig added in v0.5.0

type MetalConfig struct {
	NamePrefix  string      `yaml:"namePrefix"`
	Inventories []Inventory `yaml:"hosts"`
	Filter      Filter      `yaml:"filter"`
}

type OOBConfig added in v0.5.0

type OOBConfig struct {
	Namespace    string        `yaml:"namespace"`
	SubnetLabels []SubnetLabel `yaml:"subnetLabels"`
}

type OnMetalConfig added in v0.5.0

type OnMetalConfig struct {
	PrefixDelegation PrefixDelegation `yaml:"prefixDelegation"`
}

type PrefixDelegation added in v0.5.0

type PrefixDelegation struct {
	Length int `yaml:"length"`
}

type PxeBootConfig added in v0.8.0

type PxeBootConfig struct {
	TFTPAddress Addresses `yaml:"tftpAddress"`
	IPXEAddress Addresses `yaml:"ipxeAddress"`
}

type SubnetLabel added in v0.6.0

type SubnetLabel struct {
	Key   string `yaml:"key"`
	Value string `yaml:"value"`
}

type Switch added in v0.5.1

type Switch struct {
	MacAddress                string `yaml:"macAddress"`
	ProvisioningScriptAddress string `yaml:"provisioningScriptAddress"`
	Name                      string `yaml:"name"`
}

type ZTPConfig added in v0.5.1

type ZTPConfig struct {
	Switches []Switch `yaml:"switches"`
}

Jump to

Keyboard shortcuts

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