controller

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommonOptions

func CommonOptions() controller.Options

func GetCredentialsRequirement added in v0.5.0

func GetCredentialsRequirement() (*labels.Requirement, error)

GetCredentialsRequirement returns a label requirement that matches only resources that have a credential type label set to one of the supported credential types.

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