models

package
v0.0.0-...-bad6cc8 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 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 BackupConfiguration

type BackupConfiguration struct {
	Targets  []BackupTarget `yaml: targets`
	Settings BackupSettings `yaml: settings`
}

type BackupNode

type BackupNode struct {
	Name    string `yaml: name`
	Address string `yaml: address`
}

type BackupSettings

type BackupSettings struct {
	OutputBasePath  string `yaml: outputbasepath`
	FolderPerTarget bool   `yaml: folderpertarget`
	Interval        int    `yaml: interval`
}

type BackupTarget

type BackupTarget struct {
	Name                string       `yaml: name`
	Type                string       `yaml: type`
	Level               string       `yaml: level`
	Nodes               []BackupNode `yaml: nodes`
	UseSsl              bool         `yaml: usessl`
	ValidateCertificate bool         `yaml: validatecertificate`
	Username            string       `yaml: username`
	Password            string       `yaml: password`
}

type SetupTarget

type SetupTarget struct {
	Target   BackupTarget
	Username string
	Password string

	CmdPolicyName string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳