Rclone

package
v0.0.0-...-66c1384 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2016 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionOpts

type ActionOpts struct {
	ContainerId   string   `json:"container_id"`
	DeleteFolders []string `json:"delete_folders"`
}

type Rclone

type Rclone struct {
	plugins.Base
	// contains filtered or unexported fields
}

func New

func New(client *docker.Client) (*Rclone, error)

func (*Rclone) Install

func (self *Rclone) Install(opts *RcloneOpts) error

func (*Rclone) RegisterRPC

func (self *Rclone) RegisterRPC(server *rpc.Server)

type RcloneOpts

type RcloneOpts struct {
	plugins.BaseOpts
}

type RcloneRPC

type RcloneRPC struct {
	// contains filtered or unexported fields
}

func NewRcloneRPC

func NewRcloneRPC(parent appPlugin) *RcloneRPC

func (*RcloneRPC) Restart

func (self *RcloneRPC) Restart(opts *RcloneOpts, success *bool) error

func (*RcloneRPC) Start

func (self *RcloneRPC) Start(opts *RcloneOpts, success *bool) error

func (*RcloneRPC) Status

func (self *RcloneRPC) Status(opts *RcloneOpts, state *docker.State) error

func (*RcloneRPC) Stop

func (self *RcloneRPC) Stop(opts *RcloneOpts, success *bool) error

func (*RcloneRPC) Uninstall

func (self *RcloneRPC) Uninstall(opts *RcloneOpts, success *bool) error

Jump to

Keyboard shortcuts

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