nodemanager

package
v0.0.2-0...-692298a Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 15 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 {
	*shutter.Shutter
	// contains filtered or unexported fields
}

func New

func New(config *Config, modules *Modules, zlogger *zap.Logger) *App

func (*App) IsReady

func (a *App) IsReady() bool

func (*App) Run

func (a *App) Run() error

type Config

type Config struct {
	StartupDelay time.Duration

	HTTPAddr           string // was ManagerAPIAddress
	ConnectionWatchdog bool

	GRPCAddr string
}

type Modules

type Modules struct {
	Operator                     *operator.Operator
	MetricsAndReadinessManager   *nodeManager.MetricsAndReadinessManager
	LaunchConnectionWatchdogFunc func(terminating <-chan struct{})
	MindreaderPlugin             *mindreader.MindReaderPlugin
	RegisterGRPCService          func(server grpc.ServiceRegistrar) error
	StartFailureHandlerFunc      func()
}

Jump to

Keyboard shortcuts

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