Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for VersionPurgeStatusType (0.21 sec)

  1. cmd/bucket-replication-utils.go

    	// Failed - versioned delete replication failed.
    	Failed VersionPurgeStatusType = "FAILED"
    )
    
    // Empty returns true if purge status was not set.
    func (v VersionPurgeStatusType) Empty() bool {
    	return string(v) == ""
    }
    
    // Pending returns true if the version is pending purge.
    func (v VersionPurgeStatusType) Pending() bool {
    	return v == Pending || v == Failed
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    	AccTime time.Time
    
    	Legacy bool // indicates object on disk is in legacy data format
    
    	// internal representation of version purge status
    	VersionPurgeStatusInternal string
    	VersionPurgeStatus         VersionPurgeStatusType
    
    	replicationDecision string // internal representation of replication decision for use by DeleteObject handler
    	// The total count of all versions of this object
    	NumVersions int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils_gen.go

    // DecodeMsg implements msgp.Decodable
    func (z *VersionPurgeStatusType) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 string
    		zb0001, err = dc.ReadString()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = VersionPurgeStatusType(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z VersionPurgeStatusType) EncodeMsg(en *msgp.Writer) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  4. cmd/api-datatypes.go

    	ObjectV
    	// Replication status of DeleteMarker
    	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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    	return o.DeleteReplication.CompositeReplicationStatus()
    }
    
    // VersionPurgeStatus - returns version purge status from DeleteReplication state in ObjectOptions
    func (o *ObjectOptions) VersionPurgeStatus() VersionPurgeStatusType {
    	return o.DeleteReplication.CompositeVersionPurgeStatus()
    }
    
    // SetDeleteReplicationState sets the delete replication options.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    				return true
    			}
    		}
    	}
    	return false
    }
    
    // VersionPurgeStatus returns overall version purge status for this object version across targets
    func (fi *FileInfo) VersionPurgeStatus() VersionPurgeStatusType {
    	return fi.ReplicationState.CompositeVersionPurgeStatus()
    }
    
    // ReplicationStatus returns overall version replication status for this object version across targets
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes_gen.go

    			}
    			if z.TargetPurgeStatuses == nil {
    				z.TargetPurgeStatuses = make(map[string]VersionPurgeStatusType, zb0003)
    			} else if len(z.TargetPurgeStatuses) > 0 {
    				for key := range z.TargetPurgeStatuses {
    					delete(z.TargetPurgeStatuses, key)
    				}
    			}
    			for zb0003 > 0 {
    				var za0003 string
    				var za0004 VersionPurgeStatusType
    				zb0003--
    				za0003, bts, err = msgp.ReadStringBytes(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
Back to top