Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 693 for minuti (0.11 sec)

  1. pkg/controller/cronjob/cronjob_controllerv2_test.go

    			deadline:                   shortDead,
    			jobCreationTime:            justAfterThePriorHour(),
    			now:                        justAfterTheHour().Add(time.Minute * time.Duration(shortDead+1)),
    			expectRequeueAfter:         true,
    			expectedRequeueDuration:    1*time.Hour - 1*time.Minute - time.Minute*time.Duration(shortDead+1) + nextScheduleDelta,
    			jobPresentInCJActiveStatus: true,
    		},
    		"never ran, is time, not past deadline": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/duration_test.go

    		result Duration
    	}{
    		{"d: 0s\n", Duration{}},
    		{"d: 5s\n", Duration{5 * time.Second}},
    		{"d: 2m0s\n", Duration{2 * time.Minute}},
    		{"d: 1h0m0.003s\n", Duration{time.Hour + 3*time.Millisecond}},
    
    		// Units with zero values can optionally be dropped
    		{"d: 2m\n", Duration{2 * time.Minute}},
    		{"d: 1h0.003s\n", Duration{time.Hour + 3*time.Millisecond}},
    	}
    
    	for _, c := range cases {
    		var result DurationHolder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 07 18:17:32 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cache.go

    	loadNodesUpDown := func(ctx context.Context) (v nodesOnline, err error) {
    		v.Online, v.Offline = globalNotificationSys.GetPeerOnlineCount()
    		return
    	}
    	return cachevalue.NewFromFunc(1*time.Minute,
    		cachevalue.Opts{ReturnLastGood: true},
    		loadNodesUpDown)
    }
    
    type driveIOStatMetrics struct {
    	readsPerSec    float64
    	readsKBPerSec  float64
    	readsAwait     float64
    	writesPerSec   float64
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. pkg/controller/certificates/signer/signer.go

    		TTL:      s.duration(expirationSeconds),
    		Usages:   usages,
    		Backdate: 5 * time.Minute, // this must always be less than the minimum TTL requested by a user (see sanity check requestedDuration below)
    		Short:    8 * time.Hour,   // 5 minutes of backdating is roughly 1% of 8 hours
    		Now:      now,
    	})
    	if err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. pkg/ledger/smt_test.go

    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestSmtEmptyTrie(t *testing.T) {
    	smt := newSMT(hasher, nil, time.Minute)
    	if !bytes.Equal([]byte{}, smt.root) {
    		t.Fatal("empty trie root hash not correct")
    	}
    }
    
    func TestSmtUpdateAndGet(t *testing.T) {
    	smt := newSMT(hasher, nil, time.Minute)
    	smt.atomicUpdate = false
    
    	// Add data to empty trie
    	keys := getFreshData(10)
    	values := getFreshData(10)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/v1beta1/defaults.go

    		obj.Authentication.Webhook.CacheTTL = metav1.Duration{Duration: 2 * time.Minute}
    	}
    	if obj.Authorization.Mode == "" {
    		obj.Authorization.Mode = kubeletconfigv1beta1.KubeletAuthorizationModeWebhook
    	}
    	if obj.Authorization.Webhook.CacheAuthorizedTTL == zeroDuration {
    		obj.Authorization.Webhook.CacheAuthorizedTTL = metav1.Duration{Duration: 5 * time.Minute}
    	}
    	if obj.Authorization.Webhook.CacheUnauthorizedTTL == zeroDuration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. internal/s3select/sql/timestampfuncs.go

    		return FromInt(int64(duration / (24 * time.Hour))), nil
    	case timePartHour:
    		hours := duration / time.Hour
    		return FromInt(int64(hours)), nil
    	case timePartMinute:
    		minutes := duration / time.Minute
    		return FromInt(int64(minutes)), nil
    	case timePartSecond:
    		seconds := duration / time.Second
    		return FromInt(int64(seconds)), nil
    	default:
    
    	}
    	return nil, errNotImplemented
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  8. cmd/jwt.go

    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    	// Default JWT token for web handlers is one day.
    	defaultJWTExpiry = 24 * time.Hour
    
    	// Inter-node JWT token expiry is 15 minutes.
    	defaultInterNodeJWTExpiry = 15 * time.Minute
    )
    
    var (
    	errInvalidAccessKeyID = errors.New("The access key ID you provided does not exist in our records")
    	errAccessKeyDisabled  = errors.New("The access key you provided is disabled")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. pkg/kubelet/token/token_manager_test.go

    		expectRefresh bool
    		requestTweaks func(*authenticationv1.TokenRequest)
    	}{
    		{
    			now:           start.Add(10 * time.Minute),
    			exp:           start.Add(60 * time.Minute),
    			expectRefresh: false,
    		},
    		{
    			now:           start.Add(50 * time.Minute),
    			exp:           start.Add(60 * time.Minute),
    			expectRefresh: true,
    		},
    		{
    			now:           start.Add(25 * time.Hour),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 04 00:16:47 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  10. pkg/kubelet/util/queue/work_queue_test.go

    	}
    }
    
    func TestGetWork(t *testing.T) {
    	q, clock := newTestBasicWorkQueue()
    	q.Enqueue(types.UID("foo1"), -1*time.Minute)
    	q.Enqueue(types.UID("foo2"), -1*time.Minute)
    	q.Enqueue(types.UID("foo3"), 1*time.Minute)
    	q.Enqueue(types.UID("foo4"), 1*time.Minute)
    	expected := []types.UID{types.UID("foo1"), types.UID("foo2")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top