investigation

package
v0.0.0-...-b3b8b85 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package investigation contains base functions for investigations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Investigation

type Investigation struct {
	Run  func(resources *Resources) error
	Name string
}

Investigation serves as a parent class This enables the structure of cmd/investigate.go

func NewInvestigation

func NewInvestigation(investigationFn func(resources *Resources) error, name string) *Investigation

NewInvestigation creates a new investigation

type Resources

type Resources struct {
	Cluster           *cmv1.Cluster
	ClusterDeployment *hivev1.ClusterDeployment
	AwsClient         aws.Client
	OcmClient         ocm.Client
	PdClient          pagerduty.Client
}

Resources holds all resources/tools required for alert investigations

Directories

Path Synopsis
Package ccam Cluster Credentials Are Missing (CCAM) provides a service for detecting missing cluster credentials
Package ccam Cluster Credentials Are Missing (CCAM) provides a service for detecting missing cluster credentials
Package chgm contains functionality for the chgm investigation
Package chgm contains functionality for the chgm investigation
Package clustermonitoringerrorbudgetburn contains remediation for https://issues.redhat.com/browse/OCPBUGS-33863
Package clustermonitoringerrorbudgetburn contains remediation for https://issues.redhat.com/browse/OCPBUGS-33863
Package cpd contains functionality for the ClusterProvisioningDelay investigation
Package cpd contains functionality for the ClusterProvisioningDelay investigation

Jump to

Keyboard shortcuts

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