diagnostics

package
v1.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiagnosticsConfig

type DiagnosticsConfig struct {
	// Port of Diagnostic Server for checking health and readiness of the Control Plane
	ServerPort uint32 `yaml:"serverPort" envconfig:"kuma_diagnostics_server_port"`
	// If true, enables https://golang.org/pkg/net/http/pprof/ debug endpoints
	DebugEndpoints bool `yaml:"debugEndpoints" envconfig:"kuma_diagnostics_debug_endpoints"`
}

func DefaultDiagnosticsConfig

func DefaultDiagnosticsConfig() *DiagnosticsConfig

func (*DiagnosticsConfig) Sanitize

func (d *DiagnosticsConfig) Sanitize()

func (*DiagnosticsConfig) Validate

func (d *DiagnosticsConfig) Validate() error

Jump to

Keyboard shortcuts

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