config

package
v0.0.0-...-088bab9 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Build   string
	Version string
)

Functions

This section is empty.

Types

type Config

type Config struct {
	ApiVersion string   `yaml:"apiVersion"`
	Kind       string   `yaml:"kind"`
	MetaData   MetaData `yaml:"metadata"`
	Spec       Spec     `yaml:"spec"`
}

func New

func New() *Config

type Connect

type Connect struct {
	Hostname string `yaml:"hostname"`
	Ssh      Ssh    `yaml:"ssh"`
}

type Log

type Log struct {
}

type MetaData

type MetaData struct {
	Name string `yaml:"name"`
}

type Queue

type Queue struct {
}

type Spec

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

type Sqlite struct {
	Filename string `yaml:"filename"`
}

type Ssh

type Ssh struct {
	Keyfile         string `yaml:"keyfile"`
	KeyfilePassword string `yaml:"keyfilePassword"`
	Port            int    `yaml:"port"`
	Username        string `yaml:"username"`
}

type Storage

type Storage struct {
	Sqlite Sqlite `yaml:"sqlite"`
}

type Watchdog

type Watchdog struct {
	PeriodSeconds  int `yaml:"periodSeconds"`
	TimeoutSeconds int `yaml:"timeoutSeconds"`
}

Jump to

Keyboard shortcuts

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