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.
Click to show internal directories.
Click to hide internal directories.