Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 149 for id (0.12 sec)

  1. cmd/api-response.go

    	listPartsResponse.StorageClass = globalMinioDefaultStorageClass
    
    	// Dumb values not meaningful
    	listPartsResponse.Initiator = Initiator{
    		ID:          globalMinioDefaultOwnerID,
    		DisplayName: globalMinioDefaultOwnerID,
    	}
    	listPartsResponse.Owner = Owner{
    		ID:          globalMinioDefaultOwnerID,
    		DisplayName: globalMinioDefaultOwnerID,
    	}
    
    	listPartsResponse.MaxParts = partsInfo.MaxParts
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  2. internal/crypto/key.go

    		return ErrSecretKeyMismatch
    	}
    	return nil
    }
    
    // DerivePartKey derives an unique 256 bit key from an ObjectKey and the part index.
    func (key ObjectKey) DerivePartKey(id uint32) (partKey [32]byte) {
    	var bin [4]byte
    	binary.LittleEndian.PutUint32(bin[:], id)
    
    	mac := hmac.New(sha256.New, key[:])
    	mac.Write(bin[:])
    	mac.Sum(partKey[:0])
    	return partKey
    }
    
    // SealETag seals the etag using the object key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. cmd/data-usage.go

    						if root == nil {
    							// We dont have usage information for this bucket in this
    							// set, go to the next set
    							continue
    						}
    
    						for id, usageInfo := range cache.flattenChildrens(*root) {
    							prefix := decodeDirObject(strings.TrimPrefix(id, bucket+slashSeparator))
    							// decodeDirObject to avoid any __XLDIR__ objects
    							m[prefix] += uint64(usageInfo.Size)
    						}
    					}
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    func (r *BatchJobExpire) Start(ctx context.Context, api ObjectLayer, job BatchJobRequest) error {
    	ri := &batchJobInfo{
    		JobID:     job.ID,
    		JobType:   string(job.Type()),
    		StartTime: job.Started,
    	}
    	if err := ri.load(ctx, api, job); err != nil {
    		return err
    	}
    
    	globalBatchJobsMetrics.save(job.ID, ri)
    	lastObject := ri.Object
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. docs/bucket/replication/setup_3site_replication.sh

    etag_2=$(multipart-debug --endpoint 127.0.0.1:9001 --accesskey minio --secretkey minio123 multipart upload --bucket bucket --object new-test-encrypted-object --uploadid ${upload_id} --file /tmp/2847391.txt --number 2 | jq -r .ETag)
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    	pd.QueuedBuckets = append(pd.QueuedBuckets, bucket.String())
    	pd.Bucket = bucket.Name
    	pd.Prefix = bucket.Prefix
    }
    
    // PoolStatus captures current pool status
    type PoolStatus struct {
    	ID           int                   `json:"id" msg:"id"`
    	CmdLine      string                `json:"cmdline" msg:"cl"`
    	LastUpdate   time.Time             `json:"lastUpdate" msg:"lu"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  7. cmd/admin-heal-ops.go

    	ahs.Lock()
    	defer ahs.Unlock()
    
    	for _, ep := range healLocalDisks {
    		delete(ahs.healLocalDisks, ep)
    	}
    	for id, disk := range ahs.healStatus {
    		for _, ep := range healLocalDisks {
    			if disk.Endpoint == ep.String() {
    				delete(ahs.healStatus, id)
    			}
    		}
    	}
    }
    
    // updateHealStatus will update the heal status.
    func (ahs *allHealState) updateHealStatus(tracker *healingTracker) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  8. cmd/etcd.go

    	defer cancel()
    	lease, err := client.Grant(timeoutCtx, ttl)
    	if err != nil {
    		return etcdErrToErr(err, client.Endpoints())
    	}
    	_, err = client.Put(timeoutCtx, key, string(data), etcd.WithLease(lease.ID))
    	etcdLogIf(ctx, err)
    	return etcdErrToErr(err, client.Endpoints())
    }
    
    func saveKeyEtcd(ctx context.Context, client *etcd.Client, key string, data []byte, opts ...options) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. internal/kms/single-key.go

    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // Parse parses s as single-key KMS. The given string
    // is expected to have the following format:
    //
    //	<key-id>:<base64-key>
    //
    // The returned KMS implementation uses the parsed
    // key ID and key to derive new DEKs and decrypt ciphertext.
    func Parse(s string) (KMS, error) {
    	v := strings.SplitN(s, ":", 2)
    	if len(v) != 2 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. docs/site-replication/run-multi-site-minio-idp.sh

    if [ $? -ne 0 ]; then
    	echo "expecting object to be present. exiting.."
    	exit_1
    fi
    ./mc tag set --version-id "${vID}" minio2/newbucket/README.md "key=val"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    fi
    sleep 5
    val=$(./mc tag list minio1/newbucket/README.md --version-id "${vID}" --json | jq -r .tagset.key)
    if [ "${val}" != "val" ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top