podmetrics

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricStorage

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

func NewStorage

func NewStorage(groupResource schema.GroupResource, prov provider.PodMetricsProvider, podLister v1listers.PodLister) *MetricStorage

func (*MetricStorage) Get

func (m *MetricStorage) Get(ctx context.Context, name string, opts *metav1.GetOptions) (runtime.Object, error)

Getter interface

func (*MetricStorage) Kind

func (m *MetricStorage) Kind() string

KindProvider interface

func (*MetricStorage) List

Lister interface

func (*MetricStorage) NamespaceScoped

func (m *MetricStorage) NamespaceScoped() bool

func (*MetricStorage) New

func (m *MetricStorage) New() runtime.Object

Storage interface

func (*MetricStorage) NewList

func (m *MetricStorage) NewList() runtime.Object

Lister interface

Jump to

Keyboard shortcuts

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