Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for checkCmd (0.17 sec)

  1. internal/hash/checksum.go

    	if c == nil || !c.Valid() {
    		return nil
    	}
    	return map[string]string{c.Type.String(): c.Encoded}
    }
    
    // TransferChecksumHeader will transfer any checksum value that has been checked.
    // If checksum was trailing, they must have been added to r.Trailer.
    func TransferChecksumHeader(w http.ResponseWriter, r *http.Request) {
    	c, err := GetContentChecksum(r.Header)
    	if err != nil || c == nil {
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. internal/jwt/parser.go

    //
    // This method parses the token but doesn't validate the signature. It's only
    // ever useful in cases where you know the signature is valid (because it has
    // been checked previously in the stack) and you want to extract values from
    // it.
    func ParseUnverifiedStandardClaims(token []byte, claims *StandardClaims, buf []byte) (*SigningMethodHMAC, error) {
    	if bytes.Count(token, []byte(".")) != 2 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  3. cmd/xl-storage-disk-id-check.go

    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-t.C:
    			if !monitor() {
    				return
    			}
    		}
    	}
    }
    
    // checkID will check if the disk ID matches the provided ID.
    func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) {
    	if wantID == "" {
    		return nil
    	}
    	id, err := p.storage.GetDiskID()
    	if err != nil {
    		return err
    	}
    	if id != wantID {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. internal/s3select/select.go

    func (s3Select *S3Select) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// S3 also supports the older SelectObjectContentRequest tag,
    	// though it is no longer found in documentation. This is
    	// checked and renamed below to allow older clients to also
    	// work.
    	if start.Name.Local == legacyXMLName {
    		start.Name = xml.Name{Space: "", Local: "SelectRequest"}
    	}
    
    	// Make subtype to avoid recursive UnmarshalXML().
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  5. cmd/iam.go

    }
    
    const sessionPolicyNameExtracted = policy.SessionPolicyName + "-extracted"
    
    // IsAllowedServiceAccount - checks if the given service account is allowed to perform
    // actions. The permission of the parent user is checked first
    func (sys *IAMSys) IsAllowedServiceAccount(args policy.Args, parentUser string) bool {
    	// Verify if the parent claim matches the parentUser.
    	p, ok := args.Claims[parentClaim]
    	if ok {
    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)
  6. cmd/metrics-v2.go

    			},
    			{
    				Description: MetricDescription{
    					Namespace: nodeMetricNamespace,
    					Subsystem: ilmSubsystem,
    					Name:      "versions_scanned",
    					Help:      "Total number of object versions checked for ilm actions since server start",
    					Type:      counterMetric,
    				},
    				Value: float64(globalScannerMetrics.lifetime(scannerMetricILM)),
    			},
    		}
    		for i := range globalScannerMetrics.actions {
    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)
  7. cmd/storage-rest-server.go

    		return false
    	}
    
    	// If format.json is available and request sent the right disk-id, we allow the request
    	return true
    }
    
    // checkID - check if the disk-id in the request corresponds to the underlying disk.
    func (s *storageRESTServer) checkID(wantID string) bool {
    	if s.getStorage() == nil {
    		return false
    	}
    	if wantID == "" {
    		// Request sent empty disk-id, we allow the request
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  8. cmd/metacache-server-pool.go

    		return nil
    	})
    }
    
    // listPath will return the requested entries.
    // If no more entries are in the listing io.EOF is returned,
    // otherwise nil or an unexpected error is returned.
    // The listPathOptions given will be checked and modified internally.
    // Required important fields are Bucket, Prefix, Separator.
    // Other important fields are Limit, Marker.
    // List ID always derived from the Marker.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    }
    
    // ResizeWorkers sets replication workers pool to new size.
    // checkOld can be set to an expected value.
    // If the worker count changed
    func (p *ReplicationPool) ResizeWorkers(n, checkOld int) {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    
    	if (checkOld > 0 && len(p.workers) != checkOld) || n == len(p.workers) || n < 1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. docs/metrics/prometheus/list.md

    | `minio_node_ilm_versions_scanned`                            | Total number of object versions checked for ilm actions since server start.                                |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
Back to top