storage

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 17 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 {
	rest.Storage
	// contains filtered or unexported fields
}

REST implements a RESTStorage for metrics against etcd.

func (*REST) Create

Create creates a new version of a resource.

func (*REST) NamespaceScoped

func (r *REST) NamespaceScoped() bool

NamespaceScoped returns true if the storage is namespaced

func (*REST) New

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

New returns an empty object that can be used with Create and Update after request data has been put into it.

type Storage

type Storage struct {
	ClusterOverview *REST
}

Storage includes storage for metrics and all sub resources.

func NewStorage

NewStorage returns a Storage object that will work against metrics.

Jump to

Keyboard shortcuts

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