package
Version:
v0.0.0-...-088bab9
Opens a new window with list of versions in this module.
Published: Dec 29, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
ApiVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
MetaData MetaData `yaml:"metadata"`
Spec Spec `yaml:"spec"`
}
type Connect struct {
Hostname string `yaml:"hostname"`
Ssh Ssh `yaml:"ssh"`
}
type MetaData struct {
Name string `yaml:"name"`
}
type Spec struct {
Connect Connect `yaml:"connect"`
Log Log `yaml:"log"`
Queue Queue `yaml:"queue"`
Storage Storage `yaml:"storage"`
Watchdog Watchdog `yaml:"watchdog"`
}
type Sqlite struct {
Filename string `yaml:"filename"`
}
type Ssh struct {
Keyfile string `yaml:"keyfile"`
KeyfilePassword string `yaml:"keyfilePassword"`
Port int `yaml:"port"`
Username string `yaml:"username"`
}
type Storage struct {
Sqlite Sqlite `yaml:"sqlite"`
}
type Watchdog struct {
PeriodSeconds int `yaml:"periodSeconds"`
TimeoutSeconds int `yaml:"timeoutSeconds"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.