Documentation ¶
Index ¶
- func CompressTask(ctx context.Context, router nodes.Client, selectedPaths []string, ...) (*jobs.Job, error)
- func CopyMoveTask(ctx context.Context, router nodes.Client, selectedPaths []string, ...) (*jobs.Job, error)
- func DeduplicateNodes(nn []*tree.Node) (out []*tree.Node)
- func DeleteNodesTask(ctx context.Context, router nodes.Client, selectedPaths []string, ...) ([]*jobs.Job, error)
- func ExtractTask(ctx context.Context, router nodes.Client, selectedNode string, ...) (*jobs.Job, error)
- func FindRecycleForSource(ctx context.Context, source *tree.Node, ancestors []*tree.Node) (recycle *tree.Node, err error)
- func MkDirsOrFiles(ctx context.Context, router nodes.Client, nodes []*tree.Node, recursive bool, ...) (nn []*tree.Node, er error)
- func P8migrationTask(ctx context.Context, jsonParams string) (*jobs.Job, error)
- func PersistSelection(ctx context.Context, nodes []*tree.Node) (string, error)
- func RestoreTask(ctx context.Context, router nodes.Client, paths []string, languages ...string) ([]*jobs.Job, []*tree.Node, error)
- func SourceInRecycle(ctx context.Context, source *tree.Node, ancestors []*tree.Node) bool
- func SyncDatasourceTask(ctx context.Context, dsName string, languages ...string) (*jobs.Job, error)
- func WgetTask(ctx context.Context, router nodes.Client, parentPath string, urls []string, ...) ([]*jobs.Job, error)
- type DeleteJobs
- type RecycleMoves
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressTask ¶
func CopyMoveTask ¶
func DeduplicateNodes ¶
DeduplicateNodes takes a slice of nodes and make sure there are no duplicates based on their path
func DeleteNodesTask ¶
func ExtractTask ¶
func FindRecycleForSource ¶
func MkDirsOrFiles ¶
func MkDirsOrFiles(ctx context.Context, router nodes.Client, nodes []*tree.Node, recursive bool, tplUuid string) (nn []*tree.Node, er error)
MkDirsOrFiles creates folders (recursively) or empty files, or files hydrated by existing templates
func P8migrationTask ¶
func PersistSelection ¶
PersistSelection transforms a list of nodes to a selection with a UUID
func RestoreTask ¶
func SourceInRecycle ¶
func SyncDatasourceTask ¶
Types ¶
type DeleteJobs ¶
type DeleteJobs struct { RecyclesNodes map[string]*tree.Node RecycleMoves map[string]*RecycleMoves Deletes []string }
func NewDeleteJobs ¶
func NewDeleteJobs() *DeleteJobs
type RecycleMoves ¶
Click to show internal directories.
Click to hide internal directories.