LICENSE NEWS README
Regurgitator BadResponse Device Domain DomainHost DomainPath Endpoint Error FileInfo FileRequest ListKeys Local LocalFile NoDevices OneDomain ServerSettings

Methods

::addr ::addrs ::include? ::refresh_addrs! ::register #device_path_stat #trylocal

module Regurgitator::Local

Constants

STORE_PATHS

This is used to register local storage endpoints so we can short-circuit and avoid making HTTP requests to devices Must be configured by the user

Public Class Methods

addr () source
addrs () source
include? (addr) source
refresh_addrs! () source

Normally not needed unless you dynamically bring up/down network devices. It may be useful to call this periodically or to integrate with some network device state monitoring system.

register (tcp_port, directory_root) source

registers a local path for a given tcp_port and directory_root

Public Instance Methods

device_path_stat (uri) source

returns nil if nothing was found returns a path and associated File::Stat to the local FS if a matching path is possible

trylocal (env, uri_group) source

Pages Classes Methods