apiserver

package
v0.0.0-...-4b56dc5 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 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(emProvider provider.ExternalMetricsProvider) *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