Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectOpts ¶ added in v0.9.27
type CollectResult ¶ added in v0.9.27
type CollectResult struct { AllCollectedData map[string][]byte Collectors collect.Collectors IsRBACAllowed bool Spec *troubleshootv1beta2.Preflight }
func Collect ¶ added in v0.9.27
func Collect(opts CollectOpts, p *troubleshootv1beta2.Preflight) (CollectResult, error)
Collect runs the collection phase of preflight checks
func (CollectResult) Analyze ¶ added in v0.9.27
func (c CollectResult) Analyze() []*analyze.AnalyzeResult
Analyze runs the analyze phase of preflight checks
type UploadPreflightError ¶ added in v0.9.27
type UploadPreflightError struct {
Error string `json:"error"`
}
type UploadPreflightResult ¶ added in v0.9.27
type UploadPreflightResults ¶ added in v0.9.27
type UploadPreflightResults struct { Results []*UploadPreflightResult `json:"results,omitempty"` Errors []*UploadPreflightError `json:"errors,omitempty"` }
Click to show internal directories.
Click to hide internal directories.