Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for type (0.24 sec)

  1. cmd/iam-store.go

    		return nil
    	}
    	*d = doc
    	return nil
    }
    
    // key options
    type options struct {
    	ttl int64 // expiry in seconds
    }
    
    type iamWatchEvent struct {
    	isCreated bool // !isCreated implies a delete event.
    	keyPath   string
    }
    
    // iamCache contains in-memory cache of IAM data.
    type iamCache struct {
    	updatedAt time.Time
    
    	// map of policy names to policy definitions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  2. cmd/erasure-server-pool.go

    	setDriveCounts := make([]int, len(z.serverPools))
    	for i := range z.serverPools {
    		setDriveCounts[i] = z.serverPools[i].SetDriveCount()
    	}
    	return setDriveCounts
    }
    
    type serverPoolsAvailableSpace []poolAvailableSpace
    
    type poolAvailableSpace struct {
    	Index      int
    	Available  uint64 // in bytes
    	MaxUsedPct int    // Used disk percentage of most filled disk, rounded down.
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	}
    	var xl xlMetaV2
    	err = xl.LoadOrConvert(buf)
    	if err != nil {
    		return err
    	}
    	foundDirs := make(map[string]struct{}, len(xl.versions))
    	err = readDirFn(baseDir, func(name string, typ os.FileMode) error {
    		if !typ.IsDir() {
    			return nil
    		}
    		// See if directory has a UUID name.
    		base := filepath.Base(name)
    		_, err := uuid.Parse(base)
    		if err == nil {
    			foundDirs[base] = struct{}{}
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    			// and SSE-S3 is specified do not preserve
    			// the incoming etag.
    			userDefined["etag"] = opts.PreserveETag
    		}
    	}
    
    	// Guess content-type from the extension if possible.
    	if userDefined["content-type"] == "" {
    		userDefined["content-type"] = mimedb.TypeByExtension(path.Ext(object))
    	}
    
    	// if storageClass is standard no need to save it as part of metadata.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
Back to top