Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for vnopts (0.17 sec)

  1. cmd/object-handlers.go

    		}
    
    		return nil
    	}
    
    	var opts untarOptions
    	opts.ignoreDirs = strings.EqualFold(r.Header.Get(xhttp.MinIOSnowballIgnoreDirs), "true")
    	opts.ignoreErrs = strings.EqualFold(r.Header.Get(xhttp.MinIOSnowballIgnoreErrors), "true")
    	opts.prefixAll = r.Header.Get(xhttp.MinIOSnowballPrefix)
    	if opts.prefixAll != "" {
    		opts.prefixAll = trimLeadingSlash(pathJoin(opts.prefixAll, slashSeparator))
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    		return ObjectInfo{}, err
    	}
    	ctx = lkctx.Context()
    	defer lk.Unlock(lkctx)
    
    	if opts.DeletePrefix {
    		return ObjectInfo{}, z.deletePrefix(ctx, bucket, object)
    	}
    
    	gopts := opts
    	gopts.NoLock = true
    
    	pinfo, noReadQuorumPools, err := z.getPoolInfoExistingWithOpts(ctx, bucket, object, gopts)
    	if err != nil {
    		if _, ok := err.(InsufficientReadQuorum); ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		if err != nil {
    			return ObjectInfo{}, err
    		}
    		if dsc.ReplicateAny() {
    			opts.SetDeleteReplicationState(dsc, opts.VersionID)
    			goi.replicationDecision = opts.DeleteReplication.ReplicateDecisionStr
    		}
    	}
    
    	if opts.EvalRetentionBypassFn != nil {
    		if err := opts.EvalRetentionBypassFn(goi, gerr); err != nil {
    			return ObjectInfo{}, err
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/erasure-server-pool-rebalance.go

    	return r.loadWithOpts(ctx, store, ObjectOptions{})
    }
    
    func (r *rebalanceMeta) loadWithOpts(ctx context.Context, store objectIO, opts ObjectOptions) error {
    	data, _, err := readConfigWithMetadata(ctx, store, rebalMetaName, opts)
    	if err != nil {
    		return err
    	}
    
    	if len(data) == 0 {
    		return nil
    	}
    	if len(data) <= 4 {
    		return fmt.Errorf("rebalanceMeta: no data")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. cmd/naughty-disk_test.go

    func (d *naughtyDisk) UpdateMetadata(ctx context.Context, volume, path string, fi FileInfo, opts UpdateMetadataOpts) (err error) {
    	if err := d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.UpdateMetadata(ctx, volume, path, fi, opts)
    }
    
    func (d *naughtyDisk) DeleteVersion(ctx context.Context, volume, path string, fi FileInfo, forceDelMarker bool, opts DeleteOptions) (err error) {
    	if err := d.calcError(); err != nil {
    		return err
    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)
  6. cmd/xl-storage-disk-id-check.go

    	return errDiskNotFound
    }
    
    func (p *xlStorageDiskIDCheck) DiskInfo(ctx context.Context, opts DiskInfoOptions) (info DiskInfo, err error) {
    	if contextCanceled(ctx) {
    		return DiskInfo{}, ctx.Err()
    	}
    
    	si := p.updateStorageMetrics(storageMetricDiskInfo)
    	defer si(&err)
    
    	if opts.NoOp {
    		if opts.Metrics {
    			info.Metrics = p.getMetrics()
    		}
    		info.Metrics.TotalWrites = p.totalWrites.Load()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    	}
    }
    
    func getClusterHealthMetrics(opts MetricsGroupOpts) *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval:    10 * time.Second,
    		metricsGroupOpts: opts,
    	}
    	mg.RegisterRead(func(ctx context.Context) (metrics []MetricV2) {
    		objLayer := newObjectLayerFn()
    
    		opts := HealthOptions{}
    		result := objLayer.Health(ctx, opts)
    
    		metrics = make([]MetricV2, 0, 2+4*len(result.ESHealth))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  8. cmd/iam.go

    	}
    	if len(opts.secretKey) > 0 && len(opts.accessKey) == 0 {
    		return auth.Credentials{}, time.Time{}, auth.ErrNoAccessKeyWithSecretKey
    	}
    
    	var policyBuf []byte
    	if opts.sessionPolicy != nil {
    		err := opts.sessionPolicy.Validate()
    		if err != nil {
    			return auth.Credentials{}, time.Time{}, err
    		}
    		policyBuf, err = json.Marshal(opts.sessionPolicy)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. cmd/update.go

    		return errors.New("update already in progress")
    	}
    	defer updateInProgress.Store(0)
    
    	transport := getUpdateTransport(30 * time.Second)
    	opts := selfupdate.Options{
    		Hash:     crypto.SHA256,
    		Checksum: sha256Sum,
    	}
    
    	if err := opts.CheckPermissions(); err != nil {
    		return AdminError{
    			Code:       AdminUpdateApplyFailure,
    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)
  10. cmd/globals.go

    	MaxIdleConnsPerHost int
    
    	SendBufSize, RecvBufSize int
    	CrossDomainXML           string
    	// The layout of disks as interpreted
    	Layout disksLayout
    }
    
    var (
    	// Global user opts context
    	globalServerCtxt serverCtxt
    
    	// Indicates if the running minio server is distributed setup.
    	globalIsDistErasure = false
    
    	// Indicates if the running minio server is an erasure-code backend.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
Back to top