```release-note A batchSize option has been added to the mattermost export CLI command to limit the number of items exported. By default, if it is not included, it exports all the posts. ``` https://mattermost.atlassian.net/browse/MM-38698 Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
16 строки
426 B
Go
16 строки
426 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package einterfaces
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/mattermost/mattermost-server/v6/model"
|
|
)
|
|
|
|
type MessageExportInterface interface {
|
|
StartSynchronizeJob(ctx context.Context, exportFromTimestamp int64) (*model.Job, *model.AppError)
|
|
RunExport(format string, since int64, limit int) (int64, *model.AppError)
|
|
}
|