Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for supplied (0.17 sec)

  1. cmd/format-erasure.go

    		Version string `json:"version"` // Version of 'xl' format.
    		Disk    string `json:"drive"`   // Disk field carries assigned disk uuid.
    		// JBOD field carries the input disk order generated the first
    		// time when fresh disks were supplied.
    		JBOD []string `json:"jbod"`
    	} `json:"xl"` // Erasure field holds xl format.
    }
    
    // Represents the V2 backend disk structure version
    // under `.minio.sys` and actual data namespace.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrObjectLockInvalidHeaders: {
    		Code:           "InvalidRequest",
    		Description:    "x-amz-object-lock-retain-until-date and x-amz-object-lock-mode must both be supplied",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrObjectRestoreAlreadyInProgress: {
    		Code:           "RestoreAlreadyInProgress",
    		Description:    "Object restore is already in progress",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/object-handlers.go

    // header values specified in X-Amz-Metadata-Directive.
    func getCpObjMetadataFromHeader(ctx context.Context, r *http.Request, userMeta map[string]string) (map[string]string, error) {
    	// Make a copy of the supplied metadata to avoid
    	// to change the original one.
    	defaultMeta := make(map[string]string, len(userMeta))
    	for k, v := range userMeta {
    		// skip tier metadata when copying metadata from source object
    		switch k {
    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)
  4. cmd/erasure-object.go

    	}
    
    	if fi.Deleted {
    		return ObjectInfo{}, toObjectErr(errMethodNotAllowed, bucket, object)
    	}
    
    	filterOnlineDisksInplace(fi, metaArr, onlineDisks)
    
    	// if version-id is not specified retention is supposed to be set on the latest object.
    	if opts.VersionID == "" {
    		opts.VersionID = fi.VersionID
    	}
    
    	objInfo := fi.ToObjectInfo(bucket, object, opts.Versioned || opts.VersionSuspended)
    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)
  5. cmd/test-utils_test.go

    			removeRoots(erasureDisks)
    			return nil, err
    		}
    		erasureDisks = append(erasureDisks, path)
    	}
    	return erasureDisks, nil
    }
    
    // Initialize object layer with the supplied disks, objectLayer is nil upon any error.
    func newTestObjectLayer(ctx context.Context, endpointServerPools EndpointServerPools) (newObject ObjectLayer, err error) {
    	initAllSubsystems(ctx)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    // using the local cluster's root credential.
    func (c *SiteReplicationSys) IAMChangeHook(ctx context.Context, item madmin.SRIAMItem) error {
    	// The IAM item has already been applied to the local cluster at this
    	// point, and only needs to be updated on all remote peer clusters.
    
    	c.RLock()
    	defer c.RUnlock()
    	if !c.enabled {
    		return nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/admin-bucket-handlers.go

    )
    
    // PutBucketQuotaConfigHandler - PUT Bucket quota configuration.
    // ----------
    // Places a quota configuration on the specified bucket. The quota
    // specified in the quota configuration will be applied by default
    // to enforce total quota for the specified bucket.
    func (a adminAPIHandlers) PutBucketQuotaConfigHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    // applyActions will apply lifecycle checks on to a scanned item.
    // The resulting size on disk will always be returned.
    // The metadata will be compared to consensus on the object layer before any changes are applied.
    // If no metadata is supplied, -1 is returned if no action is taken.
    func (i *scannerItem) applyActions(ctx context.Context, o ObjectLayer, oi ObjectInfo, sizeS *sizeSummary) (objDeleted bool, size int64) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  9. cmd/server-main.go

    				continue
    			}
    			fmt.Println(v)
    		}
    		fmt.Println("======")
    	}
    
    	daemon.SdNotify(false, daemon.SdNotifyReady)
    
    	<-globalOSSignalCh
    }
    
    // Initialize object layer with the supplied disks, objectLayer is nil upon any error.
    func newObjectLayer(ctx context.Context, endpointServerPools EndpointServerPools) (newObject ObjectLayer, err error) {
    	return newErasureServerPools(ctx, endpointServerPools)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  10. cmd/admin-handlers-users.go

    			return
    		}
    		w.Write(buf)
    		return
    	} else if infoPolicyAPIVersion != "" {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errors.New("invalid version parameter 'v' supplied")), r.URL)
    		return
    	}
    
    	// Return the older API response value of just the policy json.
    	buf, err := json.MarshalIndent(policyDoc.Policy, "", " ")
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top