Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for glob (0.32 sec)

  1. cmd/naughty-disk_test.go

    	}
    	return d.disk.VerifyFile(ctx, volume, path, fi)
    }
    
    func (d *naughtyDisk) StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error) {
    	if err := d.calcError(); err != nil {
    		return stat, err
    	}
    	return d.disk.StatInfoFile(ctx, volume, path, glob)
    }
    
    func (d *naughtyDisk) ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) 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)
  2. cmd/xl-storage-disk-id-check.go

    	})
    }
    
    func (p *xlStorageDiskIDCheck) StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricStatInfoFile, volume, path)
    	if err != nil {
    		return nil, err
    	}
    	defer done(&err)
    
    	return p.storage.StatInfoFile(ctx, volume, path, glob)
    }
    
    // ReadMultiple will read multiple files and send each files as response.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    			args = []string{"xl.meta"}
    		}
    		var files []string
    
    		for _, pattern := range args {
    			if pattern == "-" {
    				files = append(files, pattern)
    				continue
    			}
    			found, err := filepathx.Glob(pattern)
    			if err != nil {
    				return err
    			}
    			if len(found) == 0 {
    				return fmt.Errorf("unable to find file %v", pattern)
    			}
    			files = append(files, found...)
    		}
    		if len(files) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  4. cmd/storage-rest-client.go

    	if err != nil {
    		return toStorageErr(err)
    	}
    
    	verifyResp := &VerifyFileResp{}
    	if err = gob.NewDecoder(respReader).Decode(verifyResp); err != nil {
    		return toStorageErr(err)
    	}
    
    	return toStorageErr(verifyResp.Err)
    }
    
    func (client *storageRESTClient) StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error) {
    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    	if !s.IsValid(w, r) {
    		return
    	}
    	volume := r.Form.Get(storageRESTVolume)
    	filePath := r.Form.Get(storageRESTFilePath)
    	glob := r.Form.Get(storageRESTGlob)
    	done := keepHTTPResponseAlive(w)
    	stats, err := s.getStorage().StatInfoFile(r.Context(), volume, filePath, glob == "true")
    	done(err)
    	if err != nil {
    		return
    	}
    	for _, si := range stats {
    		msgp.Encode(w, &si)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	}
    	return nil
    }
    
    func (s *xlStorage) StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error) {
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return stat, err
    	}
    
    	files := []string{pathJoin(volumeDir, path)}
    	if glob {
    		files, err = filepathx.Glob(filepath.Join(volumeDir, path))
    		if err != nil {
    			return nil, err
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/README.md

    ### List of metrics reported Cluster and Bucket level
    
    [The list of metrics reported can be here](https://github.com/minio/minio/blob/master/docs/metrics/prometheus/list.md)
    
    ### Configure Alerts for Prometheus
    
    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)
  8. cmd/update.go

    }
    
    // IsDocker - returns if the environment minio is running in docker or
    // not. The check is a simple file existence check.
    //
    // https://github.com/moby/moby/blob/master/daemon/initlayer/setup_unix.go
    // https://github.com/containers/podman/blob/master/libpod/runtime.go
    //
    //	"/.dockerenv":        "file",
    //	"/run/.containerenv": "file",
    func IsDocker() bool {
    	var err error
    	for _, envfile := range []string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. helm/minio/README.md

    # MinIO Community Helm Chart
    
    [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![license](https://img.shields.io/badge/license-AGPL%20V3-blue)](https://github.com/minio/minio/blob/master/LICENSE)
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 24 07:27:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. helm/minio/values.yaml

        namespace: ~
        # Scrape interval, for example `interval: 30s`
        interval: ~
        # Scrape timeout, for example `scrapeTimeout: 10s`
        scrapeTimeout: ~
    
    ## ETCD settings: https://github.com/minio/minio/blob/master/docs/sts/etcd.md
    ## Define endpoints to enable this section.
    etcd:
      endpoints: []
      pathPrefix: ""
      corednsPathPrefix: ""
      clientCert: ""
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
Back to top