syncer

package
v0.0.0-...-5c7ce50 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: ISC Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Container = iota
	Service
)
View Source
const (
	TemporaryContainerImage = "hello-world"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Target        string
	TargetPath    string
	RestartTarget bool
	Host          string
	Logger        *log.Logger
	Identifier    string
}

type Syncer

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

func New

func New(options Options) (*Syncer, error)

func (*Syncer) Cleanup

func (syncer *Syncer) Cleanup() error

func (*Syncer) Connect

func (syncer *Syncer) Connect() error

func (*Syncer) Copy

func (syncer *Syncer) Copy(localPath string, op filewatcher.Op) error

func (*Syncer) Init

func (syncer *Syncer) Init() error

type TargetType

type TargetType int

Jump to

Keyboard shortcuts

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