Documentation ¶
Index ¶
- Constants
- Variables
- func Install(dir ...string) error
- func InteractiveInstall(spawnShell bool) error
- func JSONSchema(version string) (string, error)
- func ListReleases() []string
- func ManualInstall(c string, options map[string]string, strictValidations bool) 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, strictValidations bool, dirs []string) error
- func Validate(source string) error
- type BrandingText
- type Config
- type Option
- type Options
- type WebUI
Constants ¶
View Source
const ( KiB MiB GiB TiB )
Variables ¶
View Source
var DefaultBanner []byte = []byte{}/* 12853 elements not displayed */
Functions ¶
func InteractiveInstall ¶
func JSONSchema ¶ added in v1.6.0
JSONSchema builds a JSON Schema based on the Root Schema and the given version this is helpful when mapping a validation error.
func ListReleases ¶
func ListReleases() []string
func ManualInstall ¶
func RunInstall ¶
Types ¶
type BrandingText ¶
type Config ¶
type Config struct { Fast bool `yaml:"fast,omitempty"` WebUI WebUI `yaml:"webui"` 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.