Documentation ¶
Index ¶
- func SpawnDetachedProcess(cmd string, args []string, _ logger.Logger) (pid int, err error)
- type CmdBaseHelp
- type CmdGeneralHelp
- type CmdSpecificHelp
- type Command
- type CommandLine
- func (p *CommandLine) AddCommands(cmds []cli.Command)
- func (p *CommandLine) AddHelpTopics(topics []cli.HelpTopic)
- func (p *CommandLine) ChooseCommand(cmd Command, name string, ctx *cli.Context)
- func (p CommandLine) GetAPIDump() (bool, bool)
- func (p CommandLine) GetAPITimeout() (time.Duration, bool)
- func (p CommandLine) GetAppType() libkb.AppType
- func (p CommandLine) GetAttachmentDisableMulti() (bool, bool)
- func (p CommandLine) GetAttachmentHTTPStartPort() (int, bool)
- func (p CommandLine) GetAutoFork() (bool, bool)
- func (p CommandLine) GetBGIdentifierDisabled() (bool, bool)
- func (p CommandLine) GetBool(s string, glbl bool) (bool, bool)
- func (p CommandLine) GetChatDbFilename() string
- func (p CommandLine) GetChatDelivererInterval() (time.Duration, bool)
- func (p CommandLine) GetChatInboxSourceLocalizeThreads() (int, bool)
- func (p CommandLine) GetChatOutboxStorageEngine() string
- func (p CommandLine) GetCodeSigningKIDs() []string
- func (p CommandLine) GetConfigFilename() string
- func (p CommandLine) GetDbFilename() string
- func (p CommandLine) GetDebug() (bool, bool)
- func (p CommandLine) GetDebugJourneycard() (bool, bool)
- func (p CommandLine) GetDeviceCloneStateFilename() string
- func (p CommandLine) GetDisableBgConvLoader() (bool, bool)
- func (p CommandLine) GetDisableEKBackgroundKeygen() (bool, bool)
- func (p CommandLine) GetDisableMerkleAuditor() (bool, bool)
- func (p CommandLine) GetDisableSearchIndexer() (bool, bool)
- func (p CommandLine) GetDisableTeamAuditor() (bool, bool)
- func (p CommandLine) GetDisableTeamBoxAuditor() (bool, bool)
- func (p CommandLine) GetDisplayRawUntrustedOutput() (bool, bool)
- func (p CommandLine) GetEKLogFile() string
- func (p CommandLine) GetEnableBotLiteMode() (bool, bool)
- func (p CommandLine) GetExternalURLKitFilename() string
- func (p CommandLine) GetExtraNetLogging() (bool, bool)
- func (p CommandLine) GetFeatureFlags() (libkb.FeatureFlags, error)
- func (p CommandLine) GetForceLinuxKeyring() (bool, bool)
- func (p CommandLine) GetForceSecretStoreFile() (bool, bool)
- func (p CommandLine) GetForkCmd() ForkCmd
- func (p CommandLine) GetGDuration(s string) (time.Duration, error)
- func (p CommandLine) GetGInt(s string) int
- func (p CommandLine) GetGString(s string) string
- func (p CommandLine) GetGUIConfigFilename() string
- func (p CommandLine) GetGUILogFile() string
- func (p CommandLine) GetGpg() string
- func (p CommandLine) GetGpgHome() string
- func (p CommandLine) GetGpgOptions() []string
- func (p CommandLine) GetGregorDisabled() (bool, bool)
- func (p CommandLine) GetGregorPingInterval() (time.Duration, bool)
- func (p CommandLine) GetGregorPingTimeout() (time.Duration, bool)
- func (p CommandLine) GetGregorSaveInterval() (time.Duration, bool)
- func (p CommandLine) GetGregorURI() string
- func (p CommandLine) GetHome() string
- func (p CommandLine) GetLevelDBNumFiles() (int, bool)
- func (p CommandLine) GetLinkCacheSize() (int, bool)
- func (p CommandLine) GetLocalRPCDebug() string
- func (p CommandLine) GetLocalTrackMaxAge() (time.Duration, bool)
- func (p CommandLine) GetLogFile() string
- func (p CommandLine) GetLogFormat() string
- func (p *CommandLine) GetLogForward() LogForward
- func (p CommandLine) GetLogPrefix() string
- func (p CommandLine) GetMerkleKIDs() []string
- func (p CommandLine) GetMobileSharedHome() string
- func (p CommandLine) GetMountDir() string
- func (p CommandLine) GetMountDirDefault() string
- func (p CommandLine) GetNoAutoFork() (bool, bool)
- func (p CommandLine) GetPGPFingerprint() *libkb.PGPFingerprint
- func (p CommandLine) GetParamProofKitFilename() string
- func (p CommandLine) GetPayloadCacheSize() (int, bool)
- func (p CommandLine) GetPidFile() string
- func (p CommandLine) GetPinentry() string
- func (p CommandLine) GetProofCacheSize() (int, bool)
- func (p CommandLine) GetProveBypass() (bool, bool)
- func (p CommandLine) GetProxy() string
- func (p CommandLine) GetProxyType() string
- func (p CommandLine) GetPvlKitFilename() string
- func (p CommandLine) GetReadDeletedSigChain() (bool, bool)
- func (p CommandLine) GetRememberPassphrase(libkb.NormalizedUsername) (bool, bool)
- func (p CommandLine) GetRunMode() (libkb.RunMode, error)
- func (p CommandLine) GetRuntimeStatsEnabled() (bool, bool)
- func (p CommandLine) GetScraperTimeout() (time.Duration, bool)
- func (p CommandLine) GetSecretKeyringTemplate() string
- func (p CommandLine) GetSecretStorePrimingDisabled() (bool, bool)
- func (p CommandLine) GetServerURI() (string, error)
- func (p CommandLine) GetSessionFilename() string
- func (p CommandLine) GetSlowGregorConn() (bool, bool)
- func (p CommandLine) GetSocketFile() string
- func (p CommandLine) GetStandalone() (bool, bool)
- func (p CommandLine) GetString(s string) string
- func (p CommandLine) GetTimers() string
- func (p CommandLine) GetTorHiddenAddress() string
- func (p CommandLine) GetTorMode() (ret libkb.TorMode, err error)
- func (p CommandLine) GetTorProxy() string
- func (p CommandLine) GetUIDMapFullNameCacheSize() (int, bool)
- func (p CommandLine) GetUPAKCacheSize() (int, bool)
- func (p CommandLine) GetUpdaterConfigFilename() string
- func (p CommandLine) GetUseDefaultLogFile() (bool, bool)
- func (p CommandLine) GetUseRootConfigFile() (bool, bool)
- func (p CommandLine) GetUserCacheMaxAge() (time.Duration, bool)
- func (p CommandLine) GetVDebugSetting() string
- func (p CommandLine) IsCertPinningEnabled() bool
- func (p CommandLine) IsMobileExtension() (bool, bool)
- func (p CommandLine) IsNoStandalone() bool
- func (p CommandLine) IsService() bool
- func (p *CommandLine) Parse(args []string) (cmd Command, err error)
- func (p *CommandLine) PopulateApp(addHelp bool, extraFlags []cli.Flag)
- func (p *CommandLine) SetDefaultCommand(name string, cmd Command)
- func (p *CommandLine) SetForkCmd(v ForkCmd)
- func (p *CommandLine) SetLogForward(f LogForward)
- func (p *CommandLine) SetNoStandalone()
- func (p *CommandLine) SetOutputWriter(w io.Writer)
- func (p *CommandLine) SetService()
- func (p *CommandLine) SetSkipAccountResetCheck()
- func (p *CommandLine) SetSkipOutOfDateCheck()
- func (p CommandLine) SkipAccountResetCheck() bool
- func (p CommandLine) SkipOutOfDateCheck() bool
- type ForkCmd
- type LogForward
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CmdBaseHelp ¶
type CmdBaseHelp struct {
// contains filtered or unexported fields
}
func (*CmdBaseHelp) GetUsage ¶
func (c *CmdBaseHelp) GetUsage() libkb.Usage
func (*CmdBaseHelp) Run ¶
func (c *CmdBaseHelp) Run() error
func (*CmdBaseHelp) RunClient ¶
func (c *CmdBaseHelp) RunClient() error
type CmdGeneralHelp ¶
type CmdGeneralHelp struct {
CmdBaseHelp
}
type CmdSpecificHelp ¶
type CmdSpecificHelp struct { CmdBaseHelp // contains filtered or unexported fields }
func (CmdSpecificHelp) Run ¶
func (c CmdSpecificHelp) Run() error
type CommandLine ¶
type CommandLine struct {
// contains filtered or unexported fields
}
func NewCommandLine ¶
func NewCommandLine(addHelp bool, extraFlags []cli.Flag) *CommandLine
func (*CommandLine) AddCommands ¶
func (p *CommandLine) AddCommands(cmds []cli.Command)
func (*CommandLine) AddHelpTopics ¶
func (p *CommandLine) AddHelpTopics(topics []cli.HelpTopic)
AddHelpTopics appends topics to the list of help topics for this app.
func (*CommandLine) ChooseCommand ¶
func (p *CommandLine) ChooseCommand(cmd Command, name string, ctx *cli.Context)
Called back from inside our subcommands, when they're picked...
func (CommandLine) GetAPIDump ¶
func (p CommandLine) GetAPIDump() (bool, bool)
func (CommandLine) GetAPITimeout ¶
func (p CommandLine) GetAPITimeout() (time.Duration, bool)
func (CommandLine) GetAppType ¶ added in v1.0.21
func (p CommandLine) GetAppType() libkb.AppType
func (CommandLine) GetAttachmentDisableMulti ¶
func (p CommandLine) GetAttachmentDisableMulti() (bool, bool)
func (CommandLine) GetAttachmentHTTPStartPort ¶
func (p CommandLine) GetAttachmentHTTPStartPort() (int, bool)
func (CommandLine) GetAutoFork ¶
func (p CommandLine) GetAutoFork() (bool, bool)
func (CommandLine) GetBGIdentifierDisabled ¶ added in v1.0.19
func (p CommandLine) GetBGIdentifierDisabled() (bool, bool)
func (CommandLine) GetChatDbFilename ¶ added in v1.0.18
func (p CommandLine) GetChatDbFilename() string
func (CommandLine) GetChatDelivererInterval ¶ added in v1.0.19
func (p CommandLine) GetChatDelivererInterval() (time.Duration, bool)
func (CommandLine) GetChatInboxSourceLocalizeThreads ¶ added in v1.0.34
func (p CommandLine) GetChatInboxSourceLocalizeThreads() (int, bool)
func (CommandLine) GetChatOutboxStorageEngine ¶
func (p CommandLine) GetChatOutboxStorageEngine() string
func (CommandLine) GetCodeSigningKIDs ¶
func (p CommandLine) GetCodeSigningKIDs() []string
func (CommandLine) GetConfigFilename ¶
func (p CommandLine) GetConfigFilename() string
func (CommandLine) GetDbFilename ¶
func (p CommandLine) GetDbFilename() string
func (CommandLine) GetDebug ¶
func (p CommandLine) GetDebug() (bool, bool)
func (CommandLine) GetDebugJourneycard ¶
func (p CommandLine) GetDebugJourneycard() (bool, bool)
func (CommandLine) GetDeviceCloneStateFilename ¶
func (p CommandLine) GetDeviceCloneStateFilename() string
func (CommandLine) GetDisableBgConvLoader ¶
func (p CommandLine) GetDisableBgConvLoader() (bool, bool)
func (CommandLine) GetDisableEKBackgroundKeygen ¶
func (p CommandLine) GetDisableEKBackgroundKeygen() (bool, bool)
func (CommandLine) GetDisableMerkleAuditor ¶
func (p CommandLine) GetDisableMerkleAuditor() (bool, bool)
func (CommandLine) GetDisableSearchIndexer ¶
func (p CommandLine) GetDisableSearchIndexer() (bool, bool)
func (CommandLine) GetDisableTeamAuditor ¶
func (p CommandLine) GetDisableTeamAuditor() (bool, bool)
func (CommandLine) GetDisableTeamBoxAuditor ¶
func (p CommandLine) GetDisableTeamBoxAuditor() (bool, bool)
func (CommandLine) GetDisplayRawUntrustedOutput ¶
func (p CommandLine) GetDisplayRawUntrustedOutput() (bool, bool)
func (CommandLine) GetEKLogFile ¶
func (p CommandLine) GetEKLogFile() string
func (CommandLine) GetEnableBotLiteMode ¶
func (p CommandLine) GetEnableBotLiteMode() (bool, bool)
func (CommandLine) GetExternalURLKitFilename ¶
func (p CommandLine) GetExternalURLKitFilename() string
func (CommandLine) GetExtraNetLogging ¶
func (p CommandLine) GetExtraNetLogging() (bool, bool)
func (CommandLine) GetFeatureFlags ¶ added in v1.0.19
func (p CommandLine) GetFeatureFlags() (libkb.FeatureFlags, error)
func (CommandLine) GetForceLinuxKeyring ¶
func (p CommandLine) GetForceLinuxKeyring() (bool, bool)
func (CommandLine) GetForceSecretStoreFile ¶
func (p CommandLine) GetForceSecretStoreFile() (bool, bool)
func (CommandLine) GetForkCmd ¶
func (p CommandLine) GetForkCmd() ForkCmd
func (CommandLine) GetGDuration ¶
func (p CommandLine) GetGDuration(s string) (time.Duration, error)
func (CommandLine) GetGInt ¶
func (p CommandLine) GetGInt(s string) int
func (CommandLine) GetGString ¶
func (p CommandLine) GetGString(s string) string
func (CommandLine) GetGUIConfigFilename ¶
func (p CommandLine) GetGUIConfigFilename() string
func (CommandLine) GetGUILogFile ¶
func (p CommandLine) GetGUILogFile() string
func (CommandLine) GetGpg ¶
func (p CommandLine) GetGpg() string
func (CommandLine) GetGpgHome ¶
func (p CommandLine) GetGpgHome() string
func (CommandLine) GetGpgOptions ¶
func (p CommandLine) GetGpgOptions() []string
func (CommandLine) GetGregorDisabled ¶ added in v1.0.17
func (p CommandLine) GetGregorDisabled() (bool, bool)
func (CommandLine) GetGregorPingInterval ¶ added in v1.0.17
func (p CommandLine) GetGregorPingInterval() (time.Duration, bool)
func (CommandLine) GetGregorPingTimeout ¶ added in v1.0.19
func (p CommandLine) GetGregorPingTimeout() (time.Duration, bool)
func (CommandLine) GetGregorSaveInterval ¶ added in v1.0.17
func (p CommandLine) GetGregorSaveInterval() (time.Duration, bool)
func (CommandLine) GetGregorURI ¶ added in v1.0.17
func (p CommandLine) GetGregorURI() string
func (CommandLine) GetHome ¶
func (p CommandLine) GetHome() string
func (CommandLine) GetLevelDBNumFiles ¶ added in v1.0.27
func (p CommandLine) GetLevelDBNumFiles() (int, bool)
func (CommandLine) GetLinkCacheSize ¶
func (p CommandLine) GetLinkCacheSize() (int, bool)
func (CommandLine) GetLocalRPCDebug ¶
func (p CommandLine) GetLocalRPCDebug() string
func (CommandLine) GetLocalTrackMaxAge ¶
func (p CommandLine) GetLocalTrackMaxAge() (time.Duration, bool)
func (CommandLine) GetLogFile ¶
func (p CommandLine) GetLogFile() string
func (CommandLine) GetLogFormat ¶
func (p CommandLine) GetLogFormat() string
func (*CommandLine) GetLogForward ¶
func (p *CommandLine) GetLogForward() LogForward
func (CommandLine) GetLogPrefix ¶
func (p CommandLine) GetLogPrefix() string
func (CommandLine) GetMerkleKIDs ¶
func (p CommandLine) GetMerkleKIDs() []string
func (CommandLine) GetMobileSharedHome ¶
func (p CommandLine) GetMobileSharedHome() string
func (CommandLine) GetMountDir ¶ added in v1.0.17
func (p CommandLine) GetMountDir() string
func (CommandLine) GetMountDirDefault ¶
func (p CommandLine) GetMountDirDefault() string
func (CommandLine) GetNoAutoFork ¶
func (p CommandLine) GetNoAutoFork() (bool, bool)
func (CommandLine) GetPGPFingerprint ¶
func (p CommandLine) GetPGPFingerprint() *libkb.PGPFingerprint
func (CommandLine) GetParamProofKitFilename ¶
func (p CommandLine) GetParamProofKitFilename() string
func (CommandLine) GetPayloadCacheSize ¶ added in v1.0.41
func (p CommandLine) GetPayloadCacheSize() (int, bool)
func (CommandLine) GetPidFile ¶
func (p CommandLine) GetPidFile() string
func (CommandLine) GetPinentry ¶
func (p CommandLine) GetPinentry() string
func (CommandLine) GetProofCacheSize ¶
func (p CommandLine) GetProofCacheSize() (int, bool)
func (CommandLine) GetProveBypass ¶
func (p CommandLine) GetProveBypass() (bool, bool)
func (CommandLine) GetProxy ¶
func (p CommandLine) GetProxy() string
func (CommandLine) GetProxyType ¶
func (p CommandLine) GetProxyType() string
func (CommandLine) GetPvlKitFilename ¶ added in v1.0.21
func (p CommandLine) GetPvlKitFilename() string
func (CommandLine) GetReadDeletedSigChain ¶
func (p CommandLine) GetReadDeletedSigChain() (bool, bool)
func (CommandLine) GetRememberPassphrase ¶ added in v1.0.43
func (p CommandLine) GetRememberPassphrase(libkb.NormalizedUsername) (bool, bool)
func (CommandLine) GetRunMode ¶
func (p CommandLine) GetRunMode() (libkb.RunMode, error)
func (CommandLine) GetRuntimeStatsEnabled ¶
func (p CommandLine) GetRuntimeStatsEnabled() (bool, bool)
func (CommandLine) GetScraperTimeout ¶
func (p CommandLine) GetScraperTimeout() (time.Duration, bool)
func (CommandLine) GetSecretKeyringTemplate ¶
func (p CommandLine) GetSecretKeyringTemplate() string
func (CommandLine) GetSecretStorePrimingDisabled ¶
func (p CommandLine) GetSecretStorePrimingDisabled() (bool, bool)
func (CommandLine) GetServerURI ¶
func (p CommandLine) GetServerURI() (string, error)
func (CommandLine) GetSessionFilename ¶
func (p CommandLine) GetSessionFilename() string
func (CommandLine) GetSlowGregorConn ¶ added in v1.0.46
func (p CommandLine) GetSlowGregorConn() (bool, bool)
func (CommandLine) GetSocketFile ¶
func (p CommandLine) GetSocketFile() string
func (CommandLine) GetStandalone ¶
func (p CommandLine) GetStandalone() (bool, bool)
func (CommandLine) GetString ¶
func (p CommandLine) GetString(s string) string
func (CommandLine) GetTimers ¶
func (p CommandLine) GetTimers() string
func (CommandLine) GetTorHiddenAddress ¶
func (p CommandLine) GetTorHiddenAddress() string
func (CommandLine) GetTorMode ¶
func (p CommandLine) GetTorMode() (ret libkb.TorMode, err error)
func (CommandLine) GetTorProxy ¶
func (p CommandLine) GetTorProxy() string
func (CommandLine) GetUIDMapFullNameCacheSize ¶ added in v1.0.33
func (p CommandLine) GetUIDMapFullNameCacheSize() (int, bool)
func (CommandLine) GetUPAKCacheSize ¶ added in v1.0.31
func (p CommandLine) GetUPAKCacheSize() (int, bool)
func (CommandLine) GetUpdaterConfigFilename ¶ added in v1.0.16
func (p CommandLine) GetUpdaterConfigFilename() string
func (CommandLine) GetUseDefaultLogFile ¶
func (p CommandLine) GetUseDefaultLogFile() (bool, bool)
func (CommandLine) GetUseRootConfigFile ¶
func (p CommandLine) GetUseRootConfigFile() (bool, bool)
func (CommandLine) GetUserCacheMaxAge ¶
func (p CommandLine) GetUserCacheMaxAge() (time.Duration, bool)
func (CommandLine) GetVDebugSetting ¶
func (p CommandLine) GetVDebugSetting() string
func (CommandLine) IsCertPinningEnabled ¶
func (p CommandLine) IsCertPinningEnabled() bool
func (CommandLine) IsMobileExtension ¶
func (p CommandLine) IsMobileExtension() (bool, bool)
func (CommandLine) IsNoStandalone ¶
func (p CommandLine) IsNoStandalone() bool
func (CommandLine) IsService ¶
func (p CommandLine) IsService() bool
func (*CommandLine) PopulateApp ¶
func (p *CommandLine) PopulateApp(addHelp bool, extraFlags []cli.Flag)
func (*CommandLine) SetDefaultCommand ¶
func (p *CommandLine) SetDefaultCommand(name string, cmd Command)
func (*CommandLine) SetForkCmd ¶
func (p *CommandLine) SetForkCmd(v ForkCmd)
func (*CommandLine) SetLogForward ¶
func (p *CommandLine) SetLogForward(f LogForward)
func (*CommandLine) SetNoStandalone ¶
func (p *CommandLine) SetNoStandalone()
func (*CommandLine) SetOutputWriter ¶
func (p *CommandLine) SetOutputWriter(w io.Writer)
func (*CommandLine) SetService ¶
func (p *CommandLine) SetService()
func (*CommandLine) SetSkipAccountResetCheck ¶
func (p *CommandLine) SetSkipAccountResetCheck()
func (*CommandLine) SetSkipOutOfDateCheck ¶ added in v1.0.19
func (p *CommandLine) SetSkipOutOfDateCheck()
func (CommandLine) SkipAccountResetCheck ¶
func (p CommandLine) SkipAccountResetCheck() bool
func (CommandLine) SkipOutOfDateCheck ¶ added in v1.0.19
func (p CommandLine) SkipOutOfDateCheck() bool
Click to show internal directories.
Click to hide internal directories.