Documentation ¶
Overview ¶
this command is only for testing purposes
this is the list of commands for all versions of the client.
this is the list of commands for the devel version of the client.
Index ¶
- Constants
- Variables
- func AddPGPMultiInstructions(err error) error
- func AutoForkServer(g *libkb.GlobalContext, cl libkb.CommandLine) (bool, error)
- func BoolString(b bool, t, f string) string
- func CheckUserOrTeamName(ctx context.Context, g *libkb.GlobalContext, name string) (res keybase1.UserOrTeamResult, err error)
- func ColorBytes(g *libkb.GlobalContext, which string, text []byte) []byte
- func ColorClose(g *libkb.GlobalContext, which string) []byte
- func ColorOpen(g *libkb.GlobalContext, which string) []byte
- func ColorString(g *libkb.GlobalContext, which, format string, args ...interface{}) string
- func CtlServiceStop(g *libkb.GlobalContext) error
- func DefaultTabWriter(g *libkb.GlobalContext) *tabwriter.Writer
- func DiagnoseSocketError(ui libkb.UI, err error)
- func FixVersionClash(g *libkb.GlobalContext, cl libkb.CommandLine) (err error)
- func ForkServer(g *libkb.GlobalContext, cl libkb.CommandLine, forkType keybase1.ForkType) (bool, error)
- func GetAPIServerClient(g *libkb.GlobalContext) (cli keybase1.ApiserverClient, err error)
- func GetAccountClient(g *libkb.GlobalContext) (cli keybase1.AccountClient, err error)
- func GetBadgerClient(g *libkb.GlobalContext) (cli keybase1.BadgerClient, err error)
- func GetChatLocalClient(g *libkb.GlobalContext) (cli chat1.LocalClient, err error)
- func GetCommands(cl *libcmdline.CommandLine, g *libkb.GlobalContext) []cli.Command
- func GetConfigClient(g *libkb.GlobalContext) (cli keybase1.ConfigClient, err error)
- func GetCryptocurrencyClient(g *libkb.GlobalContext) (cli keybase1.CryptocurrencyClient, err error)
- func GetCtlClient(g *libkb.GlobalContext) (cli keybase1.CtlClient, err error)
- func GetDebuggingClient(g *libkb.GlobalContext) (cli keybase1.DebuggingClient, err error)
- func GetDeviceClient(g *libkb.GlobalContext) (cli keybase1.DeviceClient, err error)
- func GetExtraFlags() []cli.Flag
- func GetFavoriteClient(g *libkb.GlobalContext) (cli keybase1.FavoriteClient, err error)
- func GetGitClient(g *libkb.GlobalContext) (cli keybase1.GitClient, err error)
- func GetGregorClient(g *libkb.GlobalContext) (keybase1.GregorClient, error)
- func GetHelpTopics() []cli.HelpTopic
- func GetHomeClient(g *libkb.GlobalContext) (cli keybase1.HomeClient, err error)
- func GetIdentifyClient(g *libkb.GlobalContext) (cli keybase1.IdentifyClient, err error)
- func GetKBFSClient(g *libkb.GlobalContext) (cli keybase1.KbfsClient, err error)
- func GetKBFSMountClient(g *libkb.GlobalContext) (cli keybase1.KbfsMountClient, err error)
- func GetLogClient(g *libkb.GlobalContext) (cli keybase1.LogClient, err error)
- func GetLoginClient(g *libkb.GlobalContext) (cli keybase1.LoginClient, err error)
- func GetLogsendClient(g *libkb.GlobalContext) (cli keybase1.LogsendClient, err error)
- func GetMerkleClient(g *libkb.GlobalContext) (cli keybase1.MerkleClient, err error)
- func GetNodeAttrVal(node *html.Node, which string) *string
- func GetNotifyCtlClient(g *libkb.GlobalContext) (cli keybase1.NotifyCtlClient, err error)
- func GetPGPClient(g *libkb.GlobalContext) (cli keybase1.PGPClient, err error)
- func GetPaperProvisionClient(g *libkb.GlobalContext) (cli keybase1.PaperprovisionClient, err error)
- func GetPprofClient(g *libkb.GlobalContext) (cli keybase1.PprofClient, err error)
- func GetProveClient(g *libkb.GlobalContext) (cli keybase1.ProveClient, err error)
- func GetRPCClientWithContext(g *libkb.GlobalContext) (ret *rpc.Client, xp rpc.Transporter, err error)
- func GetRPCServer(g *libkb.GlobalContext) (ret *rpc.Server, xp rpc.Transporter, err error)
- func GetRekeyClient(g *libkb.GlobalContext) (keybase1.RekeyClient, error)
- func GetRevokeClient(g *libkb.GlobalContext) (cli keybase1.RevokeClient, err error)
- func GetSaltpackClient(g *libkb.GlobalContext) (cli keybase1.SaltpackClient, err error)
- func GetScanProofsClient(g *libkb.GlobalContext) (cli keybase1.ScanProofsClient, err error)
- func GetScanProofsDescription() string
- func GetSecretKeysClient(g *libkb.GlobalContext) (cli keybase1.SecretKeysClient, err error)
- func GetSelfProvisionClient(g *libkb.GlobalContext) (cli keybase1.SelfprovisionClient, err error)
- func GetSessionClient(g *libkb.GlobalContext) (keybase1.SessionClient, error)
- func GetSignupClient(g *libkb.GlobalContext) (cli keybase1.SignupClient, err error)
- func GetSigsClient(g *libkb.GlobalContext) (cli keybase1.SigsClient, err error)
- func GetSimpleFSClient(g *libkb.GlobalContext) (cli keybase1.SimpleFSClient, err error)
- func GetTeamsClient(g *libkb.GlobalContext) (cli keybase1.TeamsClient, err error)
- func GetTlfClient(g *libkb.GlobalContext) (cli keybase1.TlfClient, err error)
- func GetTrackClient(g *libkb.GlobalContext) (cli keybase1.TrackClient, err error)
- func GetUpdateClient(g *libkb.GlobalContext) (cli keybase1.UpdateClient, err error)
- func GetUserClient(g *libkb.GlobalContext) (cli keybase1.UserClient, err error)
- func GetWalletClient(g *libkb.GlobalContext) (cli stellar1.LocalClient, err error)
- func HasColor(g *libkb.GlobalContext) bool
- func InitUI(g *libkb.GlobalContext)
- func NewCmdAPICall(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdAccount(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdAccountDelete(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdAccountLockdown(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdAccountReset(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdBTC(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdBadge(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdBase62(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdBase62Decode(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdBase62Encode(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCA(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdChat(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCheckTracking(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCompatDir(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCompatPush(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdConfig(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdConfigGet(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdConfigInfo(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdConfigSet(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtl(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtlAppExit(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtlLogRotate(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtlReload(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtlRestart(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtlStart(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtlStop(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCurrency(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCurrencyAdd(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDb(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDbDelete(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDbGet(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDbNuke(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDbPut(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDecrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDeprovision(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDevice(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDeviceAdd(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDeviceList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDeviceRemove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDismiss(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDismissCategory(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDumpKeyfamily(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDumpPushNotifications(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdEncrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdFNMR(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdFakeTrackingChanged(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdFavorite(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdFavoriteAdd(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdFavoriteList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdFavoriteRemove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdGit(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdGitMddel(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdGitMdget(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdGitMdput(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdHome(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdID(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdInterestingPeople(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdListTrackers(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdListTracking(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdLog(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdLogProfile(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdLogSend(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdLogin(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdLogout(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdOneshot(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGP(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPDecrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPDrop(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPEncrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPExport(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPGen(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPImport(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPPull(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPPurge(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPSelect(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPSign(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPUpdate(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPVerify(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPaperKey(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPaperProvision(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPassphrase(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPassphraseChange(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPassphraseRecover(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPing(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPprof(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPprofCPU(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPprofTrace(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdProve(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdRIIT(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdRekey(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdRekeyPaper(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdRekeyStatus(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdRekeyTrigger(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdScanProofs(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSearch(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSecretKey(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSelfProvision(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdShowNotifications(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSign(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSignup(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSigs(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSigsList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSigsRevoke(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFS(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSCopy(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSDebug(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSGetStatus(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSHistory(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSKill(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSMkdir(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSMove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSPs(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSQuota(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSRead(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSRecover(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSRemove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSStat(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSUpgrade(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSimpleFSWrite(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdStatus(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdStress(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdTeam(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdTestFSNotify(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdTestPassphrase(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdTrack(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdUPAK(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdUnlock(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdUntrack(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdUpdate(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdVerify(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdVersion(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdWatchdog(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdWatchdog2(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewGPGUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewIdentifyTrackUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewIdentifyUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewLogUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewLoginUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewPgpUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewProvisionUIProtocol(g *libkb.GlobalContext, role libkb.KexRole) rpc.Protocol
- func NewSecretUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewStreamUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewTabWriter(g *libkb.GlobalContext, minwidth, tabwidth, padding int, padchar byte, ...) *tabwriter.Writer
- func NewTeamsUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func ParseOneTeamID(ctx *cli.Context) (res keybase1.TeamID, err error)
- func ParseOneTeamName(ctx *cli.Context) (string, error)
- func ParseOneTeamNameK1(ctx *cli.Context) (res keybase1.TeamName, err error)
- func ParseRole(ctx *cli.Context) (keybase1.TeamRole, error)
- func ParseTLF(path string) (keybase1.Folder, error)
- func ParseUser(ctx *cli.Context) (string, error)
- func ParseUserAndRole(ctx *cli.Context) (string, keybase1.TeamRole, error)
- func PingGregor(g *libkb.GlobalContext) error
- func PrintOutOfDateWarnings(g *libkb.GlobalContext)
- func PromptNewPassphrase(g *libkb.GlobalContext) (string, error)
- func PromptPaperPhrase(g *libkb.GlobalContext) (string, error)
- func PromptPassphrase(g *libkb.GlobalContext) (keybase1.GetPassphraseRes, error)
- func PromptSelectionOrCancel(pd libkb.PromptDescriptor, ui libkb.TerminalUI, prompt string, low, hi int) (ret int, err error)
- func PromptWithChecker(pd libkb.PromptDescriptor, ui libkb.TerminalUI, prompt string, password bool, ...) (string, error)
- func RegisterProtocolsWithContext(prots []rpc.Protocol, g *libkb.GlobalContext) (err error)
- func Render(g *libkb.GlobalContext, w io.Writer, m *libkb.Markup)
- func RenderText(g *libkb.GlobalContext, w io.Writer, txt keybase1.Text)
- func SendPath(g *libkb.GlobalContext) error
- func StopLaunchdService(g *libkb.GlobalContext, label string, wait bool) error
- func TopicTypeFromStrDefault(str string) (chat1.TopicType, error)
- func UserSummariesForSearchResults(results []keybase1.SearchResult, g *libkb.GlobalContext) ([]keybase1.UserSummary, error)
- type BadArgsError
- type BadServiceError
- type BadUsernameError
- type BaseIdentifyUI
- func (ui *BaseIdentifyUI) Cancel() error
- func (ui *BaseIdentifyUI) Confirm(o *keybase1.IdentifyOutcome) (keybase1.ConfirmResult, error)
- func (ui *BaseIdentifyUI) Dismiss(_ string, _ keybase1.DismissReason) error
- func (ui *BaseIdentifyUI) DisplayCryptocurrency(l keybase1.Cryptocurrency) error
- func (ui *BaseIdentifyUI) DisplayKey(key keybase1.IdentifyKey) error
- func (ui *BaseIdentifyUI) DisplayTLFCreateWithInvite(arg keybase1.DisplayTLFCreateWithInviteArg) error
- func (ui *BaseIdentifyUI) DisplayTrackStatement(stmt string) error
- func (ui *BaseIdentifyUI) DisplayUserCard(keybase1.UserCard) error
- func (ui *BaseIdentifyUI) Finish() error
- func (ui *BaseIdentifyUI) FinishSocialProofCheck(p keybase1.RemoteProof, l keybase1.LinkCheckResult) error
- func (ui *BaseIdentifyUI) FinishWebProofCheck(p keybase1.RemoteProof, l keybase1.LinkCheckResult) error
- func (ui *BaseIdentifyUI) LaunchNetworkChecks(i *keybase1.Identity, u *keybase1.User) error
- func (ui *BaseIdentifyUI) PromptForConfirmation(s string) error
- func (ui *BaseIdentifyUI) ReportHook(s string)
- func (ui *BaseIdentifyUI) ReportLastTrack(tl *keybase1.TrackSummary) error
- func (ui *BaseIdentifyUI) ReportRevoked(del []keybase1.TrackDiff)
- func (ui *BaseIdentifyUI) ReportTrackToken(_ keybase1.TrackToken) error
- func (ui *BaseIdentifyUI) ShowWarnings(w libkb.Warnings)
- func (ui *BaseIdentifyUI) Start(username string, reason keybase1.IdentifyReason, forceDisplay bool) error
- func (ui *BaseIdentifyUI) TrackDiffUpgradedToString(t libkb.TrackDiffUpgraded) string
- func (ui *BaseIdentifyUI) Warning(m string)
- type BufferSource
- type Call
- type CallError
- type CanceledError
- type Canceler
- type CantRunInStandaloneError
- type ChatAPI
- func (a *ChatAPI) AttachV1(ctx context.Context, c Call, w io.Writer) error
- func (a *ChatAPI) DeleteV1(ctx context.Context, c Call, w io.Writer) error
- func (a *ChatAPI) DownloadV1(ctx context.Context, c Call, w io.Writer) error
- func (a *ChatAPI) EditV1(ctx context.Context, c Call, w io.Writer) error
- func (a *ChatAPI) GetV1(ctx context.Context, c Call, w io.Writer) error
- func (a *ChatAPI) ListV1(ctx context.Context, c Call, w io.Writer) error
- func (a *ChatAPI) MarkV1(ctx context.Context, c Call, w io.Writer) error
- func (a *ChatAPI) ReactionV1(ctx context.Context, c Call, w io.Writer) error
- func (a *ChatAPI) ReadV1(ctx context.Context, c Call, w io.Writer) error
- func (a *ChatAPI) SearchRegexpV1(ctx context.Context, c Call, w io.Writer) error
- func (a *ChatAPI) SendV1(ctx context.Context, c Call, w io.Writer) error
- func (a *ChatAPI) SetStatusV1(ctx context.Context, c Call, w io.Writer) error
- type ChatAPIHandler
- type ChatAPIVersionHandler
- type ChatChannel
- type ChatList
- type ChatMessage
- type ChatNotifications
- type ChatSendArg
- type ChatServiceHandler
- type ChatUI
- func (c *ChatUI) ChatAttachmentDownloadDone(context.Context, int) error
- func (c *ChatUI) ChatAttachmentDownloadProgress(ctx context.Context, arg chat1.ChatAttachmentDownloadProgressArg) error
- func (c *ChatUI) ChatAttachmentDownloadStart(context.Context, int) error
- func (c *ChatUI) ChatConfirmChannelDelete(ctx context.Context, arg chat1.ChatConfirmChannelDeleteArg) (bool, error)
- func (c *ChatUI) ChatInboxConversation(ctx context.Context, arg chat1.ChatInboxConversationArg) error
- func (c *ChatUI) ChatInboxFailed(ctx context.Context, arg chat1.ChatInboxFailedArg) error
- func (c *ChatUI) ChatInboxUnverified(ctx context.Context, arg chat1.ChatInboxUnverifiedArg) error
- func (c *ChatUI) ChatSearchDone(ctx context.Context, arg chat1.ChatSearchDoneArg) error
- func (c *ChatUI) ChatSearchHit(ctx context.Context, arg chat1.ChatSearchHitArg) error
- func (c *ChatUI) ChatThreadCached(ctx context.Context, arg chat1.ChatThreadCachedArg) error
- func (c *ChatUI) ChatThreadFull(ctx context.Context, arg chat1.ChatThreadFullArg) error
- type Checker
- type CleanCancelError
- type ClientSpecificCustomMessage
- type CmdAPICall
- type CmdAccountDelete
- type CmdAccountLockdown
- type CmdAccountReset
- type CmdBTC
- type CmdBadge
- type CmdBase62Decode
- type CmdBase62Encode
- type CmdCA
- type CmdChatAPI
- type CmdChatAPIListen
- type CmdChatCreateChannel
- type CmdChatDeleteChannel
- type CmdChatDeleteHistory
- type CmdChatDeleteHistoryDev
- type CmdChatDownload
- type CmdChatHide
- type CmdChatJoinChannel
- type CmdChatKBFSUpgrade
- type CmdChatLeaveChannel
- type CmdChatListChannels
- type CmdChatListMembers
- type CmdChatMute
- type CmdChatReAddMember
- type CmdChatRead
- type CmdChatRenameChannel
- type CmdChatReport
- type CmdChatSearch
- type CmdChatSend
- type CmdChatSetConvMinWriterRole
- type CmdChatSetRetention
- type CmdChatSetRetentionDev
- type CmdChatUpload
- type CmdCheckTracking
- type CmdConfigGet
- type CmdConfigInfo
- type CmdConfigSet
- type CmdCtlAppExit
- type CmdCtlLogRotate
- type CmdCtlReload
- type CmdCtlRestart
- type CmdCtlStart
- type CmdCtlStop
- type CmdCurrencyAdd
- type CmdDbDelete
- type CmdDbGet
- type CmdDbNuke
- type CmdDbPut
- type CmdDecrypt
- type CmdDeprovision
- type CmdDeviceAdd
- type CmdDeviceList
- type CmdDeviceRemove
- type CmdDismiss
- type CmdDismissCategory
- type CmdDumpKeyfamily
- type CmdDumpPushNotifications
- type CmdEncrypt
- type CmdFakeTrackingChanged
- type CmdFavoriteAdd
- type CmdFavoriteList
- type CmdFavoriteRemove
- type CmdGitCreate
- type CmdGitDelete
- type CmdGitGC
- type CmdGitList
- type CmdGitMddel
- type CmdGitMdget
- type CmdGitMdput
- type CmdGitSettings
- type CmdHome
- type CmdID
- type CmdInterestingPeople
- type CmdListTrackers
- type CmdListTracking
- type CmdLogProfile
- type CmdLogSend
- type CmdLogin
- type CmdLogout
- type CmdOneshot
- type CmdPGPDecrypt
- type CmdPGPDrop
- type CmdPGPEncrypt
- type CmdPGPExport
- type CmdPGPGen
- type CmdPGPImport
- type CmdPGPList
- type CmdPGPPull
- type CmdPGPPurge
- type CmdPGPSelect
- type CmdPGPSign
- type CmdPGPUpdate
- type CmdPGPVerify
- type CmdPaperKey
- type CmdPaperProvision
- type CmdPassphraseChange
- type CmdPassphraseRecover
- type CmdPing
- type CmdPprofCPU
- type CmdPprofTrace
- type CmdProve
- type CmdRekeyPaper
- type CmdRekeyStatus
- type CmdRekeyTrigger
- type CmdScanProofs
- type CmdScript
- type CmdSearch
- type CmdSecretKey
- type CmdSelfProvision
- type CmdShowNotifications
- type CmdSign
- type CmdSignup
- type CmdSigsList
- type CmdSigsRevoke
- type CmdSimpleFSCopy
- type CmdSimpleFSDebug
- type CmdSimpleFSGetStatus
- type CmdSimpleFSHistory
- type CmdSimpleFSKill
- type CmdSimpleFSList
- type CmdSimpleFSMkdir
- type CmdSimpleFSMove
- type CmdSimpleFSPs
- type CmdSimpleFSQuota
- type CmdSimpleFSRead
- type CmdSimpleFSRecover
- type CmdSimpleFSRemove
- type CmdSimpleFSStat
- type CmdSimpleFSUpgrade
- type CmdSimpleFSWrite
- type CmdStatus
- type CmdStress
- func (c *CmdStress) ConfirmDuplicateKeyChosen(_ context.Context, _ int) (bool, error)
- func (c *CmdStress) ConfirmImportSecretToExistingKey(_ context.Context, _ int) (bool, error)
- func (c *CmdStress) GetPassphrase(_ context.Context, arg keybase1.GetPassphraseArg) (res keybase1.GetPassphraseRes, err error)
- func (c *CmdStress) GetTTY(_ context.Context) (string, error)
- func (c *CmdStress) GetUsage() libkb.Usage
- func (c *CmdStress) ParseArgv(ctx *cli.Context) error
- func (c *CmdStress) Run() error
- func (c *CmdStress) SelectKey(_ context.Context, arg keybase1.SelectKeyArg) (string, error)
- func (c *CmdStress) SelectKeyAndPushOption(_ context.Context, arg keybase1.SelectKeyAndPushOptionArg) (res keybase1.SelectKeyRes, err error)
- func (c *CmdStress) Sign(_ context.Context, arg keybase1.SignArg) (string, error)
- func (c *CmdStress) WantToAddGPGKey(_ context.Context, _ int) (bool, error)
- type CmdTeamAPI
- type CmdTeamAcceptInvite
- type CmdTeamAddMember
- type CmdTeamCreate
- type CmdTeamDebug
- type CmdTeamDelete
- type CmdTeamEditMember
- type CmdTeamGenerateSeitan
- type CmdTeamIgnoreRequest
- type CmdTeamLeave
- type CmdTeamListMemberships
- type CmdTeamListRequests
- type CmdTeamRemoveMember
- type CmdTeamRename
- type CmdTeamRequestAccess
- type CmdTeamRotateKey
- type CmdTeamSettings
- type CmdTeamShowTree
- type CmdTestFSNotify
- type CmdTestPassphrase
- type CmdTrack
- type CmdUnlock
- type CmdUntrack
- type CmdVerify
- type CmdVersion
- type CmdWalletCancelRequest
- type CmdWalletLookup
- type CmdWalletRequest
- type CmdWalletSend
- type CmdWatchdog
- type CmdWatchdog2
- func (c *CmdWatchdog2) Debugf(s string, args ...interface{})
- func (c *CmdWatchdog2) Errorf(s string, args ...interface{})
- func (c *CmdWatchdog2) GetUsage() libkb.Usage
- func (c *CmdWatchdog2) Infof(s string, args ...interface{})
- func (c *CmdWatchdog2) ParseArgv(ctx *cli.Context) error
- func (c *CmdWatchdog2) Run() error
- func (c *CmdWatchdog2) Warningf(s string, args ...interface{})
- type CodePair
- type ConvSummary
- type DirentFileInfo
- type EmptyRes
- type ErrInvalidJSON
- type ErrInvalidMethod
- type ErrInvalidOptions
- type ErrInvalidVersion
- type EscapedSink
- type Field
- type FileInfoPath
- type FileSink
- type FileSource
- type GPGUI
- func (g GPGUI) ConfirmDuplicateKeyChosen(_ context.Context, _ int) (bool, error)
- func (g GPGUI) ConfirmImportSecretToExistingKey(_ context.Context, _ int) (bool, error)
- func (g GPGUI) GetTTY(_ context.Context) (string, error)
- func (g GPGUI) SelectKey(ctx context.Context, arg keybase1.SelectKeyArg) (string, error)
- func (g GPGUI) SelectKeyAndPushOption(ctx context.Context, arg keybase1.SelectKeyAndPushOptionArg) (res keybase1.SelectKeyRes, err error)
- func (g GPGUI) SelectKeyID(_ context.Context, keys []keybase1.GPGKey) (string, error)
- func (g GPGUI) Sign(_ context.Context, arg keybase1.SignArg) (string, error)
- func (g GPGUI) WantToAddGPGKey(_ context.Context, _ int) (bool, error)
- type IdentifyTrackUI
- type IdentifyUI
- type IdentifyUIServer
- func (i *IdentifyUIServer) Cancel(_ context.Context, sessionID int) error
- func (i *IdentifyUIServer) Confirm(_ context.Context, arg keybase1.ConfirmArg) (keybase1.ConfirmResult, error)
- func (i *IdentifyUIServer) DelegateIdentifyUI(_ context.Context) (int, error)
- func (i *IdentifyUIServer) Dismiss(_ context.Context, arg keybase1.DismissArg) error
- func (i *IdentifyUIServer) DisplayCryptocurrency(_ context.Context, arg keybase1.DisplayCryptocurrencyArg) error
- func (i *IdentifyUIServer) DisplayKey(_ context.Context, arg keybase1.DisplayKeyArg) error
- func (i *IdentifyUIServer) DisplayTLFCreateWithInvite(_ context.Context, arg keybase1.DisplayTLFCreateWithInviteArg) error
- func (i *IdentifyUIServer) DisplayTrackStatement(_ context.Context, arg keybase1.DisplayTrackStatementArg) error
- func (i *IdentifyUIServer) DisplayUserCard(_ context.Context, arg keybase1.DisplayUserCardArg) error
- func (i *IdentifyUIServer) Finish(_ context.Context, sessionID int) error
- func (i *IdentifyUIServer) FinishSocialProofCheck(_ context.Context, arg keybase1.FinishSocialProofCheckArg) error
- func (i *IdentifyUIServer) FinishWebProofCheck(_ context.Context, arg keybase1.FinishWebProofCheckArg) error
- func (i *IdentifyUIServer) LaunchNetworkChecks(_ context.Context, arg keybase1.LaunchNetworkChecksArg) error
- func (i *IdentifyUIServer) ReportLastTrack(_ context.Context, arg keybase1.ReportLastTrackArg) error
- func (i *IdentifyUIServer) ReportTrackToken(_ context.Context, arg keybase1.ReportTrackTokenArg) error
- func (i *IdentifyUIServer) Start(_ context.Context, arg keybase1.StartArg) error
- type InternalError
- type JSONInput
- type LinkCheckResultWrapper
- func (w LinkCheckResultWrapper) GetBreaksTrackingMark() string
- func (w LinkCheckResultWrapper) GetCachedMsg() string
- func (w LinkCheckResultWrapper) GetDiff() *keybase1.TrackDiff
- func (w LinkCheckResultWrapper) GetDiffOrRemoteDiff() *keybase1.TrackDiff
- func (w LinkCheckResultWrapper) GetError() error
- func (w LinkCheckResultWrapper) GetHint() SigHintWrapper
- func (w LinkCheckResultWrapper) GetSnoozedError() error
- func (w LinkCheckResultWrapper) GetTmpTrackExpireTime() time.Time
- func (w LinkCheckResultWrapper) GetTorWarning() bool
- type ListOptions
- type Listing
- type Listings
- type LogUIServer
- type LoginUI
- func (l LoginUI) DisplayPaperKeyPhrase(_ context.Context, arg keybase1.DisplayPaperKeyPhraseArg) error
- func (l LoginUI) DisplayPrimaryPaperKey(_ context.Context, arg keybase1.DisplayPrimaryPaperKeyArg) error
- func (l LoginUI) GetEmailOrUsername(_ context.Context, _ int) (string, error)
- func (l LoginUI) PromptRevokePaperKeys(_ context.Context, arg keybase1.PromptRevokePaperKeysArg) (bool, error)
- type Message
- type MsgContent
- type MsgSender
- type MsgSummary
- type NoTerminalError
- type NotConfirmedError
- type OpCanceler
- type Paragraph
- type Params
- type PgpUI
- func (p PgpUI) Finished(ctx context.Context, sessionID int) error
- func (p PgpUI) KeyGenerated(ctx context.Context, arg keybase1.KeyGeneratedArg) error
- func (p PgpUI) OutputSignatureSuccess(_ context.Context, arg keybase1.OutputSignatureSuccessArg) error
- func (p PgpUI) OutputSignatureSuccessNonKeybase(ctx context.Context, arg keybase1.OutputSignatureSuccessNonKeybaseArg) error
- func (p PgpUI) ShouldPushPrivate(ctx context.Context, sessionID int) (bool, error)
- type PromptFields
- type Prompter
- type ProofNotYetAvailableError
- type ProveRooterUI
- func (p *ProveRooterUI) DisplayRecheckWarning(_ context.Context, _ keybase1.DisplayRecheckWarningArg) error
- func (p *ProveRooterUI) OkToCheck(_ context.Context, _ keybase1.OkToCheckArg) (bool, error)
- func (p *ProveRooterUI) OutputInstructions(_ context.Context, arg keybase1.OutputInstructionsArg) error
- func (p *ProveRooterUI) OutputPrechecks(_ context.Context, _ keybase1.OutputPrechecksArg) error
- func (p *ProveRooterUI) PreProofWarning(_ context.Context, _ keybase1.PreProofWarningArg) (bool, error)
- func (p *ProveRooterUI) PromptOverwrite(_ context.Context, _ keybase1.PromptOverwriteArg) (bool, error)
- func (p *ProveRooterUI) PromptUsername(_ context.Context, _ keybase1.PromptUsernameArg) (string, error)
- type ProveUI
- func (p ProveUI) DisplayRecheckWarning(_ context.Context, arg keybase1.DisplayRecheckWarningArg) error
- func (p ProveUI) OkToCheck(_ context.Context, arg keybase1.OkToCheckArg) (bool, error)
- func (p ProveUI) OutputInstructions(_ context.Context, arg keybase1.OutputInstructionsArg) (err error)
- func (p ProveUI) OutputPrechecks(_ context.Context, arg keybase1.OutputPrechecksArg) error
- func (p ProveUI) PreProofWarning(_ context.Context, arg keybase1.PreProofWarningArg) (bool, error)
- func (p ProveUI) PromptOverwrite(_ context.Context, arg keybase1.PromptOverwriteArg) (bool, error)
- func (p ProveUI) PromptUsername(_ context.Context, arg keybase1.PromptUsernameArg) (string, error)
- type ProvisionUI
- func (p ProvisionUI) ChooseDevice(ctx context.Context, arg keybase1.ChooseDeviceArg) (keybase1.DeviceID, error)
- func (p ProvisionUI) ChooseDeviceType(ctx context.Context, arg keybase1.ChooseDeviceTypeArg) (keybase1.DeviceType, error)
- func (p ProvisionUI) ChooseGPGMethod(ctx context.Context, arg keybase1.ChooseGPGMethodArg) (keybase1.GPGMethod, error)
- func (p ProvisionUI) ChooseProvisioningMethod(ctx context.Context, arg keybase1.ChooseProvisioningMethodArg) (keybase1.ProvisionMethod, error)
- func (p ProvisionUI) DisplayAndPromptSecret(ctx context.Context, arg keybase1.DisplayAndPromptSecretArg) (keybase1.SecretResponse, error)
- func (p ProvisionUI) DisplaySecretExchanged(ctx context.Context, sessionID int) error
- func (p ProvisionUI) PromptNewDeviceName(ctx context.Context, arg keybase1.PromptNewDeviceNameArg) (string, error)
- func (p ProvisionUI) ProvisioneeSuccess(ctx context.Context, arg keybase1.ProvisioneeSuccessArg) error
- func (p ProvisionUI) ProvisionerSuccess(ctx context.Context, arg keybase1.ProvisionerSuccessArg) error
- func (p ProvisionUI) SwitchToGPGSignOK(ctx context.Context, arg keybase1.SwitchToGPGSignOKArg) (bool, error)
- type RateLimit
- type RateLimits
- type RemoteProofWrapper
- func (w RemoteProofWrapper) GetDomain() string
- func (w RemoteProofWrapper) GetHostname() string
- func (w RemoteProofWrapper) GetProtocol() string
- func (w RemoteProofWrapper) GetRemoteUsername() string
- func (w RemoteProofWrapper) GetService() string
- func (w RemoteProofWrapper) ToDisplayString() string
- type Renderer
- type Reply
- type SaltpackUI
- func (s *SaltpackUI) SaltpackPromptForDecrypt(_ context.Context, arg keybase1.SaltpackPromptForDecryptArg) (err error)
- func (s *SaltpackUI) SaltpackVerifyBadSender(_ context.Context, arg keybase1.SaltpackVerifyBadSenderArg) error
- func (s *SaltpackUI) SaltpackVerifySuccess(_ context.Context, arg keybase1.SaltpackVerifySuccessArg) error
- type SearchRes
- type SecretEntry
- type SecretUI
- type SecretUIServer
- type SendRes
- type SigHintWrapper
- type Sink
- type Source
- type StdinSource
- type StdoutSink
- type Stopper
- type TeamsUI
- type Terminal
- func (t *Terminal) GetSecret(arg *keybase1.SecretEntryArg) (res *keybase1.SecretEntryRes, err error)
- func (t *Terminal) GetSize() (int, int)
- func (t *Terminal) Prompt(s string) (string, error)
- func (t *Terminal) PromptPassword(s string) (string, error)
- func (t *Terminal) PromptYesNo(p string, def libkb.PromptDefault) (ret bool, err error)
- func (t *Terminal) Shutdown() error
- type Thread
- type UI
- func (ui *UI) Configure() error
- func (ui *UI) ErrorWriter() io.Writer
- func (ui *UI) GetDumbOutputUI() libkb.DumbOutputUI
- func (ui *UI) GetGPGUI() libkb.GPGUI
- func (ui *UI) GetIdentifyTrackUI() libkb.IdentifyUI
- func (ui *UI) GetIdentifyUI() libkb.IdentifyUI
- func (ui *UI) GetLogUI() libkb.LogUI
- func (ui *UI) GetLoginUI() libkb.LoginUI
- func (ui *UI) GetPgpUI() libkb.PgpUI
- func (ui *UI) GetProveUI() libkb.ProveUI
- func (ui *UI) GetProvisionUI(role libkb.KexRole) libkb.ProvisionUI
- func (ui *UI) GetSecretUI() libkb.SecretUI
- func (ui *UI) GetTerminalSize() (int, int)
- func (ui *UI) GetTerminalUI() libkb.TerminalUI
- func (ui *UI) Output(s string) error
- func (ui *UI) OutputDesc(_ libkb.OutputDescriptor, s string) error
- func (ui *UI) OutputWriter() io.Writer
- func (ui *UI) Printf(format string, a ...interface{}) (n int, err error)
- func (ui *UI) PrintfStderr(format string, a ...interface{}) (n int, err error)
- func (ui *UI) PrintfUnescaped(format string, a ...interface{}) (n int, err error)
- func (ui *UI) Println(a ...interface{}) (int, error)
- func (ui *UI) Prompt(_ libkb.PromptDescriptor, s string) (string, error)
- func (ui *UI) PromptForConfirmation(prompt string) error
- func (ui *UI) PromptPassword(_ libkb.PromptDescriptor, s string) (string, error)
- func (ui *UI) PromptSelection(prompt string, low, hi int) (ret int, err error)
- func (ui *UI) PromptYesNo(_ libkb.PromptDescriptor, p string, def libkb.PromptDefault) (ret bool, err error)
- func (ui *UI) Shutdown() error
- func (ui *UI) TerminalSize() (width int, height int)
- func (ui *UI) UnescapedOutputWriter() io.Writer
- type UnexpectedArgsError
- type UnixFilter
- func (u *UnixFilter) ClientFilterOpen(g *libkb.GlobalContext) (snk, src keybase1.Stream, err error)
- func (u *UnixFilter) Close(inerr error) error
- func (u *UnixFilter) FilterInit(g *libkb.GlobalContext, msg, infile, outfile string) (err error)
- func (u *UnixFilter) FilterOpen(g *libkb.GlobalContext) (err error)
Constants ¶
const ( GET httpMethod = iota POST )
const ( PromptDescriptorGeneric libkb.PromptDescriptor = iota PromptDescriptorRevokePaperKeys PromptDescriptorReregister PromptDescriptorInviteOK PromptDescriptorPGPGenPushSecret PromptDescriptorPGPGenEncryptSecret PromptDescriptorDoctorWhichAccount PromptDescriptorDoctorSignOK PromptDescriptorGPGOKToAdd PromptDescriptorGPGConfirmDuplicateKey PromptDescriptorTrackAction PromptDescriptorTrackPublic PromptDescriptorProvePreWarning PromptDescriptorProveOKToCheck PromptDescriptorProveOverwriteOK PromptDescriptorLocksmithDeviceName PromptDescriptorLocksmithSigningOption PromptDescriptorGPGSelectKey PromptDescriptorLoginUsername PromptDescriptorLoginWritePaper PromptDescriptorLoginWallet PromptDescriptorSignupFullName PromptDescriptorSignupNotes PromptDescriptorSignupUsername PromptDescriptorSignupEmail PromptDescriptorSignupReenterPassphrase PromptDescriptorSignupDevice PromptDescriptorSignupCode PromptDescriptorChooseProvisioningMethod PromptDescriptorChooseGPGMethod PromptDescriptorChooseDevice PromptDescriptorChooseDeviceType PromptDescriptorProvisionPhrase PromptDescriptorProvisionDeviceName PromptDescriptorProvisionSwitchToGPGSign PromptDescriptorExportSecretKeyFromGPG PromptDescriptorDeprovisionWhichUser PromptDescriptorUpdateDo PromptDescriptorUpdateAuto PromptDescriptorUpdateSnooze PromptDescriptorDecryptInteractive PromptDescriptorPGPGenEnterID PromptDescriptorTrackExpireLocal PromptDescriptorChooseConversation PromptDescriptorEnterChatTLFName PromptDescriptorEnterChatMessage PromptDescriptorDeviceRevoke PromptDescriptorFSOverwrite PromptDescriptorRemoveMember PromptDescriptorDeleteRootTeam PromptDescriptorDeleteSubteam PromptDescriptorChatDeleteHistory PromptDescriptorChatSetRetention PromptDescriptorImportStellarSecretKey PromptDescriptorConfirmStellarImport PromptDescriptorChatSetConvMinWriterRole PromptDescriptorChangeLockdownMode PromptDescriptorImportStellarAccountName )
const ( OutputDescriptorGeneric libkb.OutputDescriptor = iota OutputDescriptorPrimaryPaperKey OutputDescriptorEndageredTLFs OutputDescriptorHomeDump OutputDescriptorBadgeDump OutputDescriptorTeamList )
const (
PGPStorage = "pgp-storage"
)
Variables ¶
var ( CpBold = CodePair{1, 22} CpDim = CodePair{2, 22} CpItalic = CodePair{3, 23} CpUnderline = CodePair{4, 24} CpStrikethrough = CodePair{9, 29} )
var AppHelpTemplate = `` /* 520-byte string literal not displayed */
AppHelpTemplate is used for `keybase help` or `keybase -h`.
var BADX = "✖"
var BTC = "฿"
var CHECK = "✔"
var CheckOptionalEmail = libkb.Checker{ F: func(s string) bool { if len(s) == 0 { return true } return libkb.CheckEmail.F(s) }, Hint: libkb.CheckEmail.Hint, }
var CheckRealName = libkb.Checker{ F: func(s string) bool { nameID, err := libkb.ParseIdentity(s) if err != nil { return false } return len(nameID.Username) > 0 && len(nameID.Comment) == 0 && len(nameID.Email) == 0 }, Hint: "for example: \"Ned Snowben\"", }
var CommandHelpTemplate = `` /* 503-byte string literal not displayed */
CommandHelpTemplate is used for `keybase help cmd` or `keybase cmd help subcmd`.
var ErrInputCanceled libkb.InputCanceledError
var ErrTargetFileExists = errors.New("target file exists")
var INDENT = 3
var SmallKey = 1024
var SubcommandHelpTemplate = `` /* 187-byte string literal not displayed */
SubcommandHelpTemplate is used for `keybase cmd` with no other arguments when `cmd` has subcommands. Or for `keybase cmd help` when `cmd` has subcommands.
Functions ¶
func AddPGPMultiInstructions ¶
func AutoForkServer ¶
func AutoForkServer(g *libkb.GlobalContext, cl libkb.CommandLine) (bool, error)
AutoForkServer just forks the server and sets the autoFork flag to true
func BoolString ¶
BoolString maps a bool to true and false strings (like "yes" and "no"). For example: BoolString(b, "yes", "no").
func CheckUserOrTeamName ¶
func CheckUserOrTeamName(ctx context.Context, g *libkb.GlobalContext, name string) (res keybase1.UserOrTeamResult, err error)
func ColorBytes ¶
func ColorBytes(g *libkb.GlobalContext, which string, text []byte) []byte
func ColorClose ¶
func ColorClose(g *libkb.GlobalContext, which string) []byte
func ColorString ¶
func ColorString(g *libkb.GlobalContext, which, format string, args ...interface{}) string
func CtlServiceStop ¶
func CtlServiceStop(g *libkb.GlobalContext) error
CtlServiceStop will stop a running service via RPC call
func DefaultTabWriter ¶
func DefaultTabWriter(g *libkb.GlobalContext) *tabwriter.Writer
func DiagnoseSocketError ¶
DebugSocketError allows platforms to help the user diagnose and resolve socket errors.
func FixVersionClash ¶
func FixVersionClash(g *libkb.GlobalContext, cl libkb.CommandLine) (err error)
func ForkServer ¶
func ForkServer(g *libkb.GlobalContext, cl libkb.CommandLine, forkType keybase1.ForkType) (bool, error)
ForkServer forks a new background Keybase service, and waits until it's pingable. It will only do something useful on Unixes; it won't work on Windows (probably?). Returns an error if anything bad happens; otherwise, assume that the server was successfully started up. Returns (true, nil) if the server was actually forked, or (false, nil) if it was previously up.
func GetAPIServerClient ¶
func GetAPIServerClient(g *libkb.GlobalContext) (cli keybase1.ApiserverClient, err error)
func GetAccountClient ¶
func GetAccountClient(g *libkb.GlobalContext) (cli keybase1.AccountClient, err error)
func GetBadgerClient ¶
func GetBadgerClient(g *libkb.GlobalContext) (cli keybase1.BadgerClient, err error)
func GetChatLocalClient ¶
func GetChatLocalClient(g *libkb.GlobalContext) (cli chat1.LocalClient, err error)
func GetCommands ¶
func GetCommands(cl *libcmdline.CommandLine, g *libkb.GlobalContext) []cli.Command
func GetConfigClient ¶
func GetConfigClient(g *libkb.GlobalContext) (cli keybase1.ConfigClient, err error)
func GetCryptocurrencyClient ¶
func GetCryptocurrencyClient(g *libkb.GlobalContext) (cli keybase1.CryptocurrencyClient, err error)
func GetCtlClient ¶
func GetCtlClient(g *libkb.GlobalContext) (cli keybase1.CtlClient, err error)
func GetDebuggingClient ¶
func GetDebuggingClient(g *libkb.GlobalContext) (cli keybase1.DebuggingClient, err error)
func GetDeviceClient ¶
func GetDeviceClient(g *libkb.GlobalContext) (cli keybase1.DeviceClient, err error)
func GetExtraFlags ¶
GetExtraFlags gets the extra fork-related flags for this platform
func GetFavoriteClient ¶
func GetFavoriteClient(g *libkb.GlobalContext) (cli keybase1.FavoriteClient, err error)
func GetGitClient ¶
func GetGitClient(g *libkb.GlobalContext) (cli keybase1.GitClient, err error)
func GetGregorClient ¶
func GetGregorClient(g *libkb.GlobalContext) (keybase1.GregorClient, error)
func GetHelpTopics ¶
func GetHomeClient ¶
func GetHomeClient(g *libkb.GlobalContext) (cli keybase1.HomeClient, err error)
func GetIdentifyClient ¶
func GetIdentifyClient(g *libkb.GlobalContext) (cli keybase1.IdentifyClient, err error)
func GetKBFSClient ¶
func GetKBFSClient(g *libkb.GlobalContext) (cli keybase1.KbfsClient, err error)
func GetKBFSMountClient ¶
func GetKBFSMountClient(g *libkb.GlobalContext) (cli keybase1.KbfsMountClient, err error)
func GetLogClient ¶
func GetLogClient(g *libkb.GlobalContext) (cli keybase1.LogClient, err error)
func GetLoginClient ¶
func GetLoginClient(g *libkb.GlobalContext) (cli keybase1.LoginClient, err error)
func GetLogsendClient ¶
func GetLogsendClient(g *libkb.GlobalContext) (cli keybase1.LogsendClient, err error)
func GetMerkleClient ¶
func GetMerkleClient(g *libkb.GlobalContext) (cli keybase1.MerkleClient, err error)
func GetNotifyCtlClient ¶
func GetNotifyCtlClient(g *libkb.GlobalContext) (cli keybase1.NotifyCtlClient, err error)
func GetPGPClient ¶
func GetPGPClient(g *libkb.GlobalContext) (cli keybase1.PGPClient, err error)
func GetPaperProvisionClient ¶
func GetPaperProvisionClient(g *libkb.GlobalContext) (cli keybase1.PaperprovisionClient, err error)
func GetPprofClient ¶
func GetPprofClient(g *libkb.GlobalContext) (cli keybase1.PprofClient, err error)
func GetProveClient ¶
func GetProveClient(g *libkb.GlobalContext) (cli keybase1.ProveClient, err error)
func GetRPCClientWithContext ¶
func GetRPCClientWithContext(g *libkb.GlobalContext) (ret *rpc.Client, xp rpc.Transporter, err error)
func GetRPCServer ¶
func GetRPCServer(g *libkb.GlobalContext) (ret *rpc.Server, xp rpc.Transporter, err error)
func GetRekeyClient ¶
func GetRekeyClient(g *libkb.GlobalContext) (keybase1.RekeyClient, error)
func GetRevokeClient ¶
func GetRevokeClient(g *libkb.GlobalContext) (cli keybase1.RevokeClient, err error)
func GetSaltpackClient ¶
func GetSaltpackClient(g *libkb.GlobalContext) (cli keybase1.SaltpackClient, err error)
func GetScanProofsClient ¶
func GetScanProofsClient(g *libkb.GlobalContext) (cli keybase1.ScanProofsClient, err error)
func GetScanProofsDescription ¶
func GetScanProofsDescription() string
func GetSecretKeysClient ¶
func GetSecretKeysClient(g *libkb.GlobalContext) (cli keybase1.SecretKeysClient, err error)
func GetSelfProvisionClient ¶
func GetSelfProvisionClient(g *libkb.GlobalContext) (cli keybase1.SelfprovisionClient, err error)
func GetSessionClient ¶
func GetSessionClient(g *libkb.GlobalContext) (keybase1.SessionClient, error)
func GetSignupClient ¶
func GetSignupClient(g *libkb.GlobalContext) (cli keybase1.SignupClient, err error)
func GetSigsClient ¶
func GetSigsClient(g *libkb.GlobalContext) (cli keybase1.SigsClient, err error)
func GetSimpleFSClient ¶
func GetSimpleFSClient(g *libkb.GlobalContext) (cli keybase1.SimpleFSClient, err error)
func GetTeamsClient ¶
func GetTeamsClient(g *libkb.GlobalContext) (cli keybase1.TeamsClient, err error)
func GetTlfClient ¶
func GetTlfClient(g *libkb.GlobalContext) (cli keybase1.TlfClient, err error)
func GetTrackClient ¶
func GetTrackClient(g *libkb.GlobalContext) (cli keybase1.TrackClient, err error)
func GetUpdateClient ¶
func GetUpdateClient(g *libkb.GlobalContext) (cli keybase1.UpdateClient, err error)
func GetUserClient ¶
func GetUserClient(g *libkb.GlobalContext) (cli keybase1.UserClient, err error)
func GetWalletClient ¶
func GetWalletClient(g *libkb.GlobalContext) (cli stellar1.LocalClient, err error)
func HasColor ¶
func HasColor(g *libkb.GlobalContext) bool
func InitUI ¶
func InitUI(g *libkb.GlobalContext)
func NewCmdAPICall ¶
func NewCmdAPICall(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdAccount ¶
func NewCmdAccount(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdAccountDelete ¶
func NewCmdAccountDelete(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdAccountLockdown ¶
func NewCmdAccountLockdown(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdAccountReset ¶
func NewCmdAccountReset(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdBTC ¶
func NewCmdBTC(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdBadge ¶
func NewCmdBadge(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdBase62 ¶
func NewCmdBase62(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdBase62Decode ¶
func NewCmdBase62Decode(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdBase62Encode ¶
func NewCmdBase62Encode(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCA ¶
func NewCmdCA(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdChat ¶
func NewCmdChat(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCheckTracking ¶
func NewCmdCheckTracking(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCompatDir ¶
func NewCmdCompatDir(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCompatPush ¶
func NewCmdCompatPush(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdConfig ¶
func NewCmdConfig(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdConfigGet ¶
func NewCmdConfigGet(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdConfigInfo ¶
func NewCmdConfigInfo(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdConfigSet ¶
func NewCmdConfigSet(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtl ¶
func NewCmdCtl(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtlAppExit ¶
func NewCmdCtlAppExit(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtlLogRotate ¶
func NewCmdCtlLogRotate(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtlReload ¶
func NewCmdCtlReload(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtlRestart ¶
func NewCmdCtlRestart(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtlStart ¶
func NewCmdCtlStart(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtlStop ¶
func NewCmdCtlStop(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCurrency ¶
func NewCmdCurrency(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCurrencyAdd ¶
func NewCmdCurrencyAdd(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDb ¶
func NewCmdDb(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDbDelete ¶
func NewCmdDbDelete(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDbGet ¶
func NewCmdDbGet(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDbNuke ¶
func NewCmdDbNuke(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDbPut ¶
func NewCmdDbPut(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDecrypt ¶
func NewCmdDecrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDeprovision ¶
func NewCmdDeprovision(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDevice ¶
func NewCmdDevice(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdDevice creates the device command, which is just a holder for subcommands.
func NewCmdDeviceAdd ¶
func NewCmdDeviceAdd(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdDeviceAdd creates a new cli.Command.
func NewCmdDeviceList ¶
func NewCmdDeviceList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdDeviceList creates a new cli.Command.
func NewCmdDeviceRemove ¶
func NewCmdDeviceRemove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDismiss ¶
func NewCmdDismiss(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDismissCategory ¶
func NewCmdDismissCategory(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDumpKeyfamily ¶
func NewCmdDumpKeyfamily(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDumpPushNotifications ¶
func NewCmdDumpPushNotifications(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdEncrypt ¶
func NewCmdEncrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdFNMR ¶
func NewCmdFNMR(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdFakeTrackingChanged ¶
func NewCmdFakeTrackingChanged(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdFavorite ¶
func NewCmdFavorite(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdFavoriteAdd ¶
func NewCmdFavoriteAdd(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdFavoriteList ¶
func NewCmdFavoriteList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdFavoriteRemove ¶
func NewCmdFavoriteRemove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdGit ¶
func NewCmdGit(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdGitMddel ¶
func NewCmdGitMddel(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdGitMddel creates a new cli.Command.
func NewCmdGitMdget ¶
func NewCmdGitMdget(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdGitMdget creates a new cli.Command.
func NewCmdGitMdput ¶
func NewCmdGitMdput(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdGitMdput creates a new cli.Command.
func NewCmdHome ¶
func NewCmdHome(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdID ¶
func NewCmdID(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdInterestingPeople ¶
func NewCmdInterestingPeople(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdListTrackers ¶
func NewCmdListTrackers(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdListTrackers creates a new cli.Command.
func NewCmdListTracking ¶
func NewCmdListTracking(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdLog ¶
func NewCmdLog(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdLogProfile ¶
func NewCmdLogProfile(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
This is a devel-only cmd which can be used to see how long different g.CTraceTimed calls are taking.
func NewCmdLogSend ¶
func NewCmdLogSend(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdLogin ¶
func NewCmdLogin(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdLogout ¶
func NewCmdLogout(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdOneshot ¶
func NewCmdOneshot(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGP ¶
func NewCmdPGP(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPDecrypt ¶
func NewCmdPGPDecrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPDrop ¶
func NewCmdPGPDrop(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPEncrypt ¶
func NewCmdPGPEncrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPExport ¶
func NewCmdPGPExport(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPGen ¶
func NewCmdPGPGen(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPImport ¶
func NewCmdPGPImport(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPList ¶
func NewCmdPGPList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPPull ¶
func NewCmdPGPPull(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPPurge ¶
func NewCmdPGPPurge(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPSelect ¶
func NewCmdPGPSelect(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPSign ¶
func NewCmdPGPSign(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPUpdate ¶
func NewCmdPGPUpdate(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPVerify ¶
func NewCmdPGPVerify(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPaperKey ¶
func NewCmdPaperKey(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPaperProvision ¶
func NewCmdPaperProvision(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPassphrase ¶
func NewCmdPassphrase(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPassphraseChange ¶
func NewCmdPassphraseChange(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPassphraseRecover ¶
func NewCmdPassphraseRecover(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPing ¶
func NewCmdPing(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPprof ¶
func NewCmdPprof(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPprofCPU ¶
func NewCmdPprofCPU(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPprofTrace ¶
func NewCmdPprofTrace(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdProve ¶
func NewCmdProve(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdProve makes a new prove command from the given CLI parameters.
func NewCmdRIIT ¶
func NewCmdRIIT(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdRekey ¶
func NewCmdRekey(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
These are the devel rekey commands
func NewCmdRekeyPaper ¶
func NewCmdRekeyPaper(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdRekeyStatus ¶
func NewCmdRekeyStatus(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdRekeyTrigger ¶
func NewCmdRekeyTrigger(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdScanProofs ¶
func NewCmdScanProofs(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdSearch ¶
func NewCmdSearch(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdSecretKey ¶
func NewCmdSecretKey(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdSelfProvision ¶
func NewCmdSelfProvision(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdShowNotifications ¶
func NewCmdShowNotifications(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdSign ¶
func NewCmdSign(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdSignup ¶
func NewCmdSignup(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdSigs ¶
func NewCmdSigs(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdSigsList ¶
func NewCmdSigsList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdSigsRevoke ¶
func NewCmdSigsRevoke(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdSimpleFS ¶
func NewCmdSimpleFS(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFS creates the device command, which is just a holder for subcommands.
func NewCmdSimpleFSCopy ¶
func NewCmdSimpleFSCopy(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSCopy creates a new cli.Command.
func NewCmdSimpleFSDebug ¶
func NewCmdSimpleFSDebug(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSDebug creates a new cli.Command.
func NewCmdSimpleFSGetStatus ¶
func NewCmdSimpleFSGetStatus(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSGetStatus creates a new cli.Command.
func NewCmdSimpleFSHistory ¶
func NewCmdSimpleFSHistory( cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSHistory creates a new cli.Command.
func NewCmdSimpleFSKill ¶
func NewCmdSimpleFSKill(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSKill creates a new cli.Command.
func NewCmdSimpleFSList ¶
func NewCmdSimpleFSList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSList creates a new cli.Command.
func NewCmdSimpleFSMkdir ¶
func NewCmdSimpleFSMkdir(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSMkdir creates a new cli.Command.
func NewCmdSimpleFSMove ¶
func NewCmdSimpleFSMove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSMove creates a new cli.Command.
func NewCmdSimpleFSPs ¶
func NewCmdSimpleFSPs(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSPs creates a new cli.Command.
func NewCmdSimpleFSQuota ¶
func NewCmdSimpleFSQuota( cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSQuota creates a new cli.Command.
func NewCmdSimpleFSRead ¶
func NewCmdSimpleFSRead(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSRead creates a new cli.Command.
func NewCmdSimpleFSRecover ¶
func NewCmdSimpleFSRecover(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSRecover creates a new cli.Command.
func NewCmdSimpleFSRemove ¶
func NewCmdSimpleFSRemove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSRemove creates a new cli.Command.
func NewCmdSimpleFSStat ¶
func NewCmdSimpleFSStat(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSStat creates a new cli.Command.
func NewCmdSimpleFSUpgrade ¶
func NewCmdSimpleFSUpgrade(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSUpgrade creates a new cli.Command.
func NewCmdSimpleFSWrite ¶
func NewCmdSimpleFSWrite(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdSimpleFSWrite creates a new cli.Command.
func NewCmdStatus ¶
func NewCmdStatus(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdStress ¶
func NewCmdStress(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdTeam ¶
func NewCmdTeam(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdTestFSNotify ¶
func NewCmdTestFSNotify(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdTestPassphrase ¶
func NewCmdTestPassphrase(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdTrack ¶
func NewCmdTrack(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdUPAK ¶
func NewCmdUPAK(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdUnlock ¶
func NewCmdUnlock(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdUntrack ¶
func NewCmdUntrack(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdUpdate ¶
func NewCmdUpdate(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdUpdate are commands for supporting the updater
func NewCmdVerify ¶
func NewCmdVerify(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdVersion ¶
func NewCmdVersion(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdWatchdog ¶
func NewCmdWatchdog(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdWatchdog2 ¶
func NewCmdWatchdog2(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdWatchdog2 constructs watchdog command
func NewGPGUIProtocol ¶
func NewGPGUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewIdentifyTrackUIProtocol ¶
func NewIdentifyTrackUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewIdentifyUIProtocol ¶
func NewIdentifyUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewLogUIProtocol ¶
func NewLogUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewLoginUIProtocol ¶
func NewLoginUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewPgpUIProtocol ¶
func NewPgpUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewProvisionUIProtocol ¶
func NewSecretUIProtocol ¶
func NewSecretUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewStreamUIProtocol ¶
func NewStreamUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewTabWriter ¶
func NewTeamsUIProtocol ¶
func NewTeamsUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func ParseOneTeamNameK1 ¶
func ParseTLF ¶
ParseTLF takes keybase paths like
/keybase/public/patrick,chris /keybase/private/patrick,maxtaco@twitter /keybase/team/bostonredsox public/patrick,jack /public/patrick,chris,sam
and creates suitable folders with the name portion and the private flag set correctly.
func PingGregor ¶
func PingGregor(g *libkb.GlobalContext) error
func PrintOutOfDateWarnings ¶
func PrintOutOfDateWarnings(g *libkb.GlobalContext)
func PromptNewPassphrase ¶
func PromptNewPassphrase(g *libkb.GlobalContext) (string, error)
promptNewPassphrase asks the user for a new passphrase. Used when changing passphrases.
func PromptPaperPhrase ¶
func PromptPaperPhrase(g *libkb.GlobalContext) (string, error)
PromptPaperPhrase asks the user to enter a paper key phrase. Used in `rekey paper` command.
func PromptPassphrase ¶
func PromptPassphrase(g *libkb.GlobalContext) (keybase1.GetPassphraseRes, error)
promptPassphrase asks the user for a passphrase. Used during signup.
func PromptSelectionOrCancel ¶
func PromptSelectionOrCancel(pd libkb.PromptDescriptor, ui libkb.TerminalUI, prompt string, low, hi int) (ret int, err error)
func PromptWithChecker ¶
func PromptWithChecker(pd libkb.PromptDescriptor, ui libkb.TerminalUI, prompt string, password bool, checker libkb.Checker) (string, error)
func RegisterProtocolsWithContext ¶
func RegisterProtocolsWithContext(prots []rpc.Protocol, g *libkb.GlobalContext) (err error)
func RenderText ¶
func SendPath ¶
func SendPath(g *libkb.GlobalContext) error
func StopLaunchdService ¶
func StopLaunchdService(g *libkb.GlobalContext, label string, wait bool) error
func UserSummariesForSearchResults ¶
func UserSummariesForSearchResults(results []keybase1.SearchResult, g *libkb.GlobalContext) ([]keybase1.UserSummary, error)
Types ¶
type BadArgsError ¶
type BadArgsError struct {
// contains filtered or unexported fields
}
func (BadArgsError) Error ¶
func (e BadArgsError) Error() string
type BadServiceError ¶
type BadServiceError struct {
// contains filtered or unexported fields
}
func (BadServiceError) Error ¶
func (e BadServiceError) Error() string
type BadUsernameError ¶
type BadUsernameError struct {
// contains filtered or unexported fields
}
func (BadUsernameError) Error ¶
func (e BadUsernameError) Error() string
type BaseIdentifyUI ¶
type BaseIdentifyUI struct { libkb.Contextified // contains filtered or unexported fields }
func (*BaseIdentifyUI) Cancel ¶
func (ui *BaseIdentifyUI) Cancel() error
func (*BaseIdentifyUI) Confirm ¶
func (ui *BaseIdentifyUI) Confirm(o *keybase1.IdentifyOutcome) (keybase1.ConfirmResult, error)
func (*BaseIdentifyUI) Dismiss ¶
func (ui *BaseIdentifyUI) Dismiss(_ string, _ keybase1.DismissReason) error
func (*BaseIdentifyUI) DisplayCryptocurrency ¶
func (ui *BaseIdentifyUI) DisplayCryptocurrency(l keybase1.Cryptocurrency) error
func (*BaseIdentifyUI) DisplayKey ¶
func (ui *BaseIdentifyUI) DisplayKey(key keybase1.IdentifyKey) error
func (*BaseIdentifyUI) DisplayTLFCreateWithInvite ¶
func (ui *BaseIdentifyUI) DisplayTLFCreateWithInvite(arg keybase1.DisplayTLFCreateWithInviteArg) error
func (*BaseIdentifyUI) DisplayTrackStatement ¶
func (ui *BaseIdentifyUI) DisplayTrackStatement(stmt string) error
func (*BaseIdentifyUI) DisplayUserCard ¶
func (ui *BaseIdentifyUI) DisplayUserCard(keybase1.UserCard) error
func (*BaseIdentifyUI) Finish ¶
func (ui *BaseIdentifyUI) Finish() error
func (*BaseIdentifyUI) FinishSocialProofCheck ¶
func (ui *BaseIdentifyUI) FinishSocialProofCheck(p keybase1.RemoteProof, l keybase1.LinkCheckResult) error
func (*BaseIdentifyUI) FinishWebProofCheck ¶
func (ui *BaseIdentifyUI) FinishWebProofCheck(p keybase1.RemoteProof, l keybase1.LinkCheckResult) error
func (*BaseIdentifyUI) LaunchNetworkChecks ¶
func (*BaseIdentifyUI) PromptForConfirmation ¶
func (ui *BaseIdentifyUI) PromptForConfirmation(s string) error
func (*BaseIdentifyUI) ReportHook ¶
func (ui *BaseIdentifyUI) ReportHook(s string)
func (*BaseIdentifyUI) ReportLastTrack ¶
func (ui *BaseIdentifyUI) ReportLastTrack(tl *keybase1.TrackSummary) error
func (*BaseIdentifyUI) ReportRevoked ¶
func (ui *BaseIdentifyUI) ReportRevoked(del []keybase1.TrackDiff)
func (*BaseIdentifyUI) ReportTrackToken ¶
func (ui *BaseIdentifyUI) ReportTrackToken(_ keybase1.TrackToken) error
func (*BaseIdentifyUI) ShowWarnings ¶
func (ui *BaseIdentifyUI) ShowWarnings(w libkb.Warnings)
func (*BaseIdentifyUI) Start ¶
func (ui *BaseIdentifyUI) Start(username string, reason keybase1.IdentifyReason, forceDisplay bool) error
func (*BaseIdentifyUI) TrackDiffUpgradedToString ¶
func (ui *BaseIdentifyUI) TrackDiffUpgradedToString(t libkb.TrackDiffUpgraded) string
func (*BaseIdentifyUI) Warning ¶
func (ui *BaseIdentifyUI) Warning(m string)
type BufferSource ¶
type BufferSource struct {
// contains filtered or unexported fields
}
func NewBufferSource ¶
func NewBufferSource(s string) *BufferSource
func (*BufferSource) Close ¶
func (b *BufferSource) Close() error
func (*BufferSource) CloseWithError ¶
func (b *BufferSource) CloseWithError(error) error
func (*BufferSource) Open ¶
func (b *BufferSource) Open() error
type CallError ¶
type CallError struct { Code int `json:"code"` Message string `json:"message"` Data interface{} `json:"data,omitempty"` }
CallError is the result when there is an error.
type CanceledError ¶
type CanceledError struct {
// contains filtered or unexported fields
}
type CantRunInStandaloneError ¶
type CantRunInStandaloneError struct{}
func (CantRunInStandaloneError) Error ¶
func (e CantRunInStandaloneError) Error() string
type ChatAPI ¶
type ChatAPI struct {
// contains filtered or unexported fields
}
ChatAPI implements ChatAPIHandler and contains a ChatServiceHandler to do all the work.
func (*ChatAPI) DownloadV1 ¶
func (*ChatAPI) ReactionV1 ¶
func (*ChatAPI) SearchRegexpV1 ¶
type ChatAPIHandler ¶
type ChatAPIHandler interface { ListV1(context.Context, Call, io.Writer) error ReadV1(context.Context, Call, io.Writer) error GetV1(context.Context, Call, io.Writer) error SendV1(context.Context, Call, io.Writer) error EditV1(context.Context, Call, io.Writer) error ReactionV1(context.Context, Call, io.Writer) error DeleteV1(context.Context, Call, io.Writer) error AttachV1(context.Context, Call, io.Writer) error DownloadV1(context.Context, Call, io.Writer) error SetStatusV1(context.Context, Call, io.Writer) error MarkV1(context.Context, Call, io.Writer) error SearchRegexpV1(context.Context, Call, io.Writer) error }
ChatAPIHandler can handle all of the chat json api methods.
type ChatAPIVersionHandler ¶
type ChatAPIVersionHandler struct {
// contains filtered or unexported fields
}
func NewChatAPIVersionHandler ¶
func NewChatAPIVersionHandler(h ChatAPIHandler) *ChatAPIVersionHandler
type ChatChannel ¶
type ChatChannel struct { Name string `json:"name"` Public bool `json:"public"` MembersType string `json:"members_type"` TopicType string `json:"topic_type,omitempty"` TopicName string `json:"topic_name,omitempty"` }
ChatChannel represents a channel through which chat happens.
func (ChatChannel) GetMembersType ¶
func (c ChatChannel) GetMembersType(e *libkb.Env) chat1.ConversationMembersType
func (ChatChannel) IsNil ¶
func (c ChatChannel) IsNil() bool
func (ChatChannel) Valid ¶
func (c ChatChannel) Valid() bool
Valid returns true if the ChatChannel has at least a Name.
type ChatList ¶
type ChatList struct { Conversations []ConvSummary `json:"conversations"` Offline bool `json:"offline"` IdentifyFailures []keybase1.TLFIdentifyFailure `json:"identify_failures,omitempty"` RateLimits }
ChatList is a list of conversations in the inbox.
type ChatMessage ¶
type ChatMessage struct {
Body string
}
ChatMessage represents a text message to be sent.
func (ChatMessage) Valid ¶
func (c ChatMessage) Valid() bool
Valid returns true if the message has a body.
type ChatNotifications ¶
type ChatNotifications struct { libkb.Contextified chat1.NotifyChatInterface // contains filtered or unexported fields }
func (*ChatNotifications) ChatAttachmentUploadProgress ¶
func (n *ChatNotifications) ChatAttachmentUploadProgress(ctx context.Context, arg chat1.ChatAttachmentUploadProgressArg) error
func (*ChatNotifications) ChatAttachmentUploadStart ¶
func (n *ChatNotifications) ChatAttachmentUploadStart(ctx context.Context, arg chat1.ChatAttachmentUploadStartArg) error
type ChatSendArg ¶
type ChatSendArg struct {
// contains filtered or unexported fields
}
type ChatServiceHandler ¶
type ChatServiceHandler interface { ListV1(context.Context, listOptionsV1) Reply ReadV1(context.Context, readOptionsV1) Reply GetV1(context.Context, getOptionsV1) Reply SendV1(context.Context, sendOptionsV1) Reply EditV1(context.Context, editOptionsV1) Reply ReactionV1(context.Context, reactionOptionsV1) Reply DeleteV1(context.Context, deleteOptionsV1) Reply AttachV1(context.Context, attachOptionsV1) Reply DownloadV1(context.Context, downloadOptionsV1) Reply SetStatusV1(context.Context, setStatusOptionsV1) Reply MarkV1(context.Context, markOptionsV1) Reply SearchRegexpV1(context.Context, searchRegexpOptionsV1) Reply }
ChatServiceHandler can call the service.
type ChatUI ¶
type ChatUI struct { libkb.Contextified // contains filtered or unexported fields }
func (*ChatUI) ChatAttachmentDownloadDone ¶
func (*ChatUI) ChatAttachmentDownloadProgress ¶
func (*ChatUI) ChatAttachmentDownloadStart ¶
func (*ChatUI) ChatConfirmChannelDelete ¶
func (*ChatUI) ChatInboxConversation ¶
func (*ChatUI) ChatInboxFailed ¶
func (*ChatUI) ChatInboxUnverified ¶
func (*ChatUI) ChatSearchDone ¶
func (*ChatUI) ChatSearchHit ¶
func (*ChatUI) ChatThreadCached ¶
func (*ChatUI) ChatThreadFull ¶
type CleanCancelError ¶
type CleanCancelError struct{}
func (CleanCancelError) Error ¶
func (e CleanCancelError) Error() string
type ClientSpecificCustomMessage ¶
type ClientSpecificCustomMessage struct {
CliMessage string `json:"cli_message"`
}
type CmdAPICall ¶
type CmdAPICall struct { JSONPayload []keybase1.StringKVPair libkb.Contextified // contains filtered or unexported fields }
func (*CmdAPICall) GetUsage ¶
func (c *CmdAPICall) GetUsage() libkb.Usage
func (*CmdAPICall) Run ¶
func (c *CmdAPICall) Run() error
type CmdAccountDelete ¶
type CmdAccountDelete struct {
libkb.Contextified
}
func NewCmdAccountDeleteRunner ¶
func NewCmdAccountDeleteRunner(g *libkb.GlobalContext) *CmdAccountDelete
func (*CmdAccountDelete) GetUsage ¶
func (c *CmdAccountDelete) GetUsage() libkb.Usage
func (*CmdAccountDelete) Run ¶
func (c *CmdAccountDelete) Run() error
type CmdAccountLockdown ¶
type CmdAccountLockdown struct { libkb.Contextified SetLockdownMode *bool History bool Force bool }
func (*CmdAccountLockdown) GetUsage ¶
func (c *CmdAccountLockdown) GetUsage() libkb.Usage
func (*CmdAccountLockdown) ParseArgv ¶
func (c *CmdAccountLockdown) ParseArgv(ctx *cli.Context) error
func (*CmdAccountLockdown) Run ¶
func (c *CmdAccountLockdown) Run() error
type CmdAccountReset ¶
type CmdAccountReset struct {
libkb.Contextified
}
func NewCmdAccountResetRunner ¶
func NewCmdAccountResetRunner(g *libkb.GlobalContext) *CmdAccountReset
func (*CmdAccountReset) GetUsage ¶
func (c *CmdAccountReset) GetUsage() libkb.Usage
func (*CmdAccountReset) Run ¶
func (c *CmdAccountReset) Run() error
type CmdBTC ¶
type CmdBTC struct {
libkb.Contextified
}
func NewCmdBTCRunner ¶
func NewCmdBTCRunner(g *libkb.GlobalContext) *CmdBTC
type CmdBadge ¶
type CmdBadge struct {
libkb.Contextified
}
func NewCmdBadgeRunner ¶
func NewCmdBadgeRunner(g *libkb.GlobalContext) *CmdBadge
type CmdBase62Decode ¶
type CmdBase62Decode struct {
libkb.Contextified
}
func NewBase62DecodeRunner ¶
func NewBase62DecodeRunner(g *libkb.GlobalContext) *CmdBase62Decode
func (*CmdBase62Decode) GetUsage ¶
func (v *CmdBase62Decode) GetUsage() libkb.Usage
func (*CmdBase62Decode) Run ¶
func (v *CmdBase62Decode) Run() error
type CmdBase62Encode ¶
type CmdBase62Encode struct {
libkb.Contextified
}
func NewBase62EncodeRunner ¶
func NewBase62EncodeRunner(g *libkb.GlobalContext) *CmdBase62Encode
func (*CmdBase62Encode) GetUsage ¶
func (v *CmdBase62Encode) GetUsage() libkb.Usage
func (*CmdBase62Encode) Run ¶
func (v *CmdBase62Encode) Run() error
type CmdCA ¶
type CmdCA struct {
libkb.Contextified
}
type CmdChatAPI ¶
type CmdChatAPI struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatAPIRunner ¶
func NewCmdChatAPIRunner(g *libkb.GlobalContext) *CmdChatAPI
func (*CmdChatAPI) Run ¶
func (c *CmdChatAPI) Run() error
func (*CmdChatAPI) SetMessage ¶
func (c *CmdChatAPI) SetMessage(m string)
func (*CmdChatAPI) SetOutputFile ¶
func (c *CmdChatAPI) SetOutputFile(f string)
type CmdChatAPIListen ¶
type CmdChatAPIListen struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatAPIListenRunner ¶
func NewCmdChatAPIListenRunner(g *libkb.GlobalContext) *CmdChatAPIListen
func (*CmdChatAPIListen) GetUsage ¶
func (c *CmdChatAPIListen) GetUsage() libkb.Usage
func (*CmdChatAPIListen) Run ¶
func (c *CmdChatAPIListen) Run() error
type CmdChatCreateChannel ¶
type CmdChatCreateChannel struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatCreateChannelRunner ¶
func NewCmdChatCreateChannelRunner(g *libkb.GlobalContext) *CmdChatCreateChannel
func (*CmdChatCreateChannel) GetUsage ¶
func (c *CmdChatCreateChannel) GetUsage() libkb.Usage
func (*CmdChatCreateChannel) ParseArgv ¶
func (c *CmdChatCreateChannel) ParseArgv(ctx *cli.Context) error
func (*CmdChatCreateChannel) Run ¶
func (c *CmdChatCreateChannel) Run() error
type CmdChatDeleteChannel ¶
type CmdChatDeleteChannel struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatDeleteChannelRunner ¶
func NewCmdChatDeleteChannelRunner(g *libkb.GlobalContext) *CmdChatDeleteChannel
func (*CmdChatDeleteChannel) GetUsage ¶
func (c *CmdChatDeleteChannel) GetUsage() libkb.Usage
func (*CmdChatDeleteChannel) ParseArgv ¶
func (c *CmdChatDeleteChannel) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatDeleteChannel) Run ¶
func (c *CmdChatDeleteChannel) Run() error
type CmdChatDeleteHistory ¶
type CmdChatDeleteHistory struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatDeleteHistoryRunner ¶
func NewCmdChatDeleteHistoryRunner(g *libkb.GlobalContext) *CmdChatDeleteHistory
func (*CmdChatDeleteHistory) GetUsage ¶
func (c *CmdChatDeleteHistory) GetUsage() libkb.Usage
func (*CmdChatDeleteHistory) ParseArgv ¶
func (c *CmdChatDeleteHistory) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatDeleteHistory) Run ¶
func (c *CmdChatDeleteHistory) Run() (err error)
type CmdChatDeleteHistoryDev ¶
type CmdChatDeleteHistoryDev struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatDeleteHistoryDevRunner ¶
func NewCmdChatDeleteHistoryDevRunner(g *libkb.GlobalContext) *CmdChatDeleteHistoryDev
func (*CmdChatDeleteHistoryDev) GetUsage ¶
func (c *CmdChatDeleteHistoryDev) GetUsage() libkb.Usage
func (*CmdChatDeleteHistoryDev) ParseArgv ¶
func (c *CmdChatDeleteHistoryDev) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatDeleteHistoryDev) Run ¶
func (c *CmdChatDeleteHistoryDev) Run() (err error)
type CmdChatDownload ¶
type CmdChatDownload struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdChatDownload) GetUsage ¶
func (c *CmdChatDownload) GetUsage() libkb.Usage
func (*CmdChatDownload) Run ¶
func (c *CmdChatDownload) Run() error
type CmdChatHide ¶
type CmdChatHide struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdChatHide) GetUsage ¶
func (c *CmdChatHide) GetUsage() libkb.Usage
func (*CmdChatHide) Run ¶
func (c *CmdChatHide) Run() error
type CmdChatJoinChannel ¶
type CmdChatJoinChannel struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatJoinChannelRunner ¶
func NewCmdChatJoinChannelRunner(g *libkb.GlobalContext) *CmdChatJoinChannel
func (*CmdChatJoinChannel) GetUsage ¶
func (c *CmdChatJoinChannel) GetUsage() libkb.Usage
func (*CmdChatJoinChannel) ParseArgv ¶
func (c *CmdChatJoinChannel) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatJoinChannel) Run ¶
func (c *CmdChatJoinChannel) Run() error
type CmdChatKBFSUpgrade ¶
type CmdChatKBFSUpgrade struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdChatKBFSUpgrade) GetUsage ¶
func (c *CmdChatKBFSUpgrade) GetUsage() libkb.Usage
func (*CmdChatKBFSUpgrade) ParseArgv ¶
func (c *CmdChatKBFSUpgrade) ParseArgv(ctx *cli.Context) error
func (*CmdChatKBFSUpgrade) Run ¶
func (c *CmdChatKBFSUpgrade) Run() error
type CmdChatLeaveChannel ¶
type CmdChatLeaveChannel struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatLeaveChannelRunner ¶
func NewCmdChatLeaveChannelRunner(g *libkb.GlobalContext) *CmdChatLeaveChannel
func (*CmdChatLeaveChannel) GetUsage ¶
func (c *CmdChatLeaveChannel) GetUsage() libkb.Usage
func (*CmdChatLeaveChannel) ParseArgv ¶
func (c *CmdChatLeaveChannel) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatLeaveChannel) Run ¶
func (c *CmdChatLeaveChannel) Run() error
type CmdChatListChannels ¶
type CmdChatListChannels struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatListChannelsRunner ¶
func NewCmdChatListChannelsRunner(g *libkb.GlobalContext) *CmdChatListChannels
func (*CmdChatListChannels) GetUsage ¶
func (c *CmdChatListChannels) GetUsage() libkb.Usage
func (*CmdChatListChannels) ParseArgv ¶
func (c *CmdChatListChannels) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatListChannels) Run ¶
func (c *CmdChatListChannels) Run() error
type CmdChatListMembers ¶
type CmdChatListMembers struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatListMembersRunner ¶
func NewCmdChatListMembersRunner(g *libkb.GlobalContext) *CmdChatListMembers
func (*CmdChatListMembers) GetUsage ¶
func (c *CmdChatListMembers) GetUsage() libkb.Usage
func (*CmdChatListMembers) ParseArgv ¶
func (c *CmdChatListMembers) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatListMembers) Run ¶
func (c *CmdChatListMembers) Run() error
type CmdChatMute ¶
type CmdChatMute struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdChatMute) GetUsage ¶
func (c *CmdChatMute) GetUsage() libkb.Usage
func (*CmdChatMute) Run ¶
func (c *CmdChatMute) Run() error
type CmdChatReAddMember ¶
type CmdChatReAddMember struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatReAddMemberRunner ¶
func NewCmdChatReAddMemberRunner(g *libkb.GlobalContext) *CmdChatReAddMember
func (*CmdChatReAddMember) GetUsage ¶
func (c *CmdChatReAddMember) GetUsage() libkb.Usage
func (*CmdChatReAddMember) ParseArgv ¶
func (c *CmdChatReAddMember) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatReAddMember) Run ¶
func (c *CmdChatReAddMember) Run() error
type CmdChatRead ¶
type CmdChatRead struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatReadRunner ¶
func NewCmdChatReadRunner(g *libkb.GlobalContext) *CmdChatRead
func (*CmdChatRead) Fetch ¶
func (c *CmdChatRead) Fetch() (conversations chat1.ConversationLocal, messages []chat1.MessageUnboxed, err error)
func (*CmdChatRead) GetUsage ¶
func (c *CmdChatRead) GetUsage() libkb.Usage
func (*CmdChatRead) Run ¶
func (c *CmdChatRead) Run() error
func (*CmdChatRead) SetTeamChatForTest ¶
func (c *CmdChatRead) SetTeamChatForTest(n string)
type CmdChatRenameChannel ¶
type CmdChatRenameChannel struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatRenameChannelRunner ¶
func NewCmdChatRenameChannelRunner(g *libkb.GlobalContext) *CmdChatRenameChannel
func (*CmdChatRenameChannel) GetUsage ¶
func (c *CmdChatRenameChannel) GetUsage() libkb.Usage
func (*CmdChatRenameChannel) ParseArgv ¶
func (c *CmdChatRenameChannel) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatRenameChannel) Run ¶
func (c *CmdChatRenameChannel) Run() error
type CmdChatReport ¶
type CmdChatReport struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdChatReport) GetUsage ¶
func (c *CmdChatReport) GetUsage() libkb.Usage
func (*CmdChatReport) Run ¶
func (c *CmdChatReport) Run() error
type CmdChatSearch ¶
type CmdChatSearch struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatSearchRunner ¶
func NewCmdChatSearchRunner(g *libkb.GlobalContext) *CmdChatSearch
func (*CmdChatSearch) GetUsage ¶
func (c *CmdChatSearch) GetUsage() libkb.Usage
func (*CmdChatSearch) Run ¶
func (c *CmdChatSearch) Run() (err error)
func (*CmdChatSearch) SetQuery ¶
func (c *CmdChatSearch) SetQuery(q string)
type CmdChatSend ¶
type CmdChatSend struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatSendRunner ¶
func NewCmdChatSendRunner(g *libkb.GlobalContext) *CmdChatSend
func (*CmdChatSend) GetUsage ¶
func (c *CmdChatSend) GetUsage() libkb.Usage
func (*CmdChatSend) Run ¶
func (c *CmdChatSend) Run() (err error)
func (*CmdChatSend) SetMessage ¶
func (c *CmdChatSend) SetMessage(m string)
func (*CmdChatSend) SetTeamChatForTest ¶
func (c *CmdChatSend) SetTeamChatForTest(n string)
type CmdChatSetConvMinWriterRole ¶
type CmdChatSetConvMinWriterRole struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatSetConvMinWriterRoleRunner ¶
func NewCmdChatSetConvMinWriterRoleRunner(g *libkb.GlobalContext) *CmdChatSetConvMinWriterRole
func (*CmdChatSetConvMinWriterRole) GetUsage ¶
func (c *CmdChatSetConvMinWriterRole) GetUsage() libkb.Usage
func (*CmdChatSetConvMinWriterRole) ParseArgv ¶
func (c *CmdChatSetConvMinWriterRole) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatSetConvMinWriterRole) Run ¶
func (c *CmdChatSetConvMinWriterRole) Run() (err error)
type CmdChatSetRetention ¶
type CmdChatSetRetention struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatSetRetentionRunner ¶
func NewCmdChatSetRetentionRunner(g *libkb.GlobalContext) *CmdChatSetRetention
func (*CmdChatSetRetention) GetUsage ¶
func (c *CmdChatSetRetention) GetUsage() libkb.Usage
func (*CmdChatSetRetention) ParseArgv ¶
func (c *CmdChatSetRetention) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatSetRetention) Run ¶
func (c *CmdChatSetRetention) Run() (err error)
type CmdChatSetRetentionDev ¶
type CmdChatSetRetentionDev struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdChatSetRetentionDevRunner ¶
func NewCmdChatSetRetentionDevRunner(g *libkb.GlobalContext) *CmdChatSetRetentionDev
func (*CmdChatSetRetentionDev) GetUsage ¶
func (c *CmdChatSetRetentionDev) GetUsage() libkb.Usage
func (*CmdChatSetRetentionDev) ParseArgv ¶
func (c *CmdChatSetRetentionDev) ParseArgv(ctx *cli.Context) (err error)
func (*CmdChatSetRetentionDev) Run ¶
func (c *CmdChatSetRetentionDev) Run() (err error)
type CmdChatUpload ¶
type CmdChatUpload struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdChatUpload) Cancel ¶
func (c *CmdChatUpload) Cancel() error
func (*CmdChatUpload) GetUsage ¶
func (c *CmdChatUpload) GetUsage() libkb.Usage
func (*CmdChatUpload) Run ¶
func (c *CmdChatUpload) Run() error
type CmdCheckTracking ¶
type CmdCheckTracking struct {
libkb.Contextified
}
func NewCmdCheckTrackingRunner ¶
func NewCmdCheckTrackingRunner(g *libkb.GlobalContext) *CmdCheckTracking
func (*CmdCheckTracking) GetUsage ¶
func (c *CmdCheckTracking) GetUsage() libkb.Usage
func (*CmdCheckTracking) Run ¶
func (c *CmdCheckTracking) Run() (err error)
type CmdConfigGet ¶
type CmdConfigGet struct { libkb.Contextified Path string Direct bool Bare bool }
func NewCmdConfigGetRunner ¶
func NewCmdConfigGetRunner(g *libkb.GlobalContext) *CmdConfigGet
func (*CmdConfigGet) GetUsage ¶
func (v *CmdConfigGet) GetUsage() libkb.Usage
func (*CmdConfigGet) Run ¶
func (v *CmdConfigGet) Run() error
type CmdConfigInfo ¶
type CmdConfigInfo struct {
libkb.Contextified
}
func (*CmdConfigInfo) GetUsage ¶
func (v *CmdConfigInfo) GetUsage() libkb.Usage
func (*CmdConfigInfo) Run ¶
func (v *CmdConfigInfo) Run() error
type CmdConfigSet ¶
type CmdConfigSet struct { libkb.Contextified Path string Value keybase1.ConfigValue DoClear bool }
func NewCmdConfigSetRunner ¶
func NewCmdConfigSetRunner(g *libkb.GlobalContext) *CmdConfigSet
func (*CmdConfigSet) GetUsage ¶
func (v *CmdConfigSet) GetUsage() libkb.Usage
func (*CmdConfigSet) Run ¶
func (v *CmdConfigSet) Run() error
type CmdCtlAppExit ¶
type CmdCtlAppExit struct {
libkb.Contextified
}
func (*CmdCtlAppExit) GetUsage ¶
func (s *CmdCtlAppExit) GetUsage() libkb.Usage
func (*CmdCtlAppExit) Run ¶
func (s *CmdCtlAppExit) Run() (err error)
type CmdCtlLogRotate ¶
type CmdCtlLogRotate struct {
libkb.Contextified
}
func (*CmdCtlLogRotate) GetUsage ¶
func (s *CmdCtlLogRotate) GetUsage() libkb.Usage
func (*CmdCtlLogRotate) Run ¶
func (s *CmdCtlLogRotate) Run() (err error)
type CmdCtlReload ¶
type CmdCtlReload struct {
libkb.Contextified
}
func (*CmdCtlReload) GetUsage ¶
func (s *CmdCtlReload) GetUsage() libkb.Usage
func (*CmdCtlReload) Run ¶
func (s *CmdCtlReload) Run() (err error)
type CmdCtlRestart ¶
type CmdCtlRestart struct {
libkb.Contextified
}
func (*CmdCtlRestart) GetUsage ¶
func (s *CmdCtlRestart) GetUsage() libkb.Usage
func (*CmdCtlRestart) Run ¶
func (s *CmdCtlRestart) Run() error
type CmdCtlStart ¶
type CmdCtlStart struct {
libkb.Contextified
}
func (*CmdCtlStart) GetUsage ¶
func (s *CmdCtlStart) GetUsage() libkb.Usage
func (*CmdCtlStart) Run ¶
func (s *CmdCtlStart) Run() (err error)
type CmdCtlStop ¶
type CmdCtlStop struct {
libkb.Contextified
}
func (*CmdCtlStop) GetUsage ¶
func (s *CmdCtlStop) GetUsage() libkb.Usage
func (*CmdCtlStop) Run ¶
func (s *CmdCtlStop) Run() (err error)
type CmdCurrencyAdd ¶
type CmdCurrencyAdd struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdCurrencyAddRunner ¶
func NewCmdCurrencyAddRunner(g *libkb.GlobalContext) *CmdCurrencyAdd
func (*CmdCurrencyAdd) GetUsage ¶
func (c *CmdCurrencyAdd) GetUsage() libkb.Usage
func (*CmdCurrencyAdd) Run ¶
func (c *CmdCurrencyAdd) Run() (err error)
func (*CmdCurrencyAdd) SetAddress ¶
func (c *CmdCurrencyAdd) SetAddress(s string)
type CmdDbDelete ¶
type CmdDbDelete struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdDbDeleteRunner ¶
func NewCmdDbDeleteRunner(g *libkb.GlobalContext) *CmdDbDelete
func (*CmdDbDelete) GetUsage ¶
func (c *CmdDbDelete) GetUsage() libkb.Usage
func (*CmdDbDelete) Run ¶
func (c *CmdDbDelete) Run() error
type CmdDbGet ¶
type CmdDbGet struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdDbGetRunner ¶
func NewCmdDbGetRunner(g *libkb.GlobalContext) *CmdDbGet
type CmdDbNuke ¶
type CmdDbNuke struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdDbNukeRunner ¶
func NewCmdDbNukeRunner(g *libkb.GlobalContext) *CmdDbNuke
type CmdDbPut ¶
type CmdDbPut struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdDbPutRunner ¶
func NewCmdDbPutRunner(g *libkb.GlobalContext) *CmdDbPut
type CmdDecrypt ¶
type CmdDecrypt struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdDecrypt) GetUsage ¶
func (c *CmdDecrypt) GetUsage() libkb.Usage
func (*CmdDecrypt) Run ¶
func (c *CmdDecrypt) Run() error
type CmdDeprovision ¶
type CmdDeprovision struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdDeprovision) GetUsage ¶
func (c *CmdDeprovision) GetUsage() libkb.Usage
func (*CmdDeprovision) Run ¶
func (c *CmdDeprovision) Run() (err error)
type CmdDeviceAdd ¶
type CmdDeviceAdd struct {
libkb.Contextified
}
CmdDeviceAdd is the 'device add' command. It is used for device provisioning on the provisioner/device X/C1.
func (*CmdDeviceAdd) GetUsage ¶
func (c *CmdDeviceAdd) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdDeviceAdd) ParseArgv ¶
func (c *CmdDeviceAdd) ParseArgv(ctx *cli.Context) error
ParseArgv gets the secret phrase from the command args.
func (*CmdDeviceAdd) Run ¶
func (c *CmdDeviceAdd) Run() error
RunClient runs the command in client/server mode.
type CmdDeviceList ¶
type CmdDeviceList struct { libkb.Contextified // contains filtered or unexported fields }
CmdDeviceList is the 'device list' command. It displays all the devices for the current user.
func (*CmdDeviceList) GetUsage ¶
func (c *CmdDeviceList) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdDeviceList) ParseArgv ¶
func (c *CmdDeviceList) ParseArgv(ctx *cli.Context) error
ParseArgv does nothing for this command.
func (*CmdDeviceList) Run ¶
func (c *CmdDeviceList) Run() error
RunClient runs the command in client/server mode.
type CmdDeviceRemove ¶
type CmdDeviceRemove struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdDeviceRemoveRunner ¶
func NewCmdDeviceRemoveRunner(g *libkb.GlobalContext) *CmdDeviceRemove
func (*CmdDeviceRemove) GetUsage ¶
func (c *CmdDeviceRemove) GetUsage() libkb.Usage
func (*CmdDeviceRemove) Run ¶
func (c *CmdDeviceRemove) Run() (err error)
func (*CmdDeviceRemove) SetIDOrName ¶
func (c *CmdDeviceRemove) SetIDOrName(s string)
type CmdDismiss ¶
type CmdDismiss struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdDismiss) GetUsage ¶
func (c *CmdDismiss) GetUsage() libkb.Usage
func (*CmdDismiss) Run ¶
func (c *CmdDismiss) Run() error
type CmdDismissCategory ¶
type CmdDismissCategory struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdDismissCategoryRunner ¶
func NewCmdDismissCategoryRunner(g *libkb.GlobalContext) *CmdDismissCategory
func (*CmdDismissCategory) GetUsage ¶
func (c *CmdDismissCategory) GetUsage() libkb.Usage
func (*CmdDismissCategory) ParseArgv ¶
func (c *CmdDismissCategory) ParseArgv(ctx *cli.Context) error
func (*CmdDismissCategory) Run ¶
func (c *CmdDismissCategory) Run() error
type CmdDumpKeyfamily ¶
type CmdDumpKeyfamily struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdDumpKeyfamily) GetUsage ¶
func (v *CmdDumpKeyfamily) GetUsage() libkb.Usage
func (*CmdDumpKeyfamily) Run ¶
func (v *CmdDumpKeyfamily) Run() (err error)
type CmdDumpPushNotifications ¶
type CmdDumpPushNotifications struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdDumpPushNotificationsRunner ¶
func NewCmdDumpPushNotificationsRunner(g *libkb.GlobalContext) *CmdDumpPushNotifications
func (*CmdDumpPushNotifications) GetUsage ¶
func (c *CmdDumpPushNotifications) GetUsage() libkb.Usage
func (*CmdDumpPushNotifications) ParseArgv ¶
func (c *CmdDumpPushNotifications) ParseArgv(ctx *cli.Context) error
func (*CmdDumpPushNotifications) Run ¶
func (c *CmdDumpPushNotifications) Run() error
type CmdEncrypt ¶
type CmdEncrypt struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdEncrypt) GetUsage ¶
func (c *CmdEncrypt) GetUsage() libkb.Usage
func (*CmdEncrypt) Run ¶
func (c *CmdEncrypt) Run() error
type CmdFakeTrackingChanged ¶
type CmdFakeTrackingChanged struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdFakeTrackingChangedRunner ¶
func NewCmdFakeTrackingChangedRunner(g *libkb.GlobalContext) *CmdFakeTrackingChanged
func (*CmdFakeTrackingChanged) GetUsage ¶
func (c *CmdFakeTrackingChanged) GetUsage() libkb.Usage
func (*CmdFakeTrackingChanged) ParseArgv ¶
func (c *CmdFakeTrackingChanged) ParseArgv(ctx *cli.Context) error
func (*CmdFakeTrackingChanged) Run ¶
func (c *CmdFakeTrackingChanged) Run() (err error)
type CmdFavoriteAdd ¶
type CmdFavoriteAdd struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdFavoriteAdd) GetUsage ¶
func (c *CmdFavoriteAdd) GetUsage() libkb.Usage
func (*CmdFavoriteAdd) Run ¶
func (c *CmdFavoriteAdd) Run() error
type CmdFavoriteList ¶
type CmdFavoriteList struct {
libkb.Contextified
}
func (*CmdFavoriteList) GetUsage ¶
func (c *CmdFavoriteList) GetUsage() libkb.Usage
func (*CmdFavoriteList) Run ¶
func (c *CmdFavoriteList) Run() error
type CmdFavoriteRemove ¶
type CmdFavoriteRemove struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdFavoriteRemove) GetUsage ¶
func (c *CmdFavoriteRemove) GetUsage() libkb.Usage
func (*CmdFavoriteRemove) Run ¶
func (c *CmdFavoriteRemove) Run() error
type CmdGitCreate ¶
type CmdGitCreate struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdGitCreateRunner ¶
func NewCmdGitCreateRunner(g *libkb.GlobalContext) *CmdGitCreate
func (*CmdGitCreate) GetUsage ¶
func (c *CmdGitCreate) GetUsage() libkb.Usage
func (*CmdGitCreate) Run ¶
func (c *CmdGitCreate) Run() error
type CmdGitDelete ¶
type CmdGitDelete struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdGitDeleteRunner ¶
func NewCmdGitDeleteRunner(g *libkb.GlobalContext) *CmdGitDelete
func (*CmdGitDelete) GetUsage ¶
func (c *CmdGitDelete) GetUsage() libkb.Usage
func (*CmdGitDelete) Run ¶
func (c *CmdGitDelete) Run() error
type CmdGitGC ¶
type CmdGitGC struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdGitGCRunner ¶
func NewCmdGitGCRunner(g *libkb.GlobalContext) *CmdGitGC
type CmdGitList ¶
type CmdGitList struct {
libkb.Contextified
}
func NewCmdGitListRunner ¶
func NewCmdGitListRunner(g *libkb.GlobalContext) *CmdGitList
func (*CmdGitList) GetUsage ¶
func (c *CmdGitList) GetUsage() libkb.Usage
func (*CmdGitList) Run ¶
func (c *CmdGitList) Run() error
type CmdGitMddel ¶
type CmdGitMddel struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdGitMddel) GetUsage ¶
func (c *CmdGitMddel) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdGitMddel) ParseArgv ¶
func (c *CmdGitMddel) ParseArgv(ctx *cli.Context) error
ParseArgv gets the secret phrase from the command args.
func (*CmdGitMddel) Run ¶
func (c *CmdGitMddel) Run() error
RunClient runs the command in client/server mode.
type CmdGitMdget ¶
type CmdGitMdget struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdGitMdget) GetUsage ¶
func (c *CmdGitMdget) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdGitMdget) ParseArgv ¶
func (c *CmdGitMdget) ParseArgv(ctx *cli.Context) error
ParseArgv gets the secret phrase from the command args.
func (*CmdGitMdget) Run ¶
func (c *CmdGitMdget) Run() error
RunClient runs the command in client/server mode.
type CmdGitMdput ¶
type CmdGitMdput struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdGitMdput) GetUsage ¶
func (c *CmdGitMdput) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdGitMdput) ParseArgv ¶
func (c *CmdGitMdput) ParseArgv(ctx *cli.Context) error
ParseArgv gets the secret phrase from the command args.
func (*CmdGitMdput) Run ¶
func (c *CmdGitMdput) Run() error
RunClient runs the command in client/server mode.
type CmdGitSettings ¶
type CmdGitSettings struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdGitSettings) GetUsage ¶
func (c *CmdGitSettings) GetUsage() libkb.Usage
func (*CmdGitSettings) Run ¶
func (c *CmdGitSettings) Run() error
type CmdHome ¶
type CmdHome struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdHomeRunner ¶
func NewCmdHomeRunner(g *libkb.GlobalContext) *CmdHome
type CmdID ¶
type CmdID struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdIDRunner ¶
func NewCmdIDRunner(g *libkb.GlobalContext) *CmdID
func (*CmdID) UseDelegateUI ¶
func (v *CmdID) UseDelegateUI()
type CmdInterestingPeople ¶
type CmdInterestingPeople struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdInterestingPeopleRunner ¶
func NewCmdInterestingPeopleRunner(g *libkb.GlobalContext) *CmdInterestingPeople
func (*CmdInterestingPeople) GetUsage ¶
func (c *CmdInterestingPeople) GetUsage() libkb.Usage
func (*CmdInterestingPeople) ParseArgv ¶
func (c *CmdInterestingPeople) ParseArgv(ctx *cli.Context) error
func (*CmdInterestingPeople) Run ¶
func (c *CmdInterestingPeople) Run() error
type CmdListTrackers ¶
type CmdListTrackers struct { libkb.Contextified // contains filtered or unexported fields }
CmdListTrackers is the 'list-trackers' command. It displays all the trackers for a user.
func (*CmdListTrackers) GetUsage ¶
func (c *CmdListTrackers) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdListTrackers) ParseArgv ¶
func (c *CmdListTrackers) ParseArgv(ctx *cli.Context) error
ParseArgv parses the command args.
func (*CmdListTrackers) Run ¶
func (c *CmdListTrackers) Run() error
RunClient runs the command in client/server mode.
type CmdListTracking ¶
type CmdListTracking struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdListTracking) GetUsage ¶
func (s *CmdListTracking) GetUsage() libkb.Usage
func (*CmdListTracking) Run ¶
func (s *CmdListTracking) Run() error
type CmdLogProfile ¶
type CmdLogProfile struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdLogProfile) GetUsage ¶
func (c *CmdLogProfile) GetUsage() libkb.Usage
func (*CmdLogProfile) Run ¶
func (c *CmdLogProfile) Run() error
type CmdLogSend ¶
type CmdLogSend struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdLogSend) GetUsage ¶
func (c *CmdLogSend) GetUsage() libkb.Usage
func (*CmdLogSend) Run ¶
func (c *CmdLogSend) Run() error
type CmdLogin ¶
type CmdLogin struct { libkb.Contextified Username string SessionID int // contains filtered or unexported fields }
func NewCmdLoginRunner ¶
func NewCmdLoginRunner(g *libkb.GlobalContext) *CmdLogin
type CmdLogout ¶
type CmdLogout struct {
libkb.Contextified
}
func NewCmdLogoutRunner ¶
func NewCmdLogoutRunner(g *libkb.GlobalContext) *CmdLogout
type CmdOneshot ¶
type CmdOneshot struct { libkb.Contextified Username string PaperKey string }
func NewCmdOneshotRunner ¶
func NewCmdOneshotRunner(g *libkb.GlobalContext) *CmdOneshot
func (*CmdOneshot) GetUsage ¶
func (c *CmdOneshot) GetUsage() libkb.Usage
func (*CmdOneshot) Run ¶
func (c *CmdOneshot) Run() error
type CmdPGPDecrypt ¶
type CmdPGPDecrypt struct { libkb.Contextified UnixFilter // contains filtered or unexported fields }
func (*CmdPGPDecrypt) GetUsage ¶
func (c *CmdPGPDecrypt) GetUsage() libkb.Usage
func (*CmdPGPDecrypt) Run ¶
func (c *CmdPGPDecrypt) Run() error
type CmdPGPDrop ¶
type CmdPGPDrop struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdPGPDrop) GetUsage ¶
func (c *CmdPGPDrop) GetUsage() libkb.Usage
func (*CmdPGPDrop) Run ¶
func (c *CmdPGPDrop) Run() (err error)
type CmdPGPEncrypt ¶
type CmdPGPEncrypt struct { libkb.Contextified UnixFilter // contains filtered or unexported fields }
func (*CmdPGPEncrypt) GetUsage ¶
func (c *CmdPGPEncrypt) GetUsage() libkb.Usage
func (*CmdPGPEncrypt) Run ¶
func (c *CmdPGPEncrypt) Run() error
type CmdPGPExport ¶
type CmdPGPExport struct { UnixFilter libkb.Contextified // contains filtered or unexported fields }
func (*CmdPGPExport) GetUsage ¶
func (s *CmdPGPExport) GetUsage() libkb.Usage
func (*CmdPGPExport) Run ¶
func (s *CmdPGPExport) Run() (err error)
type CmdPGPGen ¶
type CmdPGPGen struct { libkb.Contextified // contains filtered or unexported fields }
type CmdPGPImport ¶
type CmdPGPImport struct { UnixFilter libkb.Contextified // contains filtered or unexported fields }
func (*CmdPGPImport) GetUsage ¶
func (s *CmdPGPImport) GetUsage() libkb.Usage
func (*CmdPGPImport) Run ¶
func (s *CmdPGPImport) Run() error
type CmdPGPList ¶
type CmdPGPList struct {
libkb.Contextified
}
func (*CmdPGPList) GetUsage ¶
func (s *CmdPGPList) GetUsage() libkb.Usage
func (*CmdPGPList) Run ¶
func (s *CmdPGPList) Run() error
type CmdPGPPull ¶
type CmdPGPPull struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdPGPPull) GetUsage ¶
func (v *CmdPGPPull) GetUsage() libkb.Usage
func (*CmdPGPPull) Run ¶
func (v *CmdPGPPull) Run() (err error)
type CmdPGPPurge ¶
type CmdPGPPurge struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdPGPPurge) GetUsage ¶
func (s *CmdPGPPurge) GetUsage() libkb.Usage
func (*CmdPGPPurge) Run ¶
func (s *CmdPGPPurge) Run() error
type CmdPGPSelect ¶
type CmdPGPSelect struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdPGPSelect) GetUsage ¶
func (v *CmdPGPSelect) GetUsage() libkb.Usage
func (*CmdPGPSelect) Run ¶
func (v *CmdPGPSelect) Run() error
type CmdPGPSign ¶
type CmdPGPSign struct { libkb.Contextified UnixFilter // contains filtered or unexported fields }
func (*CmdPGPSign) GetUsage ¶
func (s *CmdPGPSign) GetUsage() libkb.Usage
func (*CmdPGPSign) Run ¶
func (s *CmdPGPSign) Run() (err error)
type CmdPGPUpdate ¶
type CmdPGPUpdate struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdPGPUpdate) GetUsage ¶
func (v *CmdPGPUpdate) GetUsage() libkb.Usage
func (*CmdPGPUpdate) Run ¶
func (v *CmdPGPUpdate) Run() (err error)
type CmdPGPVerify ¶
type CmdPGPVerify struct { libkb.Contextified UnixFilter // contains filtered or unexported fields }
func (*CmdPGPVerify) GetUsage ¶
func (c *CmdPGPVerify) GetUsage() libkb.Usage
func (*CmdPGPVerify) Run ¶
func (c *CmdPGPVerify) Run() error
type CmdPaperKey ¶
type CmdPaperKey struct {
libkb.Contextified
}
func NewCmdPaperKeyRunner ¶
func NewCmdPaperKeyRunner(g *libkb.GlobalContext) *CmdPaperKey
func (*CmdPaperKey) GetUsage ¶
func (c *CmdPaperKey) GetUsage() libkb.Usage
func (*CmdPaperKey) Run ¶
func (c *CmdPaperKey) Run() error
type CmdPaperProvision ¶
type CmdPaperProvision struct { libkb.Contextified SessionID int // contains filtered or unexported fields }
func NewCmdPaperProvisionRunner ¶
func NewCmdPaperProvisionRunner(g *libkb.GlobalContext) *CmdPaperProvision
func (*CmdPaperProvision) GetUsage ¶
func (c *CmdPaperProvision) GetUsage() libkb.Usage
func (*CmdPaperProvision) Run ¶
func (c *CmdPaperProvision) Run() (err error)
type CmdPassphraseChange ¶
type CmdPassphraseChange struct {
libkb.Contextified
}
func NewCmdPassphraseChangeRunner ¶
func NewCmdPassphraseChangeRunner(g *libkb.GlobalContext) *CmdPassphraseChange
func (*CmdPassphraseChange) GetUsage ¶
func (c *CmdPassphraseChange) GetUsage() libkb.Usage
func (*CmdPassphraseChange) ParseArgv ¶
func (c *CmdPassphraseChange) ParseArgv(ctx *cli.Context) error
func (*CmdPassphraseChange) Run ¶
func (c *CmdPassphraseChange) Run() error
type CmdPassphraseRecover ¶
type CmdPassphraseRecover struct {
libkb.Contextified
}
func NewCmdPassphraseRecoverRunner ¶
func NewCmdPassphraseRecoverRunner(g *libkb.GlobalContext) *CmdPassphraseRecover
func (*CmdPassphraseRecover) GetUsage ¶
func (c *CmdPassphraseRecover) GetUsage() libkb.Usage
func (*CmdPassphraseRecover) ParseArgv ¶
func (c *CmdPassphraseRecover) ParseArgv(ctx *cli.Context) error
func (*CmdPassphraseRecover) Run ¶
func (c *CmdPassphraseRecover) Run() error
type CmdPing ¶
type CmdPing struct { libkb.Contextified // contains filtered or unexported fields }
type CmdPprofCPU ¶
type CmdPprofCPU struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdPprofCPURunner ¶
func NewCmdPprofCPURunner(g *libkb.GlobalContext) *CmdPprofCPU
func (*CmdPprofCPU) GetUsage ¶
func (c *CmdPprofCPU) GetUsage() libkb.Usage
func (*CmdPprofCPU) Run ¶
func (c *CmdPprofCPU) Run() error
type CmdPprofTrace ¶
type CmdPprofTrace struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdPprofTraceRunner ¶
func NewCmdPprofTraceRunner(g *libkb.GlobalContext) *CmdPprofTrace
func (*CmdPprofTrace) GetUsage ¶
func (c *CmdPprofTrace) GetUsage() libkb.Usage
func (*CmdPprofTrace) Run ¶
func (c *CmdPprofTrace) Run() error
type CmdProve ¶
type CmdProve struct { libkb.Contextified // contains filtered or unexported fields }
CmdProve is the wrapper structure for the `keybase prove` operation.
func NewCmdProveRooterRunner ¶
func NewCmdProveRooterRunner(g *libkb.GlobalContext, username string) *CmdProve
NewCmdProveRooterRunner creates a CmdProve for proving rooter in tests.
type CmdRekeyPaper ¶
type CmdRekeyPaper struct {
libkb.Contextified
}
func (*CmdRekeyPaper) GetUsage ¶
func (c *CmdRekeyPaper) GetUsage() libkb.Usage
func (*CmdRekeyPaper) Run ¶
func (c *CmdRekeyPaper) Run() error
type CmdRekeyStatus ¶
type CmdRekeyStatus struct {
libkb.Contextified
}
func (*CmdRekeyStatus) GetUsage ¶
func (c *CmdRekeyStatus) GetUsage() libkb.Usage
func (*CmdRekeyStatus) Run ¶
func (c *CmdRekeyStatus) Run() error
type CmdRekeyTrigger ¶
type CmdRekeyTrigger struct {
libkb.Contextified
}
func (*CmdRekeyTrigger) GetUsage ¶
func (c *CmdRekeyTrigger) GetUsage() libkb.Usage
func (*CmdRekeyTrigger) Run ¶
func (c *CmdRekeyTrigger) Run() error
type CmdScanProofs ¶
type CmdScanProofs struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdScanProofsRunner ¶
func NewCmdScanProofsRunner(g *libkb.GlobalContext) *CmdScanProofs
func (*CmdScanProofs) GetUsage ¶
func (c *CmdScanProofs) GetUsage() libkb.Usage
func (*CmdScanProofs) Run ¶
func (c *CmdScanProofs) Run() error
type CmdScript ¶
type CmdScript struct { libkb.Contextified Script string Args []string }
func NewCmdScriptRunner ¶
func NewCmdScriptRunner(g *libkb.GlobalContext) *CmdScript
type CmdSearch ¶
type CmdSearch struct { libkb.Contextified // contains filtered or unexported fields }
type CmdSecretKey ¶
type CmdSecretKey struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdSecretKeyRunner ¶
func NewCmdSecretKeyRunner(g *libkb.GlobalContext) *CmdSecretKey
func (*CmdSecretKey) GetUsage ¶
func (c *CmdSecretKey) GetUsage() libkb.Usage
func (*CmdSecretKey) Run ¶
func (c *CmdSecretKey) Run() (err error)
type CmdSelfProvision ¶
type CmdSelfProvision struct { libkb.Contextified SessionID int // contains filtered or unexported fields }
func NewCmdSelfProvisionRunner ¶
func NewCmdSelfProvisionRunner(g *libkb.GlobalContext) *CmdSelfProvision
func (*CmdSelfProvision) GetUsage ¶
func (c *CmdSelfProvision) GetUsage() libkb.Usage
func (*CmdSelfProvision) Run ¶
func (c *CmdSelfProvision) Run() (err error)
type CmdShowNotifications ¶
type CmdShowNotifications struct {
libkb.Contextified
}
func (*CmdShowNotifications) GetUsage ¶
func (c *CmdShowNotifications) GetUsage() libkb.Usage
func (*CmdShowNotifications) ParseArgv ¶
func (c *CmdShowNotifications) ParseArgv(ctx *cli.Context) error
func (*CmdShowNotifications) Run ¶
func (c *CmdShowNotifications) Run() error
type CmdSign ¶
type CmdSign struct { libkb.Contextified UnixFilter // contains filtered or unexported fields }
type CmdSignup ¶
type CmdSignup struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdSignupRunner ¶
func NewCmdSignupRunner(g *libkb.GlobalContext) *CmdSignup
func (*CmdSignup) MakePrompter ¶
func (s *CmdSignup) MakePrompter()
func (*CmdSignup) SetTestWithPaper ¶
type CmdSigsList ¶
type CmdSigsList struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdSigsList) DisplayKTable ¶
func (s *CmdSigsList) DisplayKTable(sigs []keybase1.Sig) (err error)
func (*CmdSigsList) GetUsage ¶
func (s *CmdSigsList) GetUsage() libkb.Usage
func (*CmdSigsList) ParseTypes ¶
func (s *CmdSigsList) ParseTypes(ctx *cli.Context) error
func (*CmdSigsList) Run ¶
func (s *CmdSigsList) Run() error
type CmdSigsRevoke ¶
type CmdSigsRevoke struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdSigsRevoke) GetUsage ¶
func (c *CmdSigsRevoke) GetUsage() libkb.Usage
func (*CmdSigsRevoke) Run ¶
func (c *CmdSigsRevoke) Run() error
type CmdSimpleFSCopy ¶
type CmdSimpleFSCopy struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSCopy is the 'fs cp' command.
func (*CmdSimpleFSCopy) Cancel ¶
func (c *CmdSimpleFSCopy) Cancel() error
func (*CmdSimpleFSCopy) GetUsage ¶
func (c *CmdSimpleFSCopy) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSCopy) ParseArgv ¶
func (c *CmdSimpleFSCopy) ParseArgv(ctx *cli.Context) error
ParseArgv gets the required arguments for this command.
func (*CmdSimpleFSCopy) Run ¶
func (c *CmdSimpleFSCopy) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSDebug ¶
type CmdSimpleFSDebug struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSDebug is the 'fs debug' command.
func (*CmdSimpleFSDebug) GetUsage ¶
func (c *CmdSimpleFSDebug) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSDebug) ParseArgv ¶
func (c *CmdSimpleFSDebug) ParseArgv(ctx *cli.Context) error
ParseArgv gets the optional -r switch
func (*CmdSimpleFSDebug) Run ¶
func (c *CmdSimpleFSDebug) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSGetStatus ¶
type CmdSimpleFSGetStatus struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSGetStatus is the 'fs get-status' command.
func (*CmdSimpleFSGetStatus) GetUsage ¶
func (c *CmdSimpleFSGetStatus) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSGetStatus) ParseArgv ¶
func (c *CmdSimpleFSGetStatus) ParseArgv(ctx *cli.Context) error
ParseArgv gets the required path argument for this command.
func (*CmdSimpleFSGetStatus) Run ¶
func (c *CmdSimpleFSGetStatus) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSHistory ¶
type CmdSimpleFSHistory struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSHistory is the 'fs history' command.
func (*CmdSimpleFSHistory) GetUsage ¶
func (c *CmdSimpleFSHistory) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSHistory) ParseArgv ¶
func (c *CmdSimpleFSHistory) ParseArgv(ctx *cli.Context) error
ParseArgv gets the optional path, if any.
func (*CmdSimpleFSHistory) Run ¶
func (c *CmdSimpleFSHistory) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSKill ¶
type CmdSimpleFSKill struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSKill is the 'fs kill' command.
func (*CmdSimpleFSKill) GetUsage ¶
func (c *CmdSimpleFSKill) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSKill) ParseArgv ¶
func (c *CmdSimpleFSKill) ParseArgv(ctx *cli.Context) error
ParseArgv gets the opid argument for this command.
func (*CmdSimpleFSKill) Run ¶
func (c *CmdSimpleFSKill) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSList ¶
type CmdSimpleFSList struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSList is the 'fs ls' command.
func (*CmdSimpleFSList) GetUsage ¶
func (c *CmdSimpleFSList) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSList) HandleTopLevelKeybaseList ¶
func (c *CmdSimpleFSList) HandleTopLevelKeybaseList(path keybase1.Path) (bool, error)
HandleTopLevelKeybaseList - See if this is either /keybase/public or /keybase/private, and request favorites accordingly.
func (*CmdSimpleFSList) ParseArgv ¶
func (c *CmdSimpleFSList) ParseArgv(ctx *cli.Context) error
ParseArgv gets the required path argument for this command.
func (*CmdSimpleFSList) Run ¶
func (c *CmdSimpleFSList) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSMkdir ¶
type CmdSimpleFSMkdir struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSMkdir is the 'fs mkdir' command.
func (*CmdSimpleFSMkdir) GetUsage ¶
func (c *CmdSimpleFSMkdir) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSMkdir) ParseArgv ¶
func (c *CmdSimpleFSMkdir) ParseArgv(ctx *cli.Context) error
ParseArgv gets the required path argument for this command.
func (*CmdSimpleFSMkdir) Run ¶
func (c *CmdSimpleFSMkdir) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSMove ¶
type CmdSimpleFSMove struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSMove is the 'fs list' command.
func (*CmdSimpleFSMove) Cancel ¶
func (c *CmdSimpleFSMove) Cancel() error
func (*CmdSimpleFSMove) GetUsage ¶
func (c *CmdSimpleFSMove) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSMove) ParseArgv ¶
func (c *CmdSimpleFSMove) ParseArgv(ctx *cli.Context) error
ParseArgv does nothing for this command.
func (*CmdSimpleFSMove) Run ¶
func (c *CmdSimpleFSMove) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSPs ¶
type CmdSimpleFSPs struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSPs is the 'fs ps' command.
func (*CmdSimpleFSPs) GetUsage ¶
func (c *CmdSimpleFSPs) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSPs) ParseArgv ¶
func (c *CmdSimpleFSPs) ParseArgv(ctx *cli.Context) error
ParseArgv gets the optional -r switch
func (*CmdSimpleFSPs) Run ¶
func (c *CmdSimpleFSPs) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSQuota ¶
type CmdSimpleFSQuota struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSQuota is the 'fs quota' command.
func (*CmdSimpleFSQuota) GetUsage ¶
func (c *CmdSimpleFSQuota) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSQuota) ParseArgv ¶
func (c *CmdSimpleFSQuota) ParseArgv(ctx *cli.Context) error
ParseArgv gets the optional -r switch
func (*CmdSimpleFSQuota) Run ¶
func (c *CmdSimpleFSQuota) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSRead ¶
type CmdSimpleFSRead struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSRead is the 'fs read' command.
func (*CmdSimpleFSRead) GetUsage ¶
func (c *CmdSimpleFSRead) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSRead) ParseArgv ¶
func (c *CmdSimpleFSRead) ParseArgv(ctx *cli.Context) error
ParseArgv does nothing for this command.
func (*CmdSimpleFSRead) Run ¶
func (c *CmdSimpleFSRead) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSRecover ¶
type CmdSimpleFSRecover struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSRecover is the 'fs recover' command.
func (*CmdSimpleFSRecover) Cancel ¶
func (c *CmdSimpleFSRecover) Cancel() error
func (*CmdSimpleFSRecover) GetUsage ¶
func (c *CmdSimpleFSRecover) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSRecover) ParseArgv ¶
func (c *CmdSimpleFSRecover) ParseArgv(ctx *cli.Context) error
ParseArgv gets the required arguments for this command.
func (*CmdSimpleFSRecover) Run ¶
func (c *CmdSimpleFSRecover) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSRemove ¶
type CmdSimpleFSRemove struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSRemove is the 'fs rm' command.
func (*CmdSimpleFSRemove) GetUsage ¶
func (c *CmdSimpleFSRemove) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSRemove) ParseArgv ¶
func (c *CmdSimpleFSRemove) ParseArgv(ctx *cli.Context) error
ParseArgv gets the required path argument for this command.
func (*CmdSimpleFSRemove) Run ¶
func (c *CmdSimpleFSRemove) Run() error
Run runs the command in client/server mode.
type CmdSimpleFSStat ¶
type CmdSimpleFSStat struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSStat is the 'fs stat' command.
func (*CmdSimpleFSStat) GetUsage ¶
func (c *CmdSimpleFSStat) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSStat) ParseArgv ¶
func (c *CmdSimpleFSStat) ParseArgv(ctx *cli.Context) error
ParseArgv gets the required path argument for this command.
func (*CmdSimpleFSStat) Run ¶
func (c *CmdSimpleFSStat) Run() (err error)
Run runs the command in client/server mode.
type CmdSimpleFSUpgrade ¶
type CmdSimpleFSUpgrade struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSUpgrade is the 'fs upgrade' command.
func (*CmdSimpleFSUpgrade) GetUsage ¶
func (c *CmdSimpleFSUpgrade) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSUpgrade) ParseArgv ¶
func (c *CmdSimpleFSUpgrade) ParseArgv(ctx *cli.Context) error
func (*CmdSimpleFSUpgrade) Run ¶
func (c *CmdSimpleFSUpgrade) Run() error
type CmdSimpleFSWrite ¶
type CmdSimpleFSWrite struct { libkb.Contextified // contains filtered or unexported fields }
CmdSimpleFSWrite is the 'fs write' command.
func (*CmdSimpleFSWrite) GetUsage ¶
func (c *CmdSimpleFSWrite) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdSimpleFSWrite) ParseArgv ¶
func (c *CmdSimpleFSWrite) ParseArgv(ctx *cli.Context) error
ParseArgv gets the arguments for this command.
func (*CmdSimpleFSWrite) Run ¶
func (c *CmdSimpleFSWrite) Run() error
Run runs the command in client/server mode.
type CmdStatus ¶
type CmdStatus struct { libkb.Contextified // contains filtered or unexported fields }
type CmdStress ¶
type CmdStress struct { libkb.Contextified // contains filtered or unexported fields }
CmdStress is used for testing concurrency in the daemon. Build the daemon with `-race`, then run this command.
func (*CmdStress) ConfirmDuplicateKeyChosen ¶
func (*CmdStress) ConfirmImportSecretToExistingKey ¶
func (*CmdStress) GetPassphrase ¶
func (c *CmdStress) GetPassphrase(_ context.Context, arg keybase1.GetPassphraseArg) (res keybase1.GetPassphraseRes, err error)
func (*CmdStress) SelectKeyAndPushOption ¶
func (c *CmdStress) SelectKeyAndPushOption(_ context.Context, arg keybase1.SelectKeyAndPushOptionArg) (res keybase1.SelectKeyRes, err error)
type CmdTeamAPI ¶
type CmdTeamAPI struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdTeamAPIRunner ¶
func NewCmdTeamAPIRunner(g *libkb.GlobalContext) *CmdTeamAPI
func (*CmdTeamAPI) Run ¶
func (c *CmdTeamAPI) Run() error
func (*CmdTeamAPI) SetMessage ¶
func (c *CmdTeamAPI) SetMessage(m string)
func (*CmdTeamAPI) SetOutputFile ¶
func (c *CmdTeamAPI) SetOutputFile(f string)
type CmdTeamAcceptInvite ¶
type CmdTeamAcceptInvite struct { libkb.Contextified Token string Seitan bool }
func NewCmdTeamAcceptInviteRunner ¶
func NewCmdTeamAcceptInviteRunner(g *libkb.GlobalContext) *CmdTeamAcceptInvite
func (*CmdTeamAcceptInvite) GetUsage ¶
func (c *CmdTeamAcceptInvite) GetUsage() libkb.Usage
func (*CmdTeamAcceptInvite) ParseArgv ¶
func (c *CmdTeamAcceptInvite) ParseArgv(ctx *cli.Context) error
func (*CmdTeamAcceptInvite) Run ¶
func (c *CmdTeamAcceptInvite) Run() error
type CmdTeamAddMember ¶
type CmdTeamAddMember struct { libkb.Contextified Team string Email string Username string Role keybase1.TeamRole SkipChatNotification bool }
func NewCmdTeamAddMemberRunner ¶
func NewCmdTeamAddMemberRunner(g *libkb.GlobalContext) *CmdTeamAddMember
func (*CmdTeamAddMember) GetUsage ¶
func (c *CmdTeamAddMember) GetUsage() libkb.Usage
func (*CmdTeamAddMember) Run ¶
func (c *CmdTeamAddMember) Run() error
type CmdTeamCreate ¶
type CmdTeamCreate struct { TeamName keybase1.TeamName SessionID int libkb.Contextified JoinSubteam bool }
func NewCmdTeamCreateRunner ¶
func NewCmdTeamCreateRunner(g *libkb.GlobalContext) *CmdTeamCreate
func (*CmdTeamCreate) GetUsage ¶
func (v *CmdTeamCreate) GetUsage() libkb.Usage
func (*CmdTeamCreate) Run ¶
func (v *CmdTeamCreate) Run() (err error)
type CmdTeamDebug ¶
type CmdTeamDebug struct { libkb.Contextified TeamID keybase1.TeamID }
func NewCmdTeamDebugRunner ¶
func NewCmdTeamDebugRunner(g *libkb.GlobalContext) *CmdTeamDebug
func (*CmdTeamDebug) GetUsage ¶
func (c *CmdTeamDebug) GetUsage() libkb.Usage
func (*CmdTeamDebug) Run ¶
func (c *CmdTeamDebug) Run() error
type CmdTeamDelete ¶
type CmdTeamDelete struct { libkb.Contextified Team keybase1.TeamName }
func NewCmdTeamDeleteRunner ¶
func NewCmdTeamDeleteRunner(g *libkb.GlobalContext) *CmdTeamDelete
func (*CmdTeamDelete) GetUsage ¶
func (c *CmdTeamDelete) GetUsage() libkb.Usage
func (*CmdTeamDelete) Run ¶
func (c *CmdTeamDelete) Run() error
type CmdTeamEditMember ¶
type CmdTeamEditMember struct { libkb.Contextified Team string Username string Role keybase1.TeamRole }
func NewCmdTeamEditMemberRunner ¶
func NewCmdTeamEditMemberRunner(g *libkb.GlobalContext) *CmdTeamEditMember
func (*CmdTeamEditMember) GetUsage ¶
func (c *CmdTeamEditMember) GetUsage() libkb.Usage
func (*CmdTeamEditMember) Run ¶
func (c *CmdTeamEditMember) Run() error
type CmdTeamGenerateSeitan ¶
type CmdTeamGenerateSeitan struct { libkb.Contextified Team string Role keybase1.TeamRole FullName string Number string }
func NewCmdTeamGenerateSeitanRunner ¶
func NewCmdTeamGenerateSeitanRunner(g *libkb.GlobalContext) *CmdTeamGenerateSeitan
func (*CmdTeamGenerateSeitan) GetUsage ¶
func (c *CmdTeamGenerateSeitan) GetUsage() libkb.Usage
func (*CmdTeamGenerateSeitan) ParseArgv ¶
func (c *CmdTeamGenerateSeitan) ParseArgv(ctx *cli.Context) error
func (*CmdTeamGenerateSeitan) Run ¶
func (c *CmdTeamGenerateSeitan) Run() error
type CmdTeamIgnoreRequest ¶
type CmdTeamIgnoreRequest struct { libkb.Contextified Team string Username string }
func NewCmdTeamIgnoreRequestRunner ¶
func NewCmdTeamIgnoreRequestRunner(g *libkb.GlobalContext) *CmdTeamIgnoreRequest
func (*CmdTeamIgnoreRequest) GetUsage ¶
func (c *CmdTeamIgnoreRequest) GetUsage() libkb.Usage
func (*CmdTeamIgnoreRequest) ParseArgv ¶
func (c *CmdTeamIgnoreRequest) ParseArgv(ctx *cli.Context) error
func (*CmdTeamIgnoreRequest) Run ¶
func (c *CmdTeamIgnoreRequest) Run() error
type CmdTeamLeave ¶
type CmdTeamLeave struct { libkb.Contextified Team string Permanent bool }
func NewCmdTeamLeaveRunner ¶
func NewCmdTeamLeaveRunner(g *libkb.GlobalContext) *CmdTeamLeave
func (*CmdTeamLeave) GetUsage ¶
func (c *CmdTeamLeave) GetUsage() libkb.Usage
func (*CmdTeamLeave) Run ¶
func (c *CmdTeamLeave) Run() error
type CmdTeamListMemberships ¶
type CmdTeamListMemberships struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdTeamListMembershipsRunner ¶
func NewCmdTeamListMembershipsRunner(g *libkb.GlobalContext) *CmdTeamListMemberships
func (*CmdTeamListMemberships) GetUsage ¶
func (c *CmdTeamListMemberships) GetUsage() libkb.Usage
func (*CmdTeamListMemberships) ParseArgv ¶
func (c *CmdTeamListMemberships) ParseArgv(ctx *cli.Context) error
func (*CmdTeamListMemberships) Run ¶
func (c *CmdTeamListMemberships) Run() error
func (*CmdTeamListMemberships) SetJSON ¶
func (c *CmdTeamListMemberships) SetJSON(b bool)
func (*CmdTeamListMemberships) SetTeam ¶
func (c *CmdTeamListMemberships) SetTeam(s string)
type CmdTeamListRequests ¶
type CmdTeamListRequests struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdTeamListRequestsRunner ¶
func NewCmdTeamListRequestsRunner(g *libkb.GlobalContext) *CmdTeamListRequests
func (*CmdTeamListRequests) GetUsage ¶
func (c *CmdTeamListRequests) GetUsage() libkb.Usage
func (*CmdTeamListRequests) ParseArgv ¶
func (c *CmdTeamListRequests) ParseArgv(ctx *cli.Context) error
func (*CmdTeamListRequests) Run ¶
func (c *CmdTeamListRequests) Run() error
type CmdTeamRemoveMember ¶
type CmdTeamRemoveMember struct { libkb.Contextified Team string Username string Email string InviteID keybase1.TeamInviteID Force bool }
func NewCmdTeamRemoveMemberRunner ¶
func NewCmdTeamRemoveMemberRunner(g *libkb.GlobalContext) *CmdTeamRemoveMember
func (*CmdTeamRemoveMember) GetUsage ¶
func (c *CmdTeamRemoveMember) GetUsage() libkb.Usage
func (*CmdTeamRemoveMember) ParseArgv ¶
func (c *CmdTeamRemoveMember) ParseArgv(ctx *cli.Context) error
func (*CmdTeamRemoveMember) Run ¶
func (c *CmdTeamRemoveMember) Run() error
type CmdTeamRename ¶
type CmdTeamRename struct { PrevName keybase1.TeamName NewName keybase1.TeamName SessionID int libkb.Contextified }
func NewCmdTeamRenameRunner ¶
func NewCmdTeamRenameRunner(g *libkb.GlobalContext) *CmdTeamRename
func (*CmdTeamRename) GetUsage ¶
func (v *CmdTeamRename) GetUsage() libkb.Usage
func (*CmdTeamRename) Run ¶
func (v *CmdTeamRename) Run() (err error)
type CmdTeamRequestAccess ¶
type CmdTeamRequestAccess struct { libkb.Contextified Team string }
func NewCmdTeamRequestAccessRunner ¶
func NewCmdTeamRequestAccessRunner(g *libkb.GlobalContext) *CmdTeamRequestAccess
func (*CmdTeamRequestAccess) GetUsage ¶
func (c *CmdTeamRequestAccess) GetUsage() libkb.Usage
func (*CmdTeamRequestAccess) ParseArgv ¶
func (c *CmdTeamRequestAccess) ParseArgv(ctx *cli.Context) error
func (*CmdTeamRequestAccess) Run ¶
func (c *CmdTeamRequestAccess) Run() error
type CmdTeamRotateKey ¶
type CmdTeamRotateKey struct { libkb.Contextified TeamID keybase1.TeamID }
func NewCmdTeamRotateKeyRunner ¶
func NewCmdTeamRotateKeyRunner(g *libkb.GlobalContext) *CmdTeamRotateKey
func (*CmdTeamRotateKey) GetUsage ¶
func (c *CmdTeamRotateKey) GetUsage() libkb.Usage
func (*CmdTeamRotateKey) Run ¶
func (c *CmdTeamRotateKey) Run() error
type CmdTeamSettings ¶
type CmdTeamSettings struct { libkb.Contextified Team keybase1.TeamName // These fields are non-zero valued when their action is requested Description *string JoinAsRole *keybase1.TeamRole ProfilePromote *bool AllowProfilePromote *bool Showcase *bool DisableAccessRequests *bool }
func NewCmdTeamSettingsRunner ¶
func NewCmdTeamSettingsRunner(g *libkb.GlobalContext) *CmdTeamSettings
func (*CmdTeamSettings) GetUsage ¶
func (c *CmdTeamSettings) GetUsage() libkb.Usage
func (*CmdTeamSettings) ParseArgv ¶
func (c *CmdTeamSettings) ParseArgv(ctx *cli.Context) (err error)
func (*CmdTeamSettings) Run ¶
func (c *CmdTeamSettings) Run() error
type CmdTeamShowTree ¶
type CmdTeamShowTree struct { TeamName keybase1.TeamName SessionID int libkb.Contextified }
func NewCmdTeamShowTreeRunner ¶
func NewCmdTeamShowTreeRunner(g *libkb.GlobalContext) *CmdTeamShowTree
func (*CmdTeamShowTree) GetUsage ¶
func (v *CmdTeamShowTree) GetUsage() libkb.Usage
func (*CmdTeamShowTree) ParseArgv ¶
func (v *CmdTeamShowTree) ParseArgv(ctx *cli.Context) (err error)
func (*CmdTeamShowTree) Run ¶
func (v *CmdTeamShowTree) Run() (err error)
type CmdTestFSNotify ¶
type CmdTestFSNotify struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdTestFSNotify) GetUsage ¶
func (s *CmdTestFSNotify) GetUsage() libkb.Usage
func (*CmdTestFSNotify) Run ¶
func (s *CmdTestFSNotify) Run() (err error)
type CmdTestPassphrase ¶
type CmdTestPassphrase struct {
libkb.Contextified
}
func (*CmdTestPassphrase) GetUsage ¶
func (s *CmdTestPassphrase) GetUsage() libkb.Usage
func (*CmdTestPassphrase) Run ¶
func (s *CmdTestPassphrase) Run() (err error)
type CmdTrack ¶
type CmdTrack struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdTrackRunner ¶
func NewCmdTrackRunner(g *libkb.GlobalContext) *CmdTrack
func (*CmdTrack) SetOptions ¶
func (v *CmdTrack) SetOptions(options keybase1.TrackOptions)
type CmdUnlock ¶
type CmdUnlock struct { libkb.Contextified // contains filtered or unexported fields }
type CmdUntrack ¶
type CmdUntrack struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdUntrackRunner ¶
func NewCmdUntrackRunner(g *libkb.GlobalContext) *CmdUntrack
func (*CmdUntrack) GetUsage ¶
func (v *CmdUntrack) GetUsage() libkb.Usage
func (*CmdUntrack) Run ¶
func (v *CmdUntrack) Run() error
func (*CmdUntrack) SetUser ¶
func (v *CmdUntrack) SetUser(user string)
type CmdVerify ¶
type CmdVerify struct { libkb.Contextified UnixFilter // contains filtered or unexported fields }
type CmdVersion ¶
type CmdVersion struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdVersionRunner ¶
func NewCmdVersionRunner(g *libkb.GlobalContext) *CmdVersion
func (*CmdVersion) GetUsage ¶
func (v *CmdVersion) GetUsage() libkb.Usage
func (*CmdVersion) Run ¶
func (v *CmdVersion) Run() error
type CmdWalletCancelRequest ¶
type CmdWalletCancelRequest struct { libkb.Contextified ID string }
func (*CmdWalletCancelRequest) GetUsage ¶
func (c *CmdWalletCancelRequest) GetUsage() libkb.Usage
func (*CmdWalletCancelRequest) ParseArgv ¶
func (c *CmdWalletCancelRequest) ParseArgv(ctx *cli.Context) error
func (*CmdWalletCancelRequest) Run ¶
func (c *CmdWalletCancelRequest) Run() error
type CmdWalletLookup ¶
type CmdWalletLookup struct { libkb.Contextified Name string }
func (*CmdWalletLookup) GetUsage ¶
func (c *CmdWalletLookup) GetUsage() libkb.Usage
func (*CmdWalletLookup) Run ¶
func (c *CmdWalletLookup) Run() error
type CmdWalletRequest ¶
type CmdWalletRequest struct { libkb.Contextified Recipient string TLFName string Amount string LocalCurrency string Note string }
func (*CmdWalletRequest) GetUsage ¶
func (c *CmdWalletRequest) GetUsage() libkb.Usage
func (*CmdWalletRequest) Run ¶
func (c *CmdWalletRequest) Run() error
type CmdWalletSend ¶
type CmdWalletSend struct { libkb.Contextified Recipient string Amount string Note string LocalCurrency string ForceRelay bool FromAccountID stellar1.AccountID }
func (*CmdWalletSend) GetUsage ¶
func (c *CmdWalletSend) GetUsage() libkb.Usage
func (*CmdWalletSend) Run ¶
func (c *CmdWalletSend) Run() error
type CmdWatchdog ¶
type CmdWatchdog struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdWatchdog) GetUsage ¶
func (c *CmdWatchdog) GetUsage() libkb.Usage
func (*CmdWatchdog) Run ¶
func (c *CmdWatchdog) Run() (err error)
type CmdWatchdog2 ¶
type CmdWatchdog2 struct {
libkb.Contextified
}
CmdWatchdog2 defines watchdog command
func (*CmdWatchdog2) Debugf ¶
func (c *CmdWatchdog2) Debugf(s string, args ...interface{})
Debugf (for watchdog.Log interface)
func (*CmdWatchdog2) Errorf ¶
func (c *CmdWatchdog2) Errorf(s string, args ...interface{})
Errorf (for watchdog Log interface)
func (*CmdWatchdog2) GetUsage ¶
func (c *CmdWatchdog2) GetUsage() libkb.Usage
GetUsage returns library usage for this command
func (*CmdWatchdog2) Infof ¶
func (c *CmdWatchdog2) Infof(s string, args ...interface{})
Infof (for watchdog.Log interface)
func (*CmdWatchdog2) ParseArgv ¶
func (c *CmdWatchdog2) ParseArgv(ctx *cli.Context) error
ParseArgv is args for the watchdog command
func (*CmdWatchdog2) Warningf ¶
func (c *CmdWatchdog2) Warningf(s string, args ...interface{})
Warningf (for watchdog Log interface)
type ConvSummary ¶
type ConvSummary struct { ID string `json:"id"` Channel ChatChannel `json:"channel"` Unread bool `json:"unread"` ActiveAt int64 `json:"active_at"` ActiveAtMs int64 `json:"active_at_ms"` MemberStatus string `json:"member_status"` ResetUsers []string `json:"reset_users,omitempty"` FinalizeInfo *chat1.ConversationFinalizeInfo `json:"finalize_info,omitempty"` Supersedes []string `json:"supersedes,omitempty"` SupersededBy []string `json:"superseded_by,omitempty"` Error string `json:"error,omitempty"` }
ConvSummary is used for JSON output of a conversation in the inbox.
type DirentFileInfo ¶
DirentFileInfo implements os.FileInfo for a Dirent
func (DirentFileInfo) IsDir ¶
func (d DirentFileInfo) IsDir() bool
IsDir is an abbreviation for Mode().IsDir()
func (DirentFileInfo) ModTime ¶
func (d DirentFileInfo) ModTime() time.Time
ModTime returns modification time
func (DirentFileInfo) Mode ¶
func (d DirentFileInfo) Mode() os.FileMode
Mode returns the file mode bits
func (DirentFileInfo) Name ¶
func (d DirentFileInfo) Name() string
Name returns the base name of the file
func (DirentFileInfo) Size ¶
func (d DirentFileInfo) Size() int64
Size - length in bytes for regular files; system-dependent for others
func (DirentFileInfo) Sys ¶
func (d DirentFileInfo) Sys() interface{}
Sys - underlying data source (can return nil)
type EmptyRes ¶
type EmptyRes struct {
RateLimits
}
EmptyRes is used for JSON output of a boring command.
type ErrInvalidJSON ¶
type ErrInvalidJSON struct {
// contains filtered or unexported fields
}
func (ErrInvalidJSON) Error ¶
func (e ErrInvalidJSON) Error() string
type ErrInvalidMethod ¶
type ErrInvalidMethod struct {
// contains filtered or unexported fields
}
func (ErrInvalidMethod) Error ¶
func (e ErrInvalidMethod) Error() string
type ErrInvalidOptions ¶
type ErrInvalidOptions struct {
// contains filtered or unexported fields
}
ErrInvalidOptions is returned when the options aren't valid.
func (ErrInvalidOptions) Error ¶
func (e ErrInvalidOptions) Error() string
type ErrInvalidVersion ¶
type ErrInvalidVersion struct {
// contains filtered or unexported fields
}
func (ErrInvalidVersion) Error ¶
func (e ErrInvalidVersion) Error() string
type EscapedSink ¶
type EscapedSink struct { Sink // contains filtered or unexported fields }
EscapedSink can be used to write data to the underlying Sink, while transparently sanitizing it. If an error occurs writing to an EscapedSink, no more data will be accepted and all subsequent writes will return the error.
func (*EscapedSink) Write ¶
func (s *EscapedSink) Write(p []byte) (int, error)
Write writes p to the underlying Sink, after sanitizing it. It returns n = len(p) on a successful write (regardless of how much data is written to the underlying Sink). This is because the escaping function might alter the actual dimension of the data, but the caller is interested in knowing how much of what they wanted to write was actually written. In case of errors it (conservatively) returns n=0 and the error, and no other writes are possible.
type Field ¶
type FileInfoPath ¶
type FileInfoPath struct {
// contains filtered or unexported fields
}
FileInfoPath is a FileInfo paired with the original path as passed in to the program. Unfortunately, the Name() in FileInfo is only the basename, so the associated path must be manually recorded as well.
type FileSink ¶
type FileSink struct { libkb.Contextified // contains filtered or unexported fields }
func NewFileSink ¶
func NewFileSink(g *libkb.GlobalContext, s string) *FileSink
type FileSource ¶
type FileSource struct {
// contains filtered or unexported fields
}
func NewFileSource ¶
func NewFileSource(s string) *FileSource
func (*FileSource) Close ¶
func (s *FileSource) Close() error
func (*FileSource) CloseWithError ¶
func (s *FileSource) CloseWithError(e error) error
func (*FileSource) Open ¶
func (s *FileSource) Open() error
func (*FileSource) Seek ¶
func (s *FileSource) Seek(offset int64, whence int) (int64, error)
Seek implements io.Seeker.
Some notes:
s.file could be nil because FileSource.Read() closes s.file at the end of reading a file. If s.file is nil, Seek will reopen the file.
The alternative is to remove the Close() in Read(), but leave that untouched so as not to break anything that depends on that behavior.
type GPGUI ¶
type GPGUI struct { libkb.Contextified // contains filtered or unexported fields }
func NewGPGUI ¶
func NewGPGUI(g *libkb.GlobalContext, t libkb.TerminalUI, np bool, tty string) GPGUI
func (GPGUI) ConfirmDuplicateKeyChosen ¶
func (GPGUI) ConfirmImportSecretToExistingKey ¶
func (GPGUI) SelectKeyAndPushOption ¶
func (g GPGUI) SelectKeyAndPushOption(ctx context.Context, arg keybase1.SelectKeyAndPushOptionArg) (res keybase1.SelectKeyRes, err error)
func (GPGUI) SelectKeyID ¶
type IdentifyTrackUI ¶
type IdentifyTrackUI struct {
BaseIdentifyUI
}
func (*IdentifyTrackUI) Confirm ¶
func (ui *IdentifyTrackUI) Confirm(o *keybase1.IdentifyOutcome) (result keybase1.ConfirmResult, err error)
type IdentifyUI ¶
type IdentifyUI struct {
BaseIdentifyUI
}
type IdentifyUIServer ¶
type IdentifyUIServer struct {
// contains filtered or unexported fields
}
func (*IdentifyUIServer) Cancel ¶
func (i *IdentifyUIServer) Cancel(_ context.Context, sessionID int) error
func (*IdentifyUIServer) Confirm ¶
func (i *IdentifyUIServer) Confirm(_ context.Context, arg keybase1.ConfirmArg) (keybase1.ConfirmResult, error)
func (*IdentifyUIServer) DelegateIdentifyUI ¶
func (i *IdentifyUIServer) DelegateIdentifyUI(_ context.Context) (int, error)
func (*IdentifyUIServer) Dismiss ¶
func (i *IdentifyUIServer) Dismiss(_ context.Context, arg keybase1.DismissArg) error
func (*IdentifyUIServer) DisplayCryptocurrency ¶
func (i *IdentifyUIServer) DisplayCryptocurrency(_ context.Context, arg keybase1.DisplayCryptocurrencyArg) error
func (*IdentifyUIServer) DisplayKey ¶
func (i *IdentifyUIServer) DisplayKey(_ context.Context, arg keybase1.DisplayKeyArg) error
func (*IdentifyUIServer) DisplayTLFCreateWithInvite ¶
func (i *IdentifyUIServer) DisplayTLFCreateWithInvite(_ context.Context, arg keybase1.DisplayTLFCreateWithInviteArg) error
func (*IdentifyUIServer) DisplayTrackStatement ¶
func (i *IdentifyUIServer) DisplayTrackStatement(_ context.Context, arg keybase1.DisplayTrackStatementArg) error
func (*IdentifyUIServer) DisplayUserCard ¶
func (i *IdentifyUIServer) DisplayUserCard(_ context.Context, arg keybase1.DisplayUserCardArg) error
func (*IdentifyUIServer) Finish ¶
func (i *IdentifyUIServer) Finish(_ context.Context, sessionID int) error
func (*IdentifyUIServer) FinishSocialProofCheck ¶
func (i *IdentifyUIServer) FinishSocialProofCheck(_ context.Context, arg keybase1.FinishSocialProofCheckArg) error
func (*IdentifyUIServer) FinishWebProofCheck ¶
func (i *IdentifyUIServer) FinishWebProofCheck(_ context.Context, arg keybase1.FinishWebProofCheckArg) error
func (*IdentifyUIServer) LaunchNetworkChecks ¶
func (i *IdentifyUIServer) LaunchNetworkChecks(_ context.Context, arg keybase1.LaunchNetworkChecksArg) error
func (*IdentifyUIServer) ReportLastTrack ¶
func (i *IdentifyUIServer) ReportLastTrack(_ context.Context, arg keybase1.ReportLastTrackArg) error
func (*IdentifyUIServer) ReportTrackToken ¶
func (i *IdentifyUIServer) ReportTrackToken(_ context.Context, arg keybase1.ReportTrackTokenArg) error
type InternalError ¶
type InternalError struct {
// contains filtered or unexported fields
}
func (InternalError) Error ¶
func (e InternalError) Error() string
type JSONInput ¶
type JSONInput map[string]json.RawMessage
type LinkCheckResultWrapper ¶
type LinkCheckResultWrapper struct {
// contains filtered or unexported fields
}
func (LinkCheckResultWrapper) GetBreaksTrackingMark ¶
func (w LinkCheckResultWrapper) GetBreaksTrackingMark() string
func (LinkCheckResultWrapper) GetCachedMsg ¶
func (w LinkCheckResultWrapper) GetCachedMsg() string
func (LinkCheckResultWrapper) GetDiff ¶
func (w LinkCheckResultWrapper) GetDiff() *keybase1.TrackDiff
func (LinkCheckResultWrapper) GetDiffOrRemoteDiff ¶
func (w LinkCheckResultWrapper) GetDiffOrRemoteDiff() *keybase1.TrackDiff
func (LinkCheckResultWrapper) GetError ¶
func (w LinkCheckResultWrapper) GetError() error
func (LinkCheckResultWrapper) GetHint ¶
func (w LinkCheckResultWrapper) GetHint() SigHintWrapper
func (LinkCheckResultWrapper) GetSnoozedError ¶
func (w LinkCheckResultWrapper) GetSnoozedError() error
func (LinkCheckResultWrapper) GetTmpTrackExpireTime ¶
func (w LinkCheckResultWrapper) GetTmpTrackExpireTime() time.Time
func (LinkCheckResultWrapper) GetTorWarning ¶
func (w LinkCheckResultWrapper) GetTorWarning() bool
type ListOptions ¶
type ListOptions struct {
// contains filtered or unexported fields
}
ListOptions is for the Linux style
type Listing ¶
type Listing struct {
// contains filtered or unexported fields
}
Listing contains all the information about a file or directory in a printable form.
type LogUIServer ¶
type LogUIServer struct {
libkb.Contextified
}
type LoginUI ¶
type LoginUI struct {
// contains filtered or unexported fields
}
func NewLoginUI ¶
func NewLoginUI(t libkb.TerminalUI, noPrompt bool) LoginUI
func (LoginUI) DisplayPaperKeyPhrase ¶
func (LoginUI) DisplayPrimaryPaperKey ¶
func (LoginUI) GetEmailOrUsername ¶
func (LoginUI) PromptRevokePaperKeys ¶
type Message ¶
type Message struct { Msg *MsgSummary `json:"msg,omitempty"` Error *string `json:"error,omitempty"` }
Message contains either a MsgSummary or an Error. Used for JSON output.
type MsgContent ¶
type MsgContent struct { TypeName string `json:"type"` Text *chat1.MessageText `json:"text,omitempty"` Attachment *chat1.MessageAttachment `json:"attachment,omitempty"` Edit *chat1.MessageEdit `json:"edit,omitempty"` Reaction *chat1.MessageReaction `json:"reaction,omitempty"` Delete *chat1.MessageDelete `json:"delete,omitempty"` Metadata *chat1.MessageConversationMetadata `json:"metadata,omitempty"` AttachmentUploaded *chat1.MessageAttachmentUploaded `json:"attachment_uploaded,omitempty"` SendPayment *chat1.MessageSendPayment `json:"send_payment,omitempty"` RequestPayment *chat1.MessageRequestPayment `json:"request_payment,omitempty"` }
MsgContent is used to retrieve the type name in addition to one of Text, Attachment, Edit, Reaction, Delete, Metadata depending on the type of message. It is included in MsgSummary.
type MsgSender ¶
type MsgSender struct { UID string `json:"uid"` Username string `json:"username,omitempty"` DeviceID string `json:"device_id"` DeviceName string `json:"device_name,omitempty"` }
MsgSender is used for JSON output of the sender of a message.
type MsgSummary ¶
type MsgSummary struct { ID chat1.MessageID `json:"id"` Channel ChatChannel `json:"channel"` Sender MsgSender `json:"sender"` SentAt int64 `json:"sent_at"` SentAtMs int64 `json:"sent_at_ms"` Content MsgContent `json:"content"` Prev []chat1.MessagePreviousPointer `json:"prev"` Unread bool `json:"unread"` RevokedDevice bool `json:"revoked_device,omitempty"` Offline bool `json:"offline,omitempty"` KBFSEncrypted bool `json:"kbfs_encrypted,omitempty"` IsEphemeral bool `json:"is_ephemeral,omitempty"` IsEphemeralExpired bool `json:"is_ephemeral_expired,omitempty"` ETime gregor1.Time `json:"etime,omitempty"` Reactions *chat1.ReactionMap `json:"reactions,omitempty"` HasPairwiseMacs bool `json:"has_pairwise_macs,omitempty"` AtMentionUsernames []string `json:"at_mention_usernames,omitempty"` ChannelMention string `json:"channel_mention,omitempty"` ChannelNameMentions []chat1.UIChannelNameMention `json:"channel_name_mentions,omitempty"` }
MsgSummary is used to display JSON details for a message.
type NoTerminalError ¶
type NoTerminalError struct{}
func (NoTerminalError) Error ¶
func (e NoTerminalError) Error() string
type NotConfirmedError ¶
type NotConfirmedError struct{}
func (NotConfirmedError) Error ¶
func (e NotConfirmedError) Error() string
type OpCanceler ¶
type OpCanceler struct { libkb.Contextified // contains filtered or unexported fields }
func NewOpCanceler ¶
func NewOpCanceler(g *libkb.GlobalContext) *OpCanceler
func (*OpCanceler) AddOp ¶
func (j *OpCanceler) AddOp(opid keybase1.OpID)
func (*OpCanceler) Cancel ¶
func (j *OpCanceler) Cancel() error
func (*OpCanceler) IsCancelled ¶
func (j *OpCanceler) IsCancelled() bool
type Paragraph ¶
type Paragraph struct {
// contains filtered or unexported fields
}
type Params ¶
type Params struct { Version int Options json.RawMessage }
Params represents the `params` portion of the JSON api call.
type PgpUI ¶
type PgpUI struct { libkb.Contextified // contains filtered or unexported fields }
func (PgpUI) KeyGenerated ¶
func (PgpUI) OutputSignatureSuccess ¶
func (PgpUI) OutputSignatureSuccessNonKeybase ¶
type PromptFields ¶
type PromptFields struct {
// contains filtered or unexported fields
}
func (PromptFields) ToList ¶
func (pf PromptFields) ToList() []*Field
type Prompter ¶
type Prompter struct { Fields []*Field // contains filtered or unexported fields }
func NewPrompter ¶
func NewPrompter(f []*Field, tui libkb.TerminalUI) *Prompter
type ProofNotYetAvailableError ¶
type ProofNotYetAvailableError struct{}
func (ProofNotYetAvailableError) Error ¶
func (e ProofNotYetAvailableError) Error() string
type ProveRooterUI ¶
type ProveRooterUI struct { libkb.Contextified Username string }
func (*ProveRooterUI) DisplayRecheckWarning ¶
func (p *ProveRooterUI) DisplayRecheckWarning(_ context.Context, _ keybase1.DisplayRecheckWarningArg) error
func (*ProveRooterUI) OkToCheck ¶
func (p *ProveRooterUI) OkToCheck(_ context.Context, _ keybase1.OkToCheckArg) (bool, error)
func (*ProveRooterUI) OutputInstructions ¶
func (p *ProveRooterUI) OutputInstructions(_ context.Context, arg keybase1.OutputInstructionsArg) error
func (*ProveRooterUI) OutputPrechecks ¶
func (p *ProveRooterUI) OutputPrechecks(_ context.Context, _ keybase1.OutputPrechecksArg) error
func (*ProveRooterUI) PreProofWarning ¶
func (p *ProveRooterUI) PreProofWarning(_ context.Context, _ keybase1.PreProofWarningArg) (bool, error)
func (*ProveRooterUI) PromptOverwrite ¶
func (p *ProveRooterUI) PromptOverwrite(_ context.Context, _ keybase1.PromptOverwriteArg) (bool, error)
func (*ProveRooterUI) PromptUsername ¶
func (p *ProveRooterUI) PromptUsername(_ context.Context, _ keybase1.PromptUsernameArg) (string, error)
type ProveUI ¶
type ProveUI struct { libkb.Contextified // contains filtered or unexported fields }
func (ProveUI) DisplayRecheckWarning ¶
func (ProveUI) OutputInstructions ¶
func (ProveUI) OutputPrechecks ¶
func (ProveUI) PreProofWarning ¶
func (ProveUI) PromptOverwrite ¶
func (ProveUI) PromptUsername ¶
type ProvisionUI ¶
type ProvisionUI struct { libkb.Contextified // contains filtered or unexported fields }
func (ProvisionUI) ChooseDevice ¶
func (p ProvisionUI) ChooseDevice(ctx context.Context, arg keybase1.ChooseDeviceArg) (keybase1.DeviceID, error)
func (ProvisionUI) ChooseDeviceType ¶
func (p ProvisionUI) ChooseDeviceType(ctx context.Context, arg keybase1.ChooseDeviceTypeArg) (keybase1.DeviceType, error)
func (ProvisionUI) ChooseGPGMethod ¶
func (p ProvisionUI) ChooseGPGMethod(ctx context.Context, arg keybase1.ChooseGPGMethodArg) (keybase1.GPGMethod, error)
func (ProvisionUI) ChooseProvisioningMethod ¶
func (p ProvisionUI) ChooseProvisioningMethod(ctx context.Context, arg keybase1.ChooseProvisioningMethodArg) (keybase1.ProvisionMethod, error)
func (ProvisionUI) DisplayAndPromptSecret ¶
func (p ProvisionUI) DisplayAndPromptSecret(ctx context.Context, arg keybase1.DisplayAndPromptSecretArg) (keybase1.SecretResponse, error)
func (ProvisionUI) DisplaySecretExchanged ¶
func (p ProvisionUI) DisplaySecretExchanged(ctx context.Context, sessionID int) error
func (ProvisionUI) PromptNewDeviceName ¶
func (p ProvisionUI) PromptNewDeviceName(ctx context.Context, arg keybase1.PromptNewDeviceNameArg) (string, error)
func (ProvisionUI) ProvisioneeSuccess ¶
func (p ProvisionUI) ProvisioneeSuccess(ctx context.Context, arg keybase1.ProvisioneeSuccessArg) error
func (ProvisionUI) ProvisionerSuccess ¶
func (p ProvisionUI) ProvisionerSuccess(ctx context.Context, arg keybase1.ProvisionerSuccessArg) error
func (ProvisionUI) SwitchToGPGSignOK ¶
func (p ProvisionUI) SwitchToGPGSignOK(ctx context.Context, arg keybase1.SwitchToGPGSignOKArg) (bool, error)
type RateLimits ¶
type RateLimits struct {
RateLimits []RateLimit `json:"ratelimits,omitempty"`
}
type RemoteProofWrapper ¶
type RemoteProofWrapper struct {
// contains filtered or unexported fields
}
func (RemoteProofWrapper) GetDomain ¶
func (w RemoteProofWrapper) GetDomain() string
func (RemoteProofWrapper) GetHostname ¶
func (w RemoteProofWrapper) GetHostname() string
func (RemoteProofWrapper) GetProtocol ¶
func (w RemoteProofWrapper) GetProtocol() string
func (RemoteProofWrapper) GetRemoteUsername ¶
func (w RemoteProofWrapper) GetRemoteUsername() string
func (RemoteProofWrapper) GetService ¶
func (w RemoteProofWrapper) GetService() string
func (RemoteProofWrapper) ToDisplayString ¶
func (w RemoteProofWrapper) ToDisplayString() string
type Renderer ¶
type Renderer struct { libkb.Contextified // contains filtered or unexported fields }
func NewRenderer ¶
func NewRenderer(g *libkb.GlobalContext, out io.Writer) *Renderer
func (*Renderer) FlushParagraph ¶
func (r *Renderer) FlushParagraph()
func (*Renderer) NewParagraph ¶
func (*Renderer) RenderNode ¶
func (*Renderer) RenderNodes ¶
type Reply ¶
type Reply struct { Jsonrpc string `json:"jsonrpc,omitempty"` ID int `json:"id,omitempty"` Error *CallError `json:"error,omitempty"` Result interface{} `json:"result,omitempty"` }
Reply is returned with the results of processing a Call.
type SaltpackUI ¶
type SaltpackUI struct { libkb.Contextified // contains filtered or unexported fields }
func (*SaltpackUI) SaltpackPromptForDecrypt ¶
func (s *SaltpackUI) SaltpackPromptForDecrypt(_ context.Context, arg keybase1.SaltpackPromptForDecryptArg) (err error)
func (*SaltpackUI) SaltpackVerifyBadSender ¶
func (s *SaltpackUI) SaltpackVerifyBadSender(_ context.Context, arg keybase1.SaltpackVerifyBadSenderArg) error
SaltpackVerifyBadSender is responsible for short-circuiting the output of the bad message. It returns an error if the --force argument isn't present, and the VerifyEngine bubbles that up. This is similar to doNonInteractive above.
func (*SaltpackUI) SaltpackVerifySuccess ¶
func (s *SaltpackUI) SaltpackVerifySuccess(_ context.Context, arg keybase1.SaltpackVerifySuccessArg) error
type SearchRes ¶
type SearchRes struct { Hits []chat1.ChatSearchHit `json:"hits"` IdentifyFailures []keybase1.TLFIdentifyFailure `json:"identify_failures,omitempty"` RateLimits }
type SecretEntry ¶
type SecretEntry struct { libkb.Contextified // contains filtered or unexported fields }
func NewSecretEntry ¶
func NewSecretEntry(g *libkb.GlobalContext, t *Terminal, tty string) *SecretEntry
func (*SecretEntry) Get ¶
func (se *SecretEntry) Get(arg keybase1.SecretEntryArg, termArg *keybase1.SecretEntryArg, w io.Writer) (res *keybase1.SecretEntryRes, err error)
func (*SecretEntry) Init ¶
func (se *SecretEntry) Init() (err error)
type SecretUI ¶
type SecretUI struct {
// contains filtered or unexported fields
}
func (SecretUI) GetPassphrase ¶
func (ui SecretUI) GetPassphrase(pin keybase1.GUIEntryArg, term *keybase1.SecretEntryArg) (res keybase1.GetPassphraseRes, err error)
type SecretUIServer ¶
type SecretUIServer struct {
// contains filtered or unexported fields
}
func (*SecretUIServer) GetPassphrase ¶
func (s *SecretUIServer) GetPassphrase(_ context.Context, arg keybase1.GetPassphraseArg) (keybase1.GetPassphraseRes, error)
type SendRes ¶
type SendRes struct { Message string `json:"message"` IdentifyFailures []keybase1.TLFIdentifyFailure `json:"identify_failures,omitempty"` RateLimits }
SendRes is the result of successfully sending a message.
type SigHintWrapper ¶
type SigHintWrapper struct {
// contains filtered or unexported fields
}
func (SigHintWrapper) GetCheckText ¶
func (shw SigHintWrapper) GetCheckText() (ret string)
func (SigHintWrapper) GetHumanURL ¶
func (shw SigHintWrapper) GetHumanURL() (ret string)
type StdinSource ¶
type StdinSource struct {
// contains filtered or unexported fields
}
func (*StdinSource) Close ¶
func (b *StdinSource) Close() error
Close a source, but consume all leftover input before so doing.
func (*StdinSource) CloseWithError ¶
func (b *StdinSource) CloseWithError(e error) error
func (*StdinSource) Open ¶
func (b *StdinSource) Open() error
type StdoutSink ¶
type StdoutSink struct {
// contains filtered or unexported fields
}
func (*StdoutSink) Close ¶
func (s *StdoutSink) Close() error
func (*StdoutSink) HitError ¶
func (s *StdoutSink) HitError(e error) error
func (*StdoutSink) Open ¶
func (s *StdoutSink) Open() error
type TeamsUI ¶
type TeamsUI struct {
libkb.Contextified
}
func (*TeamsUI) ConfirmRootTeamDelete ¶
func (*TeamsUI) ConfirmSubteamDelete ¶
type Terminal ¶
type Terminal struct { libkb.Contextified // contains filtered or unexported fields }
func NewTerminalEscaped ¶
func NewTerminalEscaped(g *libkb.GlobalContext) *Terminal
func NewTerminalUnescaped ¶
func NewTerminalUnescaped(g *libkb.GlobalContext) *Terminal
func (*Terminal) GetSecret ¶
func (t *Terminal) GetSecret(arg *keybase1.SecretEntryArg) (res *keybase1.SecretEntryRes, err error)
func (*Terminal) GetSize ¶
GetSize tries to get the size for the current terminal. It if fails it returns 80x24
func (*Terminal) PromptYesNo ¶
type Thread ¶
type Thread struct { Messages []Message `json:"messages"` Pagination *chat1.Pagination `json:"pagination,omitempty"` Offline bool `json:"offline,omitempty"` IdentifyFailures []keybase1.TLFIdentifyFailure `json:"identify_failures,omitempty"` RateLimits }
Thread is used for JSON output of a thread of messages.
type UI ¶
type UI struct { libkb.Contextified Terminal *Terminal SecretEntry *SecretEntry // contains filtered or unexported fields }
func (*UI) ErrorWriter ¶
func (*UI) GetDumbOutputUI ¶
func (ui *UI) GetDumbOutputUI() libkb.DumbOutputUI
GetDumbOutput returns the main client UI, which happens to also be a dumb output UI too.
func (*UI) GetIdentifyTrackUI ¶
func (ui *UI) GetIdentifyTrackUI() libkb.IdentifyUI
func (*UI) GetIdentifyUI ¶
func (ui *UI) GetIdentifyUI() libkb.IdentifyUI
func (*UI) GetLoginUI ¶
func (*UI) GetProveUI ¶
func (*UI) GetProvisionUI ¶
func (ui *UI) GetProvisionUI(role libkb.KexRole) libkb.ProvisionUI
func (*UI) GetSecretUI ¶
func (*UI) GetTerminalSize ¶
func (*UI) GetTerminalUI ¶
func (ui *UI) GetTerminalUI() libkb.TerminalUI
GetTerminalUI returns the main client UI, which happens to be a terminal UI
func (*UI) OutputDesc ¶
func (ui *UI) OutputDesc(_ libkb.OutputDescriptor, s string) error
func (*UI) OutputWriter ¶
func (*UI) PrintfStderr ¶
func (*UI) PrintfUnescaped ¶
func (*UI) PromptForConfirmation ¶
func (*UI) PromptPassword ¶
func (*UI) PromptSelection ¶
func (*UI) PromptYesNo ¶
func (ui *UI) PromptYesNo(_ libkb.PromptDescriptor, p string, def libkb.PromptDefault) (ret bool, err error)
func (*UI) TerminalSize ¶
func (*UI) UnescapedOutputWriter ¶
type UnexpectedArgsError ¶
type UnexpectedArgsError string
func (UnexpectedArgsError) Error ¶
func (e UnexpectedArgsError) Error() string
type UnixFilter ¶
type UnixFilter struct { libkb.Contextified // contains filtered or unexported fields }
func (*UnixFilter) ClientFilterOpen ¶
func (u *UnixFilter) ClientFilterOpen(g *libkb.GlobalContext) (snk, src keybase1.Stream, err error)
func (*UnixFilter) Close ¶
func (u *UnixFilter) Close(inerr error) error
func (*UnixFilter) FilterInit ¶
func (u *UnixFilter) FilterInit(g *libkb.GlobalContext, msg, infile, outfile string) (err error)
func (*UnixFilter) FilterOpen ¶
func (u *UnixFilter) FilterOpen(g *libkb.GlobalContext) (err error)
Source Files ¶
- chat_api_doc.go
- chat_api_handler.go
- chat_api_version_handler.go
- chat_cli_fetchers.go
- chat_cli_flag_utils.go
- chat_cli_rendering.go
- chat_common.go
- chat_resolver.go
- chat_send_common.go
- chat_svc_handler.go
- chat_ui.go
- cmd_account.go
- cmd_account_delete.go
- cmd_account_lockdown.go
- cmd_account_reset.go
- cmd_apicall.go
- cmd_badge.go
- cmd_base62.go
- cmd_ca.go
- cmd_chat.go
- cmd_chat_api.go
- cmd_chat_api_listen.go
- cmd_chat_createchannel.go
- cmd_chat_delete_channel.go
- cmd_chat_delete_history.go
- cmd_chat_delete_history_dev.go
- cmd_chat_download.go
- cmd_chat_hide.go
- cmd_chat_joinchannel.go
- cmd_chat_kbfs_upgrade.go
- cmd_chat_leavechannel.go
- cmd_chat_list.go
- cmd_chat_list_unread.go
- cmd_chat_listchannels.go
- cmd_chat_listmembers.go
- cmd_chat_min_writer_role.go
- cmd_chat_mute.go
- cmd_chat_read.go
- cmd_chat_readdmember.go
- cmd_chat_renamechannel.go
- cmd_chat_report.go
- cmd_chat_retention.go
- cmd_chat_retention_dev.go
- cmd_chat_search.go
- cmd_chat_send.go
- cmd_chat_upload.go
- cmd_check_following.go
- cmd_compat.go
- cmd_config.go
- cmd_ctl.go
- cmd_ctl_app_exit.go
- cmd_ctl_logrotate.go
- cmd_ctl_reload.go
- cmd_ctl_restart.go
- cmd_ctl_start.go
- cmd_ctl_stop.go
- cmd_ctl_watchdog.go
- cmd_ctl_watchdog2.go
- cmd_currency.go
- cmd_db.go
- cmd_decrypt.go
- cmd_deprovision.go
- cmd_device.go
- cmd_device_add.go
- cmd_device_list.go
- cmd_device_remove.go
- cmd_dismiss.go
- cmd_dismiss_category.go
- cmd_dump_keyfamily.go
- cmd_dump_push_notifications.go
- cmd_encrypt.go
- cmd_fake_following_changed.go
- cmd_favorite.go
- cmd_favorite_add.go
- cmd_favorite_list.go
- cmd_favorite_remove.go
- cmd_fnmr.go
- cmd_follow.go
- cmd_git.go
- cmd_git_create.go
- cmd_git_delete.go
- cmd_git_gc.go
- cmd_git_list.go
- cmd_git_mddel.go
- cmd_git_mdget.go
- cmd_git_mdput.go
- cmd_git_settings.go
- cmd_home.go
- cmd_id.go
- cmd_interesting_people.go
- cmd_list_followers.go
- cmd_list_following.go
- cmd_log.go
- cmd_log_profile.go
- cmd_log_send.go
- cmd_login.go
- cmd_logout.go
- cmd_oneshot.go
- cmd_paperkey.go
- cmd_paperprovision.go
- cmd_passphrase.go
- cmd_passphrase_change.go
- cmd_passphrase_recover.go
- cmd_pgp.go
- cmd_pgp_decrypt.go
- cmd_pgp_drop.go
- cmd_pgp_encrypt.go
- cmd_pgp_export.go
- cmd_pgp_gen.go
- cmd_pgp_import.go
- cmd_pgp_list.go
- cmd_pgp_pull.go
- cmd_pgp_purge.go
- cmd_pgp_select.go
- cmd_pgp_sign.go
- cmd_pgp_update.go
- cmd_pgp_verify.go
- cmd_ping.go
- cmd_pprof.go
- cmd_prove.go
- cmd_rekey_devel.go
- cmd_rekey_paper.go
- cmd_rekey_status.go
- cmd_rekey_trigger.go
- cmd_riit.go
- cmd_scanproofs.go
- cmd_script.go
- cmd_search.go
- cmd_secretkey.go
- cmd_selfprovision.go
- cmd_show_notifications.go
- cmd_sign.go
- cmd_signup.go
- cmd_sigs.go
- cmd_sigs_list.go
- cmd_sigs_revoke.go
- cmd_simplefs.go
- cmd_simplefs_copy.go
- cmd_simplefs_debug.go
- cmd_simplefs_get_status.go
- cmd_simplefs_history.go
- cmd_simplefs_kill.go
- cmd_simplefs_list.go
- cmd_simplefs_mkdir.go
- cmd_simplefs_move.go
- cmd_simplefs_ps.go
- cmd_simplefs_quota.go
- cmd_simplefs_read.go
- cmd_simplefs_recover.go
- cmd_simplefs_remove.go
- cmd_simplefs_stat.go
- cmd_simplefs_upgrade.go
- cmd_simplefs_write.go
- cmd_status.go
- cmd_status_nix.go
- cmd_stress.go
- cmd_team.go
- cmd_team_accept_invite.go
- cmd_team_add_member.go
- cmd_team_api.go
- cmd_team_create.go
- cmd_team_debug.go
- cmd_team_delete.go
- cmd_team_edit_member.go
- cmd_team_ftl.go
- cmd_team_generate_seitan.go
- cmd_team_ignore_request.go
- cmd_team_leave.go
- cmd_team_list_memberships.go
- cmd_team_list_requests.go
- cmd_team_profile_load.go
- cmd_team_remove_member.go
- cmd_team_rename.go
- cmd_team_request_access.go
- cmd_team_rotate_key.go
- cmd_team_settings.go
- cmd_team_show_tree.go
- cmd_test_fsnotify.go
- cmd_test_passphrase.go
- cmd_tlf.go
- cmd_unfollow.go
- cmd_unlock.go
- cmd_upak.go
- cmd_update.go
- cmd_upload_avatar.go
- cmd_verify.go
- cmd_version.go
- cmd_wallet.go
- cmd_wallet_balances.go
- cmd_wallet_cancel.go
- cmd_wallet_cancel_request.go
- cmd_wallet_detail.go
- cmd_wallet_dump.go
- cmd_wallet_export.go
- cmd_wallet_history.go
- cmd_wallet_import.go
- cmd_wallet_init.go
- cmd_wallet_lookup.go
- cmd_wallet_rename.go
- cmd_wallet_request.go
- cmd_wallet_send.go
- cmd_wallet_set_currency.go
- cmd_wallet_set_primary.go
- cmd_wallet_setmobileonly.go
- color.go
- commands_common.go
- commands_devel.go
- commands_nix.go
- display_nix.go
- errors.go
- files.go
- fork_server.go
- fork_server_nix.go
- gpg_ui.go
- help.go
- identify_ui.go
- interfaces.go
- json_api_common.go
- log.go
- main.go
- markup.go
- out_of_date.go
- passphrase_common.go
- passphrase_prompt.go
- pgp_ui.go
- prompter.go
- prompts.go
- prove_rooter_ui.go
- provision_ui.go
- rpc.go
- saltpack_ui.go
- secret.go
- secret_entry.go
- sendpath.go
- simplefs_ls.go
- stellar_common.go
- stream.go
- team_api_doc.go
- team_api_handler.go
- team_helper.go
- teams_ui.go
- terminal.go
- ui.go
- versionfix.go