health

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentManager

type ComponentManager interface {
	UpdateComponentHealth(ctx context.Context, componentName string, namespace string) error
	UpdateComponentHealthWithInstalledVersion(ctx context.Context, componentName string, namespace string, version string) error
	UpdateComponentHealthAll(ctx context.Context) error
}

type DefaultManager

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

func NewManager

func NewManager(namespace string, clientSet ecosystemClientSet) *DefaultManager

func (*DefaultManager) UpdateComponentHealth

func (m *DefaultManager) UpdateComponentHealth(ctx context.Context, componentName string, namespace string) error

func (*DefaultManager) UpdateComponentHealthAll added in v1.0.0

func (m *DefaultManager) UpdateComponentHealthAll(ctx context.Context) error

func (*DefaultManager) UpdateComponentHealthWithInstalledVersion added in v1.0.0

func (m *DefaultManager) UpdateComponentHealthWithInstalledVersion(ctx context.Context, componentName string, namespace string, version string) error

type RegistrableController

type RegistrableController interface {
	SetupWithManager(mgr ctrl.Manager) error
}

func NewController

func NewController(namespace string, clientSet ecosystemClientSet) RegistrableController

type ShutdownHandler added in v1.0.0

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

func NewShutdownHandler added in v1.0.0

func NewShutdownHandler(client componentClient) *ShutdownHandler

func (*ShutdownHandler) Start added in v1.0.0

func (s *ShutdownHandler) Start(ctx context.Context) error

type StartupHandler added in v1.0.0

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

func NewStartupHandler added in v1.0.0

func NewStartupHandler(namespace string, clientSet ecosystemClientSet) *StartupHandler

func (*StartupHandler) Start added in v1.0.0

func (s *StartupHandler) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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