Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 186 for Potato (0.12 sec)

  1. pkg/filewatcher/filewatcher_test.go

    	events1 := w.Events(watchFile1)
    	g.Expect(events1).NotTo(BeNil())
    	events2 := w.Events(watchFile2)
    	g.Expect(events2).NotTo(BeNil())
    
    	errors1 := w.Errors(watchFile1)
    	g.Expect(errors1).NotTo(BeNil())
    	errors2 := w.Errors(watchFile2)
    	g.Expect(errors2).NotTo(BeNil())
    
    	// Validate Remove behavior
    	err = w.Remove(watchFile1)
    	g.Expect(err).NotTo(HaveOccurred())
    	events1 = w.Events(watchFile1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. 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)
  3. security/pkg/pki/ca/ca.go

    	MaxCertTTL     time.Duration
    	CARSAKeySize   int
    
    	KeyCertBundle *util.KeyCertBundle
    
    	// Config for creating self-signed root cert rotator.
    	RotatorConfig *SelfSignedCARootCertRotatorConfig
    
    	// OnRootCertUpdate is the cb which can only be called by self-signed root cert rotator
    	OnRootCertUpdate func() error
    }
    
    type RootCertUpdateFunc func() error
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 17.2K 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. cluster/gce/windows/common.psm1

          rotate
          return
        }
      }
    }
    
    # Rotate-Files rotates the log files in directory -Path that match -Pattern.
    # Rotation is performed by Rotate-File, according to -Config.
    function Rotate-Files {
      param (
        # Pattern that file names must match to be rotated. Does not include parent path.
        [parameter(Mandatory=$true)] [string]$Pattern,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 19 14:47:38 UTC 2022
    - 25.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Bytes.java

       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Bytes.asList(array),
       * distance)}, but is somewhat faster.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @since 32.0.0
       */
      public static void rotate(byte[] array, int distance) {
        rotate(array, distance, 0, array.length);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. pilot/pkg/config/aggregate/config_test.go

    			GroupVersionKind: gvk.GatewayClass,
    			Name:             "other",
    		},
    	}
    
    	_, err := store1.Create(*configReturn)
    	g.Expect(err).NotTo(HaveOccurred())
    
    	stores := []model.ConfigStore{store1, store2}
    
    	store, err := makeStore(stores, nil)
    	g.Expect(err).NotTo(HaveOccurred())
    
    	c := store.Get(gvk.GatewayClass, "other", "")
    	g.Expect(c.Name).To(Equal(configReturn.Name))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top