Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 147 for files (0.15 sec)

  1. operator/cmd/mesh/shared.go

    // applyOptions contains the startup options for applying the manifest.
    type applyOptions struct {
    	// Path to the kubeconfig file.
    	Kubeconfig string
    	// ComponentName of the kubeconfig context to use.
    	Context string
    	// DryRun performs all steps except actually applying the manifests or creating output dirs/files.
    	DryRun bool
    	// Maximum amount of time to wait for resources to be ready after install when Wait=true.
    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)
  2. src/archive/zip/reader_test.go

    	}
    	_, err = r.Open("test.txt")
    	if err != nil {
    		t.Errorf("Error reading file: %v", err)
    	}
    	if len(r.File) != 1 {
    		t.Fatalf("No entries in the file list")
    	}
    	if r.File[0].Name != "../test.txt" {
    		t.Errorf("Unexpected entry name: %s", r.File[0].Name)
    	}
    	if _, err := r.File[0].Open(); err != nil {
    		t.Errorf("Error opening file: %v", err)
    	}
    }
    
    func TestOpenReaderInsecurePath(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/kubeinject_test.go

    		},
    		{ // case 4 with only iop files
    			Args: strings.Split(
    				"--operatorFileName testdata/istio-operator.yaml"+
    					" --injectConfigFile testdata/inject-config-iop.yaml -f testdata/deployment/hello.yaml",
    				" "),
    			GoldenFilename: "testdata/deployment/hello.yaml.iop.injected",
    		},
    		{ // case 5 with only iop files
    			Args: strings.Split(
    				"--operatorFileName testdata/istio-operator.yaml"+
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		file: "testdata/pax-bad-hdr-file.tar",
    		err:  ErrHeader,
    	}, {
    		file: "testdata/pax-bad-hdr-large.tar.bz2",
    		err:  ErrFieldTooLong,
    	}, {
    		file: "testdata/pax-bad-mtime-file.tar",
    		err:  ErrHeader,
    	}, {
    		file: "testdata/pax-pos-size-file.tar",
    		headers: []*Header{{
    			Name:     "foo",
    			Mode:     0640,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  5. cmd/veeam-sos-api.go

    //     methods like Instant Restore, File Level Recovery, and Database/Application restores. Veeam recommends that vendors
    //     optimize the storage system for the default value of 1MB minus compression object sizes. The setting simultaneously
    //     affects read from source, block, file, dedup, and object storage backup targets for a specific Veeam Job. When customers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  6. cni/pkg/plugin/plugin_dryrun_test.go

    			if err != nil {
    				log.Fatalf("Cannot read generated IPTables rule file: %v", err)
    			}
    			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)
    
    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)
  7. cmd/object-api-putobject_test.go

    		tmpMetaDir := path.Join(disk, minioMetaTmpBucket)
    		files, err := os.ReadDir(tmpMetaDir)
    		if err != nil {
    			t.Fatal(err)
    		}
    		var found bool
    		for _, fi := range files {
    			if fi.Name() == ".trash" {
    				continue
    			}
    			found = true
    		}
    		if found {
    			t.Fatalf("%s: expected: empty, got: non-empty %#v", minioMetaTmpBucket, files)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil_test.go

    	if err != nil {
    		t.Errorf("Error creating tmp file: %v", err)
    	}
    	tmpFile := f.Name()
    	f.Close()
    	defer os.Remove(f.Name())
    	fi1, err := os.Stat(tmpFile)
    	if err != nil {
    		t.Fatalf("Error Stat(): %v", err)
    	}
    	fi2, err := os.Stat(tmpFile)
    	if err != nil {
    		t.Fatalf("Error Stat(): %v", err)
    	}
    	if !SameFile(fi1, fi2) {
    		t.Fatal("Expected the files to be same")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 11:02:31 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. misc/ios/go_ios_exec.go

    	}
    
    	// This wrapper uses complicated machinery to run iOS binaries. It
    	// works, but only when running one binary at a time.
    	// Use a file lock to make sure only one wrapper is running at a time.
    	//
    	// The lock file is never deleted, to avoid concurrent locks on distinct
    	// files with the same path.
    	lockName := filepath.Join(os.TempDir(), "go_ios_exec-"+deviceID+".lock")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  10. cni/pkg/config/config.go

    	CNINetworkConfig string
    
    	// Logging level
    	LogLevel string
    	// Name of the kubeconfig file used by the CNI plugin
    	KubeconfigFilename string
    	// The file mode to set when creating the kubeconfig file
    	KubeconfigMode int
    	// CA file for kubeconfig
    	KubeCAFile string
    	// Whether to use insecure TLS in the kubeconfig file
    	SkipTLSVerify bool
    
    	// KUBERNETES_SERVICE_PROTOCOL
    	K8sServiceProtocol string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top