Documentation ¶
Overview ¶
Package tree provides default implementation for tree related tasks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyMoveAction ¶
type CopyMoveAction struct { Client views.Handler Move bool Copy bool Recursive bool TargetPlaceholder string CreateFolder bool TargetIsParent bool }
func (*CopyMoveAction) GetName ¶
func (c *CopyMoveAction) GetName() string
GetName returns this action unique identifier
func (*CopyMoveAction) ProvidesProgress ¶ added in v1.5.0
func (c *CopyMoveAction) ProvidesProgress() bool
func (*CopyMoveAction) Run ¶
func (c *CopyMoveAction) Run(ctx context.Context, channels *actions.RunnableChannels, input jobs.ActionMessage) (jobs.ActionMessage, error)
Run the actual action code
type DeleteAction ¶
func (*DeleteAction) GetName ¶
func (c *DeleteAction) GetName() string
GetName returns this action unique identifier
func (*DeleteAction) Run ¶
func (c *DeleteAction) Run(ctx context.Context, channels *actions.RunnableChannels, input jobs.ActionMessage) (jobs.ActionMessage, error)
Run the actual action code
type MetaAction ¶
type MetaAction struct { Client tree.NodeReceiverClient MetaNamespace string MetaValue interface{} }
func (*MetaAction) GetName ¶
func (c *MetaAction) GetName() string
GetName returns this action unique identifier
func (*MetaAction) Run ¶
func (c *MetaAction) Run(ctx context.Context, channels *actions.RunnableChannels, input jobs.ActionMessage) (jobs.ActionMessage, error)
Run the actual action code
type SnapshotAction ¶
func (*SnapshotAction) GetName ¶
func (c *SnapshotAction) GetName() string
GetName returns this action unique identifier
func (*SnapshotAction) Run ¶
func (c *SnapshotAction) Run(ctx context.Context, channels *actions.RunnableChannels, input jobs.ActionMessage) (jobs.ActionMessage, error)
Run the actual action code
Click to show internal directories.
Click to hide internal directories.