Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MarshalIndent (0.28 sec)

  1. cmd/admin-handlers-users.go

    			policySet, _ := args.GetPolicies(iamPolicyClaimNameOpenID())
    			policiesNames = policySet.ToSlice()
    		}
    
    		stsAccountPolicy = globalIAMSys.GetCombinedPolicy(policiesNames...)
    	}
    
    	policyJSON, err := json.MarshalIndent(stsAccountPolicy, "", " ")
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	infoResp := madmin.TemporaryAccountInfoResp{
    		ParentUser:    stsAccount.ParentUser,
    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)
  2. cmd/admin-handlers.go

    		select {
    		case resultCh <- ci:
    		case <-ctx.Done():
    			return
    		}
    	}()
    
    	select {
    	case <-ctx.Done():
    		return nil
    	case ci := <-resultCh:
    		out, err := json.MarshalIndent(ci, "", "  ")
    		if err != nil {
    			bugLogIf(ctx, err)
    			return nil
    		}
    		return out
    	}
    }
    
    func bytesToPublicKey(pub []byte) (*rsa.PublicKey, error) {
    	block, _ := pem.Decode(pub)
    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)
Back to top