Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketScope ¶
type DrsObjectRecord ¶
type DrsObjectRecord struct {
ID string
Size int64
CreatedTime time.Time
UpdatedTime time.Time
Name string
Version string
Description string
}
DrsObjectRecord mirrors the subset of drs_object columns returned by storage queries.
type DrsObjectWithAuthz ¶
type DrsObjectWithAuthz = InternalObject
DrsObjectWithAuthz is a compatibility alias for InternalObject.
type FileUsage ¶
type FileUsage struct {
ObjectID string
Name string
Size int64
UploadCount int64
DownloadCount int64
LastUploadTime *time.Time
LastDownloadTime *time.Time
LastAccessTime *time.Time
}
FileUsage captures per-object transfer activity that can drive lifecycle policies.
type FileUsageSummary ¶
type FileUsageSummary struct {
TotalFiles int64
TotalUploads int64
TotalDownloads int64
InactiveFileCount int64
}
FileUsageSummary aggregates transfer activity for a set of objects.
type InternalObject ¶
type InternalObject struct {
drs.DrsObject
Authorizations []string `json:"authorizations,omitempty"`
Properties map[string]interface{} `json:"-"`
}
InternalObject is the primary DRS domain model. It wraps the GA4GH DrsObject and adds Syfon-specific authorization metadata.
func (InternalObject) External ¶
func (o InternalObject) External() drs.DrsObject
func (InternalObject) MarshalJSON ¶
func (o InternalObject) MarshalJSON() ([]byte, error)
func (*InternalObject) UnmarshalJSON ¶
func (o *InternalObject) UnmarshalJSON(data []byte) error
type PendingLFSMeta ¶
type PendingLFSMeta struct {
OID string
Candidate drs.DrsObjectCandidate
CreatedAt time.Time
ExpiresAt time.Time
}
PendingLFSMeta stores a staged LFS metadata packet keyed by object checksum. It is submitted before transfer and consumed at verify-time.
Click to show internal directories.
Click to hide internal directories.