Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Cobden (0.18 sec)

  1. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 17:46:23 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. cni/pkg/iptables/testdata/default.golden

    Ben Leggett <******@****.***> 1706301268 -0500
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. cni/pkg/iptables/testdata/hostprobe.golden

    Ben Leggett <******@****.***> 1706301268 -0500
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 219 bytes
    - Viewed (0)
  5. cni/pkg/iptables/testdata/default_ipv6.golden

    Ben Leggett <******@****.***> 1706301268 -0500
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. cni/pkg/iptables/testdata/hostprobe_ipv6.golden

    Ben Leggett <******@****.***> 1706301268 -0500
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 493 bytes
    - Viewed (0)
  7. 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 Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  9. cni/pkg/install/install_test.go

    		{
    			name:              "preempted config",
    			expectedFailure:   true,
    			cniConfigFilename: "list.conflist",
    			chainedCNIPlugin:  true,
    			existingConfFiles: map[string]string{"bridge.conf": "bridge.conf", "list.conflist.golden": "list.conflist"},
    		},
    		{
    			name:              "intentional preempted config invalid",
    			expectedFailure:   true,
    			cniConfigFilename: "invalid-arr.conflist",
    			cniConfName:       "invalid-arr.conflist",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  10. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 19:41:41 GMT 2024
    - 22.5K bytes
    - Viewed (0)
Back to top