Documentation ¶
Index ¶
- func CheckOpenShift(foundProviders *providers, apiResources []*metav1.APIResourceList, ...) string
- func ExtractTroubleshootBundle(reader io.Reader, destDir string) error
- func ParseNodesForProviders(nodes []corev1.Node) (providers, string)
- type AnalyzeResult
- func Analyze(analyzer *troubleshootv1beta2.Analyze, getFile getCollectedFileContents, ...) ([]*AnalyzeResult, error)
- func AnalyzeLocal(localBundlePath string, analyzers []*troubleshootv1beta2.Analyze) ([]*AnalyzeResult, error)
- func DownloadAndAnalyze(bundleURL string, analyzersSpec string) ([]*AnalyzeResult, error)
- type Provider
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 ExtractTroubleshootBundle ¶ added in v0.9.37
func ParseNodesForProviders ¶ added in v0.9.27
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 *troubleshootv1beta2.Analyze, getFile getCollectedFileContents, findFiles getChildCollectedFileContents) ([]*AnalyzeResult, error)
func AnalyzeLocal ¶ added in v0.9.37
func AnalyzeLocal(localBundlePath string, analyzers []*troubleshootv1beta2.Analyze) ([]*AnalyzeResult, error)
Analyze local will analyze a locally available (already downloaded) bundle
func DownloadAndAnalyze ¶ added in v0.9.1
func DownloadAndAnalyze(bundleURL string, analyzersSpec string) ([]*AnalyzeResult, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.