Documentation ¶
Overview ¶
Package tree provides default implementation for tree related tasks.
Index ¶
- type CopyMoveAction
- func (c *CopyMoveAction) GetDescription(lang ...string) actions.ActionDescription
- func (c *CopyMoveAction) GetName() string
- func (c *CopyMoveAction) GetParametersForm() *forms.Form
- func (c *CopyMoveAction) Init(job *jobs.Job, cl client.Client, action *jobs.Action) error
- func (c *CopyMoveAction) ProvidesProgress() bool
- func (c *CopyMoveAction) Run(ctx context.Context, channels *actions.RunnableChannels, ...) (jobs.ActionMessage, error)
- type DeleteAction
- func (c *DeleteAction) GetDescription(lang ...string) actions.ActionDescription
- func (c *DeleteAction) GetName() string
- func (c *DeleteAction) GetParametersForm() *forms.Form
- func (c *DeleteAction) Init(job *jobs.Job, cl client.Client, action *jobs.Action) error
- func (c *DeleteAction) Run(ctx context.Context, channels *actions.RunnableChannels, ...) (jobs.ActionMessage, error)
- type MetaAction
- func (c *MetaAction) GetDescription(lang ...string) actions.ActionDescription
- func (c *MetaAction) GetName() string
- func (c *MetaAction) GetParametersForm() *forms.Form
- func (c *MetaAction) Init(job *jobs.Job, cl client.Client, action *jobs.Action) error
- func (c *MetaAction) Run(ctx context.Context, channels *actions.RunnableChannels, ...) (jobs.ActionMessage, error)
- type SnapshotAction
- func (c *SnapshotAction) GetDescription(lang ...string) actions.ActionDescription
- func (c *SnapshotAction) GetName() string
- func (c *SnapshotAction) GetParametersForm() *forms.Form
- func (c *SnapshotAction) Init(job *jobs.Job, cl client.Client, action *jobs.Action) error
- func (c *SnapshotAction) Run(ctx context.Context, channels *actions.RunnableChannels, ...) (jobs.ActionMessage, error)
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) GetDescription ¶
func (c *CopyMoveAction) GetDescription(lang ...string) actions.ActionDescription
func (*CopyMoveAction) GetName ¶
func (c *CopyMoveAction) GetName() string
GetName returns this action unique identifier
func (*CopyMoveAction) GetParametersForm ¶
func (c *CopyMoveAction) GetParametersForm() *forms.Form
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) GetDescription ¶
func (c *DeleteAction) GetDescription(lang ...string) actions.ActionDescription
func (*DeleteAction) GetName ¶
func (c *DeleteAction) GetName() string
GetName returns this action unique identifier
func (*DeleteAction) GetParametersForm ¶
func (c *DeleteAction) GetParametersForm() *forms.Form
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 string }
func (*MetaAction) GetDescription ¶
func (c *MetaAction) GetDescription(lang ...string) actions.ActionDescription
func (*MetaAction) GetName ¶
func (c *MetaAction) GetName() string
GetName returns this action unique identifier
func (*MetaAction) GetParametersForm ¶
func (c *MetaAction) GetParametersForm() *forms.Form
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) GetDescription ¶
func (c *SnapshotAction) GetDescription(lang ...string) actions.ActionDescription
func (*SnapshotAction) GetName ¶
func (c *SnapshotAction) GetName() string
GetName returns this action unique identifier
func (*SnapshotAction) GetParametersForm ¶
func (c *SnapshotAction) GetParametersForm() *forms.Form
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.