Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for exploration (0.19 sec)

  1. cmd/erasure-object.go

    			return objInfo, err
    		}
    		replcfg, err = getReplicationConfig(ctx, bucket)
    		if err != nil {
    			return objInfo, err
    		}
    	}
    
    	// expiration attempted on a bucket with no lifecycle
    	// rules shall be rejected.
    	if lc == nil && opts.Expiration.Expire {
    		if opts.VersionID != "" {
    			return objInfo, VersionNotFound{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: opts.VersionID,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  2. cmd/iam.go

    	cred.Status = string(auth.AccountOn)
    	cred.Name = opts.name
    	cred.Description = opts.description
    
    	if opts.expiration != nil {
    		expirationInUTC := opts.expiration.UTC()
    		if err := validateSvcExpirationInUTC(expirationInUTC); err != nil {
    			return auth.Credentials{}, time.Time{}, err
    		}
    		cred.Expiration = expirationInUTC
    	}
    
    	updatedAt, err := sys.store.AddServiceAccount(ctx, cred)
    	if err != nil {
    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)
  3. cmd/erasure-server-pool.go

    		globalLeaderLock = newSharedLock(GlobalContext, z, "leader.lock")
    	})
    
    	// Enable background operations on
    	//
    	// - Disk auto healing
    	// - MRF (most recently failed) healing
    	// - Background expiration routine for lifecycle policies
    	bootstrapTrace("initAutoHeal", func() {
    		initAutoHeal(GlobalContext, z)
    	})
    
    	bootstrapTrace("initHealMRF", func() {
    		go globalMRFState.healRoutine(z)
    	})
    
    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/sts-handlers_test.go

    	}
    
    	epochTime := time.Unix(0, 0).UTC()
    	expectedAccKeys := madmin.ListAccessKeysLDAPResp{
    		ServiceAccounts: []madmin.ServiceAccountInfo{
    			{
    				AccessKey:  "u4ccRswj62HV3Ifwima7",
    				Expiration: &epochTime,
    			},
    		},
    	}
    
    	if !reflect.DeepEqual(expectedAccKeys, res) {
    		c.Fatalf("access keys mismatch: expected: %v, got: %v", expectedAccKeys, res)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    		cr.Name = opts.name
    	}
    
    	if opts.description != "" {
    		cr.Description = opts.description
    	}
    
    	if opts.expiration != nil {
    		expirationInUTC := opts.expiration.UTC()
    		if err := validateSvcExpirationInUTC(expirationInUTC); err != nil {
    			return updatedAt, err
    		}
    		cr.Expiration = expirationInUTC
    	}
    
    	switch opts.status {
    	// The caller did not ask to update status account, do nothing
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. internal/bucket/lifecycle/lifecycle_test.go

    			inputConfig:           `<LifecycleConfiguration><Rule><ID>rule1</ID><Status>Enabled</Status><Filter><Prefix>/a/b</Prefix></Filter><Expiration><Days>3</Days></Expiration></Rule><Rule><ID>rule2</ID><Status>Enabled</Status><Filter><And><Prefix>/a/b/c</Prefix><Tag><Key>key1</Key><Value>val1</Value></Tag></And></Filter><Expiration><Days>3</Days></Expiration></Rule></LifecycleConfiguration> `,
    			expectedParsingErr:    nil,
    			expectedValidationErr: nil,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	var expiration *time.Time
    	if !svcAccount.Expiration.IsZero() && !svcAccount.Expiration.Equal(timeSentinel) {
    		expiration = &svcAccount.Expiration
    	}
    
    	infoResp := madmin.InfoServiceAccountResp{
    		ParentUser:    svcAccount.ParentUser,
    		Name:          svcAccount.Name,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top