kubernetes: github.com/erimatnor/kubernetes/pkg/registry/componentstatus Index | Files

package componentstatus

import "github.com/erimatnor/kubernetes/pkg/registry/componentstatus"

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

Index

Package Files

doc.go rest.go

func ToConditionStatus Uses

func ToConditionStatus(s probe.Result) api.ConditionStatus

type REST Uses

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

func NewStorage Uses

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

NewStorage returns a new REST.

func (*REST) Get Uses

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

func (*REST) List Uses

func (rs *REST) List(ctx api.Context, label labels.Selector, field fields.Selector) (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 Uses

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

func (*REST) NewList Uses

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

Package componentstatus imports 8 packages (graph). Updated 2017-05-11. Refresh now. Tools for package owners.