Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Mets (0.16 sec)

  1. cmd/bucket-targets.go

    	sys.hMutex.RLock()
    	defer sys.hMutex.RUnlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    		return !h.Online
    	}
    	go sys.initHC(ep)
    	return false
    }
    
    // markOffline sets endpoint to offline if network i/o timeout seen.
    func (sys *BucketTargetSys) markOffline(ep *url.URL) {
    	sys.hMutex.Lock()
    	defer sys.hMutex.Unlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    		h.Online = false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/iam.go

    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	return sys.store.ListPolicyDocs(ctx, bucketName)
    }
    
    // SetPolicy - sets a new named policy.
    func (sys *IAMSys) SetPolicy(ctx context.Context, policyName string, p policy.Policy) (time.Time, error) {
    	if !sys.Initialized() {
    		return time.Time{}, 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)
  3. cmd/erasure-server-pool.go

    // Return the disks belonging to the poolIdx, and setIdx.
    func (z *erasureServerPools) GetDisks(poolIdx, setIdx int) ([]StorageAPI, error) {
    	if poolIdx < len(z.serverPools) && setIdx < len(z.serverPools[poolIdx].sets) {
    		return z.serverPools[poolIdx].sets[setIdx].getDisks(), nil
    	}
    	return nil, fmt.Errorf("Matching pool %s, set %s not found", humanize.Ordinal(poolIdx+1), humanize.Ordinal(setIdx+1))
    }
    
    // Return the count of disks in each pool
    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/erasure-server-pool-rebalance.go

    	workerSize, err := env.GetInt(envRebalanceWorkers, len(pool.sets))
    	if err != nil {
    		rebalanceLogIf(ctx, fmt.Errorf("invalid workers value err: %v, defaulting to %d", err, len(pool.sets)))
    		workerSize = len(pool.sets)
    	}
    
    	// Each decom worker needs one List() goroutine/worker
    	// add that many extra workers.
    	workerSize += len(pool.sets)
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	objInfo, err := getObjectInfo(ctx, bucket, object, gopts)
    	if err != nil {
    		// Versioning enabled quite possibly object is deleted might be delete-marker
    		// if present set the headers, no idea why AWS S3 sets these headers.
    		if objInfo.VersionID != "" && objInfo.DeleteMarker {
    			w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    			w.Header()[xhttp.AmzDeleteMarker] = []string{strconv.FormatBool(objInfo.DeleteMarker)}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. cmd/testdata/undeleteable-object.tgz

    multisitea/data/disterasure/xl3/.minio.sys/._format.json multisitea/data/disterasure/xl3/.minio.sys/format.json {"version":"1","format":"xl","id":"88d75d7b-222c-4255-82c2-f047b5d68b9d","xl":{"version":"3","this":"507883a8-3567-4dce-b90d-08893bdaa5fb","sets":[["60b77054-b260-434a-bed2-06ef0b145994","571ec176-9a89-48b5-b30e-c71d01b95835","507883a8-3567-4dce-b90d-08893bdaa5fb","67b057a5-863e-492e-bf44-6fd72ffb6058","6181a66d-5803-48d6-97cf-8a36ab05f8f3","780560a7-d2e2-48ca-adb5-cb9922983758","d63f20aa-...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  7. cmd/update.go

    	return err == nil
    }
    
    // IsDCOS returns true if minio is running in DCOS.
    func IsDCOS() bool {
    	// http://mesos.apache.org/documentation/latest/docker-containerizer/
    	// Mesos docker containerizer sets this value
    	return env.Get("MESOS_CONTAINER_NAME", "") != ""
    }
    
    // IsKubernetes returns true if minio is running in kubernetes.
    func IsKubernetes() bool {
    	// Kubernetes env used to validate if we are
    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)
  8. cmd/sts-handlers_test.go

    	s.RestartIAMSuite(c)
    }
    
    // SetUpLDAPWithNonNormalizedBaseDN - expects to setup an LDAP test server using
    // the test LDAP container and canned data from
    // https://github.com/minio/minio-ldap-testing
    //
    // Sets up non-normalized base DN configuration for testing.
    func (s *TestSuiteIAM) SetUpLDAPWithNonNormalizedBaseDN(c *check, serverAddr string) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    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)
  9. docs/debugging/xl-meta/main.go

    	for i := range filled {
    		if filled[i] == 1 {
    			lastValid = i
    		} else {
    			missing++
    		}
    	}
    	if missing > 0 && len(parityData) > 0 {
    		fmt.Println("Attempting to reconstruct using parity sets:")
    		for k, v := range parityData {
    			if missing == 0 {
    				break
    			}
    			fmt.Println("* Setup: Data shards:", k, "- Parity blocks:", len(v))
    			rs, err := reedsolomon.New(k, shards-k)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  10. cmd/api-errors.go

    func getAPIError(code APIErrorCode) APIError {
    	if apiErr, ok := errorCodes[code]; ok {
    		return apiErr
    	}
    	return errorCodes.ToAPIErr(ErrInternalError)
    }
    
    // getErrorResponse gets in standard error and resource value and
    // provides a encodable populated response values
    func getAPIErrorResponse(ctx context.Context, err APIError, resource, requestID, hostID string) APIErrorResponse {
    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)
Back to top