Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for minioClient (0.3 sec)

  1. cmd/sts-handlers_test.go

    	}
    
    	// Validate sts creds can access the object
    	c.mustPutObjectWithTags(ctx, minioClient, bucket, object)
    	c.mustGetObject(ctx, minioClient, bucket, object)
    	c.mustHeadObject(ctx, minioClient, bucket, object, 2)
    
    	// Validate that the client can remove objects
    	if err = minioClient.RemoveObjectTagging(ctx, bucket, object, minio.RemoveObjectTaggingOptions{}); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    }
    
    func getS3Client(pc madmin.PeerSite) (*minioClient.Client, error) {
    	ep, err := url.Parse(pc.Endpoint)
    	if err != nil {
    		return nil, err
    	}
    	if globalBucketTargetSys.isOffline(ep) {
    		return nil, RemoteTargetConnectionErr{Endpoint: ep.String(), Err: fmt.Errorf("remote target is offline for endpoint %s", ep.String())}
    	}
    
    	return minioClient.New(ep.Host, &minioClient.Options{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
Back to top