Documentation
¶
Index ¶
Constants ¶
View Source
const ( // File and directory permissions DefaultDirOrExecPerm = 0755 // for directories and executable files DefaultFilePerm = 0644 // for regular data/config files // Weaver paths DefaultWeaverHome = "/opt/solo/weaver" DefaultUnpackFolderName = "unpack" SystemBinDir = "/usr/local/bin" SystemdUnitFilesDir = "/usr/lib/systemd/system" // Node types NodeTypeLocal = "local" NodeTypeBlock = "block" NodeTypeConsensus = "consensus" NodeTypeMirror = "mirror" NodeTypeRelay = "relay" // Deployment profiles ProfileLocal = "local" ProfilePerfnet = "perfnet" ProfileTestnet = "testnet" ProfileMainnet = "mainnet" )
Variables ¶
This section is empty.
Functions ¶
func AllProfiles ¶
func AllProfiles() []string
func ServiceAccount ¶
func ServiceAccount() security.ServiceAccount
Types ¶
type WeaverPaths ¶
type WeaverPaths struct {
HomeDir string
BinDir string
LogsDir string
UtilsDir string
ConfigDir string
BackupDir string
TempDir string
DownloadsDir string
DiagnosticsDir string
StateDir string
AllDirectories []string
SandboxDir string
SandboxBinDir string
SandboxLocalBinDir string
SandboxDirectories []string // all sandbox related directories
}
func NewWeaverPaths ¶
func NewWeaverPaths(home string) *WeaverPaths
func Paths ¶
func Paths() *WeaverPaths
Click to show internal directories.
Click to hide internal directories.