teamschats

package
v0.0.0-...-880cb89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

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).

func NewUsersChatsBackupHandler

func NewUsersChatsBackupHandler(
	tenantID, protectedResourceID string,
	ac api.Chats,
) usersChatsBackupHandler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL