Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for define (0.14 sec)

  1. cmd/metrics.go

    	prometheus.MustRegister(minioVersionInfo)
    }
    
    // newMinioCollector describes the collector
    // and returns reference of minioCollector
    // It creates the Prometheus Description which is used
    // to define metric and  help string
    func newMinioCollector() *minioCollector {
    	return &minioCollector{
    		desc: prometheus.NewDesc("minio_stats", "Statistics exposed by MinIO server", nil, nil),
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  2. internal/logger/logrotate.go

    	return fmt.Sprintf("minio-%s.log", fmt.Sprintf("%X", time.Now().UTC().UnixNano()))
    }
    
    // Options define configuration options for Writer
    type Options struct {
    	// Directory defines the directory where log files will be written to.
    	// If the directory does not exist, it will be created.
    	Directory string
    
    	// MaximumFileSize defines the maximum size of each log file in bytes.
    	MaximumFileSize int64
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. cmd/data-usage_test.go

    	files := []usageTestFile{
    		{name: "rootfile", size: 10000},
    		{name: "rootfile2", size: 10000},
    		{name: "dir1/d1file", size: 2000},
    		{name: "dir2/d2file", size: 300},
    		{name: "dir1/dira/dafile", size: 100000},
    		{name: "dir1/dira/dbfile", size: 200000},
    		{name: "dir1/dira/dirasub/dcfile", size: 1000000},
    		{name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10},
    	}
    	createUsageTestFiles(t, base, bucket, files)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    	wg.Wait()
    }
    
    // newMinioResourceCollector describes the collector
    // and returns reference of minio resource Collector
    // It creates the Prometheus Description which is used
    // to define Metric and  help string
    func newMinioResourceCollector(metricsGroups []*MetricsGroupV2) *minioResourceCollector {
    	return &minioResourceCollector{
    		metricsGroups: metricsGroups,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    	}
    	return
    }
    
    // newMinioCollectorNode describes the collector
    // and returns reference of minioCollector for version 2
    // It creates the Prometheus Description which is used
    // to define Metric and  help string
    func newMinioCollectorNode(metricsGroups []*MetricsGroupV2) *minioNodeCollector {
    	return &minioNodeCollector{
    		metricsGroups: metricsGroups,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  6. cmd/erasure-object_test.go

    	defer cancel()
    
    	err := obj.MakeBucket(ctx, bucket, MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("Failed to make a bucket %v", err)
    	}
    
    	// Object for test case 1 - No StorageClass defined, no MetaData in PutObject
    	object1 := "object1"
    	globalStorageClass.Update(storageclass.Config{
    		RRS: storageclass.StorageClass{
    			Parity: 2,
    		},
    		Standard: storageclass.StorageClass{
    			Parity: 4,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  7. cmd/iam.go

    		if len(unknownPoliciesSet) > 0 {
    			authz := newGlobalAuthZPluginFn()
    			if authz == nil {
    				// Print a warning that some policies mapped to a role are not defined.
    				errMsg := fmt.Errorf(
    					"The policies \"%s\" mapped to role ARN %s are not defined - this role may not work as expected.",
    					unknownPoliciesSet.ToSlice(), arn.String())
    				authZLogIf(ctx, errMsg, logger.WarningKind)
    			}
    		}
    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)
  8. 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,
    	},
    	ErrFilterNameInvalid: {
    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)
  9. cmd/config-current.go

    			Optional:    true,
    		},
    	}
    
    	if globalIsErasure {
    		helpSubSys = append(helpSubSys, config.HelpKV{
    			Key:         config.StorageClassSubSys,
    			Description: "define object level redundancy",
    		}, config.HelpKV{
    			Key:         config.HealSubSys,
    			Description: "manage object healing frequency and bitrot verification checks",
    		})
    	}
    
    	helpMap := map[string]config.HelpKVS{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    		if err != nil {
    			return nil, 0, 0, err
    		}
    		var decRangeLength int64
    		decRangeLength, err = rs.GetLength(decSize)
    		if err != nil {
    			return nil, 0, 0, err
    		}
    
    		// We define a closure that performs decryption given
    		// a reader that returns the desired range of
    		// encrypted bytes. The header parameter is used to
    		// provide encryption parameters.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
Back to top