Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for queueKey (0.14 sec)

  1. pkg/controlplane/controller/legacytokentracking/controller.go

    	return true
    }
    
    func (c *Controller) syncConfigMap() error {
    	obj, exists, err := c.configMapCache.GetByKey(queueKey)
    	if err != nil {
    		return err
    	}
    
    	now := c.clock.Now()
    	if !exists {
    		r := c.creationRatelimiter.ReserveN(now, 1)
    		if delay := r.DelayFrom(now); delay > 0 {
    			c.queue.AddAfter(queueKey, delay)
    			r.CancelAt(now)
    			return nil
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/interface.go

    }
    
    // QueueSetCompleter finishes the two-step process of creating or
    // reconfiguring a QueueSet
    type QueueSetCompleter interface {
    	// Complete returns a QueueSet configured by the given
    	// dispatching configuration.
    	Complete(DispatchingConfig) QueueSet
    }
    
    // QueueSet is the abstraction for the queuing and dispatching
    // functionality of one non-exempt priority level.  It covers the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/types.go

    	fcrequest "k8s.io/apiserver/pkg/util/flowcontrol/request"
    )
    
    // request is a temporary container for "requests" with additional
    // tracking fields required for QueueSet functionality.
    type request struct {
    	ctx context.Context
    
    	qs *queueSet
    
    	flowDistinguisher string
    	fsName            string
    
    	// The relevant queue.  Is nil if this request did not go through
    	// a queue.
    	queue *queue
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 17:38:43 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package queueset implements a technique called "fair queuing for
    // server requests".  One QueueSet is a set of queues operating
    // according to this technique.
    //
    // Fair queuing for server requests is inspired by the fair queuing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 12:33:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/no-restraint.go

    	return noRestraintCompleter{}, nil
    }
    
    func (noRestraintCompleter) Complete(dCfg fq.DispatchingConfig) fq.QueueSet {
    	return noRestraint{}
    }
    
    func (noRestraint) BeginConfigChange(qCfg fq.QueuingConfig) (fq.QueueSetCompleter, error) {
    	return noRestraintCompleter{}, nil
    }
    
    func (noRestraint) IsIdle() bool {
    	return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 17:37:20 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package queueset
    
    import (
    	"math/rand"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	fcrequest "k8s.io/apiserver/pkg/util/flowcontrol/request"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 28 08:48:40 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter_test.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/apiserver/pkg/endpoints/request"
    	fq "k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing"
    	fqs "k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset"
    	"k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock"
    	"k8s.io/apiserver/pkg/util/flowcontrol/metrics"
    	fcrequest "k8s.io/apiserver/pkg/util/flowcontrol/request"
    	"k8s.io/client-go/informers"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/max_seats_test.go

    */
    
    package flowcontrol
    
    import (
    	"testing"
    	"time"
    
    	flowcontrolv1 "k8s.io/api/flowcontrol/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	fqs "k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset"
    	"k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock"
    	"k8s.io/apiserver/pkg/util/flowcontrol/metrics"
    	"k8s.io/client-go/informers"
    	clientsetfake "k8s.io/client-go/kubernetes/fake"
    	"k8s.io/utils/ptr"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package queueset
    
    import (
    	"container/list"
    )
    
    // removeFromFIFOFunc removes a designated element from the list
    // if that element is in the list.
    // The complexity of the runtime cost is O(1).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 16:05:53 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter.go

    	"k8s.io/apiserver/pkg/server/mux"
    	fq "k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing"
    	"k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/eventclock"
    	fqs "k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset"
    	"k8s.io/apiserver/pkg/util/flowcontrol/metrics"
    	fcrequest "k8s.io/apiserver/pkg/util/flowcontrol/request"
    	kubeinformers "k8s.io/client-go/informers"
    	"k8s.io/klog/v2"
    	"k8s.io/utils/clock"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top