Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for existante (0.19 sec)

  1. cmd/server_test.go

    }
    
    // TestNonExistentBucket - Asserts response for HEAD on non-existent bucket.
    func (s *TestSuiteCommon) TestNonExistentBucket(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// create request to HEAD on the bucket.
    	// HEAD on an bucket helps validate the existence of the bucket.
    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/object_api_suite_test.go

    func TestNonExistentBucketOperations(t *testing.T) {
    	ExecObjectLayerTest(t, testNonExistentBucketOperations)
    }
    
    // Tests validate that bucket operation on non-existent bucket fails.
    func testNonExistentBucketOperations(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	var opts ObjectOptions
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  3. cmd/update.go

    	// binary's ModTime as release time:
    	return getModTime(os.Args[0])
    }
    
    // IsDocker - returns if the environment minio is running in docker or
    // not. The check is a simple file existence check.
    //
    // https://github.com/moby/moby/blob/master/daemon/initlayer/setup_unix.go
    // https://github.com/containers/podman/blob/master/libpod/runtime.go
    //
    //	"/.dockerenv":        "file",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. cmd/object-multipart-handlers.go

    		return
    	}
    	opts := ObjectOptions{}
    	if err := abortMultipartUpload(ctx, bucket, object, uploadID, opts); err != nil {
    		switch err.(type) {
    		case InvalidUploadID:
    			// Do not have return an error for non-existent upload-id
    		default:
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    	writeSuccessNoContent(w)
    }
    
    // ListObjectPartsHandler - List object parts
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  5. cmd/erasure-object_test.go

    				VersionID:  objInfo.VersionID,
    			},
    		}
    
    	}
    	names = append(names, ObjectToDelete{
    		ObjectV: ObjectV{
    			ObjectName: "dir/obj1",
    			VersionID:  mustGetUUID(), // add a non-existent UUID.
    		},
    	})
    
    	_, delErrs := obj.DeleteObjects(ctx, bucketName, names, ObjectOptions{
    		Versioned: true,
    	})
    	for i := range delErrs {
    		if delErrs[i] != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    		c.Fatalf("Expected to fail to create STS cred with no associated policy!")
    	}
    
    	// Attempting to set a non-existent policy should fail.
    	userDN := "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    	err = s.adm.SetPolicy(ctx, policy+"x", userDN, false)
    	if err == nil {
    		c.Fatalf("should not be able to set non-existent policy")
    	}
    
    	err = s.adm.SetPolicy(ctx, policy, userDN, false)
    	if err != nil {
    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)
  7. helm-releases/minio-5.0.5.tgz

    myminio/$BUCKET elif [ $VERSIONING = false ] ; then echo "Suspending versioning for '$BUCKET'" ${MC} version suspend myminio/$BUCKET fi fi else echo "Bucket '$BUCKET' versioning unchanged." fi # At this point, the bucket should exist, skip checking for existence # Set policy on the bucket echo "Setting policy of bucket '$BUCKET' to '$POLICY'." ${MC} anonymous set $POLICY myminio/$BUCKET } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 03 20:54:02 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  8. helm-releases/minio-5.0.7.tgz

    myminio/$BUCKET elif [ $VERSIONING = false ] ; then echo "Suspending versioning for '$BUCKET'" ${MC} version suspend myminio/$BUCKET fi fi else echo "Bucket '$BUCKET' versioning unchanged." fi # At this point, the bucket should exist, skip checking for existence # Set policy on the bucket echo "Setting policy of bucket '$BUCKET' to '$POLICY'." ${MC} anonymous set $POLICY myminio/$BUCKET } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 13 10:37:23 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  9. internal/mountinfo/mountinfo_linux_test.go

    			t.Errorf("got unexpected mountInfo[2]: %#v", mounts[2])
    		}
    	}
    	// Failure case mounts path doesn't exist, if not fail.
    	{
    		if _, err = readProcMounts(filepath.Join(dir, "non-existent")); err != nil && !os.IsNotExist(err) {
    			t.Fatal(err)
    		}
    	}
    }
    
    // Tests read proc mounts reader.
    func TestReadProcMountFrom(t *testing.T) {
    	successCase := `/dev/0 /path/to/0 type0 flags 0 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. cmd/object-api-multipart_test.go

    func TestObjectAPIIsUploadIDExists(t *testing.T) {
    	ExecObjectLayerTest(t, testObjectAPIIsUploadIDExists)
    }
    
    // Tests validates the validator for existence of uploadID.
    func testObjectAPIIsUploadIDExists(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	bucket := "minio-bucket"
    	object := "minio-object"
    
    	// Create bucket before initiating NewMultipartUpload.
    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)
Back to top