Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RemoteAddressRegex = regexp.MustCompile(`(?i)^((ssh|sftp)://)+(?P<credentials>[^:@]+(:([^:@])+)?@)?[^:]+(:\d+)?`)
RemoteAddressRegex is a pattern for (ssh|sftp)://user:pass@host:port.
Functions ¶
func WithDetection ¶
func WithDetection() heartbeat.HandleOption
WithDetection initializes and returns a heartbeat handle option, which can be used in a heartbeat processing pipeline to detect remote file and download to a temporary directory.
Types ¶
Click to show internal directories.
Click to hide internal directories.