app

package
v0.0.0-...-86aec00 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 27 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.Config
	// contains filtered or unexported fields
}

func New

func New(l *slog.Logger, registry *prometheus.Registry, k8sClient kubernetes.KubernetesClient, config config.Config) (*App, error)

func (*App) InitPrometheusMetrics

func (a *App) InitPrometheusMetrics() error

func (*App) InitSources

func (a *App) InitSources() error

Initizalize the different software sources which have a config section specified

func (*App) Start

func (a *App) Start()

Run the app's main process

func (*App) Stop

func (a *App) Stop()

Jump to

Keyboard shortcuts

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