Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for Goldis (0.16 sec)

  1. internal/bucket/bandwidth/monitor.go

    import (
    	"context"
    	"sync"
    	"time"
    
    	"golang.org/x/time/rate"
    )
    
    //msgp:ignore bucketThrottle Monitor
    
    type bucketThrottle struct {
    	*rate.Limiter
    	NodeBandwidthPerSec int64
    }
    
    // Monitor holds the state of the global bucket monitor
    type Monitor struct {
    	tlock sync.RWMutex // mutex for bucket throttling
    	mlock sync.RWMutex // mutex for bucket measurement
    
    	bucketsThrottle    map[BucketOptions]*bucketThrottle
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. cmd/last-minute.go

    		return "LESS_THAN_100_MiB"
    	case sizeLessThan1GiB:
    		return "LESS_THAN_1_GiB"
    	case sizeGreaterThan1GiB:
    		return "GREATER_THAN_1_GiB"
    	default:
    		return "unknown"
    	}
    }
    
    // AccElem holds information for calculating an average value
    type AccElem struct {
    	Total int64
    	Size  int64
    	N     int64
    }
    
    // Add a duration to a single element.
    func (a *AccElem) add(dur time.Duration) {
    	if dur < 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. internal/auth/credentials.go

    const (
    	// AccountOn indicates that credentials are enabled
    	AccountOn = "on"
    	// AccountOff indicates that credentials are disabled
    	AccountOff = "off"
    )
    
    // Credentials holds access and secret keys.
    type Credentials struct {
    	AccessKey    string                 `xml:"AccessKeyId" json:"accessKey,omitempty" yaml:"accessKey"`
    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)
  4. cmd/endpoint.go

    	URLEndpointType
    )
    
    // ProxyEndpoint - endpoint used for proxy redirects
    // See proxyRequest() for details.
    type ProxyEndpoint struct {
    	Endpoint
    	Transport http.RoundTripper
    }
    
    // Node holds information about a node in this cluster
    type Node struct {
    	*url.URL
    	Pools    []int
    	IsLocal  bool
    	GridHost string
    }
    
    // Endpoint - any type of endpoint.
    type Endpoint struct {
    	*url.URL
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils.go

    func (d *DeletedObject) DeleteMarkerReplicationStatus() replication.StatusType {
    	return d.ReplicationState.CompositeReplicationStatus()
    }
    
    // ResyncTargetsInfo holds a slice of targets with resync info per target
    type ResyncTargetsInfo struct {
    	Targets []ResyncTarget `json:"target,omitempty"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
  6. cmd/bucket-replication-metrics.go

    		Avg:  a.Avg,
    		Max:  a.Max,
    	}
    	return w
    }
    
    // QStat holds queue stats for replication
    type QStat struct {
    	Count float64 `json:"count"`
    	Bytes float64 `json:"bytes"`
    }
    
    func (q *QStat) add(o QStat) QStat {
    	return QStat{Bytes: q.Bytes + o.Bytes, Count: q.Count + o.Count}
    }
    
    // InQueueMetric holds queue stats for replication
    type InQueueMetric struct {
    	Curr QStat `json:"curr" msg:"cq"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  7. internal/config/lambda/config.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lambda
    
    import "github.com/minio/minio/internal/event/target"
    
    // Config - lambda target configuration structure, holds
    // information about various lambda targets.
    type Config struct {
    	Webhook map[string]target.WebhookArgs `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  8. internal/config/lambda/event/targetid.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import (
    	"encoding/json"
    	"fmt"
    	"strings"
    )
    
    // TargetID - holds identification and name strings of notification target.
    type TargetID struct {
    	ID   string
    	Name string
    }
    
    // String - returns string representation.
    func (tid TargetID) String() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. cmd/http-stats.go

    	return bucketStats
    }
    
    // delete metrics once bucket is deleted.
    func (s *bucketConnStats) delete(bucket string) {
    	s.Lock()
    	defer s.Unlock()
    
    	delete(s.stats, bucket)
    }
    
    // HTTPAPIStats holds statistics information about
    // a given API in the requests.
    type HTTPAPIStats struct {
    	apiStats map[string]int
    	sync.RWMutex
    }
    
    // Inc increments the api stats counter.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. cmd/api-datatypes.go

    	DeleteMarkerReplicationStatus string `xml:"DeleteMarkerReplicationStatus"`
    	// Status of versioned delete (of object or DeleteMarker)
    	VersionPurgeStatus VersionPurgeStatusType `xml:"VersionPurgeStatus"`
    	// VersionPurgeStatuses holds the internal
    	VersionPurgeStatuses string `xml:"VersionPurgeStatuses"`
    	// ReplicateDecisionStr stringified representation of replication decision
    	ReplicateDecisionStr string `xml:"-"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 03 09:28:52 GMT 2022
    - 3K bytes
    - Viewed (0)
Back to top