Documentation
¶
Index ¶
Constants ¶
View Source
const AppIndex = "app"
AppIndex identify the index for resourcetracker to accelerate cache retrieval
Variables ¶
View Source
var ( // OptimizeListOp optimize ResourceTracker & ApplicationRevision list op by adding index // used in controller optimization (informer index). Client side should not use it. OptimizeListOp = false )
Functions ¶
func BuildCache ¶
func BuildCache(ctx context.Context, scheme *runtime.Scheme, shardingObjects ...client.Object) cache.NewCacheFunc
BuildCache if optimize-list-op enabled, ResourceTracker and ApplicationRevision will be cached by application namespace & name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.