storage

package
v1.27.4 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerRegistrationStorage

type ControllerRegistrationStorage struct {
	ControllerRegistration *REST
}

ControllerRegistrationStorage implements the storage for ControllerRegistrations and their status subresource.

func NewStorage

NewStorage creates a new ControllerRegistrationStorage object.

type REST

type REST struct {
	*genericregistry.Store
}

REST implements a RESTStorage for ControllerRegistrations against etcd.

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) *REST

NewREST returns a RESTStorage object that will work against controllerRegistrations.

func (*REST) Categories

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

Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of.

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