Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DiagnosticType is type name of this Diagnostic
DiagnosticType = "node-status"
)
Variables ¶
This section is empty.
Functions ¶
func NewDiagnostic ¶
func NewDiagnostic(meta *diagnose.MetaData) diagnose.Diagnostic
NewDiagnostic return a node status diagnostic
Types ¶
type Diagnostic ¶
Diagnostic is a example diagnostic shows how to write a diagnostic
func (*Diagnostic) Complete ¶
func (d *Diagnostic) Complete() error
Complete check and complete config items
func (*Diagnostic) StartDiagnose ¶
func (d *Diagnostic) StartDiagnose(ctx context.Context, param diagnose.StartDiagnoseParam) (chan *diagnose.Result, error)
StartDiagnose return a result chan that will output results
Click to show internal directories.
Click to hide internal directories.