Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for define (0.15 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. 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)
  3. 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)
  4. 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)
  5. internal/config/identity/openid/openid.go

    			return c, err
    		}
    
    		arnKey := p.roleArn
    		if p.RolePolicy == "" {
    			arnKey = DummyRoleARN
    			// Ensure that at most one JWT policy claim based provider may be
    			// defined.
    			if _, ok := c.arnProviderCfgsMap[DummyRoleARN]; ok {
    				return c, errSingleProvider
    			}
    		}
    
    		c.arnProviderCfgsMap[arnKey] = &p
    		c.ProviderCfgs[cfgName] = &p
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  6. internal/s3select/sql/value.go

    		a.setFloat(f)
    		return nil
    	}
    
    	err := fmt.Errorf("Could not convert %q to a number", string(a.value.([]byte)))
    	return errInvalidDataType(err)
    }
    
    // All the bytesTo* functions defined below assume the value is a byte-slice.
    
    // Converts untyped value into int. The bool return implies success -
    // it returns false only if there is a conversion failure.
    func (v Value) bytesToInt() (int64, bool) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. cmd/batch-rotate.go

    //go:generate msgp -file $GOFILE -unexported
    
    // BatchKeyRotationType defines key rotation type
    type BatchKeyRotationType string
    
    const (
    	sses3  BatchKeyRotationType = "sse-s3"
    	ssekms BatchKeyRotationType = "sse-kms"
    )
    
    // BatchJobKeyRotateEncryption defines key rotation encryption options passed
    type BatchJobKeyRotateEncryption struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. cmd/object-api-datatypes.go

    	CacheControl string
    
    	// Specify object storage class
    	StorageClass string
    
    	ReplicationStatusInternal string
    	ReplicationStatus         replication.StatusType
    	// User-Defined metadata
    	UserDefined map[string]string
    
    	// User-Defined object tags
    	UserTags string
    
    	// List of individual parts, maximum size of upto 10,000
    	Parts []ObjectPartInfo `json:"-"`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
Back to top