Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for Updated (0.14 sec)

  1. internal/logger/targets.go

    	defer swapSystemMuRW.Unlock()
    
    	if consoleTgt == nil {
    		if t.Type() == types.TargetConsole {
    			consoleTgt = t
    		}
    	}
    	updated := append(make([]Target, 0, len(systemTargets)+1), systemTargets...)
    	updated = append(updated, t)
    	systemTargets = updated
    
    	return nil
    }
    
    func initKafkaTargets(ctx context.Context, cfgMap map[string]kafka.Config) ([]Target, []error) {
    	tgts := []Target{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. cmd/config-current_test.go

    	}
    
    	if err := saveServerConfig(context.Background(), objLayer, globalServerConfig); err != nil {
    		t.Fatalf("Unable to save updated config file %s", err)
    	}
    
    	// Initialize server config.
    	if err := loadConfig(objLayer, nil); err != nil {
    		t.Fatalf("Unable to initialize from updated config file %s", err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Dec 19 19:10:14 GMT 2022
    - 2K bytes
    - Viewed (0)
  3. internal/logger/reqinfo.go

    	if r == nil {
    		return nil
    	}
    	r.Lock()
    	defer r.Unlock()
    	// Search of tag key already exists in tags
    	var updated bool
    	for _, tag := range r.tags {
    		if tag.Key == key {
    			tag.Val = val
    			updated = true
    			break
    		}
    	}
    	if !updated {
    		// Append to the end of tags list
    		r.tags = append(r.tags, KeyVal{key, val})
    	}
    	return r
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. internal/cachevalue/cache.go

    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    func NewFromFunc[T any](ttl time.Duration, opts Opts, update func() (T, error)) *Cache[T] {
    	return &Cache[T]{
    		ttl:      ttl,
    		updateFn: update,
    		opts:     opts,
    	}
    }
    
    // InitOnce initializes the cache with a TTL and an update function. It is
    // guaranteed to be called only once.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. cmd/metacache-manager.go

    			m.mu.Unlock()
    		}
    	}()
    }
    
    // updateCacheEntry will update non-transient state.
    func (m *metacacheManager) updateCacheEntry(update metacache) (metacache, error) {
    	m.mu.RLock()
    	if meta, ok := m.trash[update.id]; ok {
    		m.mu.RUnlock()
    		return meta, nil
    	}
    
    	b, ok := m.buckets[update.bucket]
    	m.mu.RUnlock()
    	if ok {
    		return b.updateCacheEntry(update)
    	}
    
    	// We should have either a trashed bucket or this
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    	}
    
    	// List all the file commit ids from parts metadata.
    	modTimes := listObjectModtimes(partsMetadata, errs)
    
    	// Count all latest updated FileInfo values
    	var count int
    	var latestFileInfo FileInfo
    
    	// Reduce list of UUIDs to a single common value - i.e. the last updated Time
    	modTime := commonTime(modTimes, expectedRQuorum)
    
    	if modTime.IsZero() || modTime.Equal(timeSentinel) {
    		return FileInfo{}, errErasureReadQuorum
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  7. cmd/iam.go

    // where the parent user is the DN of the actual LDAP user. The parent user
    // itself cannot login, but the policy associated with them determines the base
    // policy for the STS credential. The policy mapping can be updated by the
    // administrator.
    //
    // - from `Subject.CommonName` field from the STS request for
    // AssumeRoleWithCertificate. In this case, the policy for the STS credential
    // has the same name as the value of this field.
    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)
  8. cmd/data-usage-utils.go

    	TotalUsedCapacity uint64 `json:"usedCapacity,omitempty"`
    	TotalFreeCapacity uint64 `json:"freeCapacity,omitempty"`
    
    	// LastUpdate is the timestamp of when the data usage info was last updated.
    	// This does not indicate a full scan.
    	LastUpdate time.Time `json:"lastUpdate"`
    
    	// Objects total count across all buckets
    	ObjectsTotalCount uint64 `json:"objectsCount"`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    		}
    	}
    
    	srcInfo.PutObjReader = pReader
    	copyObjectPart := objectAPI.CopyObjectPart
    
    	// Copy source object to destination, if source and destination
    	// object is same then only metadata is updated.
    	partInfo, err := copyObjectPart(ctx, srcBucket, srcObject, dstBucket, dstObject, uploadID, partID,
    		startOffset, length, srcInfo, srcOpts, dstOpts)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  10. internal/config/identity/openid/jwt_test.go

    	claimsMap.SetExpiry(time.Now().Add(time.Minute))
    	claimsMap.SetAccessKey("test-access")
    	if err := updateClaimsExpiry("3600", claimsMap.MapClaims); err != nil {
    		t.Error(err)
    	}
    	// Build simple token with updated expiration claim
    	token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS256, claimsMap)
    	tokenString, err := token.SignedString(signKey)
    	if err != nil {
    		t.Error(err)
    	}
    
    	// Parse token to be sure it is valid
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.3K bytes
    - Viewed (0)
Back to top