Documentation
¶
Index ¶
- func CreateCollections[I chatsItemer](ctx context.Context, bpc inject.BackupProducerConfig, bh backupHandler[I], ...) ([]data.BackupCollection, bool, error)
- func DeserializeMetadataFiles(ctx context.Context, colls []data.RestoreCollection) ([]store.MetadataFile, error)
- func NewCollection[I chatsItemer](baseCol data.BaseCollection, getAndAugment getItemAndAugmentInfoer[I], ...) data.BackupCollection
- func NewUsersChatsBackupHandler(tenantID, protectedResourceID string, ac api.Chats) usersChatsBackupHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCollections ¶
func CreateCollections[I chatsItemer]( ctx context.Context, bpc inject.BackupProducerConfig, bh backupHandler[I], tenantID string, scope selectors.TeamsChatsScope, statusUpdater support.StatusUpdater, useLazyReader bool, counter *count.Bus, errs *fault.Bus, ) ([]data.BackupCollection, bool, error)
func DeserializeMetadataFiles ¶
func DeserializeMetadataFiles( ctx context.Context, colls []data.RestoreCollection, ) ([]store.MetadataFile, error)
func NewCollection ¶
func NewCollection[I chatsItemer]( baseCol data.BaseCollection, getAndAugment getItemAndAugmentInfoer[I], protectedResource string, items []I, contains container[I], statusUpdater support.StatusUpdater, ) data.BackupCollection
State of the collection is set as an observation of the current and previous paths. If the curr path is nil, the state is assumed to be deleted. If the prev path is nil, it is assumed newly created. If both are populated, then state is either moved (if they differ), or notMoved (if they match).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.