controller

package
v1.1.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommonOptions

func CommonOptions(maxConcurrentReconciles int) 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.

func GetShardRequirement added in v0.4.0

func GetShardRequirement(shard string) (*labels.Requirement, error)

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
management
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