Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewWithOptions (0.06 sec)

  1. cmd/sts-handlers_test.go

    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Create an madmin client with user creds
    	userAdmClient, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    		Creds:  cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure: s.secure,
    	})
    	if err != nil {
    		c.Fatalf("Err creating user admin client: %v", err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  2. cmd/site-replication.go

    	}
    	if globalBucketTargetSys.isOffline(epURL) {
    		return nil, RemoteTargetConnectionErr{Endpoint: epURL.String(), Err: fmt.Errorf("remote target is offline for endpoint %s", epURL.String())}
    	}
    	return madmin.NewWithOptions(epURL.Host, &madmin.Options{
    		Creds:     credentials.NewStaticV4(accessKey, secretKey, ""),
    		Secure:    epURL.Scheme == "https",
    		Transport: globalRemoteTargetTransport,
    	})
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
Back to top