diagnostic

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: Apache-2.0 Imports: 3 Imported by: ? 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 diagnostic contains an interface to be implemented by diagnostics providers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	// Check will perform a targeted check(s) setting meaningful values on the status object
	// and only will return an error if the condition is unrecoverable
	Check(_ context.Context, _ *http.Client, _ status.Accessor) error
}

Provider is the interface that must be implemented by a diagnostics provider to run a targeted check(s) returning one or more results

Directories

Path Synopsis
Package catalog contains the registry of diagnostics.
Package catalog contains the registry of diagnostics.
Package common contains common utilities.
Package common contains common utilities.
Package cz contains code for checking a CloudZero API token.
Package cz contains code for checking a CloudZero API token.
k8s
namespace
Package namespace contains code for checking the Kubernetes configuration.
Package namespace contains code for checking the Kubernetes configuration.
provider
Package provider contains code for checking the Kubernetes configuration.
Package provider contains code for checking the Kubernetes configuration.
version
Package version contains code for checking the Kubernetes configuration.
Package version contains code for checking the Kubernetes configuration.
Package kms contains code for testing access the Kubernetes Management Service.
Package kms contains code for testing access the Kubernetes Management Service.
prom
config
Package config contains a diagnostic provider for checking the Prometheus configuration.
Package config contains a diagnostic provider for checking the Prometheus configuration.
version
Package version contains a diagnostic provider for checking the Prometheus version.
Package version contains a diagnostic provider for checking the Prometheus version.
Package runner contains tools for running diagnostics.
Package runner contains tools for running diagnostics.
Package stage contains a diagnostic provider for checking the stage.
Package stage contains a diagnostic provider for checking the stage.
Package webhook contains code for checking a CloudZero API token.
Package webhook contains code for checking a CloudZero API token.

Jump to

Keyboard shortcuts

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