Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for IsValid (0.15 sec)

  1. cmd/peer-rest-server.go

    }
    
    // HealthHandler - returns true of health
    func (s *peerRESTServer) HealthHandler(w http.ResponseWriter, r *http.Request) {
    	s.IsValid(w, r)
    }
    
    // VerifyBinary - verifies the downloaded binary is in-tact
    func (s *peerRESTServer) VerifyBinaryHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    	if r.ContentLength < 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	freeVersionID := fi.TierFreeVersionID()
    	freeVersionMarker := fi.TierFreeVersion()
    
    	// Update `xl.meta` content on each disks.
    	for index := range metaArr {
    		if metaArr[index].IsValid() {
    			metaArr[index].ModTime = modTime
    			metaArr[index].VersionID = versionID
    			if !metaArr[index].InlineData() {
    				// If the data is not inlined, we may end up incorrectly
    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)
  3. cmd/iam.go

    	atomic.StoreUint64(&sys.LastRefreshTimeUnixNano, uint64(loadStartTime.Add(loadDuration).UnixNano()))
    	atomic.AddUint64(&sys.TotalRefreshSuccesses, 1)
    
    	if !globalSiteReplicatorCred.IsValid() {
    		sa, _, err := sys.getServiceAccount(ctx, siteReplicatorSvcAcc)
    		if err == nil {
    			globalSiteReplicatorCred.Set(sa.Credentials)
    		}
    	}
    
    	if firstTime {
    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)
  4. cmd/iam-store.go

    	}
    
    	// When looking for a user's policies, we also check if the user
    	// and the groups they are member of are enabled.
    	u, ok := c.iamUsersMap[name]
    	if ok {
    		if !u.Credentials.IsValid() {
    			return nil, time.Time{}, nil
    		}
    	}
    
    	// For internal IDP regular/service account user accounts, the policy
    	// mapping is iamUserPolicyMap. For STS accounts, the parent user would be
    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)
  5. cmd/admin-handlers-users.go

    	}
    
    	var par madmin.PolicyAssociationReq
    	if err = json.Unmarshal(reqBytes, &par); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	if err = par.IsValid(); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	updatedAt, addedOrRemoved, _, err := globalIAMSys.PolicyDBUpdateBuiltin(ctx, isAttach, par)
    	if err != nil {
    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