health

package
v0.0.0-...-fae0764 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	RestService               service = "adapter.internal.RestService"
	RateLimiterGrpcService    service = "adapter.internal.RateLimiterGrpcService"
	CommonEnforcerGrpcService service = "adapter.internal.CommonEnforcerGrpcService"
)

Service components to be set health status

Variables

This section is empty.

Functions

func SetControlPlaneBrokerStatus

func SetControlPlaneBrokerStatus(status bool)

SetControlPlaneBrokerStatus sets the given status to the internal channel controlPlaneBrokerStatusChan

func SetControlPlaneRestAPIStatus

func SetControlPlaneRestAPIStatus(status bool)

SetControlPlaneRestAPIStatus sets the given status to the internal channel controlPlaneRestAPIStatusChan

func WaitForControlPlane

func WaitForControlPlane()

WaitForControlPlane sleep the current go routine until control-plane starts

Types

type Server

type Server struct {
	healthservice.UnimplementedHealthServer
}

Server represents the Health GRPC server

func (Server) Check

Check responds the health check client with health status of the Adapter

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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