Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 342 for CTX (0.15 sec)

  1. cmd/admin-handlers-site-replication.go

    		return
    	}
    
    	var state madmin.SRStateEditReq
    	if err := parseJSONBody(ctx, r.Body, &state, ""); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if err := globalSiteReplicationSys.PeerStateEditReq(ctx, state); err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	if globalIAMSys.LDAPConfig.Enabled() {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errIAMActionNotAllowed), r.URL)
    		return
    	}
    
    	updatedAt, err := globalIAMSys.CreateUser(ctx, accessKey, ureq)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    		Type: madmin.SRIAMItemIAMUser,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  3. cmd/admin-handlers-idp-config.go

    	}
    
    	cfg, err := readServerConfig(ctx, objectAPI, nil)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	dynamic, err := cfg.ReadConfig(strings.NewReader(cfgData))
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// IDP config is not dynamic. Sanity check.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. schema/field.go

    			case int8:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case int16:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case int32:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case uint:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case uint8:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case uint16:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  5. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    	// 3.1 check user has access to bucket
    	c.mustListObjects(ctx, uClient, bucket)
    	// 3.2 Check that user cannot exceed their permissions
    	err = uClient.RemoveBucket(ctx, bucket)
    	if err == nil {
    		c.Fatalf("bucket was deleted!")
    	}
    
    	// 4. List groups and members and verify
    	groups, err := s.adm.ListGroups(ctx)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	err = verifyBinary(u, sha256Sum, releaseInfo, mode, bytes.NewReader(bin))
    	if err != nil {
    		adminLogIf(ctx, fmt.Errorf("server update failed with %w", err))
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  7. cmd/admin-handlers-idp-ldap.go

    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    	if listType == "" || listType == "svcacc-only" {
    		serviceAccounts, err = globalIAMSys.ListServiceAccounts(ctx, targetAccount)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	var serviceAccountList []madmin.ServiceAccountInfo
    	var stsKeyList []madmin.ServiceAccountInfo
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/s3-zip-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	zipInfo := zipObjInfo.ArchiveInfo()
    	if len(zipInfo) == 0 {
    		opts.EncryptFn, err = zipObjInfo.metadataEncryptFn(r.Header)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    
    		zipInfo, err = updateObjectMetadataWithZipInfo(ctx, objectAPI, bucket, zipPath, opts)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. cmd/notification.go

    		ctx := logger.SetReqInfo(ctx, reqInfo)
    		bugLogIf(ctx, err)
    		return profilingDataFound
    	}
    
    	profilingDataFound = true
    
    	// Send profiling data to zip as file
    	for typ, data := range data {
    		err := embedFileInZip(zipWriter, fmt.Sprintf("profile-%s-%s", thisAddr, typ), data, 0o600)
    		internalLogIf(ctx, err)
    	}
    	if b := getClusterMetaInfo(ctx); len(b) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    			switch action {
    			case clientGrants:
    				writeSTSErrorResponse(ctx, w, ErrSTSClientGrantsExpiredToken, err)
    			case webIdentity:
    				writeSTSErrorResponse(ctx, w, ErrSTSWebIdentityExpiredToken, err)
    			}
    			return
    		case auth.ErrInvalidDuration:
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    			return
    		}
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top