forked from TrueCloudLab/frostfs-sdk-go
[#19] transformer: Move EpochSource
to other types
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
51bad6dfdb
commit
4917a71855
2 changed files with 5 additions and 5 deletions
|
@ -1,5 +0,0 @@
|
|||
package transformer
|
||||
|
||||
type EpochSource interface {
|
||||
CurrentEpoch() uint64
|
||||
}
|
|
@ -16,6 +16,11 @@ type AccessIdentifiers struct {
|
|||
ParentHeader *object.Object
|
||||
}
|
||||
|
||||
// EpochSource is a source for the current epoch.
|
||||
type EpochSource interface {
|
||||
CurrentEpoch() uint64
|
||||
}
|
||||
|
||||
// ObjectTarget is an interface of the object writer.
|
||||
type ObjectTarget interface {
|
||||
// WriteHeader writes object header w/ payload part.
|
||||
|
|
Loading…
Reference in a new issue