healthcheck

package
v1.38.6 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package healthcheck tests and communicates the health of the Cloud SQL Auth proxy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is a type used to implement health checks for the proxy.

func NewServer

func NewServer(c *proxy.Client, port string, staticInst []string) (*Server, error)

NewServer initializes a Server and exposes HTTP endpoints used to communicate proxy health.

func (*Server) Close

func (s *Server) Close(ctx context.Context) error

Close gracefully shuts down the HTTP server belonging to the Server.

func (*Server) NotifyStarted

func (s *Server) NotifyStarted()

NotifyStarted tells the Server that the proxy has finished startup.

Jump to

Keyboard shortcuts

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