Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testdata (0.14 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 May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. bin/update_crds.sh

      fail "Unable to generate the CRDs for ${GATEWAY_VERSION}. Not updating the CRD file.";
    fi
    
    rm -f "${ROOTDIR}/tests/integration/pilot/testdata/gateway-api-crd.yaml"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    	testDataDir = filepath.Join(operatorRootDir, "cmd/mesh/testdata/manifest-generate")
    
    	// Snapshot charts are in testdata/manifest-generate/data-snapshot
    	snapshotCharts = func() chartSourceType {
    		d, err := os.MkdirTemp("", "data-snapshot-*")
    		if err != nil {
    			panic(fmt.Errorf("failed to make temp dir: %v", err))
    		}
    		f, err := os.Open("testdata/manifest-generate/data-snapshot.tar.gz")
    		if err != nil {
    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)
Back to top