mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
* only process when conditional if specified * adding tests for cluster pod status analyzer * use klog instead of fmt for logging * add additional tests for warn and more operators --------- Co-authored-by: Camila Macedo <7708031+camilamacedo86@users.noreply.github.com>
48 lines
1.0 KiB
Go
48 lines
1.0 KiB
Go
package analyzer
|
|
|
|
import (
|
|
_ "embed"
|
|
)
|
|
|
|
//go:embed files/deployments/default.json
|
|
var defaultDeployments string
|
|
|
|
//go:embed files/deployments/monitoring.json
|
|
var monitoringDeployments string
|
|
|
|
//go:embed files/deployments/kube-system.json
|
|
var kubeSystemDeployments string
|
|
|
|
//go:embed files/nodes.json
|
|
var collectedNodes string
|
|
|
|
//go:embed files/jobs/test.json
|
|
var testJobs string
|
|
|
|
//go:embed files/jobs/projectcontour.json
|
|
var projectcontourJobs string
|
|
|
|
//go:embed files/replicasets/default.json
|
|
var defaultReplicaSets string
|
|
|
|
//go:embed files/replicasets/rook-ceph.json
|
|
var rookCephReplicaSets string
|
|
|
|
//go:embed files/statefulsets/default.json
|
|
var defaultStatefulSets string
|
|
|
|
//go:embed files/statefulsets/monitoring.json
|
|
var monitoringStatefulSets string
|
|
|
|
//go:embed files/pods/default.json
|
|
var defaultPods string
|
|
|
|
//go:embed files/pods/other.json
|
|
var otherPods string
|
|
|
|
//go:embed files/pods/default-unhealthy.json
|
|
var defaultPodsUnhealthy string
|
|
|
|
//go:embed files/pods/other-unhealthy.json
|
|
var otherPodsUnhealthy string
|