diagnostic

package
v1.1.0-beta-3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 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 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.
Package egress contains code for checking egress access.
Package egress contains code for checking egress access.
Package k8s contains code for checking the Kubernetes configuration.
Package k8s 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.

Jump to

Keyboard shortcuts

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