periodic

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartStateChecker

func StartStateChecker(conf StateCheckerConfig)

StartStateChecker launches a goroutine that monitors installed sites and transitions them to offline state and back based on whether they maintain reverse tunnel to OpsCenter or not

This service is supposed to be run only if gravity is started in "opscenter" mode.

Types

type StateCheckerConfig

type StateCheckerConfig struct {
	Backend  storage.Backend
	Operator ops.Operator
	Packages pack.PackageService
	Tunnel   rt.Server
	Context  context.Context
}

Jump to

Keyboard shortcuts

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