Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for exploration (0.17 sec)

  1. cmd/bucket-lifecycle-handlers_test.go

    			secretKey:          creds.SecretKey,
    			body:               []byte(`<LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix><Tag><Key>Key1</Key><Value>Value1</Value></Tag></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`),
    			expectedRespStatus: http.StatusBadRequest,
    			lifecycleResponse:  []byte(``),
    			errorResponse: APIErrorResponse{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    		return BatchJobYamlErr{
    			line: ef.line,
    			col:  ef.col,
    			msg:  "CreatedBefore is in the future",
    		}
    	}
    	return nil
    }
    
    // BatchJobExpire represents configuration parameters for a batch expiration
    // job typically supplied in yaml form
    type BatchJobExpire struct {
    	line, col       int
    	APIVersion      string                 `yaml:"apiVersion" json:"apiVersion"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  3. cmd/post-policy_test.go

    )
    
    const (
    	iso8601DateFormat = "20060102T150405Z"
    )
    
    func newPostPolicyBytesV4WithContentRange(credential, bucketName, objectKey string, expiration time.Time) []byte {
    	t := UTCNow()
    	// Add the expiration date.
    	expirationStr := fmt.Sprintf(`"expiration": "%s"`, expiration.Format(iso8601TimeFormat))
    	// Add the bucket condition, only accept buckets equal to the one passed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    	return xxh3.HashString(j.TierName + j.ObjName)
    }
    
    func (e expiryTask) OpHash() uint64 {
    	return xxh3.HashString(e.objInfo.Bucket + e.objInfo.Name)
    }
    
    // expiryState manages all ILM related expiration activities.
    type expiryState struct {
    	mu      sync.RWMutex
    	workers atomic.Pointer[[]chan expiryOp]
    
    	ctx    context.Context
    	objAPI ObjectLayer
    
    	stats expiryStats
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. cmd/globals.go

    	// dynamic sleeper to avoid thundering herd for trash folder expunge routine
    	deleteCleanupSleeper = newDynamicSleeper(5, 25*time.Millisecond, false)
    
    	// dynamic sleeper for multipart expiration routine
    	deleteMultipartCleanupSleeper = newDynamicSleeper(5, 25*time.Millisecond, false)
    
    	// Is _MINIO_DISABLE_API_FREEZE_ON_BOOT set?
    	globalDisableFreezeOnBoot bool
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. internal/config/identity/openid/openid.go

    	for _, p := range r.arnProviderCfgsMap {
    		if p.RolePolicy != "" {
    			return r.roleArnPolicyMap
    		}
    	}
    	return nil
    }
    
    // GetDefaultExpiration - returns the expiration seconds expected.
    func GetDefaultExpiration(dsecs string) (time.Duration, error) {
    	timeout := env.Get(config.EnvMinioStsDuration, "")
    	defaultExpiryDuration, err := time.ParseDuration(timeout)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    			switch {
    			case !rule.Expiration.IsDateNull():
    				if now.IsZero() || now.After(rule.Expiration.Date.Time) {
    					events = append(events, Event{
    						Action: DeleteAction,
    						RuleID: rule.ID,
    						Due:    rule.Expiration.Date.Time,
    					})
    				}
    			case !rule.Expiration.IsDaysNull():
    				if expectedExpiry := ExpectedExpiryTime(obj.ModTime, int(rule.Expiration.Days)); now.IsZero() || now.After(expectedExpiry) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-ldap.go

    	for _, svc := range serviceAccounts {
    		expiryTime := svc.Expiration
    		serviceAccountList = append(serviceAccountList, madmin.ServiceAccountInfo{
    			AccessKey:  svc.AccessKey,
    			Expiration: &expiryTime,
    		})
    	}
    	for _, sts := range stsKeys {
    		expiryTime := sts.Expiration
    		stsKeyList = append(stsKeyList, madmin.ServiceAccountInfo{
    			AccessKey:  sts.AccessKey,
    			Expiration: &expiryTime,
    		})
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. cmd/object-api-interface.go

    	DeleteReplication   ReplicationState    // Represents internal replication state needed for Delete replication
    	Transition          TransitionOptions
    	Expiration          ExpirationOptions
    	LifecycleAuditEvent lcAuditEvent
    
    	WantChecksum *hash.Checksum // x-amz-checksum-XXX checksum sent to PutObject/ CompleteMultipartUpload.
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users_test.go

    		TargetUser: accessKey,
    		AccessKey:  "svc-accesskey",
    		SecretKey:  "svc-secretkey",
    		Expiration: &closeExpiration,
    	})
    	if err == nil {
    		c.Fatalf("Creating a svc acc with distant expiration should fail")
    	}
    }
    
    func (s *TestSuiteIAM) TestServiceAccountOpsByAdmin(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
Back to top