apiserver

package
v0.0.0-...-c1fcc63 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

type REST struct {
	// contains filtered or unexported fields
}

REST is a wrapper for CustomMetricsProvider that provides implementation for Storage and Lister interfaces.

func NewREST

func NewREST(cmProvider provider.CustomMetricsProvider) *REST

NewREST returns new REST object for provided CustomMetricsProvider.

func (*REST) List

List selects resources in the storage which match to the selector.

func (*REST) New

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

New returns empty MetricValue.

func (*REST) NewList

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

NewList returns empty MetricValueList.

Jump to

Keyboard shortcuts

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