Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for topo (0.12 sec)

  1. cmd/metacache-set.go

    					break
    				}
    			}
    			w.CloseWithError(werr)
    		}()
    	}
    
    	topEntries := make(metaCacheEntries, len(readers))
    	errs := make([]error, len(readers))
    	for {
    		// Get the top entry from each
    		var current metaCacheEntry
    		var atEOF, fnf, vnf, hasErr, agree int
    		for i := range topEntries {
    			topEntries[i] = metaCacheEntry{}
    		}
    		if contextCanceled(ctx) {
    			return ctx.Err()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. internal/auth/credentials.go

    //
    // GenerateAccessKey returns an error if length is too small for a valid
    // access key.
    func GenerateAccessKey(length int, random io.Reader) (string, error) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if length <= 0 {
    		length = accessKeyMaxLen
    	}
    	if length < accessKeyMinLen {
    		return "", errors.New("auth: access key length is too short")
    	}
    
    	key := make([]byte, length)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    					}
    					custom["success_versions"] = fmt.Sprint(successVersions)
    					custom["failed_versions"] = fmt.Sprint(failVersions)
    				},
    				// Too many disks failed.
    				finished: func(errs []error) {
    					if f.dataUsageScannerDebug {
    						console.Debugf(healObjectsPrefix+" too many errors: %v\n", errs)
    					}
    					cancel()
    				},
    			})
    
    			stopFn()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  4. cmd/metrics-v3.go

    import (
    	"slices"
    	"strings"
    
    	"github.com/prometheus/client_golang/prometheus"
    	"github.com/prometheus/client_golang/prometheus/collectors"
    )
    
    // Collector paths.
    //
    // These are paths under the top-level /minio/metrics/v3 metrics endpoint. Each
    // of these paths returns a set of V3 metrics.
    //
    // Per-bucket metrics endpoints always start with /bucket and the bucket name is
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    	})
    	if err != nil {
    		return nil, nil, err
    	}
    
    	format, err := loadFormatErasure(disk, false)
    	if err != nil {
    		if errors.Is(err, errUnformattedDisk) {
    			info, derr := disk.DiskInfo(context.TODO(), DiskInfoOptions{})
    			if derr != nil && info.RootDisk {
    				disk.Close()
    				return nil, nil, fmt.Errorf("Drive: %s is a root drive", disk)
    			}
    		}
    		disk.Close()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  6. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foxdir/fooobject/foo.txt",
    			objectModTime:  time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago
    			expectedAction: DeleteAction,
    		},
    		// Too early to remove (test Days)
    		{
    			inputConfig:    `<LifecycleConfiguration><Rule><Filter><Prefix>foodir/</Prefix></Filter><Status>Enabled</Status><Expiration><Days>5</Days></Expiration></Rule></LifecycleConfiguration>`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. cmd/server-main.go

    	// we wrap the underlying error, make sure when you
    	// are modifying this code that you do so, if and when
    	// you want to add extra context to your error. This
    	// ensures top level retry works accordingly.
    
    	// Initialize config system.
    	if err := globalConfigSys.Init(newObject); err != nil {
    		if configRetriableErrors(err) {
    			return fmt.Errorf("Unable to initialize config system: %w", err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top