controller

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommonOptions

func CommonOptions() controller.Options

func GetShardPredicate

func GetShardPredicate(shard string) (predicate.Predicate, error)

GetShardPredicate constructs a predicate used as an event filter for various reconcilers. If a non-empty shard name is passed to this function, it returns a predicate that matches ONLY resources labeled for that shard. If an empty shard name is passed to this function, it returns a predicate that matches ONLY resources that are NOT labeled for ANY shard.

Types

This section is empty.

Directories

Path Synopsis
argocd
api/v1alpha1
+kubebuilder:object:generate=true +groupName=argoproj.io
+kubebuilder:object:generate=true +groupName=argoproj.io
rollouts
api/v1alpha1
+kubebuilder:object:generate=true +groupName=argoproj.io
+kubebuilder:object:generate=true +groupName=argoproj.io

Jump to

Keyboard shortcuts

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