Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Hatch (0.15 sec)

  1. cmd/bucket-replication.go

    	if replicationStatus == replication.Failed {
    		eventName = event.ObjectReplicationFailed
    	}
    	newReplStatusInternal := rinfos.ReplicationStatusInternal()
    	// Note that internal replication status(es) may match for previously replicated objects - in such cases
    	// metadata should be updated with last resync timestamp.
    	objInfo := ri.ToObjectInfo()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. cmd/endpoint-ellipses.go

    					singleNode = true
    				}
    
    				if len(node.disks) <= i {
    					stopping = true
    					continue
    				}
    				if stopping {
    					return layout, errors.New("number of disks per node does not match")
    				}
    				eps = append(eps, node.disks[i])
    			}
    			if stopping {
    				break
    			}
    		}
    
    		for _, node := range endpointsList {
    			if node.nodeName != "" && singleNode {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    func isIAMPolicyReplicated(cntReplicated, total int, policies []*policy.Policy) bool {
    	if cntReplicated > 0 && cntReplicated != total {
    		return false
    	}
    	// check if policies match between sites
    	var prev *policy.Policy
    	for i, p := range policies {
    		if i == 0 {
    			prev = p
    			continue
    		}
    		if !prev.Equals(*p) {
    			return false
    		}
    	}
    	return true
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. internal/event/target/postgresql.go

    func validatePsqlTableName(name string) error {
    	// check for quoted string (string may not contain a quote)
    	if match, err := regexp.MatchString("^\"[^\"]+\"$", name); err != nil {
    		return err
    	} else if match {
    		return nil
    	}
    
    	// normalize the name to letters, digits, _ or $
    	valid := true
    	cleaned := strings.Map(func(r rune) rune {
    		switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. cni/pkg/iptables/iptables.go

    	// we cannot make assumptions there.
    
    	// -A OUTPUT -m owner --socket-exists -p tcp -m set --match-set istio-inpod-probes dst,dst -j SNAT --to-source 169.254.7.127
    	iptablesBuilder.AppendRuleV4(
    		iptableslog.UndefinedCommand, ChainHostPostrouting, iptablesconstants.NAT,
    		"-m", "owner",
    		"--socket-exists",
    		"-p", "tcp",
    		"-m", "set",
    		"--match-set", fmt.Sprintf(ipset.V4Name, ProbeIPSet),
    		"dst",
    		"-j", "SNAT",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers_test.go

    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(4))
    
    	waitForMockCalls()
    
    	assertPodNotAnnotated(t, client, pod)
    
    	// patch a test label to emulate a POD update event
    	_, err = client.Kube().CoreV1().Pods(pod.Namespace).Patch(ctx, pod.Name,
    		types.MergePatchType, []byte(`{"metadata":{"labels":{"test":"update"}}}`), metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	// wait for an update events
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. cmd/config-current.go

    		} else {
    			globalHealConfig.Update(healCfg)
    		}
    	case config.BatchSubSys:
    		batchCfg, err := batch.LookupConfig(s[config.BatchSubSys][config.Default])
    		if err != nil {
    			errs = append(errs, fmt.Errorf("Unable to apply batch config: %w", err))
    		} else {
    			globalBatchConfig.Update(batchCfg)
    		}
    	case config.ScannerSubSys:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    			Prefixes:    []string{"dir/day_id=2017-10-10/"},
    		},
    		// ListObjectsResult-37 list with prefix match 2 levels deep
    		37: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "foo/201910/1112"},
    				{Name: "foo/201910/1122"},
    			},
    		},
    		// ListObjectsResult-38 list with prefix match 1 level deep
    		38: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "foo/201910/1112"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    	if len(reference.Erasure.Sets) != len(format.Erasure.Sets) {
    		return fmt.Errorf("Expected number of sets %d, got %d", len(reference.Erasure.Sets), len(format.Erasure.Sets))
    	}
    
    	// Make sure that the sets match.
    	for i := range reference.Erasure.Sets {
    		if len(reference.Erasure.Sets[i]) != len(format.Erasure.Sets[i]) {
    			return fmt.Errorf("Each set should be of same size, expected %d got %d",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    }
    
    // iamStorageWatcher is implemented by `IAMStorageAPI` implementers that
    // additionally support watching storage for changes.
    type iamStorageWatcher interface {
    	watch(ctx context.Context, keyPath string) <-chan iamWatchEvent
    }
    
    // Set default canned policies only if not already overridden by users.
    func setDefaultCannedPolicies(policies map[string]PolicyDoc) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top