config

package
v0.0.0-...-2ac3827 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Username             string `json:"username"`
	ApiKey               string `json:"api_key"`
	ApiEndpoint          string `json:"api_endpoint"`
	DisableOsReload      bool   `json:"disable_os_reload"`
	PublicKey            string `json:"ssh_public_key"`
	PublicKeyFingerPrint string `json:"ssh_public_key_fingerprint"`
	EnableVps            bool   `json:"enable_vps"`
	Trace                bool   `json:"trace"`
	VpsHost              string `json:"vps_host"`
	VpsPort              int    `json:"vps_port"`
	SwiftUsername        string `json:"swift_username"`
	SwiftEndpoint        string `json:"swift_endpoint"`
}

func (Config) Validate

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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