client

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2015 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 (
	ConfigContextsName = "ConfigContexts"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigContext

type ConfigContext struct {
	RawConfig   *kclientcmdapi.Config
	ContextName string
}

ConfigContext diagnostics (one per context) validate that the client config context is complete and has connectivity to the master.

func (ConfigContext) CanRun

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

func (ConfigContext) Check

func (ConfigContext) Description

func (d ConfigContext) Description() string

func (ConfigContext) Name

func (d ConfigContext) Name() string

type ConfigLoading

type ConfigLoading struct {
	ConfFlagName string
	ClientFlags  *flag.FlagSet
	// contains filtered or unexported fields
}

ConfigLoading is a little special in that it is run separately as a precondition in order to determine whether we can run other dependent diagnostics.

func (*ConfigLoading) CanRun

func (d *ConfigLoading) CanRun() (bool, error)

func (*ConfigLoading) Check

func (*ConfigLoading) Description

func (d *ConfigLoading) Description() string

func (*ConfigLoading) Name

func (d *ConfigLoading) Name() string

func (*ConfigLoading) SuccessfulLoad

func (d *ConfigLoading) SuccessfulLoad() bool

Jump to

Keyboard shortcuts

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