Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for assertj (0.17 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	deleteResp = DeleteObjectsResponse{}
    	delRespBytes, err = io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	err = xml.Unmarshal(delRespBytes, &deleteResp)
    	c.Assert(err, nil)
    	c.Assert(len(deleteResp.DeletedObjects), len(delObjReq.Objects))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Validate that the client cannot remove any objects
    	err = minioClient.RemoveObject(ctx, bucket, "someobject", minio.RemoveObjectOptions{})
    	c.Assert(err.Error(), "Access Denied.")
    }
    
    func (s *TestSuiteIAM) TestLDAPUnicodeVariationsLegacyAPI(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  3. Makefile

    	@mkdir -p $(GOPATH)/bin && cp -f $(PWD)/minio $(GOPATH)/bin/minio
    	@echo "Installation successful. To learn more, try \"minio --help\"."
    
    clean: ## cleanup all generated assets
    	@echo "Cleaning up all the generated files"
    	@find . -name '*.test' | xargs rm -fv
    	@find . -name '*~' | xargs rm -fv
    	@find . -name '.#*#' | xargs rm -fv
    	@find . -name '#*#' | xargs rm -fv
    	@rm -rvf minio
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  4. cmd/config-current.go

    			Key:             config.LambdaWebhookSubSys,
    			Description:     "manage remote lambda functions",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:         config.EtcdSubSys,
    			Description: "persist IAM assets externally to etcd",
    		},
    		config.HelpKV{
    			Key:         config.CacheSubSys,
    			Type:        "string",
    			Description: "enable cache plugin on MinIO for GET/HEAD requests",
    			Optional:    true,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    		// `KeyMarker` is set, no MultipartInfo expected.
    		// ListMultipartUploads doesn't list the parts.
    		// `Maxupload` value is asserted.
    		{
    			MaxUploads: 100,
    			KeyMarker:  "orange",
    		},
    		// listMultipartResults - 4.
    		// `KeyMarker` is set, no MultipartInfo expected.
    		// Maxupload value is asserted.
    		{
    			MaxUploads: 1,
    			KeyMarker:  "orange",
    		},
    		// listMultipartResults - 5.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils_test.go

    	extractedTransferEncoding := extractedSignedHeaders.Get("transfer-encoding")
    
    	if expectedHost != extractedHost {
    		t.Errorf("host header mismatch: expected `%s`, got `%s`", expectedHost, extractedHost)
    	}
    	// assert the result with the expected value.
    	if expectedContentSha256 != extractedContentSha256 {
    		t.Errorf("x-amz-content-sha256 header mismatch: expected `%s`, got `%s`", expectedContentSha256, extractedContentSha256)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    //
    // The test works in 2 steps, here is the description of the steps.
    //
    //	STEP 1: Call the handler with the unsigned HTTP request (anonReq), assert for the `ErrAccessDenied` error response.
    func ExecObjectLayerAPIAnonTest(t *testing.T, obj ObjectLayer, testName, bucketName, objectName, instanceType string, apiRouter http.Handler,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users_test.go

    	}
    	groupInfo, err := s.adm.GetGroupDescription(ctx, group)
    	if err != nil {
    		c.Fatalf("group desc err: %v", err)
    	}
    	c.Assert(groupInfo.Name, group)
    	c.Assert(set.CreateStringSet(groupInfo.Members...), set.CreateStringSet(accessKey))
    	c.Assert(groupInfo.Policy, policy)
    	c.Assert(groupInfo.Status, string(madmin.GroupEnabled))
    
    	// 5. Disable/enable the group and verify that user access is revoked/restored.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers_test.go

    		// Call the ServeHTTP to execute the handler, GetBucketPolicyHandler handles the request.
    		apiRouter.ServeHTTP(recV4, reqV4)
    		// Assert the response code with the expected status.
    		if recV4.Code != testCase.expectedRespStatus {
    			t.Fatalf("Case %d: Expected the response status to be `%d`, but instead found `%d`", i+1, testCase.expectedRespStatus, recV4.Code)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  10. docs/kms/IAM.md

    # KMS IAM/Config Encryption
    
    MinIO supports encrypting config, IAM assets with KMS provided keys. If the KMS is not enabled, MinIO will store the config, IAM data as plain text erasure coded in its backend.
    
    ## MinIO KMS Quick Start
    
    MinIO supports two ways of encrypting IAM and configuration data.
    You can either use KES - together with an external KMS - or, much simpler,
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top