app

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: GPL-3.0 Imports: 11 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 {
	Config       Config
	Repositories []string
	Auth         transport.AuthMethod
}

App is main app runner

func (*App) Run

func (app *App) Run() error

Run runs the app

type Config

type Config struct {
	RepositoriesListFile          string
	RepositoriesDir               string
	SSHPrivateKeyPath             string
	MonitoringEndpointPingSuccess string
	MonitoringEndpointPingFailure string
	PrometheusPushGatewayURL      string
	PrometheusJobName             string
}

Config is App configuration

Jump to

Keyboard shortcuts

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