Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for path (0.14 sec)

  1. internal/mountinfo/mountinfo_linux.go

    		// and mount path is /tmp/fs. In such a scenario we need to check for
    		// `/tmp/fs/` to be a common prefix amount other mounts.
    		mpath := strings.TrimSuffix(mount.Path, "/") + "/"
    		ppath := strings.TrimSuffix(path, "/") + "/"
    		if strings.HasPrefix(mpath, ppath) {
    			// At this point if the mount point has a common prefix two conditions can happen.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  2. cmd/naughty-disk_test.go

    	return d.disk.ReadFileStream(ctx, volume, path, offset, length)
    }
    
    func (d *naughtyDisk) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) error {
    	if err := d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.CreateFile(ctx, origvolume, volume, path, size, reader)
    }
    
    func (d *naughtyDisk) AppendFile(ctx context.Context, volume string, path string, buf []byte) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. cmd/kms-router.go

    		// KMS Status APIs
    		kmsRouter.Methods(http.MethodGet).Path(version + "/status").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSStatusHandler)))
    		kmsRouter.Methods(http.MethodGet).Path(version + "/metrics").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSMetricsHandler)))
    		kmsRouter.Methods(http.MethodGet).Path(version + "/apis").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSAPIsHandler)))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  4. docs/debugging/reorder-disks/main.go

    }
    
    type localDisk struct {
    	index int
    	path  string
    }
    
    func getMajorMinor(path string) (string, error) {
    	var stat syscall.Stat_t
    	if err := syscall.Stat(path, &stat); err != nil {
    		return "", fmt.Errorf("unable to stat `%s`: %w", path, err)
    	}
    
    	devID := uint64(stat.Dev)
    	major := (devID & 0x00000000000fff00) >> 8
    	major |= (devID & 0xfffff00000000000) >> 32
    	minor := (devID & 0x00000000000000ff) >> 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. internal/lock/lock_nix.go

    			Op:   "open",
    			Path: path,
    			Err:  syscall.EINVAL,
    		}
    	}
    
    	f, err := os.OpenFile(path, flag|syscall.O_SYNC, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = syscall.Flock(int(f.Fd()), lockType); err != nil {
    		f.Close()
    		if err == syscall.EWOULDBLOCK {
    			err = ErrAlreadyLocked
    		}
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  6. docs/debugging/xattr/main.go

    	"github.com/pkg/xattr"
    )
    
    var (
    	path, name string
    	value      uint64
    	set, list  bool
    )
    
    func getxattr(path, name string) (uint64, error) {
    	buf, err := xattr.LGet(path, name)
    	if err != nil {
    		return 0, err
    	}
    
    	return binary.LittleEndian.Uint64(buf[:8]), nil
    }
    
    func listxattr(path string) ([]string, error) {
    	return xattr.LList(path)
    }
    
    func setxattr(path, name string, value uint64) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. internal/bucket/versioning/versioning_test.go

    			err:              nil,
    			excludedPrefixes: []string{"path/to/my/workload/_staging/", "path/to/my/workload/_temporary/"},
    		},
    		{
    			input: `<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
                                      <Status>Suspended</Status>
                                      <ExcludedPrefixes>
                                        <Prefix>path/to/my/workload/_staging</Prefix>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  8. internal/grid/trace.go

    	v := ctx.Value(TraceParamsKey{})
    	// Should match SingleHandler.Call checks.
    	switch typed := v.(type) {
    	case *MSS:
    		trace.Path += typed.ToQuery()
    	case map[string]string:
    		m := MSS(typed)
    		trace.Path += m.ToQuery()
    	case *URLValues:
    		trace.Path += typed.Values().Encode()
    	case *NoPayload, *Bytes:
    		trace.Path = fmt.Sprintf("%s?payload=%T", trace.Path, typed)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 22:54:54 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. docs/tls/kubernetes/README.md

    ```yaml
        volumes:
          - name: secret-volume
            secret:
              secretName: tls-ssl-minio
              items:
              - key: public.crt
                path: public.crt
              - key: private.key
                path: private.key
              - key: public.crt
                path: CAs/public.crt
    ```
    
    Note that the `secretName` should be same as the secret name created in previous step. Then add the below section under
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/README.md

    ##### Cluster
    
    ```yaml
    scrape_configs:
    - job_name: minio-job
      bearer_token: <secret>
      metrics_path: /minio/v2/metrics/cluster
      scheme: http
      static_configs:
      - targets: ['localhost:9000']
    ```
    
    ##### Bucket centric
    
    ```yaml
    - job_name: minio-job-bucket
      bearer_token: <secret>
      metrics_path: /minio/v2/metrics/bucket
      scheme: http
      static_configs:
      - targets: ['localhost:9000']
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top