Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for Potato (0.11 sec)

  1. cmd/batch-rotate.go

    	}, ObjectOptions{
    		VersionID: oi.VersionID,
    		NoLock:    true,
    	}); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    const (
    	batchKeyRotationName               = "batch-rotate.bin"
    	batchKeyRotationFormat             = 1
    	batchKeyRotateVersionV1            = 1
    	batchKeyRotateVersion              = batchKeyRotateVersionV1
    	batchKeyRotateAPIVersion           = "v1"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/net/dnsconfig.go

    }
    
    // serverOffset returns an offset that can be used to determine
    // indices of servers in c.servers when making queries.
    // When the rotate option is enabled, this offset increases.
    // Otherwise it is always 0.
    func (c *dnsConfig) serverOffset() uint32 {
    	if c.rotate {
    		return atomic.AddUint32(&c.soffset, 1) - 1 // return 0 to start
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. security/pkg/credentialfetcher/plugin/gce.go

    	// When fails to get expiration time from token, always refresh the token.
    	if err != nil || exp.IsZero() {
    		return true
    	}
    	rotate := now.After(exp.Add(-gracePeriod))
    	gcecredLog.Debugf("credential expiration: %s, grace period: %s, should rotate: %t",
    		exp.String(), gracePeriod.String(), rotate)
    	return rotate
    }
    
    // GetPlatformCredential fetches the GCE VM identity jwt token from its metadata server,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/crypto/md5/gen.go

    	"dup":     dup,
    	"relabel": relabel,
    	"rotate":  rotate,
    	"idx":     idx,
    	"seq":     seq,
    }
    
    func dup(count int, x []int) []int {
    	var out []int
    	for i := 0; i < count; i++ {
    		out = append(out, x...)
    	}
    	return out
    }
    
    func relabel(s string) string {
    	return strings.NewReplacer("arg0", data.a, "arg1", data.b, "arg2", data.c, "arg3", data.d).Replace(s)
    }
    
    func rotate() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. internal/logger/logrotate.go

    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    				Time:    time.Now().UTC(),
    				Trace:   &log.Trace{Message: msg},
    			})
    		}
    		if err := w.rotate(); err != nil {
    			msg := fmt.Sprintf("unable to rotate log file %v: %v", w.f.Name(), err)
    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    				Time:    time.Now().UTC(),
    				Trace:   &log.Trace{Message: msg},
    			})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route_test.go

    		xdstest.ValidateRoutes(t, routes)
    		g.Expect(err).NotTo(HaveOccurred())
    		g.Expect(len(routes)).To(Equal(1))
    
    		r := routes[0]
    		routeAction, ok := r.GetAction().(*envoyroute.Route_Route)
    		g.Expect(ok).NotTo(BeFalse())
    
    		weightedCluster := routeAction.Route.GetWeightedClusters()
    		g.Expect(weightedCluster).NotTo(BeNil())
    		g.Expect(len(weightedCluster.GetClusters())).To(Equal(2))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  7. pkg/kubelet/logs/container_log_manager.go

    	klog.InfoS("Initializing container log rotate workers", "workers", c.maxWorkers, "monitorPeriod", c.monitoringPeriod)
    	for i := 0; i < c.maxWorkers; i++ {
    		worker := i + 1
    		go c.processQueueItems(ctx, worker)
    	}
    	// Start a goroutine periodically does container log rotation.
    	go wait.Forever(func() {
    		if err := c.rotateLogs(ctx); err != nil {
    			klog.ErrorS(err, "Failed to rotate container logs")
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. pkg/kubelet/logs/container_log_manager_test.go

    		{
    			ContainerStatus: runtimeapi.ContainerStatus{
    				Id:      "container-not-need-rotate",
    				State:   runtimeapi.ContainerState_CONTAINER_RUNNING,
    				LogPath: filepath.Join(dir, testLogs[0]),
    			},
    		},
    		{
    			ContainerStatus: runtimeapi.ContainerStatus{
    				Id:      "container-need-rotate",
    				State:   runtimeapi.ContainerState_CONTAINER_RUNNING,
    				LogPath: filepath.Join(dir, testLogs[1]),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	}
    	return int(incr), nil
    }
    
    // rotate checks to see whether the file f needs to be rotated,
    // meaning to start a new counter file with a different date in the name.
    // rotate is also used to open the file initially, meaning f.current can be nil.
    // In general rotate should be called just once for each file.
    // rotate will arrange a timer to call itself again when necessary.
    func (f *file) rotate() {
    	expire, cleanup := f.rotate1()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/init/kubeletfinalize.go

    	// Check for the existence of the kubelet-client-current.pem file in the kubelet certificate directory.
    	rotate := false
    	pemPath := filepath.Join(pkiPath, "kubelet-client-current.pem")
    	if _, err := os.Stat(pemPath); err == nil {
    		klog.V(1).Infof("[kubelet-finalize] Assuming that kubelet client certificate rotation is enabled: found %q", pemPath)
    		rotate = true
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:54:51 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top