Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewWithOptions (0.1 sec)

  1. cmd/admin-handlers-users_test.go

    	s.TestSuiteCommon.RestartTestServer(c)
    
    	s.iamSetup(c)
    }
    
    func (s *TestSuiteIAM) getAdminClient(c *check, accessKey, secretKey, sessionToken string) *madmin.AdminClient {
    	madmClnt, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    		Creds:  credentials.NewStaticV4(accessKey, secretKey, sessionToken),
    		Secure: s.secure,
    	})
    	if err != nil {
    		c.Fatalf("error creating user admin client: %s", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top