pod

package
v0.0.0-...-d3d374b Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

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