watches

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NamespacedNameAnnotation is an annotation that indicates who the dynamic environment owner of this resource is.
	// The format is `<namespace>/<name>` with comma-separated values if there is more than one dynamic environment
	NamespacedNameAnnotation = "riskified.com/dynamic-environment"
)

Variables

This section is empty.

Functions

func AddToAnnotation

func AddToAnnotation(owner types.NamespacedName, object client.Object)

AddToAnnotation appends the current Dynamic environment to `NamespacedNameAnnotation`

func RemoveFromAnnotation

func RemoveFromAnnotation(owner types.NamespacedName, object client.Object)

RemoveFromAnnotation removes current Dynamic environment from `NamespacedNameAnnotation`

Types

type EnqueueRequestForAnnotation

type EnqueueRequestForAnnotation struct{}

func (*EnqueueRequestForAnnotation) Create

Create is called in response to an 'add' event.

func (*EnqueueRequestForAnnotation) Delete

Delete is called in response to a 'delete' event.

func (*EnqueueRequestForAnnotation) Generic

GenericFunc is called in response to a generic event.

func (*EnqueueRequestForAnnotation) Update

Update is called in response to an update event.

Jump to

Keyboard shortcuts

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