service

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App stores application state

func Initialise

func Initialise(c Config) (app *App, err error)

Initialise prepares an instance of the app to run

func (*App) Start

func (app *App) Start(ctx context.Context) error

Start launches the app and blocks until fatal error

type Config

type Config struct {
	Target        string
	Hostname      string
	NoSSH         bool
	Directory     string
	CheckInterval time.Duration
	VaultAddress  string
	VaultToken    string
	VaultPath     string
	VaultRenewal  time.Duration
}

Config specifies static configuration parameters (from CLI or environment)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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