Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PullResult ¶
PullResult summarizes a pull operation.
type Puller ¶
Puller handles pulling media from Quest devices.
func (*Puller) PullAll ¶
func (p *Puller) PullAll() ([]PullResult, error)
PullAll pulls media from all connected devices.
func (*Puller) PullDevice ¶
func (p *Puller) PullDevice(serial string) (PullResult, error)
PullDevice pulls media from a specific device.
type PushResult ¶
PushResult summarizes a push operation.
type Pusher ¶
Pusher handles uploading local media to rclone destinations.
func (*Pusher) PushAll ¶
func (p *Pusher) PushAll() ([]PushResult, error)
PushAll uploads unpushed files to all configured destinations.
func (*Pusher) PushFile ¶
func (p *Pusher) PushFile(fileID int64, localPath, baseDir string) ([]PushResult, error)
PushFile uploads a single file to all destinations and records it. If baseDir is empty, the config's sync dir is used to compute relative paths.
func (*Pusher) PushToDest ¶
func (p *Pusher) PushToDest(dest config.Destination) (PushResult, error)
PushToDest uploads unpushed files to a specific destination.
type StreamResult ¶
StreamResult summarizes a stream operation.
type Streamer ¶
type Streamer struct {
ADB *adb.Client
Rclone *rclone.Client
Manifest *manifest.DB
Config *config.Config
SkipLocal bool
}
Streamer handles one-file-at-a-time streaming mode.
func (*Streamer) StreamAll ¶
func (s *Streamer) StreamAll() ([]StreamResult, error)
StreamAll streams files from all connected devices.
func (*Streamer) StreamDevice ¶
func (s *Streamer) StreamDevice(serial string) (StreamResult, error)
StreamDevice streams files from a specific device, one at a time.