tree

package
v2.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: AGPL-3.0 Imports: 22 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) GetName

func (c *CopyMoveAction) GetName() string

GetName returns this action unique identifier

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

func (c *DeleteAction) GetName() string

GetName returns this action unique identifier

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     interface{}
}

func (*MetaAction) GetName

func (c *MetaAction) GetName() string

GetName returns this action unique identifier

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
}

func (*SnapshotAction) GetName

func (c *SnapshotAction) GetName() string

GetName returns this action unique identifier

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