Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 723 for objects (0.19 sec)

  1. cmd/object-api-datatypes_gen.go

    				return
    			}
    		case "Objects":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Objects")
    				return
    			}
    			if cap(z.Objects) >= int(zb0002) {
    				z.Objects = (z.Objects)[:zb0002]
    			} else {
    				z.Objects = make([]ObjectInfo, zb0002)
    			}
    			for za0001 := range z.Objects {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    						t.Errorf("Test %d: %s: Expected number of object in the result to be '%d', but found '%d' objects instead", i+1, instanceType, len(testCase.resultL.Objects), len(resultL.Objects))
    					}
    					for j := 0; j < len(testCase.resultL.Objects); j++ {
    						if j >= len(resultL.Objects) {
    							t.Errorf("Test %d: %s: Expected object name to be \"%s\", but not nothing instead", i+1, instanceType, testCase.resultL.Objects[j].Name)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  3. cmd/bucket-object-lock.go

    // enforceRetentionBypassForDelete enforces whether an existing object under governance can be deleted
    // with governance bypass headers set in the request.
    // Objects under site wide WORM can never be overwritten.
    // For objects in "Governance" mode, overwrite is allowed if a) object retention date is past OR
    // governance bypass headers are set and user has governance bypass permissions.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    		sz := d.sizeRecursive(path.Key())
    		leaves = append(leaves, struct {
    			objects uint64
    			path    dataUsageHash
    		}{objects: sz.Objects, path: path})
    		for ch := range e.Children {
    			add(dataUsageHash(ch))
    		}
    	}
    
    	// Add path recursively.
    	add(path)
    	sort.Slice(leaves, func(i, j int) bool {
    		return leaves[i].objects < leaves[j].objects
    	})
    	for remove > 0 && len(leaves) > 0 {
    		// Remove top entry.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  5. cmd/batch-expire_test.go

    	expireYaml := `
    expire: # Expire objects that match a condition
      apiVersion: v1
      bucket: mybucket # Bucket where this batch job will expire matching objects from
      prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below.
      rules:
        - type: object  # regular objects with zero or more older versions
          name: NAME # match object names that satisfy the wildcard expression.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    	AskDisks     string                   // dictates how many disks are being listed
    	VersionsSort WalkVersionsSortOrder    // sort order for versions of the same object; default: Ascending order in ModTime
    }
    
    // ExpirationOptions represents object options for object expiration at objectLayer.
    type ExpirationOptions struct {
    	Expire bool
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    			Bucket:           ri.Bucket,
    			Object:           ri.Object,
    			Objects:          ri.Objects,
    			ObjectsFailed:    ri.ObjectsFailed,
    			BytesTransferred: ri.BytesTransferred,
    			BytesFailed:      ri.BytesFailed,
    		}
    	case string(madmin.BatchJobKeyRotate):
    		m.KeyRotate = &madmin.KeyRotationInfo{
    			Bucket:        ri.Bucket,
    			Object:        ri.Object,
    			Objects:       ri.Objects,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  8. cmd/object-api-options.go

    			Object: object,
    			Err:    err,
    		}
    	}
    
    	opts.VersionID = vid
    	opts.Versioned = versioned
    	opts.VersionSuspended = versionSuspended
    
    	// For directory objects skip creating new versions.
    	if isDirObject(object) && vid == "" {
    		opts.VersionID = nullVersionID
    	}
    
    	return opts, nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    		}
    
    		return deleteErrorList
    	}
    
    	objects := []ObjectToDelete{}
    	objects = append(objects, ObjectToDelete{
    		ObjectV: ObjectV{
    			ObjectName: "private/object",
    		},
    	})
    	objects = append(objects, ObjectToDelete{
    		ObjectV: ObjectV{
    			ObjectName: "public/object",
    		},
    	})
    	requestList := []DeleteObjectsRequest{
    		{Quiet: false, Objects: getObjectToDeleteList(objectNames[:5])},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  10. cmd/encryption-v1.go

    	const BatchSize = 250 // We process the objects in batches - 250 is a reasonable default.
    	var (
    		metadata = make([]map[string]string, 0, BatchSize)
    		buckets  = make([]string, 0, BatchSize)
    		names    = make([]string, 0, BatchSize)
    	)
    	for len(objects) > 0 {
    		N := BatchSize
    		if len(objects) < BatchSize {
    			N = len(objects)
    		}
    		batch := objects[:N]
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
Back to top