Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for Borden (0.23 sec)

  1. cni/pkg/plugin/testdata/include-exclude-ports.txt.golden

    John Howard <******@****.***> 1676588060 -0800
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 16 22:54:20 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  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. Makefile.core.mk

    go-gen:
    	@mkdir -p /tmp/bin
    	@PATH="${PATH}":/tmp/bin go generate ./...
    
    refresh-goldens:
    	@REFRESH_GOLDEN=true go test ${GOBUILDFLAGS} ./operator/... \
    		./pkg/bootstrap/... \
    		./pkg/kube/inject/... \
    		./pilot/pkg/security/authz/builder/... \
    		./cni/pkg/plugin/...
    
    update-golden: refresh-goldens
    
    # Keep dummy target since some build pipelines depend on this
    gen-charts:
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  4. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    validation. ## Step 4. Update the generated manifests Tests of istioctl use the auto-generated manifests to ensure that the istioctl binary has the correct version of the charts. To regenerate the manifests, run: ```bash $ make copy-templates update-golden ``` ## Step 5. Create a PR using outputs from Steps 1 to 4 Your PR should pass all the checks if you followed these steps. manifests/charts/istio-operator/crds/crd-operator.yaml # SYNC WITH manifests/charts/base/files apiVersion: apiextensions.k8s.io/v1...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  5. operator/cmd/mesh/operator_test.go

    	cmd += " --manifests=" + string(snapshotCharts)
    
    	gotYAML, err := runCommand(cmd)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if refreshGoldenFiles() {
    		t.Logf("Refreshing golden file for %s", goldenFilepath)
    		if err := os.WriteFile(goldenFilepath, []byte(gotYAML), 0o644); err != nil {
    			t.Error(err)
    		}
    	}
    
    	wantYAML, err := readFile(goldenFilepath)
    	if err != nil {
    		t.Fatal(err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  6. 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)
  7. cni/test/install_cni.go

    		t.Fatal(err)
    	}
    
    	if err = file.AtomicWrite(cniConfigFilepath, cniConfig, os.FileMode(0o644)); err != nil {
    		t.Fatal(err)
    	}
    }
    
    // populateTempDirs populates temporary test directories with golden files and
    // other related configuration.
    func populateTempDirs(wd string, cniDirOrderedFiles []string, tempCNIConfDir, tempK8sSvcAcctDir string, t *testing.T) {
    	t.Helper()
    	t.Logf("Pre-populating working dirs")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/testdata/vmconfig/ipv4/hosts.golden

    Xiaopeng Han <******@****.***> 1686841337 +0800
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 41 bytes
    - Viewed (0)
  9. cni/pkg/plugin/testdata/dns.txt.golden

    John Howard <******@****.***> 1676588060 -0800
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 16 22:54:20 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin_dryrun_test.go

    			}
    			generatedRules := getRules(generated)
    
    			refreshGoldens(t, tt.golden, generatedRules)
    
    			// Compare generated iptables rule with golden files.
    			golden, err := os.ReadFile(tt.golden)
    			if err != nil {
    				log.Fatalf("Cannot read golden rule file: %v", err)
    			}
    			goldenRules := getRules(golden)
    
    			if len(generatedRules) == 0 {
    				t.Error("Got empty generated rules")
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top