Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for safe (0.14 sec)

  1. cmd/iam.go

    // has the same name as the value of this field.
    //
    // - from special JWT claim from STS request for AssumeRoleWithOIDC API (when
    // not using RoleARN). The claim value can be a string or a list and refers to
    // the names of access policies.
    //
    // For all except the RoleARN case, the implementation is the same - the policy
    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)
  2. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrOverlappingFilterNotification: {
    		Code:           "InvalidArgument",
    		Description:    "An object key name filtering rule defined with overlapping prefixes, overlapping suffixes, or overlapping combinations of prefixes and suffixes for the same event types.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    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)
  3. cmd/erasure-object.go

    				// delete marker, if not add a new version for this delete
    				// marker.
    				if versioned {
    					vr.VersionID = mustGetUUID()
    				}
    			}
    		}
    		// De-dup same object name to collect multiple versions for same object.
    		v, ok := versionsMap[objects[i].ObjectName]
    		if ok {
    			v.Versions = append(v.Versions, vr)
    		} else {
    			v = FileInfoVersions{
    				Name:     vr.Name,
    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)
  4. cmd/erasure-server-pool.go

    		})
    		if err != nil {
    			return nil, err
    		}
    
    		if deploymentID == "" {
    			// all pools should have same deployment ID
    			deploymentID = formats[i].ID
    		}
    
    		// Validate if users brought different DeploymentID pools.
    		if deploymentID != formats[i].ID {
    			return nil, fmt.Errorf("all pools must have same deployment ID - expected %s, got %s for pool(%s)", deploymentID, formats[i].ID, humanize.Ordinal(i+1))
    		}
    
    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)
  5. cmd/sts-handlers_test.go

    		userPolicyMappingsFile: `{
      "foo": {
        "version": 0,
        "policy": "readwrite",
        "updatedAt": "2024-04-23T21:34:43.815519816Z"
      }
    }
    `,
    		// Contains:
    		//
    		// 1. duplicate mapping with same policy, we should not error out;
    		//
    		// 2. non-LDAP group mapping, we should not error out;
    		groupPolicyMappingsFile: `{
        "cn=project.c,ou=groups,ou=swengg,DC=min,dc=io": {
            "version": 0,
    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)
  6. cmd/object-api-multipart_test.go

    		// Cases 5-7.
    		// Create parts with 3 uploadID's for the same object.
    		// Testing for listing of all the uploadID's for given object.
    		// Insertion with 3 different uploadID's are done for same bucket and object.
    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)
  7. cmd/xl-storage.go

    	}
    
    	return s.deleteFile(volumeDir, pathJoin(volumeDir, path, xlStorageFormatFile), true, false)
    }
    
    // DeleteVersions deletes slice of versions, it can be same object
    // or multiple objects.
    func (s *xlStorage) DeleteVersions(ctx context.Context, volume string, versions []FileInfoVersions, opts DeleteOptions) []error {
    	errs := make([]error, len(versions))
    
    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)
  8. cmd/xl-storage-format-v2.go

    	}
    	ddir, err = uuid.Parse(dataDir)
    	if err != nil {
    		return 0
    	}
    	return x.SharedDataDirCount(uv, ddir)
    }
    
    // AddLegacy adds a legacy version, is only called when no prior
    // versions exist, safe to use it by only one function in xl-storage(RenameData)
    func (x *xlMetaV2) AddLegacy(m *xlMetaV1Object) error {
    	if !m.valid() {
    		return errFileCorrupt
    	}
    	m.VersionID = nullVersionID
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  9. cmd/bucket-handlers.go

    			return
    		}
    		maxParts--
    
    		name := part.FormName()
    		if name == "" {
    			continue
    		}
    
    		fileName = part.FileName()
    
    		// Multiple values for the same key (one map entry, longer slice) are cheaper
    		// than the same number of values for different keys (many map entries), but
    		// using a consistent per-value cost for overhead is simpler.
    		maxMemoryBytes := 2 * int64(10<<20)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    	"net/url"
    	"os"
    	slashpath "path"
    	"runtime"
    	"strings"
    	"syscall"
    	"testing"
    
    	"github.com/google/uuid"
    )
    
    func TestCheckPathLength(t *testing.T) {
    	// Check path length restrictions are not same on windows/darwin
    	if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
    		t.Skip()
    	}
    
    	testCases := []struct {
    		path        string
    		expectedErr error
    	}{
    		{".", errFileAccessDenied},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top