Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 3,917 for Hour (0.07 sec)

  1. src/net/timeout_test.go

    			// to trigger runtime adjusttimers calls.
    			for j := tries; j > 0; j-- {
    				for k := 0; k < conns; k++ {
    					c[k].SetReadDeadline(now.Add(2*time.Hour + time.Duration(i*j*k)*time.Second))
    					c[k].SetWriteDeadline(now.Add(1*time.Hour + time.Duration(i*j*k)*time.Second))
    				}
    			}
    		}(i)
    	}
    	wg.Wait()
    }
    
    // isDeadlineExceeded reports whether err is or wraps os.ErrDeadlineExceeded.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
  2. security/pkg/pki/ra/k8s_ra_test.go

    			}
    		}
    	}()
    	return client
    }
    
    func createFakeK8sRA(client kube.Client, caCertFile string) (*KubernetesRA, error) {
    	defaultCertTTL := 30 * time.Minute
    	maxCertTTL := time.Hour
    	caSigner := "kubernates.io/kube-apiserver-client"
    	raOpts := &IstioRAOptions{
    		ExternalCAType: ExtCAK8s,
    		DefaultCertTTL: defaultCertTTL,
    		MaxCertTTL:     maxCertTTL,
    		CaSigner:       caSigner,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 00:44:54 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. pkg/log/default_test.go

    			t.Fatalf("Failed to unmarshal log entry: %v", err)
    		}
    		return e.Time
    	}
    
    	t.Run("specified time", func(t *testing.T) {
    		yesterday := time.Now().Add(-time.Hour * 24).Truncate(time.Microsecond)
    
    		stdoutLines, _ := captureStdout(func() {
    			o := DefaultOptions()
    			o.JSONEncoding = true
    			_ = Configure(o)
    			defaultScope.LogWithTime(InfoLevel, "Hello", yesterday)
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. docs/sts/assume-role.md

    ## API Request Parameters
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/options/options_test.go

    				CertDirectory: "/var/run/kubernetes",
    				PairName:      "apiserver",
    			},
    			HTTP2MaxStreamsPerConnection: 42,
    			Required:                     true,
    		}).WithLoopback(),
    		EventTTL: 1 * time.Hour,
    		Audit: &apiserveroptions.AuditOptions{
    			LogOptions: apiserveroptions.AuditLogOptions{
    				Path:       "/var/log",
    				MaxAge:     11,
    				MaxBackups: 12,
    				MaxSize:    13,
    				Format:     "json",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    func ExpectedExpiryTime(modTime time.Time, days int) time.Time {
    	if days == 0 {
    		return modTime
    	}
    	t := modTime.UTC().Add(time.Duration(days+1) * 24 * time.Hour)
    	return t.Truncate(24 * time.Hour)
    }
    
    // SetPredictionHeaders sets time to expiry and transition headers on w for a
    // given obj.
    func (lc Lifecycle) SetPredictionHeaders(w http.ResponseWriter, obj ObjectOpts) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. cluster/gce/windows/configure.ps1

      $config = New-FileRotationConfig
      # TODO(random-liu): Generate containerd log into the log directory.
      Schedule-LogRotation -Pattern '.*\.log$' -Path ${env:LOGS_DIR} -RepetitionInterval $(New-Timespan -Hour 1) -Config $config
    
      Pull-InfraContainer
      # Flush cache to disk to persist the setup status
      Write-Volumecache C -PassThru
    }
    catch {
      Write-Host 'Exception caught in script:'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 28 21:28:26 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. pkg/serviceaccount/claims_test.go

    			expiry:    *jwt.NewNumericDate(now().Add(-1_000 * time.Hour)),
    			expectErr: "service account token has expired",
    		},
    		{
    			name:      "not yet valid",
    			getter:    fakeGetter{serviceAccount, nil, nil, nil},
    			private:   &privateClaims{Kubernetes: kubernetes{Svcacct: ref{Name: "saname", UID: "sauid"}, Namespace: "ns"}},
    			notBefore: *jwt.NewNumericDate(now().Add(1_000 * time.Hour)),
    			expectErr: "service account token is not valid yet",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/context/context_test.go

    // license that can be found in the LICENSE file.
    
    package context
    
    // Tests in package context cannot depend directly on package testing due to an import cycle.
    // If your test does requires access to unexported members of the context package,
    // add your test below as `func XTestFoo(t testingT)` and add a `TestFoo` to x_test.go
    // that calls it. Otherwise, write a regular test in a test.go file in package context_test.
    
    import (
    	"time"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 19:13:01 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers_test.go

    						},
    						{
    							Ready:                true,
    							RestartCount:         3,
    							State:                api.ContainerState{Running: &api.ContainerStateRunning{}},
    							LastTerminationState: api.ContainerState{Terminated: &api.ContainerStateTerminated{FinishedAt: metav1.NewTime(time.Now().Add(-20 * 24 * time.Hour))}},
    						},
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top