pod

package
v1.5.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2017 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	PodCheckAuthName = "PodCheckAuth"
)
View Source
const (
	PodCheckDnsName = "PodCheckDns"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PodCheckAuth

type PodCheckAuth struct {
	MasterUrl    string
	MasterCaPath string
	TokenPath    string
}

PodCheckAuth is a Diagnostic to check that a pod can authenticate as expected

func (PodCheckAuth) CanRun

func (d PodCheckAuth) CanRun() (bool, error)

CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.

func (PodCheckAuth) Check

Check is part of the Diagnostic interface; it runs the actual diagnostic logic

func (PodCheckAuth) Description

func (d PodCheckAuth) Description() string

Description is part of the Diagnostic interface and provides a user-focused description of what the diagnostic does.

func (PodCheckAuth) Name

func (d PodCheckAuth) Name() string

Name is part of the Diagnostic interface and just returns name.

type PodCheckDns

type PodCheckDns struct {
}

PodCheckDns is a Diagnostic to check that DNS within a pod works as expected

func (PodCheckDns) CanRun

func (d PodCheckDns) CanRun() (bool, error)

CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.

func (PodCheckDns) Check

Check is part of the Diagnostic interface; it runs the actual diagnostic logic

func (PodCheckDns) Description

func (d PodCheckDns) Description() string

Description is part of the Diagnostic interface and just returns the diagnostic description.

func (PodCheckDns) Name

func (d PodCheckDns) Name() string

Name is part of the Diagnostic interface and just returns name.

Jump to

Keyboard shortcuts

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