config

package
v0.0.0-...-18b16e6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppFullName  = "DigitalOcean Droplet Agent (code name: DOTTY)"
	AppShortName = "Droplet Agent"
	AppDebugAddr = "127.0.0.1:304"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	Version                     string
	UseSyslog                   bool
	DebugMode                   bool
	AuthorizedKeysCheckInterval time.Duration
	CustomSSHDPort              int
	CustomSSHDCfgFile           string
}

Conf contains the configurations needed to run the agent

func Init

func Init() *Conf

Init initializes the agent's configuration

Jump to

Keyboard shortcuts

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