Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOnlyWalName ¶
Types ¶
type ArchiveStatusManager ¶
type ArchiveStatusManager interface { IsWalAlreadyUploaded(string) bool MarkWalUploaded(string) error UnmarkWalFile(string) error }
func NewNopASM ¶
func NewNopASM() ArchiveStatusManager
type DataFolderASM ¶
type DataFolderASM struct {
// contains filtered or unexported fields
}
func NewDataFolderASM ¶
func NewDataFolderASM(folder fsutil.DataFolder) DataFolderASM
func (DataFolderASM) IsWalAlreadyUploaded ¶
func (asm DataFolderASM) IsWalAlreadyUploaded(walFilePath string) bool
func (DataFolderASM) MarkWalUploaded ¶
func (asm DataFolderASM) MarkWalUploaded(walFilePath string) error
func (DataFolderASM) UnmarkWalFile ¶
func (asm DataFolderASM) UnmarkWalFile(walFilePath string) error
type FakeASM ¶
type FakeASM struct {
// contains filtered or unexported fields
}
func NewFakeASM ¶
func NewFakeASM() *FakeASM
func (*FakeASM) IsWalAlreadyUploaded ¶
func (*FakeASM) MarkWalUploaded ¶
func (*FakeASM) UnmarkWalFile ¶
func (*FakeASM) WalAlreadyUploaded ¶
WalAlreadyUploaded is used for testing
type NopASM ¶
type NopASM struct{}
func (NopASM) IsWalAlreadyUploaded ¶
func (NopASM) MarkWalUploaded ¶
func (NopASM) UnmarkWalFile ¶
Click to show internal directories.
Click to hide internal directories.