package componentstatus
import "k8s.io/kubernetes/pkg/registry/componentstatus"
Package componentstatus provides interfaces and implementation for retrieving cluster component status.
Index ¶
- func ToConditionStatus(s probe.Result) api.ConditionStatus
- type REST
- func NewStorage(serverRetriever func() map[string]apiserver.Server) *REST
- func (rs *REST) Get(ctx api.Context, name string) (runtime.Object, error)
- func (rs *REST) List(ctx api.Context, label labels.Selector, field fields.Selector) (runtime.Object, error)
- func (rs *REST) New() runtime.Object
- func (rs *REST) NewList() runtime.Object
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 ¶
NewStorage returns a new REST.
func (*REST) Get ¶
func (*REST) List ¶
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 ¶
func (*REST) NewList ¶
Source Files ¶
doc.go rest.go
- Version
- v1.1.9-beta.0
- Published
- Feb 23, 2016
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 9 minutes ago –
Tools for package owners.