remote

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyRemote

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

func NewDummyRemote

func NewDummyRemote(id string, dest string) *DummyRemote

func (DummyRemote) Init

func (r DummyRemote) Init() error

func (DummyRemote) Publish

func (r DummyRemote) Publish(snapshot string) error

func (DummyRemote) Sync

func (r DummyRemote) Sync() error

type Remote

type Remote interface {
	Init() error
	Sync() error
	Publish(snapshot string) error
}

type RepoSyncRemote

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

func NewRepoSyncRemote

func NewRepoSyncRemote(id string, src string, usPath string, saPath string) *RepoSyncRemote

func (RepoSyncRemote) Init

func (r RepoSyncRemote) Init() error

func (RepoSyncRemote) Publish

func (r RepoSyncRemote) Publish(snapshot string) error

func (RepoSyncRemote) Sync

func (r RepoSyncRemote) Sync() error

type RsyncRemote

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

func NewRsyncRemote

func NewRsyncRemote(id string, src string, dest string, excludes []string) *RsyncRemote

func (RsyncRemote) Init

func (r RsyncRemote) Init() error

func (RsyncRemote) Publish

func (r RsyncRemote) Publish(snapshot string) error

func (RsyncRemote) Sync

func (r RsyncRemote) Sync() error

Jump to

Keyboard shortcuts

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