deluge

package
v0.0.0-...-49d3f61 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deluge

type Deluge struct {
	plugins.Base
}

func New

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

func (*Deluge) Install

func (self *Deluge) Install(opts *DelugeOpts) error

func (*Deluge) RegisterRPC

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

type DelugeInstallRes

type DelugeInstallRes struct {
	Message string      `json:"message"`
	Error   bool        `json:"error"`
	Opts    *DelugeOpts `json:"options"`
}

type DelugeOpts

type DelugeOpts struct {
	plugins.BaseOpts
	EncPassword string `json:"encrypted_password,omitempty"`
	Salt        string `json:"salt,omitempty"`
	DaemonPort  string `json:"daemon_port,omitempty"`
}

type DelugeRPC

type DelugeRPC struct {
	plugins.BaseRPC
	// contains filtered or unexported fields
}

func (*DelugeRPC) Install

func (self *DelugeRPC) Install(opts *DelugeOpts, job *jobs.Job) error

func (*DelugeRPC) Reinstall

func (self *DelugeRPC) Reinstall(opts *DelugeOpts, job *jobs.Job) error

Jump to

Keyboard shortcuts

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