analyzer

package
v0.9.30 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: Apache-2.0 Imports: 29 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckOpenShift added in v0.9.27

func CheckOpenShift(foundProviders *providers, apiResources []*metav1.APIResourceList, provider string) string

func ParseNodesForProviders added in v0.9.27

func ParseNodesForProviders(nodes []corev1.Node) (providers, string)

Types

type AnalyzeResult

type AnalyzeResult struct {
	IsPass bool
	IsFail bool
	IsWarn bool

	Title   string
	Message string
	URI     string
	IconKey string
	IconURI string
}

func Analyze

func Analyze(analyzer *troubleshootv1beta1.Analyze, getFile getCollectedFileContents, findFiles getChildCollectedFileContents) (*AnalyzeResult, error)

func DownloadAndAnalyze added in v0.9.1

func DownloadAndAnalyze(bundleURL string, analyzersSpec string) ([]*AnalyzeResult, error)

type Provider added in v0.9.13

type Provider int

Jump to

Keyboard shortcuts

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