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) Init ¶
Init passes parameters to the action
func (*CopyMoveAction) ProvidesProgress ¶ added in v1.5.2
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) Init ¶
Init passes parameters to the action
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) Init ¶
Init passes parameters to the action
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) Init ¶
Init passes parameters to the action
func (*SnapshotAction) Run ¶
func (c *SnapshotAction) Run(ctx context.Context, channels *actions.RunnableChannels, input jobs.ActionMessage) (jobs.ActionMessage, error)
Run the actual action code
Source Files
¶
- copy-move.go
- delete.go
- init.go
- meta.go
- snapshot.go
Click to show internal directories.
Click to hide internal directories.