interface
UploadObjectLocker
Serialize object-key adoption and destructive deletion across processes.
Properties
| Property | Type | Description |
|---|---|---|
LockUploadObjects | func(context.Context, | The LockUploadObjects value. |
How it works
Upload-enabled applications require this capability. Acquire keys deterministically and hold them until release or transaction completion.
Full signature
type UploadObjectLocker interface {
LockUploadObjects(context.Context, []string) (release func(), err error)
}