shoot

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 16 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

func GetAttrs

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)

GetAttrs returns labels and fields of a given object for filtering purposes.

func MatchShoot

func MatchShoot(label labels.Selector, field fields.Selector) storage.SelectionPredicate

MatchShoot returns a generic matcher for a given label and field selector.

func SeedNameTriggerFunc added in v0.34.0

func SeedNameTriggerFunc(obj runtime.Object) string

SeedNameTriggerFunc returns spec.seedName of given Shoot.

func ToSelectableFields

func ToSelectableFields(shoot *garden.Shoot) fields.Set

ToSelectableFields returns a field set that represents the object TODO: fields are not labels, and the validation rules for them do not apply.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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