Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for replenishmentFunc (0.17 sec)

  1. pkg/controller/resourcequota/resource_quota_monitor.go

    	// The period that should be used to re-sync the monitored resource
    	resyncPeriod controller.ResyncPeriodFunc
    
    	// callback to alert that a change may require quota recalculation
    	replenishmentFunc ReplenishmentFunc
    
    	// maintains list of evaluators
    	registry quota.Registry
    
    	updateFilter UpdateFilter
    }
    
    // NewMonitor creates a new instance of a QuotaMonitor
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. pkg/controller/resourcequota/resource_quota_controller.go

    )
    
    // NamespacedResourcesFunc knows how to discover namespaced resources.
    type NamespacedResourcesFunc func() ([]*metav1.APIResourceList, error)
    
    // ReplenishmentFunc is a signal that a resource changed in specified namespace
    // that may require quota to be recalculated.
    type ReplenishmentFunc func(ctx context.Context, groupResource schema.GroupResource, namespace string)
    
    // ControllerOptions holds options for creating a quota controller
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top