Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLeaseMarshalingUploader ¶
func NewLeaseMarshalingUploader[TReference, TLease any](base object.Uploader[TReference, TLease], marshaler LeaseMarshaler[TLease]) object.Uploader[TReference, []byte]
NewLeaseMarshalingUploader creates a decorator for object.Uploader that converts leases in the format of byte slices from/to the native representation of the storage backend. This is typically needed if a storage backend is exposed via the network.
Types ¶
type LeaseMarshaler ¶
type LeaseMarshalerForTesting ¶
type LeaseMarshalerForTesting LeaseMarshaler[any]
Click to show internal directories.
Click to hide internal directories.