Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 188 for iota (0.13 sec)

  1. internal/logger/target/kafka/kafka.go

    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // the suffix for the configured queue dir where the logs will be persisted.
    const kafkaLoggerExtension = ".kafka.log"
    
    const (
    	statusClosed = iota
    	statusOffline
    	statusOnline
    )
    
    // Config - kafka target arguments.
    type Config struct {
    	Enabled bool        `json:"enable"`
    	Brokers []xnet.Host `json:"brokers"`
    	Topic   string      `json:"topic"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  2. cmd/admin-handlers_test.go

    	globalObjLayerMutex.Unlock()
    	return objLayer, erasureDirs, nil
    }
    
    // cmdType - Represents different service subcomands like status, stop
    // and restart.
    type cmdType int
    
    const (
    	restartCmd cmdType = iota
    	stopCmd
    )
    
    // toServiceSignal - Helper function that translates a given cmdType
    // value to its corresponding serviceSignal value.
    func (c cmdType) toServiceSignal() serviceSignal {
    	switch c {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. internal/hash/checksum.go

    type ChecksumType uint32
    
    const (
    
    	// ChecksumTrailing indicates the checksum will be sent in the trailing header.
    	// Another checksum type will be set.
    	ChecksumTrailing ChecksumType = 1 << iota
    
    	// ChecksumSHA256 indicates a SHA256 checksum.
    	ChecksumSHA256
    	// ChecksumSHA1 indicates a SHA-1 checksum.
    	ChecksumSHA1
    	// ChecksumCRC32 indicates a CRC32 checksum with IEEE table.
    	ChecksumCRC32
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    	"github.com/minio/minio/internal/logger"
    )
    
    //go:generate stringer -type=storageMetric -trimprefix=storageMetric $GOFILE
    
    type storageMetric uint8
    
    const (
    	storageMetricMakeVolBulk storageMetric = iota
    	storageMetricMakeVol
    	storageMetricListVols
    	storageMetricStatVol
    	storageMetricDeleteVol
    	storageMetricWalkDir
    	storageMetricListDir
    	storageMetricReadFile
    	storageMetricAppendFile
    	storageMetricCreateFile
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    // object should be returned by ObjectLayer.Walk method
    type WalkVersionsSortOrder uint8
    
    const (
    	// WalkVersionsSortAsc - Sort in ascending order of ModTime
    	WalkVersionsSortAsc WalkVersionsSortOrder = iota
    	// WalkVersionsSortDesc - Sort in descending order of ModTime
    	WalkVersionsSortDesc
    )
    
    // ObjectOptions represents object options for ObjectLayer object operations
    type ObjectOptions struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. internal/rest/client.go

    	xnet "github.com/minio/pkg/v2/net"
    )
    
    const logSubsys = "internodes"
    
    // DefaultTimeout - default REST timeout is 10 seconds.
    const DefaultTimeout = 10 * time.Second
    
    const (
    	offline = iota
    	online
    	closed
    )
    
    // NetworkError - error type in case of errors related to http/transport
    // for ex. connection refused, connection reset, dns resolution failure etc.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    // actions that will be implemented later.
    type Action int
    
    //go:generate stringer -type Action $GOFILE
    
    const (
    	// NoneAction means no action required after evaluating lifecycle rules
    	NoneAction Action = iota
    	// DeleteAction means the object needs to be removed after evaluating lifecycle rules
    	DeleteAction
    	// DeleteVersionAction deletes a particular version
    	DeleteVersionAction
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. cmd/metrics-v3-types.go

    	}
    	return strings.HasPrefix(descendant, arg)
    }
    
    // MetricType - represents the type of a metric.
    type MetricType int
    
    const (
    	// CounterMT - represents a counter metric.
    	CounterMT MetricType = iota
    	// GaugeMT - represents a gauge metric.
    	GaugeMT
    	// HistogramMT - represents a histogram metric.
    	HistogramMT
    )
    
    func (mt MetricType) String() string {
    	switch mt {
    	case CounterMT:
    		return "counter"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. internal/config/config.go

    // ValueSource represents the source of a config parameter value.
    type ValueSource uint8
    
    // Constants for ValueSource
    const (
    	ValueSourceAbsent ValueSource = iota // this is an error case
    	ValueSourceDef
    	ValueSourceCfg
    	ValueSourceEnv
    )
    
    // ResolveConfigParam returns the effective value of a configuration parameter,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  10. schema/relationship.go

    				relation.References = append(relation.References, &Reference{
    					PrimaryKey: rf,
    					ForeignKey: f,
    				})
    			}
    		}
    	}
    }
    
    type guessLevel int
    
    const (
    	guessGuess guessLevel = iota
    	guessBelongs
    	guessEmbeddedBelongs
    	guessHas
    	guessEmbeddedHas
    )
    
    func (schema *Schema) guessRelation(relation *Relationship, field *Field, cgl guessLevel) {
    	var (
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top