predicates

package
v0.0.0-...-31b15bb Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPredicates

func GetPredicates(enablePrivate bool, customerName string, c client.Client) predicate.Predicate

func IgnoreGenericSaaSCustomer

func IgnoreGenericSaaSCustomer(obj client.Object, customerName string) bool

func IgnorePrivateSaaSCustomer

func IgnorePrivateSaaSCustomer(obj client.Object, c client.Client) bool

Types

type GenericSaaSPredicates

type GenericSaaSPredicates struct {
	predicate.Funcs
	C client.Client
}

GenericSaaSPredicates to be passed to manager

func (GenericSaaSPredicates) Create

create() to filter create events

func (GenericSaaSPredicates) Delete

delete() to filter delete events

func (GenericSaaSPredicates) Update

update() to filter update events

type PrivateSaaSPredicates

type PrivateSaaSPredicates struct {
	predicate.Funcs
	CustomerName string
}

PrivateSaaSPredicates to be passed to manager

func (PrivateSaaSPredicates) Create

create() to filter create events

func (PrivateSaaSPredicates) Delete

delete() to filter delete events

func (PrivateSaaSPredicates) Update

update() to filter update events

Jump to

Keyboard shortcuts

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