kubernetes/pkg/registry/core/componentstatus/rest.go

type REST

// NewStorage returns a new REST.
func NewStorage(serverRetriever func() map[string]Server) *REST {}

func (*REST) NamespaceScoped() bool {}

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

var _

func (rs *REST) GetSingularName() string {}

// Destroy cleans up resources on shutdown.
func (r *REST) Destroy() {}

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

// 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 (rs *REST) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error) {}

func componentStatusPredicate(options *metainternalversion.ListOptions) storage.SelectionPredicate {}

func matchesPredicate(status api.ComponentStatus, pred *storage.SelectionPredicate) bool {}

func (rs *REST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) {}

func ToConditionStatus(s probe.Result) api.ConditionStatus {}

func (rs *REST) getComponentStatus(name string, server Server) *api.ComponentStatus {}

var _

// ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
func (r *REST) ShortNames() []string {}