Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Goulden (0.18 sec)

  1. operator/cmd/mesh/manifest_shared_test.go

    	cmdController cmdType = "operator controller"
    )
    
    // Golden output files add a lot of noise to pull requests. Use a unique suffix so
    // we can hide them by default. This should match one of the `linuguist-generated=true`
    // lines in istio.io/istio/.gitattributes.
    const (
    	goldenFileSuffixHideChangesInReview = ".golden.yaml"
    	goldenFileSuffixShowChangesInReview = ".golden-show-in-gh-pull-request.yaml"
    )
    
    var (
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  2. istioctl/pkg/workload/workload_test.go

    	"mesh.yaml":     true,
    	"root-cert.pem": true,
    	"cluster.env":   true,
    }
    
    const goldenSuffix = ".golden"
    
    // TestWorkloadEntryConfigure enumerates test cases based on subdirectories of testdata/vmconfig.
    // Each subdirectory contains two input files: workloadgroup.yaml and meshconfig.yaml that are used
    // to generate golden outputs from the VM command.
    func TestWorkloadEntryConfigure(t *testing.T) {
    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)
  3. cmd/signature-v4-utils_test.go

    	}
    
    	inputQuery := r.URL.Query()
    	// case where some headers need to get from request query
    	signedHeaders = append(signedHeaders, "x-amz-server-side-encryption")
    	// expect to fail with `ErrUnsignedHeaders` because couldn't find some header
    	_, errCode = extractSignedHeaders(signedHeaders, r)
    	if errCode != ErrUnsignedHeaders {
    		t.Fatalf("Expected the APIErrorCode to %d, but got %d", ErrUnsignedHeaders, errCode)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    				if exp.ExpireAll {
    					toExpireAll = append(toExpireAll, exp.ObjectInfo)
    					continue
    				}
    				// Cache ObjectInfo value via pointers for
    				// subsequent use to track objects which
    				// couldn't be deleted.
    				od := ObjectToDelete{
    					ObjectV: ObjectV{
    						ObjectName: exp.Name,
    						VersionID:  exp.VersionID,
    					},
    				}
    				toDel = append(toDel, od)
    				oiCache.Add(od, &exp.ObjectInfo)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. cni/pkg/iptables/iptables_test.go

    func compareToGolden(t *testing.T, ipv6 bool, name string, actual []string) {
    	t.Helper()
    	gotBytes := []byte(strings.Join(actual, "\n"))
    	goldenFile := filepath.Join("testdata", name+".golden")
    	if ipv6 {
    		goldenFile = filepath.Join("testdata", name+"_ipv6.golden")
    	}
    	testutil.CompareContent(t, gotBytes, goldenFile)
    }
    
    func constructTestConfig() *Config {
    	return &Config{
    		RestoreFormat: false,
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest-generate_test.go

    	liveCharts = chartSourceType(filepath.Join(env.IstioSrc, operatorSubdirFilePath))
    )
    
    type testGroup []struct {
    	desc string
    	// Small changes to the input profile produce large changes to the golden output
    	// files. This makes it difficult to spot meaningful changes in pull requests.
    	// By default we hide these changes to make developers life's a bit easier. However,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    	var index []byte
    	if opts.IndexCB != nil {
    		index = opts.IndexCB()
    	}
    
    	modTime := UTCNow()
    
    	for i, w := range writers {
    		if w == nil {
    			// Make sure to avoid writing to disks which we couldn't complete in erasure.Encode()
    			onlineDisks[i] = nil
    			continue
    		}
    		partsMetadata[i].Data = inlineBuffers[i].Bytes()
    		partsMetadata[i].AddObjectPart(1, "", n, data.ActualSize(), modTime, index, nil)
    	}
    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)
  8. src/archive/tar/writer_test.go

    	hdr, err = reader.Next()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if hdr.Name != chineseFilename {
    		t.Fatal("Couldn't recover unicode name")
    	}
    	if hdr.Gname != chineseGroupname {
    		t.Fatal("Couldn't recover unicode group")
    	}
    	if hdr.Uname != chineseUsername {
    		t.Fatal("Couldn't recover unicode user")
    	}
    }
    
    func TestPaxXattrs(t *testing.T) {
    	xattrs := map[string]string{
    		"user.key": "value",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  9. operator/cmd/mesh/shared.go

    	_, _ = fmt.Fprintf(w.writer, format, a...)
    }
    
    func (w *writerPrinter) Println(str string) {
    	_, _ = fmt.Fprintln(w.writer, str)
    }
    
    func refreshGoldenFiles() bool {
    	ev := os.Getenv("REFRESH_GOLDEN")
    	return ev == "true" || ev == "1"
    }
    
    func kubeBuilderInstalled() bool {
    	ev := os.Getenv("KUBEBUILDER")
    	return ev == "true" || ev == "1"
    }
    
    // Confirm waits for a user to confirm with the supplied message.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/analyze.go

    type AnalyzerFoundIssuesError struct{}
    
    // FileParseError indicates a provided file was unable to be parsed.
    type FileParseError struct{}
    
    const FileParseString = "Some files couldn't be parsed."
    
    func (f AnalyzerFoundIssuesError) Error() string {
    	var sb strings.Builder
    	sb.WriteString(fmt.Sprintf("Analyzers found issues when analyzing %s.\n", analyzeTargetAsString()))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top