Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TrimPrefix (0.18 sec)

  1. cmd/iam.go

    	case usersPrefix:
    		accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigUsersPrefix))
    		err = sys.store.UserNotificationHandler(ctx, accessKey, regUser)
    	case stsPrefix:
    		accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigSTSPrefix))
    		err = sys.store.UserNotificationHandler(ctx, accessKey, stsUser)
    	case svcPrefix:
    		accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigServiceAccountsPrefix))
    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)
  2. cmd/api-errors.go

    	RangeRequested   string `xml:"RangeRequested,omitempty" json:"RangeRequested,omitempty"`
    }
    
    // APIErrorCode type of error status.
    type APIErrorCode int
    
    //go:generate stringer -type=APIErrorCode -trimprefix=Err $GOFILE
    
    // Error codes, non exhaustive list - http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
    const (
    	ErrNone APIErrorCode = iota
    	ErrAccessDenied
    	ErrBadDigest
    	ErrEntityTooSmall
    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/erasure-server-pool.go

    					objQuorum:         listingQuorum,
    					bucket:            bucket,
    					requestedVersions: requestedVersions,
    				}
    
    				path := baseDirFromPrefix(prefix)
    				filterPrefix := strings.Trim(strings.TrimPrefix(prefix, path), slashSeparator)
    				if path == prefix {
    					filterPrefix = ""
    				}
    
    				lopts := listPathRawOptions{
    					disks:          disks,
    					fallbackDisks:  fallbackDisks,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    }
    
    //msgp:ignore batchJobMetrics
    type batchJobMetrics struct {
    	sync.RWMutex
    	metrics map[string]*batchJobInfo
    }
    
    //msgp:ignore batchJobMetric
    //go:generate stringer -type=batchJobMetric -trimprefix=batchJobMetric $GOFILE
    type batchJobMetric uint8
    
    const (
    	batchJobMetricReplication batchJobMetric = iota
    	batchJobMetricKeyRotation
    	batchJobMetricExpire
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top