tree

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: AGPL-3.0 Imports: 19 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
	Recursive         bool
	TargetPlaceholder string
	CreateFolder      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) Run

Run the actual action code

type DeleteAction

type DeleteAction struct {
	Client views.Handler
}

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