Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Spring (0.24 sec)

  1. cmd/erasure-server-pool.go

    // Errors are ignored, only errors from the callback are returned.
    // For now only direct file paths are supported.
    func (z *erasureServerPools) GetRawData(ctx context.Context, volume, file string, fn func(r io.Reader, host string, disk string, filename string, info StatInfo) error) error {
    	found := 0
    	for _, s := range z.serverPools {
    		for _, set := range s.sets {
    			for _, disk := range set.getDisks() {
    				if disk == OfflineDisk {
    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)
  2. cmd/erasure-object.go

    			}, index)
    		}
    
    		rmDisks := make(map[string]string, len(disks))
    		for index, err := range g.Wait() {
    			var errStr, diskName string
    			if err != nil {
    				errStr = err.Error()
    			} else {
    				errStr = "<nil>"
    			}
    			if disks[index] != nil {
    				diskName = disks[index].String()
    			} else {
    				diskName = fmt.Sprintf("disk-%d", index)
    			}
    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/iam.go

    func (sys *IAMSys) ListPolicies(ctx context.Context, bucketName string) (map[string]policy.Policy, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	return sys.store.ListPolicies(ctx, bucketName)
    }
    
    // ListPolicyDocs - lists all canned policy docs.
    func (sys *IAMSys) ListPolicyDocs(ctx context.Context, bucketName string) (map[string]PolicyDoc, error) {
    	if !sys.Initialized() {
    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)
  4. cmd/sts-handlers_test.go

    				suite.TearDownSuite(c)
    			},
    		)
    	}
    }
    
    type iamTestContent struct {
    	policies                map[string][]byte
    	ldapUserPolicyMappings  map[string][]string
    	ldapGroupPolicyMappings map[string][]string
    }
    
    func (s *TestSuiteIAM) TestIAMExport(c *check, caseNum int, content iamTestContent) []byte {
    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)
  5. cmd/api-errors.go

    // APIError structure
    type APIError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    	ObjectSize     string
    	RangeRequested string
    }
    
    // APIErrorResponse - error response format
    type APIErrorResponse struct {
    	XMLName          xml.Name `xml:"Error" json:"-"`
    	Code             string
    	Message          string
    	Key              string `xml:"Key,omitempty" json:"Key,omitempty"`
    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)
  6. cmd/xl-storage.go

    		}
    	}
    
    	return w, nil
    }
    
    func (s *xlStorage) openFileSync(filePath string, mode int, skipParent string) (f *os.File, err error) {
    	return s.openFile(filePath, mode|writeMode, skipParent)
    }
    
    func (s *xlStorage) openFile(filePath string, mode int, skipParent string) (f *os.File, err error) {
    	if skipParent == "" {
    		skipParent = s.drivePath
    	}
    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)
  7. cmd/iam-store.go

    	loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error
    	loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, retries int) error
    	loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error
    	loadUser(ctx context.Context, user string, userType IAMUserType, m map[string]UserIdentity) error
    	loadUsers(ctx context.Context, userType IAMUserType, m map[string]UserIdentity) error
    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)
  8. cmd/object-api-listobjects_test.go

    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    	}
    
    	var err error
    	testObjects := []struct {
    		parentBucket string
    		name         string
    		content      string
    		meta         map[string]string
    	}{
    		{testBuckets[0], "Asia-maps.png", "asis-maps", map[string]string{"content-type": "image/png"}},
    		{testBuckets[0], "Asia/India/India-summer-photos-1", "contentstring", nil},
    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)
  9. cmd/test-utils_test.go

    func getListBucketURL(endPoint string) string {
    	return makeTestTargetURL(endPoint, "", "", url.Values{})
    }
    
    // return URL for HEAD on the bucket.
    func getHEADBucketURL(endPoint, bucketName string) string {
    	return makeTestTargetURL(endPoint, bucketName, "", url.Values{})
    }
    
    // return URL for deleting the bucket.
    func getDeleteBucketURL(endPoint, bucketName string) string {
    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)
  10. cmd/batch-handlers.go

    	}
    }
    
    func (m *batchJobMetrics) delete(jobID string) {
    	m.Lock()
    	defer m.Unlock()
    
    	delete(m.metrics, jobID)
    }
    
    func (m *batchJobMetrics) save(jobID string, ri *batchJobInfo) {
    	m.Lock()
    	defer m.Unlock()
    
    	m.metrics[jobID] = ri.clone()
    }
    
    type objTraceInfoer interface {
    	TraceObjName() string
    	TraceVersionID() string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top