Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,999 for Hour (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates_test.go

    	template := x509.Certificate{
    		SerialNumber: big.NewInt(1),
    		Subject: pkix.Name{
    			CommonName: fmt.Sprintf("%s@%d", host, time.Now().Unix()),
    		},
    		NotBefore: time.Unix(0, 0),
    		NotAfter:  time.Now().Add(time.Hour * 24 * 365 * 100),
    
    		KeyUsage:              x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature | x509.KeyUsageCertSign,
    		ExtKeyUsage:           []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 08:42:09 UTC 2021
    - 8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cache/cache_test.go

    		t.Fatalf("second trim did work: %q -> %q", data, data2)
    	}
    
    	// Fast forward and do another trim just before the 5 day cutoff.
    	// Note that because of usedQuantum the cutoff is actually 5 days + 1 hour.
    	// We used c.Get(id) just now, so 5 days later it should still be kept.
    	// On the other hand almost a full day has gone by since we wrote dummyID(2)
    	// and we haven't looked at it since, so 5 days later it should be gone.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-agent/options/options.go

    	trustDomainEnv = env.Register("TRUST_DOMAIN", "cluster.local",
    		"The trust domain for spiffe certificates").Get()
    
    	secretTTLEnv = env.Register("SECRET_TTL", 24*time.Hour,
    		"The cert lifetime requested by istio agent").Get()
    
    	fileDebounceDuration = env.Register("FILE_DEBOUNCE_DURATION", 100*time.Millisecond,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 19:21:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/v1beta1/defaults.go

    		obj.OOMScoreAdj = utilpointer.Int32(int32(qos.KubeletOOMScoreAdj))
    	}
    	if obj.StreamingConnectionIdleTimeout == zeroDuration {
    		obj.StreamingConnectionIdleTimeout = metav1.Duration{Duration: 4 * time.Hour}
    	}
    	if obj.NodeStatusReportFrequency == zeroDuration {
    		// For backward compatibility, NodeStatusReportFrequency's default value is
    		// set to NodeStatusUpdateFrequency if NodeStatusUpdateFrequency is set
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/runtime/mgclimit_test.go

    			t.Fatalf("expected empty bucket to start")
    		}
    
    		// Test filling the bucket with just mutator time.
    
    		l.Update(advance(10 * time.Millisecond))
    		l.Update(advance(1 * time.Second))
    		l.Update(advance(1 * time.Hour))
    		if l.Fill() != 0 {
    			t.Fatalf("expected empty bucket from only accumulating mutator time, got fill of %d cpu-ns", l.Fill())
    		}
    
    		// Test needUpdate.
    
    		if l.NeedUpdate(advance(GCCPULimiterUpdatePeriod / 2)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 16:02:20 UTC 2022
    - 9K bytes
    - Viewed (0)
Back to top