checkserver

package
v0.0.0-...-294dc8c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CheckServerHelp contains the short help text for the command.
	CheckServerHelp = "Checks if the server and its services are ready"

	// CheckServerHelpExtra contains the long help text for the command without
	// the headline.
	CheckServerHelpExtra = `At the moment this only checks the health route of the backendManage service.`
)

Variables

This section is empty.

Functions

func CheckServer

func CheckServer(ctx context.Context, in *proto.CheckServerRequest, ba backendAction) *proto.CheckServerResponse

CheckServer sends a health request to backend manage service.

func Cmd

func Cmd() *cobra.Command

Cmd returns the subcommand.

func Run

func Run(ctx context.Context, gc gRPCClient) error

Run calls respective procedure to check the server via given gRPC client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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