schema

package
v0.4.20-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Hosts     []Host     `yaml:"hosts"`
	KeyConfig *KeyConfig `yaml:"key_config,omitempty"`
}

type Host

type Host struct {
	Address       string        `yaml:"address"`
	Host          string        `yaml:"host"`
	HostConfigID  int           `yaml:"host_config_id"`
	NodeID        int           `yaml:"node_id"`
	Port          int           `yaml:"port"`
	WalleLocation WalleLocation `yaml:"walle_location"`
}

type Key

type Key struct {
	ContainerPath string  `yaml:"container_path"`
	ID            string  `yaml:"id"`
	Pin           *string `yaml:"pin,omitempty"`
	Version       int     `yaml:"version"`
}

type KeyConfig

type KeyConfig struct {
	Keys []Key `yaml:"keys"`
}

type WalleLocation

type WalleLocation struct {
	Body       int    `yaml:"body"`
	DataCenter string `yaml:"data_center"`
	Rack       string `yaml:"rack"`
}

Jump to

Keyboard shortcuts

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