diagnostic

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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 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