Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterCollectResult ¶ added in v0.10.0
type ClusterCollectResult struct { AllCollectedData map[string][]byte Collectors collect.Collectors Spec *troubleshootv1beta2.Preflight // contains filtered or unexported fields }
func (ClusterCollectResult) Analyze ¶ added in v0.10.0
func (c ClusterCollectResult) Analyze() []*analyze.AnalyzeResult
Analyze runs the analyze phase of preflight checks
func (ClusterCollectResult) IsRBACAllowed ¶ added in v0.10.0
func (cr ClusterCollectResult) IsRBACAllowed() bool
type CollectOpts ¶ added in v0.9.27
type CollectProgress ¶ added in v0.10.11
type CollectProgress struct { CurrentName string CurrentStatus string CompletedCount int TotalCount int }
func (*CollectProgress) String ¶ added in v0.13.4
func (cp *CollectProgress) String() string
type CollectResult ¶ added in v0.9.27
type CollectResult interface { Analyze() []*analyze.AnalyzeResult IsRBACAllowed() bool }
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 CollectHost ¶ added in v0.10.0
func CollectHost(opts CollectOpts, p *troubleshootv1beta2.HostPreflight) (CollectResult, error)
CollectHost runs the collection phase of host preflight checks
type HostCollectResult ¶ added in v0.10.0
type HostCollectResult struct { AllCollectedData map[string][]byte Collectors []collect.HostCollector Spec *troubleshootv1beta2.HostPreflight }
func (HostCollectResult) Analyze ¶ added in v0.10.0
func (c HostCollectResult) Analyze() []*analyze.AnalyzeResult
Analyze runs the analysze phase of host preflight checks
func (HostCollectResult) IsRBACAllowed ¶ added in v0.10.0
func (cr HostCollectResult) IsRBACAllowed() bool
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.