health

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(s grpc.ServiceRegistrar, service *Service)

RegisterService registers the service on the gRPC server.

Types

type Config

type Config struct {
	// Addr is the Workload API socket address
	Addr net.Addr
}

Config is the service configuration

type Service

type Service struct {
	grpc_health_v1.UnimplementedHealthServer
	// contains filtered or unexported fields
}

Service implements the v1 Health service

func New

func New(config Config) *Service

New creates a new Health service

Jump to

Keyboard shortcuts

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