syncthing

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Syncthing

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

func New

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

func (*Syncthing) Install

func (self *Syncthing) Install(opts *SyncthingOpts) error

func (*Syncthing) RegisterRPC

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

type SyncthingOpts

type SyncthingOpts struct {
	plugins.BaseOpts
	EncPassword string `json:"encrypted_password,omitempty"`
}

type SyncthingRPC

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

func (*SyncthingRPC) Install

func (self *SyncthingRPC) Install(opts *SyncthingOpts, job *jobs.Job) error

func (*SyncthingRPC) Reinstall

func (self *SyncthingRPC) Reinstall(opts *SyncthingOpts, job *jobs.Job) error

Jump to

Keyboard shortcuts

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