diagnose

package
v5.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns a CLI command

func RunCollect

func RunCollect(cmd *cobra.Command, args []string)

RunCollect runs a CLI command

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

Collector configuration for diagnostics

func (*Collector) CollectCR

func (c *Collector) CollectCR(list client.ObjectList)

CollectCR info

func (*Collector) CollectCRs

func (c *Collector) CollectCRs()

CollectCRs collects the content of multiple CR types

func (*Collector) CollectDescribe

func (c *Collector) CollectDescribe(Kind string, Name string)

CollectDescribe collects output of the "describe pod" of a single pod

func (*Collector) CollectPVCs

func (c *Collector) CollectPVCs(listOptions client.ListOptions)

CollectPVCs collects describe of PVCs

func (*Collector) CollectPVs

func (c *Collector) CollectPVs(listOptions client.ListOptions)

CollectPVs collects describe of PVs

func (*Collector) CollectPodsLogs

func (c *Collector) CollectPodsLogs(listOptions client.ListOptions)

CollectPodsLogs collects logs of all existing noobaa pods

func (*Collector) CollectSCC

func (c *Collector) CollectSCC()

CollectSCC collects the SCC

func (*Collector) ExportDiagnostics

func (c *Collector) ExportDiagnostics(destDir string)

ExportDiagnostics info

Jump to

Keyboard shortcuts

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