shoot

package
v0.0.0-...-133fb1b Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StatusStrategy = shootStatusStrategy{Strategy}

StatusStrategy defines the storage strategy for the status subresource of Shoots.

View Source
var Strategy = shootStrategy{api.Scheme, names.SimpleNameGenerator}

Strategy defines the storage strategy for Shoots.

Functions

This section is empty.

Types

type Registry

type Registry interface {
	ListShoots(ctx genericapirequest.Context, options *metainternalversion.ListOptions) (*garden.ShootList, error)
	WatchShoots(ctx genericapirequest.Context, options *metainternalversion.ListOptions) (watch.Interface, error)
	GetShoot(ctx genericapirequest.Context, shootID string, options *metav1.GetOptions) (*garden.Shoot, error)
	CreateShoot(ctx genericapirequest.Context, shoot *garden.Shoot, createValidation rest.ValidateObjectFunc) (*garden.Shoot, error)
	UpdateShoot(ctx genericapirequest.Context, shoot *garden.Shoot, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (*garden.Shoot, error)
	DeleteShoot(ctx genericapirequest.Context, shootID string) error
}

Registry is an interface for things that know how to store Shoots.

func NewRegistry

func NewRegistry(s rest.StandardStorage) Registry

NewRegistry returns a new Registry interface for the given Storage. Any mismatched types will panic.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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