Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for safety (0.73 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    			resp, err := conn.sendDataAndWaitForAck(update.Update, update.Fd)
    			if err != nil {
    				log.Errorf("ztunnel acked error: err %v ackErr %s", err, resp.GetAck().GetError())
    			}
    			log.Debugf("ztunnel acked")
    			// Safety: Resp is buffered, so this will not block
    			update.Resp <- updateResponse{
    				err:  err,
    				resp: resp,
    			}
    
    		case <-time.After(ztunnelKeepAliveCheckInterval):
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/dynamic-timeouts.go

    		timeout := atomic.LoadInt64(&dt.timeout) * 125 / 100
    
    		// Set upper cap.
    		if timeout > int64(maxDynamicTimeout) {
    			timeout = int64(maxDynamicTimeout)
    		}
    		// Safety, shouldn't happen
    		if timeout < dt.minimum {
    			timeout = dt.minimum
    		}
    		atomic.StoreInt64(&dt.timeout, timeout)
    	} else if failPct < dynamicTimeoutDecreaseThresholdPct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. internal/crypto/key.go

    // system (crypto/rand) is used.
    func GenerateKey(extKey []byte, random io.Reader) (key ObjectKey) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if len(extKey) != 32 { // safety check
    		logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length"))
    	}
    	var nonce [32]byte
    	if _, err := io.ReadFull(random, nonce[:]); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. cni/pkg/repair/repaircontroller.go

    	m.With(resultLabel.Value(resultSuccess)).Increment()
    	return nil
    }
    
    func (c *Controller) labelBrokenPod(pod *corev1.Pod) error {
    	// Added for safety, to make sure no healthy pods get labeled.
    	m := podsRepaired.With(typeLabel.Value(labelType))
    	repairLog.Infof("Pod detected as broken, adding label: %s/%s", pod.Namespace, pod.Name)
    
    	labels := pod.GetLabels()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		if opts.Expiration.Expire {
    			// Expire all versions expiration must still verify the state() on disk
    			// via a getObjectInfo() call as follows, any read quorum issues we
    			// must not proceed further for safety reasons. attempt a MRF heal
    			// while we see such quorum errors.
    			goi, _, gerr := er.getObjectInfoAndQuorum(ctx, bucket, object, opts)
    			if gerr != nil && goi.Name == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/object-api-common.go

    	// Deleted Buckets prefix.
    	deletedBucketsPrefix = ".deleted"
    
    	// ETag (hex encoded md5sum) of empty string.
    	emptyETag = "d41d8cd98f00b204e9800998ecf8427e"
    )
    
    // Global object layer mutex, used for safely updating object layer.
    var globalObjLayerMutex sync.RWMutex
    
    // Global object layer, only accessed by globalObjectAPI.
    var globalObjectAPI ObjectLayer
    
    type storageOpts struct {
    	cleanUp     bool
    	healthCheck bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    					"  To get started, check out https://istio.io/latest/docs/setup/getting-started/\n")
    			} else {
    				fmt.Fprintln(cmd.OutOrStdout(), output)
    			}
    			for _, m := range msgs {
    				if m.Type.Level().IsWorseThanOrEqualTo(diag.Warning) {
    					e := fmt.Sprintf(`Issues found when checking the cluster. Istio may not be safe to install or upgrade.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. cmd/erasure-heal_test.go

    }
    
    func TestErasureHeal(t *testing.T) {
    	for i, test := range erasureHealTests {
    		if test.offDisks < test.badStaleDisks {
    			// test case sanity check
    			t.Fatalf("Test %d: Bad test case - number of stale drives cannot be less than number of badstale drives", i)
    		}
    
    		// create some test data
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  9. internal/config/identity/openid/openid.go

    	if !ok {
    		return ""
    	}
    	return pCfg.ClaimPrefix + pCfg.ClaimName
    }
    
    // LookupUser lookup userid for the provider
    func (r Config) LookupUser(roleArn, userid string) (provider.User, error) {
    	// Can safely ignore error here as empty or invalid ARNs will not be
    	// mapped.
    	arnVal, _ := arn.Parse(roleArn)
    	pCfg, ok := r.arnProviderCfgsMap[arnVal]
    	if ok {
    		user, err := pCfg.provider.LookupUser(userid)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/cni-watcher.go

    	log.Debugf("netns: %s", addCmd.Netns)
    
    	// The CNI node plugin should have already checked the pod against the k8s API before forwarding us the event,
    	// but we have to invoke the K8S client anyway, so to be safe we check it again here to make sure we get the same result.
    	maxStaleRetries := 10
    	msInterval := 10
    	retries := 0
    	var ambientPod *corev1.Pod
    	var err error
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
Back to top