storage

package
v0.0.0-...-b43e092 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2018 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QuotaStorage

type QuotaStorage struct {
	Quota *REST
}

QuotaStorage implements the storage for Quotas and their status subresource.

func NewStorage

func NewStorage(optsGetter generic.RESTOptionsGetter) QuotaStorage

NewStorage creates a new QuotaStorage object.

type REST

type REST struct {
	*genericregistry.Store
}

REST implements a RESTStorage for Quota

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) *REST

NewREST returns a RESTStorage object that will work with Quota objects.

func (*REST) ShortNames

func (r *REST) ShortNames() []string

ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.

Jump to

Keyboard shortcuts

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