Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DirectoryMode is the default mode to apply to directories DirectoryMode os.FileMode = 0755 // ExecutableMode is the default mode for executable files ExecutableMode os.FileMode = 0755 // FileMode is the default mode to apply to files FileMode os.FileMode = 0644 KeyBackupPlexDest string = "backup.plex.dest" KeyBackupPlexSrc string = "backup.plex.src" KeyNASFQDN string = "nas.fqdn" KeySCPChownGID string = "scp.chown.gid" KeySCPChownGroup string = "scp.chown.group" KeySCPChownUID string = "scp.chown.uid" KeySCPChownUser string = "scp.chown.user" KeySCPDestAnimesPath string = "scp.dest.animespath" KeySCPDestMoviesPath string = "scp.dest.moviespath" KeySCPDestTVShowsPath string = "scp.dest.tvshowspath" KeySSHClientKnownHosts string = "ssh.client.knownhosts" KeySSHClientPrivateKey string = "ssh.client.privatekey" KeySSHHost string = "ssh.host" KeySSHPort string = "ssh.port" KeySSHUser string = "ssh.user" KeySubsyncOptions string = "subsync.options" )
Variables ¶
View Source
var ( // GID is the processed files group to set GID int // Configuration directory Dir string // Configuration file name FileName string = ".nascliconfig" // Configuration keys in INI file order OrderedKeys = []string{ KeyNASFQDN, KeyBackupPlexSrc, KeyBackupPlexDest, KeySCPChownGID, KeySCPChownGroup, KeySCPChownUID, KeySCPChownUser, KeySCPDestAnimesPath, KeySCPDestMoviesPath, KeySCPDestTVShowsPath, KeySSHHost, KeySSHPort, KeySSHUser, KeySSHClientKnownHosts, KeySSHClientPrivateKey, KeySubsyncOptions, } // UID is the processed files owner to set UID int // WD is the working directory's absolute path WD string )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.