Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem interface {
fs.FileSystem
// Open opens a file in the filesystem
Open(path string) (File, error)
// Close closes the filesystem.
// This is useful for remote filesystems, like http, or sftp
Close() error
}
Filesystem represents a filesystem, which can be local or remote
func WrapJournal ¶
func WrapJournal(inner FileSystem, journalDirName string) FileSystem
WrapTar wraps a filesystem, and show a journalctl directory on journalDirName as a log file and not as a directory.
Click to show internal directories.
Click to hide internal directories.