tree

package
v2.2.6+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2021 License: AGPL-3.0 Imports: 27 Imported by: 0

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) 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) Init

func (c *CopyMoveAction) Init(job *jobs.Job, cl client.Client, action *jobs.Action) error

Init passes parameters to the action

func (*CopyMoveAction) ProvidesProgress added in v1.5.0

func (c *CopyMoveAction) ProvidesProgress() bool

func (*CopyMoveAction) Run

Run the actual action code

type DeleteAction

type DeleteAction struct {
	Client views.Handler
	// contains filtered or unexported fields
}

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) Init

func (c *DeleteAction) Init(job *jobs.Job, cl client.Client, action *jobs.Action) error

Init passes parameters to the action

func (*DeleteAction) Run

Run the actual action code

type MetaAction

type MetaAction struct {
	Client   tree.NodeReceiverClient
	MetaJSON 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) Init

func (c *MetaAction) Init(job *jobs.Job, cl client.Client, action *jobs.Action) error

Init passes parameters to the action

func (*MetaAction) Run

Run the actual action code

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL