health

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker added in v0.2.2

type Checker struct {
	healthv1pb.UnimplementedHealthServer
	TargetService
	TargetServiceName string
}

func (*Checker) AuthFuncOverride added in v0.2.2

func (o *Checker) AuthFuncOverride(ctx context.Context, fullMethodName string) (context.Context, error)

AuthFuncOverride implements the grpc_auth.ServiceAuthFuncOverride interface by bypassing authn middleware.

func (*Checker) Check added in v0.2.2

func (*Checker) Watch added in v0.2.2

type TargetService added in v0.2.2

type TargetService interface {
	IsReady(ctx context.Context) (bool, error)
}

TargetService defines an interface that services can implement for server health checks.

Jump to

Keyboard shortcuts

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