controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ShardLabelKey = "kargo.akuity.io/shard"

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 Stage and Promotion reconcilers. If a non-empty shard name is passed to this function, it returns a predicate that matches ONLY Stages and Promotions labeled for that shard. If an empty shard name is passed to this function, it returns a predicate that matches ONLY Stages and Promotions that are NOT labeled for any shard.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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