Documentation ¶
Index ¶
- Constants
- type DiagnosticPod
- func (d *DiagnosticPod) AvailableParameters() []types.Parameter
- func (d *DiagnosticPod) CanRun() (bool, error)
- func (d *DiagnosticPod) Check() types.DiagnosticResult
- func (d *DiagnosticPod) Description() string
- func (d *DiagnosticPod) Name() string
- func (d *DiagnosticPod) Requirements() (client bool, host bool)
Constants ¶
View Source
const ( DiagnosticPodName = "DiagnosticPod" ImageTemplateParam = "images" LatestImageParam = "latest-images" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiagnosticPod ¶
type DiagnosticPod struct { KubeClient kclientset.Interface Namespace string Level int Factory *osclientcmd.Factory PreventModification bool ImageTemplate variable.ImageTemplate }
DiagnosticPod is a diagnostic that runs a diagnostic pod and relays the results.
func (*DiagnosticPod) AvailableParameters ¶
func (d *DiagnosticPod) AvailableParameters() []types.Parameter
func (*DiagnosticPod) CanRun ¶
func (d *DiagnosticPod) CanRun() (bool, error)
CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.
func (*DiagnosticPod) Check ¶
func (d *DiagnosticPod) Check() types.DiagnosticResult
Check is part of the Diagnostic interface; it runs the actual diagnostic logic
func (*DiagnosticPod) Description ¶
func (d *DiagnosticPod) Description() string
Description is part of the Diagnostic interface and provides a user-focused description of what the diagnostic does.
func (*DiagnosticPod) Name ¶
func (d *DiagnosticPod) Name() string
Name is part of the Diagnostic interface and just returns name.
func (*DiagnosticPod) Requirements ¶
func (d *DiagnosticPod) Requirements() (client bool, host bool)
Click to show internal directories.
Click to hide internal directories.