Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 65 for omitempty (0.1 sec)

  1. cmd/xl-storage-format-v2-legacy.go

    func (j *xlMetaV2Version) unmarshalV(v uint8, bts []byte) (o []byte, err error) {
    	if v > xlMetaVersion {
    		return bts, fmt.Errorf("unknown xlMetaVersion: %d", v)
    	}
    
    	// Clear omitempty fields:
    	if j.ObjectV2 != nil && len(j.ObjectV2.PartIndices) > 0 {
    		j.ObjectV2.PartIndices = j.ObjectV2.PartIndices[:0]
    	}
    	o, err = j.UnmarshalMsg(bts)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/site-replication-metrics.go

    	// Total number of completed operations
    	ReplicatedCount int64 `json:"replicatedCount"`
    	// Failed captures replication errors in various time windows
    
    	Failed madmin.TimedErrStats `json:"failed,omitempty"`
    
    	XferStats map[RMetricName]XferStats `json:"transferSummary"`
    }
    
    // SRMetricsSummary captures summary of replication counts across buckets on site
    // along with op metrics rollup.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. cmd/bucket-stats.go

    // BucketReplicationStats represents inline replication statistics
    // such as pending, failed and completed bytes in total for a bucket
    type BucketReplicationStats struct {
    	Stats map[string]*BucketReplicationStat `json:",omitempty"`
    	// Completed size in bytes
    	ReplicatedSize int64 `json:"completedReplicationSize"`
    	// Total Replica size in bytes
    	ReplicaSize int64 `json:"replicaSize"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    }
    
    // PolicyDoc represents an IAM policy with some metadata.
    type PolicyDoc struct {
    	Version    int `json:",omitempty"`
    	Policy     policy.Policy
    	CreateDate time.Time `json:",omitempty"`
    	UpdateDate time.Time `json:",omitempty"`
    }
    
    func newPolicyDoc(p policy.Policy) PolicyDoc {
    	now := UTCNow().Round(time.Millisecond)
    	return PolicyDoc{
    		Version:    1,
    		Policy:     p,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/lifecycle.go

    // Lifecycle - Configuration for bucket lifecycle.
    type Lifecycle struct {
    	XMLName         xml.Name   `xml:"LifecycleConfiguration"`
    	Rules           []Rule     `xml:"Rule"`
    	ExpiryUpdatedAt *time.Time `xml:"ExpiryUpdatedAt,omitempty"`
    }
    
    // HasTransition returns 'true' if lifecycle document has Transition enabled.
    func (lc Lifecycle) HasTransition() bool {
    	for _, rule := range lc.Rules {
    		if rule.Transition.IsEnabled() {
    			return true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. cmd/metacache-stream.go

    	w.wg.Wait()
    	return w.streamErr
    }
    
    type metacacheBlock struct {
    	data  []byte
    	n     int
    	First string `json:"f"`
    	Last  string `json:"l"`
    	EOS   bool   `json:"eos,omitempty"`
    }
    
    func (b metacacheBlock) headerKV() map[string]string {
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	v, err := json.Marshal(b)
    	if err != nil {
    		bugLogIf(context.Background(), err) // Unlikely
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    	Err           string                        `json:"err,omitempty"`
    	WaitingDrives map[string]madmin.DiskMetrics `json:"waitingDrives,omitempty"`
    }
    
    type serviceResult struct {
    	Action  madmin.ServiceAction `json:"action"`
    	DryRun  bool                 `json:"dryRun"`
    	Results []servicePeerResult  `json:"results,omitempty"`
    }
    
    // ServiceV2Handler - POST /minio/admin/v3/service?action={action}&type=2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  8. cmd/data-usage-cache.go

    	DeleteMarkers uint64            `msg:"dms"`
    	ObjSizes      sizeHistogram     `msg:"szs"`
    	ObjVersions   versionsHistogram `msg:"vh"`
    	AllTierStats  *allTierStats     `msg:"ats,omitempty"`
    	Compacted     bool              `msg:"c"`
    }
    
    // allTierStats is a collection of per-tier stats across all configured remote
    // tiers.
    type allTierStats struct {
    	Tiers map[string]tierStats `msg:"ts"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. cmd/admin-heal-ops.go

    // healSequenceStatus - accumulated status of the heal sequence
    type healSequenceStatus struct {
    	// summary and detail for failures
    	Summary       healStatusSummary `json:"Summary"`
    	FailureDetail string            `json:"Detail,omitempty"`
    	StartTime     time.Time         `json:"StartTime"`
    
    	// settings for the heal sequence
    	HealSettings madmin.HealOpts `json:"Settings"`
    
    	// slice of available heal result records
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom.go

    	CmdLine      string                `json:"cmdline" msg:"cl"`
    	LastUpdate   time.Time             `json:"lastUpdate" msg:"lu"`
    	Decommission *PoolDecommissionInfo `json:"decommissionInfo,omitempty" msg:"dec"`
    }
    
    // Clone returns a copy of PoolStatus
    func (ps PoolStatus) Clone() PoolStatus {
    	return PoolStatus{
    		ID:           ps.ID,
    		CmdLine:      ps.CmdLine,
    		LastUpdate:   ps.LastUpdate,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top