storage

package
v1.105.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 11 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 {
	*genericregistry.Store
}

REST implements a RESTStorage for ShootStates against etcd.

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) *REST

NewREST returns a RESTStorage object that will work against ShootStates.

func (*REST) Categories

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

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

type ShootState

type ShootState struct {
	ShootState *REST
}

ShootState implements the storage for ShootStates and their status subresource.

func NewStorage

func NewStorage(optsGetter generic.RESTOptionsGetter) ShootState

NewStorage creates a new ShootState object.

Jump to

Keyboard shortcuts

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