tree

package
v2.1.4-hotfix2+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: AGPL-3.0 Imports: 30 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
	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) 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

type SnapshotAction

type SnapshotAction struct {
	Client  views.Handler
	Target  string
	IsLocal bool
}

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

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

Init passes parameters to the action

func (*SnapshotAction) Run

Run the actual action code

Jump to

Keyboard shortcuts

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