- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetMonitor (0.21 sec)
-
pkg/controller/storageversionmigrator/storageversionmigrator.go
return nil } gvr := getGVRFromResource(toBeProcessedSVM) resourceMonitor, err := svmc.dependencyGraphBuilder.GetMonitor(ctx, gvr) if resourceMonitor != nil { if err != nil { // non nil monitor indicates that error is due to resource not being synced return fmt.Errorf("dependency graph is not synced, requeuing to attempt again")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/controller/garbagecollector/graph_builder.go
type Monitor struct { Store cache.Store Controller cache.Controller } // GetMonitor returns a monitor for the given resource. // If the monitor is not synced, it will return an error and the monitor to allow the caller to decide whether to retry. // If the monitor is not found, it will return only an error. func (gb *GraphBuilder) GetMonitor(ctx context.Context, resource schema.GroupVersionResource) (*Monitor, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.9K bytes - Viewed (0)