sharding

package
v0.10.0-rc.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ShardingIDLabel is the label key used to identify the shard ID of a controller pod
	ShardingIDLabel string = "fleet.cattle.io/shard-id"
	// ShardingRefLabel is the label key used by resources to reference the shard ID of a controller
	ShardingRefLabel string = "fleet.cattle.io/shard-ref"
	// ShardingDefaultLabel is the label key which is set to true on the controller handling unlabeled resources
	ShardingDefaultLabel string = "fleet.cattle.io/shard-default"
)

Variables

This section is empty.

Functions

func FilterByShardID

func FilterByShardID(shardID string) predicate.Funcs

FilterByShardID returns a predicate function that filters objects by the shard ID they reference

Types

This section is empty.

Jump to

Keyboard shortcuts

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