Documentation ¶
Index ¶
- Constants
- Variables
- func Install(dir ...string) error
- func InteractiveInstall(spawnShell bool) error
- func ListReleases() []string
- func ManualInstall(config string, options map[string]string) error
- func Notify(event string, dirs []string) error
- func Recovery() error
- func Reset(dir ...string) error
- func Run(opts ...Option) error
- func RunInstall(options map[string]string) error
- func Upgrade(version, image string, force, debug bool, dirs []string) error
- type BrandingText
- type Config
- type Option
- type Options
Constants ¶
View Source
const ( KiB MiB GiB TiB )
Variables ¶
View Source
var DefaultBanner = []byte{}/* 8831 elements not displayed */
Functions ¶
func InteractiveInstall ¶
func ListReleases ¶
func ListReleases() []string
func RunInstall ¶
Types ¶
type BrandingText ¶
type Config ¶
type Config struct { Fast bool `yaml:"fast,omitempty"` Branding BrandingText `yaml:"branding"` }
func LoadConfig ¶
type Option ¶
Option is a generic option for the Agent.
ForceAgent forces the agent to run.
RestartAgent makes the agent restart on error.
func WithAPI ¶
WithAPI sets the API address used to talk to EdgeVPN and co-ordinate node bootstrapping.
func WithDirectory ¶
WithDirectory sets the Agent config directories.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.