Documentation ¶
Index ¶
- func Builtin() string
- func CollectResults(ctx context.Context, spec *troubleshootv1beta2.HostPreflight, ...) (preflight.CollectResult, error)
- func Decode(data []byte) (*troubleshootv1beta2.HostPreflight, error)
- func Run(ctx context.Context, spec *troubleshootv1beta2.HostPreflight, ...) ([]*analyze.AnalyzeResult, error)
- type PreflightRunner
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectResults ¶
func CollectResults(ctx context.Context, spec *troubleshootv1beta2.HostPreflight, progressChan chan interface{}) (preflight.CollectResult, error)
func Decode ¶
func Decode(data []byte) (*troubleshootv1beta2.HostPreflight, error)
func Run ¶
func Run(ctx context.Context, spec *troubleshootv1beta2.HostPreflight, progressChan chan interface{}) ([]*analyze.AnalyzeResult, error)
Types ¶
type PreflightRunner ¶
type PreflightRunner struct { }
func (*PreflightRunner) Run ¶
func (r *PreflightRunner) Run(ctx context.Context, spec *troubleshootv1beta2.HostPreflight, progressChan chan interface{}) ([]*analyze.AnalyzeResult, error)
type Runner ¶
type Runner interface {
Run(ctx context.Context, spec *troubleshootv1beta2.HostPreflight, progressChan chan interface{}) ([]*analyze.AnalyzeResult, error)
}
Click to show internal directories.
Click to hide internal directories.