Class: Envoi::Aspera::WatchService::Client::Expressions

Inherits:
Object
  • Object
show all
Defined in:
lib/envoi/aspera/watch_service/client.rb

Constant Summary collapse

SNAPSHOT_CREATE_VERSION_PARSE =
/(?<version>\d*)\.$/
SNAPSHOT_PRINT_PARSE =
/^\s{2}(?<path>.*), (?<stat_as_json>\{"ino":\d+,.*})$/
SUBSCRIPTION_CREATE_PARSE =
/(?<json>\{.*\})\s*$/
SUBSCRIPTION_RESUBSCRIBE_SUCCESS_PARSE =
/^\[aswatchadmin resubscribe\] Successfully resubscribed subscription '[^']*'\.$/
SNAPSHOT_DIFFERENTIAL_PARSE =
/^event\=(?<event>[^\,]*),path\=(?<path>.*),stat\=\[type\=(?<stat_type>[A-Z_]*),(?<change>[^\]]*)\]$/