healthserver

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtenderHealthServer

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

ExtenderHealthServer provides endpoint for extender readiness check

func NewExtenderHealthServer

func NewExtenderHealthServer(logger *logrus.Logger, isPatchingEnabled bool) (*ExtenderHealthServer, error)

NewExtenderHealthServer constructs ExtenderHealthServer for extender pod

func (*ExtenderHealthServer) Check

Check does the health check and changes the status of the server based on drives cache size

func (*ExtenderHealthServer) Watch

Watch is used by clients to receive updates when the svc status changes. Watch only dummy implemented just to satisfy the interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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