pod

package
v3.11.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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             genericclioptions.RESTClientGetter
	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

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL