shoot

package
v1.50.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 NewBindingStrategy added in v1.50.0

func NewBindingStrategy() shootBindingStrategy

NewBindingStrategy returns a new storage strategy for the binding subresource of Shoots.

func NewStatusStrategy added in v1.50.0

func NewStatusStrategy() shootStatusStrategy

NewStatusStrategy returns a new storage strategy for the status subresource of Shoots.

func NewStrategy added in v1.50.0

func NewStrategy(credentialsRotationInterval time.Duration) shootStrategy

NewStrategy returns a new storage strategy for Shoots.

func SeedNameTriggerFunc

func SeedNameTriggerFunc(obj runtime.Object) string

SeedNameTriggerFunc returns spec.seedName of given Shoot.

func ToSelectableFields

func ToSelectableFields(shoot *core.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