Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 542 for halse (0.16 sec)

  1. cmd/handler-utils_test.go

    			},
    			metadata: map[string]string{
    				"content-type": "image/png",
    			},
    			shouldFail: false,
    		},
    		// Validate if there are no keys to extract.
    		{
    			header: http.Header{
    				"Test-1": []string{"123"},
    			},
    			metadata:   map[string]string{},
    			shouldFail: false,
    		},
    		// Validate that there are all headers extracted
    		{
    			header: http.Header{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. istioctl/pkg/checkinject/checkinject.go

    						return fmt.Sprintf("Pod has %s=%s label, preventing injection", me.Key, v), false
    					}
    				case metav1.LabelSelectorOpNotIn:
    					v, ok := podLabels[me.Key]
    					if !ok {
    						continue
    					}
    					for _, nv := range me.Values {
    						if nv == v {
    							return fmt.Sprintf("Pod has %s=%s label, preventing injection", me.Key, v), false
    						}
    					}
    				}
    			}
    		} else if podMatched {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    	case BatchJobExpireObject:
    		if obj.DeleteMarker {
    			return false
    		}
    	case BatchJobExpireDeleted:
    		if !obj.DeleteMarker {
    			return false
    		}
    	default:
    		// we should never come here, Validate should have caught this.
    		batchLogOnceIf(context.Background(), fmt.Errorf("invalid filter type: %s", ef.Type), ef.Type)
    		return false
    	}
    
    	if len(ef.Name) > 0 && !wildcard.Match(ef.Name, obj.Name) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  4. istioctl/pkg/workload/workload_test.go

    					t.Fatal(err)
    				}
    			}
    
    			checkFiles := map[string]bool{
    				// inputs that we allow to exist, if other files seep in unexpectedly we fail the test
    				".gitignore": false, "meshconfig.yaml": false, "workloadgroup.yaml": false,
    			}
    			for k, v := range generated {
    				checkFiles[k] = v
    			}
    
    			checkOutputFiles(t, testdir, checkFiles)
    		})
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common_test.go

    	fi1 := FileInfo{
    		Volume:         "mybucket",
    		Name:           "myobject",
    		VersionID:      "",
    		IsLatest:       true,
    		Deleted:        false,
    		ExpireRestored: false,
    		DataDir:        "4a01d9dd-0c5e-4103-88f8-b307c57d212e",
    		XLV1:           false,
    		ModTime:        time.Date(2023, time.March, 15, 11, 18, 4, 989906961, time.UTC),
    		Size:           329289, Mode: 0x0, WrittenByVersion: 0x63c77756,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  6. cmd/server-rlimit.go

    )
    
    func oldLinux() bool {
    	currentKernel, err := kernel.CurrentVersion()
    	if err != nil {
    		// Could not probe the kernel version
    		return false
    	}
    
    	if currentKernel == 0 {
    		// We could not get any valid value return false
    		return false
    	}
    
    	// legacy linux indicator for printing warnings
    	// about older Linux kernels and Go runtime.
    	return currentKernel < kernel.Version(4, 0, 0)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    func (fi FileInfo) MetadataEquals(ofi FileInfo) bool {
    	if len(fi.Metadata) != len(ofi.Metadata) {
    		return false
    	}
    	for k, v := range fi.Metadata {
    		if ov, ok := ofi.Metadata[k]; !ok || ov != v {
    			return false
    		}
    	}
    	return true
    }
    
    // ReplicationInfoEquals returns true if server-side replication related fields are equal, false otherwise.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. cmd/xl-storage-format-utils_test.go

    		Name:             "object-name",
    		VersionID:        "756100c6-b393-4981-928a-d49bbc164741",
    		IsLatest:         true,
    		Deleted:          false,
    		TransitionStatus: "",
    		DataDir:          "bffea160-ca7f-465f-98bc-9b4f1c3ba1ef",
    		XLV1:             false,
    		ModTime:          time.Now().UTC(),
    		Size:             0,
    		Mode:             0,
    		Metadata:         nil,
    		Parts:            nil,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/clusters/clusters.go

    		return false
    	}
    	if e.Port != 0 && retrieveEndpointPort(host) != e.Port {
    		return false
    	}
    	if e.Cluster != "" && !strings.EqualFold(cluster, e.Cluster) {
    		return false
    	}
    	status := retrieveEndpointStatus(host)
    	if e.Status != "" && !strings.EqualFold(core.HealthStatus_name[int32(status)], e.Status) {
    		return false
    	}
    	return true
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    		return true
    	}
    	if numquotaCfgs > 0 && numquotaCfgs != total {
    		return false
    	}
    	var prev *madmin.BucketQuota
    	for i, q := range quotaCfgs {
    		if q == nil {
    			return false
    		}
    		if i == 0 {
    			prev = q
    			continue
    		}
    		if prev.Quota != q.Quota || prev.Type != q.Type {
    			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)
Back to top