Documentation ¶
Index ¶
- Variables
- func AddTypePredicate(predicates []predicate.Predicate, extensionTypes ...string) []predicate.Predicate
- func ClusterShootKubernetesVersionForCSIMigrationAtLeast(kubernetesVersion string) predicate.Predicate
- func ClusterShootProviderType(providerType string) predicate.Predicate
- func GardenCoreProviderType(providerType string) predicate.Predicate
- func HasPurpose(purpose extensionsv1alpha1.Purpose) predicate.Predicate
- func HasType(typeName string) predicate.Predicate
- func LastOperationNotSuccessful() predicate.Predicate
- func ShootNotFailed() predicate.Predicate
Constants ¶
This section is empty.
Variables ¶
var IsDeleting = predicateutils.IsDeleting
IsDeleting is an alias for a predicate which checks if the passed object has a deletion timestamp.
var Log logr.Logger = log.Log
Log is the logger for predicates.
Functions ¶
func AddTypePredicate ¶
func AddTypePredicate(predicates []predicate.Predicate, extensionTypes ...string) []predicate.Predicate
AddTypePredicate returns a new slice which contains a type predicate and the given `predicates`. if more than one extensionTypes is given all given types are or combined
func ClusterShootKubernetesVersionForCSIMigrationAtLeast ¶ added in v1.22.6
func ClusterShootKubernetesVersionForCSIMigrationAtLeast(kubernetesVersion string) predicate.Predicate
ClusterShootKubernetesVersionForCSIMigrationAtLeast is a predicate for the kubernetes version of the shoot in the cluster resource.
func ClusterShootProviderType ¶
ClusterShootProviderType is a predicate for the provider type of the shoot in the cluster resource.
func GardenCoreProviderType ¶ added in v1.4.0
GardenCoreProviderType is a predicate for the provider type of a `gardencore.Object` implementation.
func HasPurpose ¶
func HasPurpose(purpose extensionsv1alpha1.Purpose) predicate.Predicate
HasPurpose filters the incoming Controlplanes for the given spec.purpose
func HasType ¶
HasType filters the incoming OperatingSystemConfigs for ones that have the same type as the given type.
func LastOperationNotSuccessful ¶
LastOperationNotSuccessful is a predicate for unsuccessful last operations **only** for creation events.
func ShootNotFailed ¶
ShootNotFailed is a predicate for failed shoots.
Types ¶
This section is empty.