triage

package
v0.0.0-...-6690615 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Id

func Id(t Triage) string

Types

type Anomaly

type Anomaly struct {
	NamespacedName types.NamespacedName
	Reason         string
}

type CloudnativePGClusterContinuousArchivingFailing

type CloudnativePGClusterContinuousArchivingFailing struct{}

func (*CloudnativePGClusterContinuousArchivingFailing) Description

func (*CloudnativePGClusterContinuousArchivingFailing) Severity

func (*CloudnativePGClusterContinuousArchivingFailing) Triage

type CloudnativePGClusterNotReady

type CloudnativePGClusterNotReady struct{}

func (*CloudnativePGClusterNotReady) Description

func (*CloudnativePGClusterNotReady) Description() string

func (*CloudnativePGClusterNotReady) Severity

func (*CloudnativePGClusterNotReady) Triage

func (*CloudnativePGClusterNotReady) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type ComponentUnhealthy

type ComponentUnhealthy struct{}

func (*ComponentUnhealthy) Description

func (*ComponentUnhealthy) Description() string

func (*ComponentUnhealthy) Severity

func (*ComponentUnhealthy) Severity() Severity

func (*ComponentUnhealthy) Triage

func (*ComponentUnhealthy) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type DeploymentIdle

type DeploymentIdle struct{}

func (*DeploymentIdle) Description

func (*DeploymentIdle) Description() string

func (*DeploymentIdle) Severity

func (*DeploymentIdle) Severity() Severity

func (*DeploymentIdle) Triage

func (*DeploymentIdle) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type DeploymentNotAvailable

type DeploymentNotAvailable struct{}

func (*DeploymentNotAvailable) Description

func (*DeploymentNotAvailable) Description() string

func (*DeploymentNotAvailable) Severity

func (*DeploymentNotAvailable) Severity() Severity

func (*DeploymentNotAvailable) Triage

func (*DeploymentNotAvailable) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type FluxHelmReleaseNotReady

type FluxHelmReleaseNotReady struct{}

func (*FluxHelmReleaseNotReady) Description

func (*FluxHelmReleaseNotReady) Description() string

func (*FluxHelmReleaseNotReady) Severity

func (*FluxHelmReleaseNotReady) Severity() Severity

func (*FluxHelmReleaseNotReady) Triage

func (*FluxHelmReleaseNotReady) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type FluxKustomizationNotReady

type FluxKustomizationNotReady struct{}

func (*FluxKustomizationNotReady) Description

func (*FluxKustomizationNotReady) Description() string

func (*FluxKustomizationNotReady) Severity

func (*FluxKustomizationNotReady) Severity() Severity

func (*FluxKustomizationNotReady) Triage

func (*FluxKustomizationNotReady) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type NamespaceTerminating

type NamespaceTerminating struct {
}

func (*NamespaceTerminating) Description

func (*NamespaceTerminating) Description() string

func (*NamespaceTerminating) Severity

func (*NamespaceTerminating) Severity() Severity

func (*NamespaceTerminating) Triage

func (*NamespaceTerminating) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type NodeNotReady

type NodeNotReady struct{}

func (*NodeNotReady) Description

func (*NodeNotReady) Description() string

func (*NodeNotReady) Severity

func (*NodeNotReady) Severity() Severity

func (*NodeNotReady) Triage

func (*NodeNotReady) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type PersistentVolumeAvailable

type PersistentVolumeAvailable struct{}

func (*PersistentVolumeAvailable) Description

func (*PersistentVolumeAvailable) Description() string

func (*PersistentVolumeAvailable) Severity

func (*PersistentVolumeAvailable) Severity() Severity

func (*PersistentVolumeAvailable) Triage

func (*PersistentVolumeAvailable) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type PersistentVolumeClaimLost

type PersistentVolumeClaimLost struct{}

func (*PersistentVolumeClaimLost) Description

func (*PersistentVolumeClaimLost) Description() string

func (*PersistentVolumeClaimLost) Severity

func (*PersistentVolumeClaimLost) Severity() Severity

func (*PersistentVolumeClaimLost) Triage

func (*PersistentVolumeClaimLost) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type PodNotReady

type PodNotReady struct{}

func (*PodNotReady) Description

func (*PodNotReady) Description() string

func (*PodNotReady) Severity

func (*PodNotReady) Severity() Severity

func (*PodNotReady) Triage

func (*PodNotReady) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type PodWithoutOwner

type PodWithoutOwner struct{}

func (*PodWithoutOwner) Description

func (*PodWithoutOwner) Description() string

func (*PodWithoutOwner) Severity

func (*PodWithoutOwner) Severity() Severity

func (*PodWithoutOwner) Triage

func (*PodWithoutOwner) Triage(ctx context.Context, cl client.Client) (anomalies []Anomaly, err error)

type Severity

type Severity int64
const (
	Info Severity = iota
	Warning
	Error
	Fatal
)

func (Severity) String

func (s Severity) String() string

type Triage

type Triage interface {
	Severity() Severity
	Description() string
	Triage(context.Context, client.Client) ([]Anomaly, error)
}

Jump to

Keyboard shortcuts

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