Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for empty (0.18 sec)

  1. cmd/api-errors.go

    		Description:    "Your request was missing a required header",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingRequestBodyError: {
    		Code:           "MissingRequestBodyError",
    		Description:    "Request body is empty.",
    		HTTPStatusCode: http.StatusLengthRequired,
    	},
    	ErrNoSuchBucket: {
    		Code:           "NoSuchBucket",
    		Description:    "The specified bucket does not exist",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/erasure-object.go

    		}
    		if opts.VersionPurgeStatus().Empty() && opts.DeleteMarkerReplicationStatus().Empty() {
    			markDelete = false
    		}
    		if opts.VersionPurgeStatus() == Complete {
    			markDelete = false
    		}
    		// now, since VersionPurgeStatus() is already set, we can let the
    		// lower layers decide this. This fixes a regression that was introduced
    		// in PR #14555 where !VersionPurgeStatus.Empty() is automatically
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. cmd/erasure-server-pool.go

    			// some errors such as MethodNotAllowed for delete marker
    			// should be returned upwards.
    			return res.oi, res.zIdx, err
    		}
    		// When its a delete marker and versionID is empty
    		// we should simply return the error right away.
    		if res.oi.DeleteMarker && opts.VersionID == "" {
    			return res.oi, res.zIdx, err
    		}
    	}
    
    	object = decodeDirObject(object)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    		// Test listing an empty directory in recursive mode (62)
    		{"test-bucket-empty-dir", "", "", "", 10, resultCases[31], nil, true},
    		// Test listing an empty directory in a non recursive mode (63)
    		{"test-bucket-empty-dir", "", "", SlashSeparator, 10, resultCases[32], nil, true},
    		// Test listing a directory which contains an empty directory (64)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. cmd/iam.go

    		return updatedAt, err
    	}
    
    	sys.notifyForGroup(ctx, group)
    	return updatedAt, nil
    }
    
    // RemoveUsersFromGroup - remove users from group. If no users are
    // given, and the group is empty, deletes the group as well.
    func (sys *IAMSys) RemoveUsersFromGroup(ctx context.Context, group string, members []string) (updatedAt time.Time, err error) {
    	if !sys.Initialized() {
    		return updatedAt, errServerNotInitialized
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. cmd/iam-store.go

    					return nil, time.Time{}, err
    				}
    				mp, _ = c.iamSTSPolicyMap.Load(name)
    			}
    		}
    	}
    
    	// returned policy could be empty
    	policies := mp.toSlice()
    
    	for _, group := range c.iamUserGroupMemberships[name].ToSlice() {
    		if store.getUsersSysType() == MinIOUsersSysType {
    			g, ok := c.iamGroupsMap[group]
    			if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. cmd/sts-handlers_test.go

    //
    // Each set of client app params corresponds to a separate openid server, and
    // the i-th server in this will be applied the i-th policy in `rolePolicies`. If
    // a rolePolicies entry is an empty string, that server will be configured as
    // policy-claim based openid server. NOTE that a valid configuration can have a
    // policy claim based provider only if it is the only OpenID provider.
    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)
  8. cmd/xl-storage.go

    		}
    	}
    
    	return nil
    }
    
    // deleteFile deletes a file or a directory if its empty unless recursive
    // is set to true. If the target is successfully deleted, it will recursively
    // move up the tree, deleting empty parent directories until it finds one
    // with files in it. Returns nil for a non-empty directory even when
    // recursive is set to false.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. cmd/object-api-multipart_test.go

    				},
    			},
    		},
    		// listMultipartResults - 32.
    		// checking listing with marker set to no of objects in the list.
    		// `NextUploadIDMarker` is expected to be empty since all results are listed.
    		// `NextKeyMarker` is expected to be empty since all results are listed.
    		{
    			MaxUploads:  6,
    			IsTruncated: false,
    			Uploads: []MultipartInfo{
    				{
    					Object:   objectNames[0],
    					UploadID: uploadIDs[4],
    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)
  10. cmd/test-utils_test.go

    	// create an instance of TestServer.
    	testServer := UnstartedTestServer(t, instanceType)
    	testServer.Server.Start()
    	return testServer
    }
    
    // Sets the global config path to empty string.
    func resetGlobalConfigPath() {
    	globalConfigDir = &ConfigDir{path: ""}
    }
    
    // sets globalObjectAPI to `nil`.
    func resetGlobalObjectAPI() {
    	globalObjLayerMutex.Lock()
    	globalObjectAPI = nil
    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)
Back to top