http

package
v0.0.0-...-b89db3d Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 1 Imported by: 4 modules, 6 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

Index

Constants

View Source
const (
	// HealthCheckPath is the name of a path that activator, autoscaler and
	// prober(used by KIngress generally) use for health check.
	HealthCheckPath = "/healthz"
)

Variables

This section is empty.

Functions

func IsPotentialMeshErrorResponse

func IsPotentialMeshErrorResponse(resp *http.Response) bool

IsPotentialMeshErrorResponse returns whether the HTTP response is compatible with having been caused by attempting direct connection when mesh was enabled. For example if we get a HTTP 404 status code it's safe to assume mesh is not enabled even if a probe was otherwise unsuccessful. This is useful to avoid falling back to ClusterIP when we see errors which are unrelated to mesh being enabled.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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