componentstatus

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2016 License: Apache-2.0 Imports: 7 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

Overview

Package componentstatus provides interfaces and implementation for retrieving cluster component status.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToConditionStatus

func ToConditionStatus(s probe.Result) api.ConditionStatus

Types

type REST

type REST struct {
	GetServersToValidate func() map[string]apiserver.Server
	// contains filtered or unexported fields
}

func NewStorage

func NewStorage(serverRetriever func() map[string]apiserver.Server) *REST

NewStorage returns a new REST.

func (*REST) Get

func (rs *REST) Get(ctx api.Context, name string) (runtime.Object, error)

func (*REST) List

func (rs *REST) List(ctx api.Context, options *api.ListOptions) (runtime.Object, error)

Returns the list of component status. Note that the label and field are both ignored. Note that this call doesn't support labels or selectors.

func (*REST) New

func (rs *REST) New() runtime.Object

func (*REST) NewList

func (rs *REST) NewList() runtime.Object

Jump to

Keyboard shortcuts

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