Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Reference (0.18 sec)

  1. internal/event/name.go

    // Refer http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations
    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    	// Single event types (does not require expansion)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/format-erasure.go

    	for i := range reference.Erasure.Sets {
    		if len(reference.Erasure.Sets[i]) != len(format.Erasure.Sets[i]) {
    			return fmt.Errorf("Each set should be of same size, expected %d got %d",
    				len(reference.Erasure.Sets[i]), len(format.Erasure.Sets[i]))
    		}
    		for j := range reference.Erasure.Sets[i] {
    			if reference.Erasure.Sets[i][j] != format.Erasure.Sets[i][j] {
    				return fmt.Errorf("UUID on positions %d:%d do not match with, expected %s got %s: (%w)",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. cmd/metrics.go

    func init() {
    	prometheus.MustRegister(httpRequestsDuration)
    	prometheus.MustRegister(newMinioCollector())
    	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{
    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)
  4. cmd/metrics-realtime.go

    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (loadStat)", byHostName, err.Error()))
    		} else {
    			m.Aggregated.CPU.LoadStat = loadStat
    		}
    	}
    	// Add types...
    
    	// ByHost is a shallow reference, so careful about sharing.
    	m.ByHost = map[string]madmin.Metrics{byHostName: m.Aggregated}
    	m.Hosts = append(m.Hosts, byHostName)
    
    	return m
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnsupportedSQLStructure: {
    		Code:           "UnsupportedSqlStructure",
    		Description:    "Encountered an unsupported SQL structure. Check the SQL Reference.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnsupportedSyntax: {
    		Code:           "UnsupportedSyntax",
    		Description:    "Encountered invalid syntax.",
    		HTTPStatusCode: http.StatusBadRequest,
    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/erasure-server-pool.go

    		if dstOpts.Versioned && srcOpts.VersionID != dstOpts.VersionID && !srcInfo.Legacy {
    			// CopyObject optimization where we don't create an entire copy
    			// of the content, instead we add a reference.
    			srcInfo.versionOnly = true
    			return z.serverPools[poolIdx].CopyObject(ctx, srcBucket, srcObject, dstBucket, dstObject, srcInfo, srcOpts, dstOpts)
    		}
    	}
    
    	putOpts := ObjectOptions{
    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)
  7. cmd/format-erasure_test.go

    		}
    	}
    
    	// Return a format from list of formats in quorum.
    	quorumFormat, err := getFormatErasureInQuorum(formats)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Check if the reference format and input formats are same.
    	if err = formatErasureV3Check(quorumFormat, formats[0]); err != nil {
    		t.Fatal(err)
    	}
    
    	// QuorumFormat has .This field empty on purpose, expect a failure.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    	for l, v := range labelsWithValue {
    		labels = append(labels, l)
    		values = append(values, v)
    	}
    	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 {
    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)
  9. cmd/metrics-resource.go

    	go publish(ReportMetrics(GlobalContext, c.metricsGroups))
    	go publish(globalNotificationSys.GetResourceMetrics(GlobalContext))
    	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 {
    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)
  10. cmd/tier.go

    		return nil
    	}
    
    	config.RLock()
    	defer config.RUnlock()
    
    	var tierCfgs []madmin.TierConfig
    	for _, tier := range config.Tiers {
    		// This makes a local copy of tier config before
    		// passing a reference to it.
    		tier := tier.Clone()
    		tierCfgs = append(tierCfgs, tier)
    	}
    	return tierCfgs
    }
    
    // Edit replaces the credentials of the remote tier specified by tierName with creds.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top