Documentation ¶
Index ¶
- Constants
- func GetCommands(cl *libcmdline.CommandLine, g *libkb.GlobalContext) []cli.Command
- func NewCmdService(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewGregorMsgID() (gregor1.MsgID, error)
- func WrapGenericClientWithTimeout(client rpc.GenericClient, timeout time.Duration, timeoutErr error) rpc.GenericClient
- type APIServerHandler
- func (a *APIServerHandler) Delete(_ context.Context, arg keybase1.DeleteArg) (keybase1.APIRes, error)
- func (a *APIServerHandler) Get(_ context.Context, arg keybase1.GetArg) (keybase1.APIRes, error)
- func (a *APIServerHandler) GetWithSession(_ context.Context, arg keybase1.GetWithSessionArg) (keybase1.APIRes, error)
- func (a *APIServerHandler) Post(_ context.Context, arg keybase1.PostArg) (keybase1.APIRes, error)
- func (a *APIServerHandler) PostJSON(_ context.Context, arg keybase1.PostJSONArg) (keybase1.APIRes, error)
- type AccountHandler
- func (h *AccountHandler) EmailChange(nctx context.Context, arg keybase1.EmailChangeArg) error
- func (h *AccountHandler) HasServerKeys(_ context.Context, sessionID int) (keybase1.HasServerKeysRes, error)
- func (h *AccountHandler) PassphraseChange(_ context.Context, arg keybase1.PassphraseChangeArg) error
- func (h *AccountHandler) PassphrasePrompt(_ context.Context, arg keybase1.PassphrasePromptArg) (keybase1.GetPassphraseRes, error)
- func (h *AccountHandler) ResetAccount(ctx context.Context, sessionID int) error
- type BackgroundIdentifier
- type BadTrackSessionError
- type BaseHandler
- type ConfigHandler
- func (h ConfigHandler) CheckAPIServerOutOfDateWarning(_ context.Context) (keybase1.OutOfDateInfo, error)
- func (h ConfigHandler) ClearValue(_ context.Context, path string) error
- func (h ConfigHandler) GetBootstrapStatus(ctx context.Context, sessionID int) (keybase1.BootstrapStatus, error)
- func (h ConfigHandler) GetConfig(_ context.Context, sessionID int) (keybase1.Config, error)
- func (h ConfigHandler) GetCurrentStatus(_ context.Context, sessionID int) (res keybase1.GetCurrentStatusRes, err error)
- func (h ConfigHandler) GetExtendedStatus(ctx context.Context, sessionID int) (res keybase1.ExtendedStatus, err error)
- func (h ConfigHandler) GetValue(_ context.Context, path string) (ret keybase1.ConfigValue, err error)
- func (h ConfigHandler) HelloIAm(_ context.Context, arg keybase1.ClientDetails) error
- func (h ConfigHandler) SetPath(_ context.Context, arg keybase1.SetPathArg) error
- func (h ConfigHandler) SetUserConfig(_ context.Context, arg keybase1.SetUserConfigArg) (err error)
- func (h ConfigHandler) SetValue(_ context.Context, arg keybase1.SetValueArg) (err error)
- func (h ConfigHandler) WaitForClient(_ context.Context, arg keybase1.WaitForClientArg) (bool, error)
- type CryptoHandler
- func (c *CryptoHandler) SignED25519(ctx context.Context, arg keybase1.SignED25519Arg) (keybase1.ED25519SignatureInfo, error)
- func (c *CryptoHandler) SignED25519ForKBFS(ctx context.Context, arg keybase1.SignED25519ForKBFSArg) (keybase1.ED25519SignatureInfo, error)
- func (c *CryptoHandler) SignToString(ctx context.Context, arg keybase1.SignToStringArg) (string, error)
- func (c *CryptoHandler) UnboxBytes32(ctx context.Context, arg keybase1.UnboxBytes32Arg) (keybase1.Bytes32, error)
- func (c *CryptoHandler) UnboxBytes32Any(ctx context.Context, arg keybase1.UnboxBytes32AnyArg) (keybase1.UnboxAnyRes, error)
- type CryptocurrencyHandler
- type CtlHandler
- func (c *CtlHandler) AppExit(_ context.Context, sessionID int) error
- func (c *CtlHandler) DbDelete(_ context.Context, arg keybase1.DbDeleteArg) (err error)
- func (c *CtlHandler) DbGet(_ context.Context, arg keybase1.DbGetArg) (*keybase1.DbValue, error)
- func (c *CtlHandler) DbNuke(_ context.Context, sessionID int) error
- func (c *CtlHandler) DbPut(_ context.Context, arg keybase1.DbPutArg) (err error)
- func (c *CtlHandler) LogRotate(_ context.Context, sessionID int) error
- func (c *CtlHandler) Reload(_ context.Context, sessionID int) error
- func (c *CtlHandler) Stop(_ context.Context, args keybase1.StopArg) error
- type DebuggingHandler
- func (t DebuggingHandler) FirstStep(ctx context.Context, arg keybase1.FirstStepArg) (result keybase1.FirstStepResult, err error)
- func (t DebuggingHandler) Increment(_ context.Context, arg keybase1.IncrementArg) (val int, err error)
- func (t DebuggingHandler) SecondStep(_ context.Context, arg keybase1.SecondStepArg) (val int, err error)
- type DelegateUICtlHandler
- func (d *DelegateUICtlHandler) RegisterGregorFirehose(_ context.Context) error
- func (d *DelegateUICtlHandler) RegisterHomeUI(_ context.Context) error
- func (d *DelegateUICtlHandler) RegisterIdentifyUI(_ context.Context) error
- func (d *DelegateUICtlHandler) RegisterRekeyUI(_ context.Context) error
- func (d *DelegateUICtlHandler) RegisterSecretUI(_ context.Context) error
- func (d *DelegateUICtlHandler) RegisterUpdateUI(_ context.Context) error
- type DeviceHandler
- func (h *DeviceHandler) CheckDeviceNameForUser(_ context.Context, arg keybase1.CheckDeviceNameForUserArg) error
- func (h *DeviceHandler) CheckDeviceNameFormat(_ context.Context, arg keybase1.CheckDeviceNameFormatArg) (bool, error)
- func (h *DeviceHandler) DeviceAdd(c context.Context, sessionID int) error
- func (h *DeviceHandler) DeviceHistoryList(nctx context.Context, sessionID int) ([]keybase1.DeviceDetail, error)
- func (h *DeviceHandler) DeviceList(_ context.Context, sessionID int) ([]keybase1.Device, error)
- type FavoriteHandler
- type GenericArg
- type GitHandler
- func (h *GitHandler) CreatePersonalRepo(ctx context.Context, repoName keybase1.GitRepoName) (repoID keybase1.RepoID, err error)
- func (h *GitHandler) CreateTeamRepo(ctx context.Context, arg keybase1.CreateTeamRepoArg) (repoID keybase1.RepoID, err error)
- func (h *GitHandler) DeleteGitMetadata(ctx context.Context, arg keybase1.DeleteGitMetadataArg) (err error)
- func (h *GitHandler) DeletePersonalRepo(ctx context.Context, repoName keybase1.GitRepoName) (err error)
- func (h *GitHandler) DeleteTeamRepo(ctx context.Context, arg keybase1.DeleteTeamRepoArg) (err error)
- func (h *GitHandler) GcPersonalRepo(ctx context.Context, arg keybase1.GcPersonalRepoArg) (err error)
- func (h *GitHandler) GcTeamRepo(ctx context.Context, arg keybase1.GcTeamRepoArg) (err error)
- func (h *GitHandler) GetAllGitMetadata(ctx context.Context) (res []keybase1.GitRepoResult, err error)
- func (h *GitHandler) GetGitMetadata(ctx context.Context, folder keybase1.Folder) (res []keybase1.GitRepoResult, err error)
- func (h *GitHandler) GetTeamRepoSettings(ctx context.Context, arg keybase1.GetTeamRepoSettingsArg) (keybase1.GitTeamRepoSettings, error)
- func (h *GitHandler) PutGitMetadata(ctx context.Context, arg keybase1.PutGitMetadataArg) (err error)
- func (h *GitHandler) SetTeamRepoSettings(ctx context.Context, arg keybase1.SetTeamRepoSettingsArg) error
- type HomeHandler
- func (h *HomeHandler) HomeActionTaken(ctx context.Context) error
- func (h *HomeHandler) HomeGetScreen(ctx context.Context, arg keybase1.HomeGetScreenArg) (keybase1.HomeScreen, error)
- func (h *HomeHandler) HomeMarkViewed(ctx context.Context) error
- func (h *HomeHandler) HomeSkipTodoType(ctx context.Context, typ keybase1.HomeScreenTodoType) error
- type IdentifyHandler
- func (h *IdentifyHandler) Identify2(netCtx context.Context, arg keybase1.Identify2Arg) (res keybase1.Identify2Res, err error)
- func (h *IdentifyHandler) IdentifyLite(netCtx context.Context, arg keybase1.IdentifyLiteArg) (res keybase1.IdentifyLiteRes, err error)
- func (h *IdentifyHandler) Resolve3(ctx context.Context, arg string) (u keybase1.UserOrTeamLite, err error)
- func (h *IdentifyHandler) ResolveIdentifyImplicitTeam(ctx context.Context, arg keybase1.ResolveIdentifyImplicitTeamArg) (res keybase1.ResolveIdentifyImplicitTeamRes, err error)
- func (h *IdentifyHandler) ResolveImplicitTeam(ctx context.Context, arg keybase1.ResolveImplicitTeamArg) (res keybase1.Folder, err error)
- type IdentifyUIHandler
- func (h IdentifyUIHandler) Create(ctx context.Context, cli gregor1.IncomingInterface, category string, ...) (bool, error)
- func (h IdentifyUIHandler) Dismiss(ctx context.Context, cli gregor1.IncomingInterface, category string, ...) (bool, error)
- func (h IdentifyUIHandler) IsAlive() bool
- func (h IdentifyUIHandler) Name() string
- type InstallHandler
- func (h *InstallHandler) FuseStatus(_ context.Context, arg keybase1.FuseStatusArg) (keybase1.FuseStatus, error)
- func (h *InstallHandler) InstallCommandLinePrivileged(context.Context) (keybase1.InstallResult, error)
- func (h *InstallHandler) InstallFuse(context.Context) (keybase1.InstallResult, error)
- func (h *InstallHandler) InstallKBFS(context.Context) (keybase1.InstallResult, error)
- func (h *InstallHandler) UninstallKBFS(context.Context) (keybase1.UninstallResult, error)
- type KBFSHandler
- func (h *KBFSHandler) CreateTLF(ctx context.Context, arg keybase1.CreateTLFArg) error
- func (h *KBFSHandler) FSEditList(ctx context.Context, arg keybase1.FSEditListArg) error
- func (h *KBFSHandler) FSEditListRequest(ctx context.Context, arg keybase1.FSEditListRequest) error
- func (h *KBFSHandler) FSEvent(_ context.Context, arg keybase1.FSNotification) error
- func (h *KBFSHandler) FSSyncEvent(ctx context.Context, arg keybase1.FSPathSyncStatus) (err error)
- func (h *KBFSHandler) FSSyncStatus(ctx context.Context, arg keybase1.FSSyncStatusArg) (err error)
- func (h *KBFSHandler) GetKBFSTeamSettings(ctx context.Context, teamID keybase1.TeamID) (keybase1.KBFSTeamSettings, error)
- type KBFSMountHandler
- type LogHandler
- type LogUI
- func (l *LogUI) Critical(format string, args ...interface{})
- func (l *LogUI) Debug(format string, args ...interface{})
- func (l *LogUI) Errorf(format string, args ...interface{})
- func (l *LogUI) Info(format string, args ...interface{})
- func (l *LogUI) Log(level keybase1.LogLevel, format string, args []interface{})
- func (l *LogUI) Notice(format string, args ...interface{})
- func (l *LogUI) Warning(format string, args ...interface{})
- type LoginHandler
- func (h *LoginHandler) AccountDelete(ctx context.Context, sessionID int) error
- func (h *LoginHandler) ClearStoredSecret(_ context.Context, arg keybase1.ClearStoredSecretArg) error
- func (h *LoginHandler) Deprovision(_ context.Context, arg keybase1.DeprovisionArg) error
- func (h *LoginHandler) GetConfiguredAccounts(_ context.Context, sessionID int) ([]keybase1.ConfiguredAccount, error)
- func (h *LoginHandler) Login(ctx context.Context, arg keybase1.LoginArg) error
- func (h *LoginHandler) LoginProvisionedDevice(ctx context.Context, arg keybase1.LoginProvisionedDeviceArg) error
- func (h *LoginHandler) LoginWithPaperKey(ctx context.Context, sessionID int) error
- func (h *LoginHandler) Logout(ctx context.Context, sessionID int) (err error)
- func (h *LoginHandler) PGPProvision(ctx context.Context, arg keybase1.PGPProvisionArg) error
- func (h *LoginHandler) PaperKey(_ context.Context, sessionID int) error
- func (h *LoginHandler) PaperKeySubmit(_ context.Context, arg keybase1.PaperKeySubmitArg) error
- func (h *LoginHandler) RecoverAccountFromEmailAddress(_ context.Context, email string) error
- func (h *LoginHandler) Unlock(_ context.Context, sessionID int) error
- func (h *LoginHandler) UnlockWithPassphrase(_ context.Context, arg keybase1.UnlockWithPassphraseArg) error
- type LoginUI
- func (u *LoginUI) DisplayPaperKeyPhrase(ctx context.Context, arg keybase1.DisplayPaperKeyPhraseArg) error
- func (u *LoginUI) DisplayPrimaryPaperKey(ctx context.Context, arg keybase1.DisplayPrimaryPaperKeyArg) error
- func (u *LoginUI) GetEmailOrUsername(ctx context.Context, _ int) (string, error)
- func (u *LoginUI) PromptRevokePaperKeys(ctx context.Context, arg keybase1.PromptRevokePaperKeysArg) (bool, error)
- type LogsendHandler
- type MerkleHandler
- type NotConnectedError
- type NotifyCtlHandler
- type PGPHandler
- func (h *PGPHandler) PGPDecrypt(_ context.Context, arg keybase1.PGPDecryptArg) (keybase1.PGPSigVerification, error)
- func (h *PGPHandler) PGPDeletePrimary(ctx context.Context, sessionID int) (err error)
- func (h *PGPHandler) PGPEncrypt(_ context.Context, arg keybase1.PGPEncryptArg) error
- func (h *PGPHandler) PGPExport(_ context.Context, arg keybase1.PGPExportArg) (ret []keybase1.KeyInfo, err error)
- func (h *PGPHandler) PGPExportByFingerprint(_ context.Context, arg keybase1.PGPExportByFingerprintArg) (ret []keybase1.KeyInfo, err error)
- func (h *PGPHandler) PGPExportByKID(_ context.Context, arg keybase1.PGPExportByKIDArg) (ret []keybase1.KeyInfo, err error)
- func (h *PGPHandler) PGPImport(_ context.Context, arg keybase1.PGPImportArg) error
- func (h *PGPHandler) PGPKeyGen(_ context.Context, arg keybase1.PGPKeyGenArg) error
- func (h *PGPHandler) PGPKeyGenDefault(ctx context.Context, arg keybase1.PGPKeyGenDefaultArg) error
- func (h *PGPHandler) PGPPull(_ context.Context, arg keybase1.PGPPullArg) error
- func (h *PGPHandler) PGPPurge(ctx context.Context, arg keybase1.PGPPurgeArg) (keybase1.PGPPurgeRes, error)
- func (h *PGPHandler) PGPSelect(nctx context.Context, sarg keybase1.PGPSelectArg) error
- func (h *PGPHandler) PGPSign(_ context.Context, arg keybase1.PGPSignArg) (err error)
- func (h *PGPHandler) PGPStorageDismiss(ctx context.Context, sessionID int) error
- func (h *PGPHandler) PGPUpdate(_ context.Context, arg keybase1.PGPUpdateArg) error
- func (h *PGPHandler) PGPVerify(_ context.Context, arg keybase1.PGPVerifyArg) (keybase1.PGPSigVerification, error)
- type PaperProvisionHandler
- type ProveHandler
- type RekeyHandler2
- func (r *RekeyHandler2) DebugShowRekeyStatus(ctx context.Context, sessionID int) error
- func (r *RekeyHandler2) GetPendingRekeyStatus(_ context.Context, _ int) (ret keybase1.ProblemSetDevices, err error)
- func (r *RekeyHandler2) GetRevokeWarning(_ context.Context, arg keybase1.GetRevokeWarningArg) (res keybase1.RevokeWarning, err error)
- func (r *RekeyHandler2) RekeyStatusFinish(_ context.Context, _ int) (ret keybase1.Outcome, err error)
- func (r *RekeyHandler2) RekeySync(_ context.Context, arg keybase1.RekeySyncArg) error
- func (r *RekeyHandler2) ShowPendingRekeyStatus(context.Context, int) error
- type RekeyInterrupt
- type RekeyLogHandler
- func (r *RekeyLogHandler) Create(ctx context.Context, cli gregor1.IncomingInterface, category string, ...) (bool, error)
- func (r *RekeyLogHandler) Dismiss(ctx context.Context, cli gregor1.IncomingInterface, category string, ...) (bool, error)
- func (r *RekeyLogHandler) IsAlive() bool
- func (r *RekeyLogHandler) Name() string
- type RekeyUI
- type RemoteChatUI
- func (r *RemoteChatUI) ChatAttachmentDownloadDone(ctx context.Context) error
- func (r *RemoteChatUI) ChatAttachmentDownloadProgress(ctx context.Context, arg chat1.ChatAttachmentDownloadProgressArg) error
- func (r *RemoteChatUI) ChatAttachmentDownloadStart(ctx context.Context) error
- func (r *RemoteChatUI) ChatAttachmentPreviewUploadDone(ctx context.Context) error
- func (r *RemoteChatUI) ChatAttachmentPreviewUploadStart(ctx context.Context, metadata chat1.AssetMetadata) error
- func (r *RemoteChatUI) ChatAttachmentUploadDone(ctx context.Context) error
- func (r *RemoteChatUI) ChatAttachmentUploadOutboxID(ctx context.Context, arg chat1.ChatAttachmentUploadOutboxIDArg) error
- func (r *RemoteChatUI) ChatAttachmentUploadProgress(ctx context.Context, arg chat1.ChatAttachmentUploadProgressArg) error
- func (r *RemoteChatUI) ChatAttachmentUploadStart(ctx context.Context, metadata chat1.AssetMetadata, placeholder chat1.MessageID) error
- func (r *RemoteChatUI) ChatConfirmChannelDelete(ctx context.Context, arg chat1.ChatConfirmChannelDeleteArg) (bool, error)
- func (r *RemoteChatUI) ChatInboxConversation(ctx context.Context, arg chat1.ChatInboxConversationArg) error
- func (r *RemoteChatUI) ChatInboxFailed(ctx context.Context, arg chat1.ChatInboxFailedArg) error
- func (r *RemoteChatUI) ChatInboxUnverified(ctx context.Context, arg chat1.ChatInboxUnverifiedArg) error
- func (r *RemoteChatUI) ChatThreadCached(ctx context.Context, arg chat1.ChatThreadCachedArg) error
- func (r *RemoteChatUI) ChatThreadFull(ctx context.Context, arg chat1.ChatThreadFullArg) error
- type RemoteGPGUI
- func (r *RemoteGPGUI) ConfirmDuplicateKeyChosen(ctx context.Context, _ int) (bool, error)
- func (r *RemoteGPGUI) GetTTY(ctx context.Context) (string, error)
- func (r *RemoteGPGUI) SelectKey(ctx context.Context, arg keybase1.SelectKeyArg) (string, error)
- func (r *RemoteGPGUI) SelectKeyAndPushOption(ctx context.Context, arg keybase1.SelectKeyAndPushOptionArg) (keybase1.SelectKeyRes, error)
- func (r *RemoteGPGUI) Sign(ctx context.Context, arg keybase1.SignArg) (string, error)
- func (r *RemoteGPGUI) WantToAddGPGKey(ctx context.Context, _ int) (bool, error)
- type RemoteIdentifyUI
- func (u *RemoteIdentifyUI) Cancel() error
- func (u *RemoteIdentifyUI) Confirm(io *keybase1.IdentifyOutcome) (keybase1.ConfirmResult, error)
- func (u *RemoteIdentifyUI) Dismiss(username string, reason keybase1.DismissReason) error
- func (u *RemoteIdentifyUI) DisplayCryptocurrency(c keybase1.Cryptocurrency) error
- func (u *RemoteIdentifyUI) DisplayKey(key keybase1.IdentifyKey) error
- func (u *RemoteIdentifyUI) DisplayTLFCreateWithInvite(arg keybase1.DisplayTLFCreateWithInviteArg) error
- func (u *RemoteIdentifyUI) DisplayTrackStatement(s string) error
- func (u *RemoteIdentifyUI) DisplayUserCard(card keybase1.UserCard) error
- func (u *RemoteIdentifyUI) Finish() error
- func (u *RemoteIdentifyUI) FinishSocialProofCheck(p keybase1.RemoteProof, lcr keybase1.LinkCheckResult) error
- func (u *RemoteIdentifyUI) FinishWebProofCheck(p keybase1.RemoteProof, lcr keybase1.LinkCheckResult) error
- func (u *RemoteIdentifyUI) LaunchNetworkChecks(id *keybase1.Identity, user *keybase1.User) error
- func (u *RemoteIdentifyUI) ReportLastTrack(t *keybase1.TrackSummary) error
- func (u *RemoteIdentifyUI) ReportTrackToken(token keybase1.TrackToken) error
- func (u *RemoteIdentifyUI) SetStrict(b bool)
- func (u *RemoteIdentifyUI) Start(username string, reason keybase1.IdentifyReason, force bool) error
- type RemotePgpUI
- func (u *RemotePgpUI) Finished(ctx context.Context, sessionID int) error
- func (u *RemotePgpUI) KeyGenerated(ctx context.Context, arg keybase1.KeyGeneratedArg) error
- func (u *RemotePgpUI) OutputSignatureSuccess(ctx context.Context, arg keybase1.OutputSignatureSuccessArg) error
- func (u *RemotePgpUI) OutputSignatureSuccessNonKeybase(ctx context.Context, arg keybase1.OutputSignatureSuccessNonKeybaseArg) error
- func (u *RemotePgpUI) ShouldPushPrivate(ctx context.Context, sessionID int) (bool, error)
- type RemoteProvisionUI
- func (u *RemoteProvisionUI) ChooseDevice(ctx context.Context, arg keybase1.ChooseDeviceArg) (keybase1.DeviceID, error)
- func (u *RemoteProvisionUI) ChooseDeviceType(ctx context.Context, arg keybase1.ChooseDeviceTypeArg) (keybase1.DeviceType, error)
- func (u *RemoteProvisionUI) ChooseGPGMethod(ctx context.Context, arg keybase1.ChooseGPGMethodArg) (keybase1.GPGMethod, error)
- func (u *RemoteProvisionUI) ChooseProvisioningMethod(ctx context.Context, arg keybase1.ChooseProvisioningMethodArg) (keybase1.ProvisionMethod, error)
- func (u *RemoteProvisionUI) DisplayAndPromptSecret(ctx context.Context, arg keybase1.DisplayAndPromptSecretArg) (keybase1.SecretResponse, error)
- func (u *RemoteProvisionUI) DisplaySecretExchanged(ctx context.Context, _ int) error
- func (u *RemoteProvisionUI) PromptNewDeviceName(ctx context.Context, arg keybase1.PromptNewDeviceNameArg) (string, error)
- func (u *RemoteProvisionUI) ProvisioneeSuccess(ctx context.Context, arg keybase1.ProvisioneeSuccessArg) error
- func (u *RemoteProvisionUI) ProvisionerSuccess(ctx context.Context, arg keybase1.ProvisionerSuccessArg) error
- func (u *RemoteProvisionUI) SwitchToGPGSignOK(ctx context.Context, arg keybase1.SwitchToGPGSignOKArg) (bool, error)
- type RemoteSaltpackUI
- func (r *RemoteSaltpackUI) SaltpackPromptForDecrypt(ctx context.Context, arg keybase1.SaltpackPromptForDecryptArg, ...) (err error)
- func (r *RemoteSaltpackUI) SaltpackVerifyBadSender(ctx context.Context, arg keybase1.SaltpackVerifyBadSenderArg) (err error)
- func (r *RemoteSaltpackUI) SaltpackVerifySuccess(ctx context.Context, arg keybase1.SaltpackVerifySuccessArg) (err error)
- type RemoteTeamsUI
- type RevokeHandler
- type SaltpackHandler
- func (h *SaltpackHandler) SaltpackDecrypt(_ context.Context, arg keybase1.SaltpackDecryptArg) (info keybase1.SaltpackEncryptedMessageInfo, err error)
- func (h *SaltpackHandler) SaltpackEncrypt(_ context.Context, arg keybase1.SaltpackEncryptArg) error
- func (h *SaltpackHandler) SaltpackSign(_ context.Context, arg keybase1.SaltpackSignArg) error
- func (h *SaltpackHandler) SaltpackVerify(_ context.Context, arg keybase1.SaltpackVerifyArg) error
- type ScanProofsHandler
- type SecretKeysHandler
- type SecretUI
- type Service
- func (d *Service) ConfigRPCServer() (net.Listener, error)
- func (d *Service) GetExclusiveLock() error
- func (d *Service) GetExclusiveLockWithoutAutoUnlock() error
- func (d *Service) GetStartChannel() <-chan struct{}
- func (d *Service) GetUsage() libkb.Usage
- func (d *Service) GregorDismiss(id gregor.MsgID) error
- func (d *Service) GregorInject(cat string, body []byte) (gregor.MsgID, error)
- func (d *Service) GregorInjectOutOfBandMessage(sys string, body []byte) error
- func (d *Service) Handle(c net.Conn)
- func (d *Service) HasGregor() bool
- func (d *Service) ListenLoop(l net.Listener) (err error)
- func (d *Service) ListenLoopWithStopper(l net.Listener) (exitCode keybase1.ExitCode, err error)
- func (d *Service) OnLogin() error
- func (d *Service) OnLogout() (err error)
- func (d *Service) ParseArgv(ctx *cli.Context) error
- func (d *Service) RegisterProtocols(srv *rpc.Server, xp rpc.Transporter, connID libkb.ConnectionID, ...) (shutdowners []Shutdowner, err error)
- func (d *Service) ReleaseLock() error
- func (d *Service) Run() (err error)
- func (d *Service) RunBackgroundOperations(uir *UIRouter)
- func (d *Service) SetGregorPushStateFilter(f func(m gregor.Message) bool)
- func (d *Service) SetupCriticalSubServices() error
- func (d *Service) SimulateGregorCrashForTesting()
- func (d *Service) StartLoopbackServer() error
- func (d *Service) StartStandaloneChat(g *libkb.GlobalContext) error
- func (d *Service) Stop(exitCode keybase1.ExitCode)
- type SessionHandler
- type Shutdowner
- type SignupHandler
- func (h *SignupHandler) CheckInvitationCode(ctx context.Context, arg keybase1.CheckInvitationCodeArg) (err error)
- func (h *SignupHandler) CheckUsernameAvailable(_ context.Context, arg keybase1.CheckUsernameAvailableArg) error
- func (h *SignupHandler) GetInvitationCode(c context.Context, sessionID int) (code string, err error)
- func (h *SignupHandler) InviteRequest(ctx context.Context, arg keybase1.InviteRequestArg) (err error)
- func (h *SignupHandler) Signup(_ context.Context, arg keybase1.SignupArg) (res keybase1.SignupRes, err error)
- type SigsHandler
- type SimpleFSHandler
- func (s *SimpleFSHandler) SimpleFSCancel(ctx context.Context, arg keybase1.OpID) error
- func (s *SimpleFSHandler) SimpleFSCheck(ctx context.Context, arg keybase1.OpID) (keybase1.Progress, error)
- func (s *SimpleFSHandler) SimpleFSClose(ctx context.Context, arg keybase1.OpID) error
- func (s *SimpleFSHandler) SimpleFSCopy(ctx context.Context, arg keybase1.SimpleFSCopyArg) error
- func (s *SimpleFSHandler) SimpleFSCopyRecursive(ctx context.Context, arg keybase1.SimpleFSCopyRecursiveArg) error
- func (s *SimpleFSHandler) SimpleFSGetOps(ctx context.Context) ([]keybase1.OpDescription, error)
- func (s *SimpleFSHandler) SimpleFSList(ctx context.Context, arg keybase1.SimpleFSListArg) error
- func (s *SimpleFSHandler) SimpleFSListRecursive(ctx context.Context, arg keybase1.SimpleFSListRecursiveArg) error
- func (s *SimpleFSHandler) SimpleFSMakeOpid(ctx context.Context) (keybase1.OpID, error)
- func (s *SimpleFSHandler) SimpleFSMove(ctx context.Context, arg keybase1.SimpleFSMoveArg) error
- func (s *SimpleFSHandler) SimpleFSOpen(ctx context.Context, arg keybase1.SimpleFSOpenArg) error
- func (s *SimpleFSHandler) SimpleFSRead(ctx context.Context, arg keybase1.SimpleFSReadArg) (keybase1.FileContent, error)
- func (s *SimpleFSHandler) SimpleFSReadList(ctx context.Context, arg keybase1.OpID) (keybase1.SimpleFSListResult, error)
- func (s *SimpleFSHandler) SimpleFSRemove(ctx context.Context, arg keybase1.SimpleFSRemoveArg) error
- func (s *SimpleFSHandler) SimpleFSRename(ctx context.Context, arg keybase1.SimpleFSRenameArg) error
- func (s *SimpleFSHandler) SimpleFSSetStat(ctx context.Context, arg keybase1.SimpleFSSetStatArg) error
- func (s *SimpleFSHandler) SimpleFSStat(ctx context.Context, arg keybase1.Path) (keybase1.Dirent, error)
- func (s *SimpleFSHandler) SimpleFSWait(ctx context.Context, arg keybase1.OpID) error
- func (s *SimpleFSHandler) SimpleFSWrite(ctx context.Context, arg keybase1.SimpleFSWriteArg) error
- type TeamsHandler
- func (h *TeamsHandler) CanUserPerform(ctx context.Context, teamname string) (ret keybase1.TeamOperation, err error)
- func (h *TeamsHandler) GetTarsDisabled(ctx context.Context, teamname string) (res bool, err error)
- func (h *TeamsHandler) GetTeamAndMemberShowcase(ctx context.Context, teamname string) (ret keybase1.TeamAndMemberShowcase, err error)
- func (h *TeamsHandler) GetTeamRootID(ctx context.Context, id keybase1.TeamID) (keybase1.TeamID, error)
- func (h *TeamsHandler) GetTeamShowcase(ctx context.Context, teamname string) (ret keybase1.TeamShowcase, err error)
- func (h *TeamsHandler) LoadTeamPlusApplicationKeys(ctx context.Context, arg keybase1.LoadTeamPlusApplicationKeysArg) (res keybase1.TeamPlusApplicationKeys, err error)
- func (h *TeamsHandler) LookupImplicitTeam(ctx context.Context, arg keybase1.LookupImplicitTeamArg) (res keybase1.LookupImplicitTeamRes, err error)
- func (h *TeamsHandler) LookupOrCreateImplicitTeam(ctx context.Context, arg keybase1.LookupOrCreateImplicitTeamArg) (res keybase1.LookupImplicitTeamRes, err error)
- func (h *TeamsHandler) SetTarsDisabled(ctx context.Context, arg keybase1.SetTarsDisabledArg) (err error)
- func (h *TeamsHandler) SetTeamMemberShowcase(ctx context.Context, arg keybase1.SetTeamMemberShowcaseArg) (err error)
- func (h *TeamsHandler) SetTeamShowcase(ctx context.Context, arg keybase1.SetTeamShowcaseArg) (err error)
- func (h *TeamsHandler) TeamAcceptInvite(ctx context.Context, arg keybase1.TeamAcceptInviteArg) (err error)
- func (h *TeamsHandler) TeamAcceptInviteOrRequestAccess(ctx context.Context, arg keybase1.TeamAcceptInviteOrRequestAccessArg) (res keybase1.TeamAcceptOrRequestResult, err error)
- func (h *TeamsHandler) TeamAddEmailsBulk(ctx context.Context, arg keybase1.TeamAddEmailsBulkArg) (res keybase1.BulkRes, err error)
- func (h *TeamsHandler) TeamAddMember(ctx context.Context, arg keybase1.TeamAddMemberArg) (res keybase1.TeamAddMemberResult, err error)
- func (h *TeamsHandler) TeamChangeMembership(ctx context.Context, arg keybase1.TeamChangeMembershipArg) error
- func (h *TeamsHandler) TeamCreate(ctx context.Context, arg keybase1.TeamCreateArg) (res keybase1.TeamCreateResult, err error)
- func (h *TeamsHandler) TeamCreateSeitanToken(ctx context.Context, arg keybase1.TeamCreateSeitanTokenArg) (token keybase1.SeitanIKey, err error)
- func (h *TeamsHandler) TeamCreateWithSettings(ctx context.Context, arg keybase1.TeamCreateWithSettingsArg) (res keybase1.TeamCreateResult, err error)
- func (h *TeamsHandler) TeamDebug(ctx context.Context, teamID keybase1.TeamID) (res keybase1.TeamDebugRes, err error)
- func (h *TeamsHandler) TeamDelete(ctx context.Context, arg keybase1.TeamDeleteArg) (err error)
- func (h *TeamsHandler) TeamEditMember(ctx context.Context, arg keybase1.TeamEditMemberArg) (err error)
- func (h *TeamsHandler) TeamGet(ctx context.Context, arg keybase1.TeamGetArg) (res keybase1.TeamDetails, err error)
- func (h *TeamsHandler) TeamIgnoreRequest(ctx context.Context, arg keybase1.TeamIgnoreRequestArg) (err error)
- func (h *TeamsHandler) TeamImplicitAdmins(ctx context.Context, arg keybase1.TeamImplicitAdminsArg) (res []keybase1.TeamMemberDetails, err error)
- func (h *TeamsHandler) TeamLeave(ctx context.Context, arg keybase1.TeamLeaveArg) (err error)
- func (h *TeamsHandler) TeamListMyAccessRequests(ctx context.Context, arg keybase1.TeamListMyAccessRequestsArg) (res []keybase1.TeamName, err error)
- func (h *TeamsHandler) TeamListRequests(ctx context.Context, sessionID int) (res []keybase1.TeamJoinRequest, err error)
- func (h *TeamsHandler) TeamListSubteamsRecursive(ctx context.Context, arg keybase1.TeamListSubteamsRecursiveArg) (res []keybase1.TeamIDAndName, err error)
- func (h *TeamsHandler) TeamListTeammates(ctx context.Context, arg keybase1.TeamListTeammatesArg) (res keybase1.AnnotatedTeamList, err error)
- func (h *TeamsHandler) TeamListUnverified(ctx context.Context, arg keybase1.TeamListUnverifiedArg) (res keybase1.AnnotatedTeamList, err error)
- func (h *TeamsHandler) TeamListVerified(ctx context.Context, arg keybase1.TeamListVerifiedArg) (res keybase1.AnnotatedTeamList, err error)
- func (h *TeamsHandler) TeamReAddMemberAfterReset(ctx context.Context, arg keybase1.TeamReAddMemberAfterResetArg) (err error)
- func (h *TeamsHandler) TeamRemoveMember(ctx context.Context, arg keybase1.TeamRemoveMemberArg) (err error)
- func (h *TeamsHandler) TeamRename(ctx context.Context, arg keybase1.TeamRenameArg) (err error)
- func (h *TeamsHandler) TeamRequestAccess(ctx context.Context, arg keybase1.TeamRequestAccessArg) (res keybase1.TeamRequestAccessResult, err error)
- func (h *TeamsHandler) TeamRotateKey(ctx context.Context, teamID keybase1.TeamID) (err error)
- func (h *TeamsHandler) TeamSetSettings(ctx context.Context, arg keybase1.TeamSetSettingsArg) (err error)
- func (h *TeamsHandler) TeamTree(ctx context.Context, arg keybase1.TeamTreeArg) (res keybase1.TeamTreeResult, err error)
- type TestHandler
- type TrackHandler
- func (h *TrackHandler) CheckTracking(_ context.Context, sessionID int) error
- func (h *TrackHandler) DismissWithToken(ctx context.Context, arg keybase1.DismissWithTokenArg) error
- func (h *TrackHandler) FakeTrackingChanged(_ context.Context, arg keybase1.FakeTrackingChangedArg) error
- func (h *TrackHandler) Track(_ context.Context, arg keybase1.TrackArg) (keybase1.ConfirmResult, error)
- func (h *TrackHandler) TrackWithToken(_ context.Context, arg keybase1.TrackWithTokenArg) error
- func (h *TrackHandler) Untrack(_ context.Context, arg keybase1.UntrackArg) error
- type UIRouter
- func (u *UIRouter) GetHomeUI() (keybase1.HomeUIInterface, error)
- func (u *UIRouter) GetIdentifyUI() (libkb.IdentifyUI, error)
- func (u *UIRouter) GetIdentifyUICtx(ctx context.Context) (int, libkb.IdentifyUI, error)
- func (u *UIRouter) GetRekeyUI() (keybase1.RekeyUIInterface, int, error)
- func (u *UIRouter) GetRekeyUINoSessionID() (ret keybase1.RekeyUIInterface, err error)
- func (u *UIRouter) GetSecretUI(sessionID int) (ui libkb.SecretUI, err error)
- func (u *UIRouter) SetUI(c libkb.ConnectionID, k libkb.UIKind)
- func (u *UIRouter) Shutdown()
- type UpdateUI
- func (u *UpdateUI) UpdateAppInUse(ctx context.Context, arg keybase1.UpdateAppInUseArg) (keybase1.UpdateAppInUseRes, error)
- func (u *UpdateUI) UpdatePrompt(ctx context.Context, arg keybase1.UpdatePromptArg) (keybase1.UpdatePromptRes, error)
- func (u *UpdateUI) UpdateQuit(ctx context.Context, arg keybase1.UpdateQuitArg) (res keybase1.UpdateQuitRes, err error)
- type UserHandler
- func (h *UserHandler) DeleteUser(ctx context.Context, sessionID int) error
- func (h *UserHandler) GetUPAK(ctx context.Context, uid keybase1.UID) (ret keybase1.UPAKVersioned, err error)
- func (h *UserHandler) InterestingPeople(ctx context.Context, maxUsers int) (res []keybase1.InterestingPerson, err error)
- func (h *UserHandler) ListTrackers(_ context.Context, arg keybase1.ListTrackersArg) ([]keybase1.Tracker, error)
- func (h *UserHandler) ListTrackers2(_ context.Context, arg keybase1.ListTrackers2Arg) (res keybase1.UserSummary2Set, err error)
- func (h *UserHandler) ListTrackersByName(_ context.Context, arg keybase1.ListTrackersByNameArg) ([]keybase1.Tracker, error)
- func (h *UserHandler) ListTrackersSelf(_ context.Context, sessionID int) ([]keybase1.Tracker, error)
- func (h *UserHandler) ListTracking(_ context.Context, arg keybase1.ListTrackingArg) (res []keybase1.UserSummary, err error)
- func (h *UserHandler) ListTrackingJSON(_ context.Context, arg keybase1.ListTrackingJSONArg) (res string, err error)
- func (h *UserHandler) LoadAllPublicKeysUnverified(ctx context.Context, arg keybase1.LoadAllPublicKeysUnverifiedArg) (keys []keybase1.PublicKey, err error)
- func (h *UserHandler) LoadMyPublicKeys(ctx context.Context, sessionID int) (keys []keybase1.PublicKey, err error)
- func (h *UserHandler) LoadMySettings(ctx context.Context, sessionID int) (us keybase1.UserSettings, err error)
- func (h *UserHandler) LoadPublicKeys(ctx context.Context, arg keybase1.LoadPublicKeysArg) (keys []keybase1.PublicKey, err error)
- func (h *UserHandler) LoadUncheckedUserSummaries(_ context.Context, arg keybase1.LoadUncheckedUserSummariesArg) ([]keybase1.UserSummary, error)
- func (h *UserHandler) LoadUser(ctx context.Context, arg keybase1.LoadUserArg) (user keybase1.User, err error)
- func (h *UserHandler) LoadUserByName(_ context.Context, arg keybase1.LoadUserByNameArg) (user keybase1.User, err error)
- func (h *UserHandler) LoadUserPlusKeys(netCtx context.Context, arg keybase1.LoadUserPlusKeysArg) (keybase1.UserPlusKeys, error)
- func (h *UserHandler) MeUserVersion(ctx context.Context, sessionID int) (res keybase1.UserVersion, err error)
- func (h *UserHandler) ProfileEdit(nctx context.Context, arg keybase1.ProfileEditArg) error
- func (h *UserHandler) ResetUser(ctx context.Context, sessionID int) error
- func (h *UserHandler) Search(_ context.Context, arg keybase1.SearchArg) (results []keybase1.SearchResult, err error)
Constants ¶
const GregorConnectionLongRetryInterval time.Duration = 10 * time.Second
const GregorConnectionShortRetryInterval time.Duration = 2 * time.Second
const GregorGetClientTimeout time.Duration = 4 * time.Second
const GregorRequestTimeout time.Duration = 30 * time.Second
const TLFRekeyGregorCategory = "kbfs_tlf_rekey_needed"
Variables ¶
This section is empty.
Functions ¶
func GetCommands ¶
func GetCommands(cl *libcmdline.CommandLine, g *libkb.GlobalContext) []cli.Command
func NewCmdService ¶
func NewCmdService(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewGregorMsgID ¶ added in v1.0.17
func WrapGenericClientWithTimeout ¶ added in v1.0.19
func WrapGenericClientWithTimeout(client rpc.GenericClient, timeout time.Duration, timeoutErr error) rpc.GenericClient
Types ¶
type APIServerHandler ¶ added in v1.0.17
type APIServerHandler struct { *BaseHandler libkb.Contextified }
func NewAPIServerHandler ¶ added in v1.0.17
func NewAPIServerHandler(xp rpc.Transporter, g *libkb.GlobalContext) *APIServerHandler
func (*APIServerHandler) GetWithSession ¶ added in v1.0.22
func (a *APIServerHandler) GetWithSession(_ context.Context, arg keybase1.GetWithSessionArg) (keybase1.APIRes, error)
func (*APIServerHandler) PostJSON ¶ added in v1.0.17
func (a *APIServerHandler) PostJSON(_ context.Context, arg keybase1.PostJSONArg) (keybase1.APIRes, error)
type AccountHandler ¶
type AccountHandler struct { *BaseHandler libkb.Contextified }
func NewAccountHandler ¶
func NewAccountHandler(xp rpc.Transporter, g *libkb.GlobalContext) *AccountHandler
func (*AccountHandler) EmailChange ¶ added in v1.0.18
func (h *AccountHandler) EmailChange(nctx context.Context, arg keybase1.EmailChangeArg) error
func (*AccountHandler) HasServerKeys ¶ added in v1.0.18
func (h *AccountHandler) HasServerKeys(_ context.Context, sessionID int) (keybase1.HasServerKeysRes, error)
func (*AccountHandler) PassphraseChange ¶
func (h *AccountHandler) PassphraseChange(_ context.Context, arg keybase1.PassphraseChangeArg) error
func (*AccountHandler) PassphrasePrompt ¶
func (h *AccountHandler) PassphrasePrompt(_ context.Context, arg keybase1.PassphrasePromptArg) (keybase1.GetPassphraseRes, error)
func (*AccountHandler) ResetAccount ¶ added in v1.0.19
func (h *AccountHandler) ResetAccount(ctx context.Context, sessionID int) error
type BackgroundIdentifier ¶ added in v1.0.19
type BackgroundIdentifier struct { libkb.Contextified globals.ChatContextified sync.Mutex // contains filtered or unexported fields }
func StartOrReuseBackgroundIdentifier ¶ added in v1.0.19
func StartOrReuseBackgroundIdentifier(b *BackgroundIdentifier, g *libkb.GlobalContext, cg *globals.ChatContext, u keybase1.UID) (*BackgroundIdentifier, error)
func (*BackgroundIdentifier) HandleUserChanged ¶ added in v1.0.19
func (b *BackgroundIdentifier) HandleUserChanged(uid keybase1.UID) (err error)
func (*BackgroundIdentifier) Logout ¶ added in v1.0.19
func (b *BackgroundIdentifier) Logout()
func (*BackgroundIdentifier) Shutdown ¶ added in v1.0.19
func (b *BackgroundIdentifier) Shutdown()
type BadTrackSessionError ¶
type BadTrackSessionError struct {
// contains filtered or unexported fields
}
func (BadTrackSessionError) Error ¶
func (e BadTrackSessionError) Error() string
func (BadTrackSessionError) ToStatus ¶
func (e BadTrackSessionError) ToStatus() keybase1.Status
type BaseHandler ¶
type BaseHandler struct {
// contains filtered or unexported fields
}
func NewBaseHandler ¶
func NewBaseHandler(g *libkb.GlobalContext, xp rpc.Transporter) *BaseHandler
func (*BaseHandler) NewRemoteIdentifyUI ¶
func (h *BaseHandler) NewRemoteIdentifyUI(sessionID int, g *libkb.GlobalContext) *RemoteIdentifyUI
func (*BaseHandler) NewRemoteSkipPromptIdentifyUI ¶
func (h *BaseHandler) NewRemoteSkipPromptIdentifyUI(sessionID int, g *libkb.GlobalContext) *RemoteIdentifyUI
type ConfigHandler ¶
type ConfigHandler struct { libkb.Contextified // contains filtered or unexported fields }
func NewConfigHandler ¶
func NewConfigHandler(xp rpc.Transporter, i libkb.ConnectionID, g *libkb.GlobalContext, svc *Service) *ConfigHandler
func (ConfigHandler) CheckAPIServerOutOfDateWarning ¶ added in v1.0.17
func (h ConfigHandler) CheckAPIServerOutOfDateWarning(_ context.Context) (keybase1.OutOfDateInfo, error)
func (ConfigHandler) ClearValue ¶
func (h ConfigHandler) ClearValue(_ context.Context, path string) error
func (ConfigHandler) GetBootstrapStatus ¶ added in v1.0.22
func (h ConfigHandler) GetBootstrapStatus(ctx context.Context, sessionID int) (keybase1.BootstrapStatus, error)
func (ConfigHandler) GetCurrentStatus ¶
func (h ConfigHandler) GetCurrentStatus(_ context.Context, sessionID int) (res keybase1.GetCurrentStatusRes, err error)
func (ConfigHandler) GetExtendedStatus ¶
func (h ConfigHandler) GetExtendedStatus(ctx context.Context, sessionID int) (res keybase1.ExtendedStatus, err error)
func (ConfigHandler) GetValue ¶
func (h ConfigHandler) GetValue(_ context.Context, path string) (ret keybase1.ConfigValue, err error)
func (ConfigHandler) HelloIAm ¶
func (h ConfigHandler) HelloIAm(_ context.Context, arg keybase1.ClientDetails) error
func (ConfigHandler) SetPath ¶
func (h ConfigHandler) SetPath(_ context.Context, arg keybase1.SetPathArg) error
func (ConfigHandler) SetUserConfig ¶
func (h ConfigHandler) SetUserConfig(_ context.Context, arg keybase1.SetUserConfigArg) (err error)
func (ConfigHandler) SetValue ¶
func (h ConfigHandler) SetValue(_ context.Context, arg keybase1.SetValueArg) (err error)
func (ConfigHandler) WaitForClient ¶ added in v1.0.19
func (h ConfigHandler) WaitForClient(_ context.Context, arg keybase1.WaitForClientArg) (bool, error)
type CryptoHandler ¶
type CryptoHandler struct {
libkb.Contextified
}
func NewCryptoHandler ¶
func NewCryptoHandler(g *libkb.GlobalContext) *CryptoHandler
func (*CryptoHandler) SignED25519 ¶
func (c *CryptoHandler) SignED25519(ctx context.Context, arg keybase1.SignED25519Arg) (keybase1.ED25519SignatureInfo, error)
func (*CryptoHandler) SignED25519ForKBFS ¶ added in v1.0.19
func (c *CryptoHandler) SignED25519ForKBFS(ctx context.Context, arg keybase1.SignED25519ForKBFSArg) (keybase1.ED25519SignatureInfo, error)
func (*CryptoHandler) SignToString ¶
func (c *CryptoHandler) SignToString(ctx context.Context, arg keybase1.SignToStringArg) (string, error)
func (*CryptoHandler) UnboxBytes32 ¶
func (c *CryptoHandler) UnboxBytes32(ctx context.Context, arg keybase1.UnboxBytes32Arg) (keybase1.Bytes32, error)
func (*CryptoHandler) UnboxBytes32Any ¶
func (c *CryptoHandler) UnboxBytes32Any(ctx context.Context, arg keybase1.UnboxBytes32AnyArg) (keybase1.UnboxAnyRes, error)
type CryptocurrencyHandler ¶ added in v1.0.19
type CryptocurrencyHandler struct { *BaseHandler libkb.Contextified }
func NewCryptocurrencyHandler ¶ added in v1.0.19
func NewCryptocurrencyHandler(xp rpc.Transporter, g *libkb.GlobalContext) *CryptocurrencyHandler
func (*CryptocurrencyHandler) RegisterAddress ¶ added in v1.0.19
func (h *CryptocurrencyHandler) RegisterAddress(nctx context.Context, arg keybase1.RegisterAddressArg) (keybase1.RegisterAddressRes, error)
BTC creates a BTCEngine and runs it.
func (*CryptocurrencyHandler) RegisterBTC ¶ added in v1.0.19
func (h *CryptocurrencyHandler) RegisterBTC(nctx context.Context, arg keybase1.RegisterBTCArg) error
type CtlHandler ¶
type CtlHandler struct { libkb.Contextified *BaseHandler // contains filtered or unexported fields }
func NewCtlHandler ¶
func NewCtlHandler(xp rpc.Transporter, v *Service, g *libkb.GlobalContext) *CtlHandler
func (*CtlHandler) AppExit ¶ added in v1.0.17
func (c *CtlHandler) AppExit(_ context.Context, sessionID int) error
func (*CtlHandler) DbDelete ¶ added in v1.0.19
func (c *CtlHandler) DbDelete(_ context.Context, arg keybase1.DbDeleteArg) (err error)
type DebuggingHandler ¶
type DebuggingHandler struct {
*BaseHandler
}
func NewDebuggingHandler ¶
func NewDebuggingHandler(xp rpc.Transporter, g *libkb.GlobalContext) *DebuggingHandler
func (DebuggingHandler) FirstStep ¶
func (t DebuggingHandler) FirstStep(ctx context.Context, arg keybase1.FirstStepArg) (result keybase1.FirstStepResult, err error)
func (DebuggingHandler) Increment ¶
func (t DebuggingHandler) Increment(_ context.Context, arg keybase1.IncrementArg) (val int, err error)
func (DebuggingHandler) SecondStep ¶
func (t DebuggingHandler) SecondStep(_ context.Context, arg keybase1.SecondStepArg) (val int, err error)
type DelegateUICtlHandler ¶
type DelegateUICtlHandler struct { libkb.Contextified *BaseHandler // contains filtered or unexported fields }
DelegateUICtlHandler is the RPC handler for notify control messages
func NewDelegateUICtlHandler ¶
func NewDelegateUICtlHandler(xp rpc.Transporter, id libkb.ConnectionID, g *libkb.GlobalContext, rekeyMaster *rekeyMaster) *DelegateUICtlHandler
NewDelegateUICtlHandler creates a new handler for setting up notification channels
func (*DelegateUICtlHandler) RegisterGregorFirehose ¶ added in v1.0.17
func (d *DelegateUICtlHandler) RegisterGregorFirehose(_ context.Context) error
func (*DelegateUICtlHandler) RegisterHomeUI ¶ added in v1.0.40
func (d *DelegateUICtlHandler) RegisterHomeUI(_ context.Context) error
func (*DelegateUICtlHandler) RegisterIdentifyUI ¶
func (d *DelegateUICtlHandler) RegisterIdentifyUI(_ context.Context) error
func (*DelegateUICtlHandler) RegisterRekeyUI ¶ added in v1.0.17
func (d *DelegateUICtlHandler) RegisterRekeyUI(_ context.Context) error
func (*DelegateUICtlHandler) RegisterSecretUI ¶
func (d *DelegateUICtlHandler) RegisterSecretUI(_ context.Context) error
func (*DelegateUICtlHandler) RegisterUpdateUI ¶
func (d *DelegateUICtlHandler) RegisterUpdateUI(_ context.Context) error
type DeviceHandler ¶
type DeviceHandler struct { *BaseHandler libkb.Contextified }
DeviceHandler is the RPC handler for the device interface.
func NewDeviceHandler ¶
func NewDeviceHandler(xp rpc.Transporter, g *libkb.GlobalContext) *DeviceHandler
NewDeviceHandler creates a DeviceHandler for the xp transport.
func (*DeviceHandler) CheckDeviceNameForUser ¶ added in v1.0.18
func (h *DeviceHandler) CheckDeviceNameForUser(_ context.Context, arg keybase1.CheckDeviceNameForUserArg) error
func (*DeviceHandler) CheckDeviceNameFormat ¶
func (h *DeviceHandler) CheckDeviceNameFormat(_ context.Context, arg keybase1.CheckDeviceNameFormatArg) (bool, error)
CheckDeviceNameFormat verifies that the device name has a valid format.
func (*DeviceHandler) DeviceAdd ¶
func (h *DeviceHandler) DeviceAdd(c context.Context, sessionID int) error
DeviceAdd starts the kex2 device provisioning on the provisioner (device X/C1)
func (*DeviceHandler) DeviceHistoryList ¶ added in v1.0.16
func (h *DeviceHandler) DeviceHistoryList(nctx context.Context, sessionID int) ([]keybase1.DeviceDetail, error)
DeviceHistoryList returns a list of all the devices for a user, with detailed history and provisioner, revoker information.
func (*DeviceHandler) DeviceList ¶
DeviceList returns a list of all the devices for a user.
type FavoriteHandler ¶
type FavoriteHandler struct { *BaseHandler libkb.Contextified }
FavoriteHandler implements the keybase1.Favorite protocol
func NewFavoriteHandler ¶
func NewFavoriteHandler(xp rpc.Transporter, g *libkb.GlobalContext) *FavoriteHandler
NewFavoriteHandler creates a FavoriteHandler with the xp protocol.
func (*FavoriteHandler) FavoriteAdd ¶
func (h *FavoriteHandler) FavoriteAdd(_ context.Context, arg keybase1.FavoriteAddArg) error
FavoriteAdd handles the favoriteAdd RPC.
func (*FavoriteHandler) FavoriteIgnore ¶ added in v1.0.17
func (h *FavoriteHandler) FavoriteIgnore(_ context.Context, arg keybase1.FavoriteIgnoreArg) error
FavoriteIgnore handles the favoriteIgnore RPC.
func (*FavoriteHandler) GetFavorites ¶ added in v1.0.17
func (h *FavoriteHandler) GetFavorites(_ context.Context, sessionID int) (keybase1.FavoritesResult, error)
FavoriteList handles the favoriteList RPC.
type GenericArg ¶ added in v1.0.17
type GenericArg interface { GetEndpoint() string GetHTTPArgs() []keybase1.StringKVPair GetHttpStatuses() []int GetAppStatusCodes() []int }
type GitHandler ¶ added in v1.0.30
type GitHandler struct { *BaseHandler libkb.Contextified }
func NewGitHandler ¶ added in v1.0.30
func NewGitHandler(xp rpc.Transporter, g *libkb.GlobalContext) *GitHandler
func (*GitHandler) CreatePersonalRepo ¶ added in v1.0.30
func (h *GitHandler) CreatePersonalRepo(ctx context.Context, repoName keybase1.GitRepoName) (repoID keybase1.RepoID, err error)
func (*GitHandler) CreateTeamRepo ¶ added in v1.0.30
func (h *GitHandler) CreateTeamRepo(ctx context.Context, arg keybase1.CreateTeamRepoArg) (repoID keybase1.RepoID, err error)
func (*GitHandler) DeleteGitMetadata ¶ added in v1.0.34
func (h *GitHandler) DeleteGitMetadata(ctx context.Context, arg keybase1.DeleteGitMetadataArg) (err error)
func (*GitHandler) DeletePersonalRepo ¶ added in v1.0.30
func (h *GitHandler) DeletePersonalRepo(ctx context.Context, repoName keybase1.GitRepoName) (err error)
func (*GitHandler) DeleteTeamRepo ¶ added in v1.0.30
func (h *GitHandler) DeleteTeamRepo(ctx context.Context, arg keybase1.DeleteTeamRepoArg) (err error)
func (*GitHandler) GcPersonalRepo ¶ added in v1.0.34
func (h *GitHandler) GcPersonalRepo(ctx context.Context, arg keybase1.GcPersonalRepoArg) (err error)
func (*GitHandler) GcTeamRepo ¶ added in v1.0.34
func (h *GitHandler) GcTeamRepo(ctx context.Context, arg keybase1.GcTeamRepoArg) (err error)
func (*GitHandler) GetAllGitMetadata ¶ added in v1.0.30
func (h *GitHandler) GetAllGitMetadata(ctx context.Context) (res []keybase1.GitRepoResult, err error)
func (*GitHandler) GetGitMetadata ¶ added in v1.0.30
func (h *GitHandler) GetGitMetadata(ctx context.Context, folder keybase1.Folder) (res []keybase1.GitRepoResult, err error)
func (*GitHandler) GetTeamRepoSettings ¶ added in v1.0.40
func (h *GitHandler) GetTeamRepoSettings(ctx context.Context, arg keybase1.GetTeamRepoSettingsArg) (keybase1.GitTeamRepoSettings, error)
func (*GitHandler) PutGitMetadata ¶ added in v1.0.30
func (h *GitHandler) PutGitMetadata(ctx context.Context, arg keybase1.PutGitMetadataArg) (err error)
func (*GitHandler) SetTeamRepoSettings ¶ added in v1.0.40
func (h *GitHandler) SetTeamRepoSettings(ctx context.Context, arg keybase1.SetTeamRepoSettingsArg) error
type HomeHandler ¶ added in v1.0.34
type HomeHandler struct { *BaseHandler // contains filtered or unexported fields }
func NewHomeHandler ¶ added in v1.0.34
func NewHomeHandler(xp rpc.Transporter, g *libkb.GlobalContext, home *home.Home) *HomeHandler
func (*HomeHandler) HomeActionTaken ¶ added in v1.0.34
func (h *HomeHandler) HomeActionTaken(ctx context.Context) error
func (*HomeHandler) HomeGetScreen ¶ added in v1.0.34
func (h *HomeHandler) HomeGetScreen(ctx context.Context, arg keybase1.HomeGetScreenArg) (keybase1.HomeScreen, error)
func (*HomeHandler) HomeMarkViewed ¶ added in v1.0.34
func (h *HomeHandler) HomeMarkViewed(ctx context.Context) error
func (*HomeHandler) HomeSkipTodoType ¶ added in v1.0.34
func (h *HomeHandler) HomeSkipTodoType(ctx context.Context, typ keybase1.HomeScreenTodoType) error
type IdentifyHandler ¶
type IdentifyHandler struct { *BaseHandler libkb.Contextified }
func NewIdentifyHandler ¶
func NewIdentifyHandler(xp rpc.Transporter, g *libkb.GlobalContext) *IdentifyHandler
func (*IdentifyHandler) Identify2 ¶
func (h *IdentifyHandler) Identify2(netCtx context.Context, arg keybase1.Identify2Arg) (res keybase1.Identify2Res, err error)
func (*IdentifyHandler) IdentifyLite ¶ added in v1.0.27
func (h *IdentifyHandler) IdentifyLite(netCtx context.Context, arg keybase1.IdentifyLiteArg) (res keybase1.IdentifyLiteRes, err error)
func (*IdentifyHandler) Resolve3 ¶ added in v1.0.27
func (h *IdentifyHandler) Resolve3(ctx context.Context, arg string) (u keybase1.UserOrTeamLite, err error)
func (*IdentifyHandler) ResolveIdentifyImplicitTeam ¶ added in v1.0.29
func (h *IdentifyHandler) ResolveIdentifyImplicitTeam(ctx context.Context, arg keybase1.ResolveIdentifyImplicitTeamArg) (res keybase1.ResolveIdentifyImplicitTeamRes, err error)
func (*IdentifyHandler) ResolveImplicitTeam ¶ added in v1.0.39
func (h *IdentifyHandler) ResolveImplicitTeam(ctx context.Context, arg keybase1.ResolveImplicitTeamArg) (res keybase1.Folder, err error)
type IdentifyUIHandler ¶ added in v1.0.17
type IdentifyUIHandler struct { libkb.Contextified // contains filtered or unexported fields }
func NewIdentifyUIHandler ¶ added in v1.0.17
func NewIdentifyUIHandler(g *libkb.GlobalContext, connID libkb.ConnectionID) IdentifyUIHandler
func (IdentifyUIHandler) Create ¶ added in v1.0.17
func (h IdentifyUIHandler) Create(ctx context.Context, cli gregor1.IncomingInterface, category string, item gregor.Item) (bool, error)
func (IdentifyUIHandler) Dismiss ¶ added in v1.0.17
func (h IdentifyUIHandler) Dismiss(ctx context.Context, cli gregor1.IncomingInterface, category string, item gregor.Item) (bool, error)
func (IdentifyUIHandler) IsAlive ¶ added in v1.0.17
func (h IdentifyUIHandler) IsAlive() bool
func (IdentifyUIHandler) Name ¶ added in v1.0.17
func (h IdentifyUIHandler) Name() string
type InstallHandler ¶ added in v1.0.29
type InstallHandler struct { *BaseHandler libkb.Contextified }
func NewInstallHandler ¶ added in v1.0.29
func NewInstallHandler(xp rpc.Transporter, g *libkb.GlobalContext) *InstallHandler
func (*InstallHandler) FuseStatus ¶ added in v1.0.29
func (h *InstallHandler) FuseStatus(_ context.Context, arg keybase1.FuseStatusArg) (keybase1.FuseStatus, error)
func (*InstallHandler) InstallCommandLinePrivileged ¶ added in v1.0.29
func (h *InstallHandler) InstallCommandLinePrivileged(context.Context) (keybase1.InstallResult, error)
func (*InstallHandler) InstallFuse ¶ added in v1.0.29
func (h *InstallHandler) InstallFuse(context.Context) (keybase1.InstallResult, error)
func (*InstallHandler) InstallKBFS ¶ added in v1.0.29
func (h *InstallHandler) InstallKBFS(context.Context) (keybase1.InstallResult, error)
func (*InstallHandler) UninstallKBFS ¶ added in v1.0.29
func (h *InstallHandler) UninstallKBFS(context.Context) (keybase1.UninstallResult, error)
type KBFSHandler ¶
type KBFSHandler struct { *BaseHandler libkb.Contextified globals.ChatContextified }
func NewKBFSHandler ¶
func NewKBFSHandler(xp rpc.Transporter, g *libkb.GlobalContext, cg *globals.ChatContext) *KBFSHandler
func (*KBFSHandler) CreateTLF ¶ added in v1.0.39
func (h *KBFSHandler) CreateTLF(ctx context.Context, arg keybase1.CreateTLFArg) error
func (*KBFSHandler) FSEditList ¶ added in v1.0.18
func (h *KBFSHandler) FSEditList(ctx context.Context, arg keybase1.FSEditListArg) error
func (*KBFSHandler) FSEditListRequest ¶ added in v1.0.18
func (h *KBFSHandler) FSEditListRequest(ctx context.Context, arg keybase1.FSEditListRequest) error
func (*KBFSHandler) FSEvent ¶
func (h *KBFSHandler) FSEvent(_ context.Context, arg keybase1.FSNotification) error
func (*KBFSHandler) FSSyncEvent ¶ added in v1.0.18
func (h *KBFSHandler) FSSyncEvent(ctx context.Context, arg keybase1.FSPathSyncStatus) (err error)
func (*KBFSHandler) FSSyncStatus ¶ added in v1.0.18
func (h *KBFSHandler) FSSyncStatus(ctx context.Context, arg keybase1.FSSyncStatusArg) (err error)
func (*KBFSHandler) GetKBFSTeamSettings ¶ added in v1.0.39
func (h *KBFSHandler) GetKBFSTeamSettings(ctx context.Context, teamID keybase1.TeamID) (keybase1.KBFSTeamSettings, error)
type KBFSMountHandler ¶ added in v1.0.19
type KBFSMountHandler struct { *BaseHandler libkb.Contextified }
func NewKBFSMountHandler ¶ added in v1.0.19
func NewKBFSMountHandler(xp rpc.Transporter, g *libkb.GlobalContext) *KBFSMountHandler
func (*KBFSMountHandler) GetAllAvailableMountDirs ¶ added in v1.0.19
func (h *KBFSMountHandler) GetAllAvailableMountDirs(ctx context.Context) (res []string, err error)
func (*KBFSMountHandler) GetCurrentMountDir ¶ added in v1.0.19
func (h *KBFSMountHandler) GetCurrentMountDir(ctx context.Context) (res string, err error)
func (*KBFSMountHandler) SetCurrentMountDir ¶ added in v1.0.19
func (h *KBFSMountHandler) SetCurrentMountDir(_ context.Context, drive string) (err error)
type LogHandler ¶
type LogHandler struct { *BaseHandler libkb.Contextified // contains filtered or unexported fields }
LogHandler is the RPC handler for the log interface.
func NewLogHandler ¶
func NewLogHandler(xp rpc.Transporter, logReg *logRegister, g *libkb.GlobalContext) *LogHandler
NewLogHandler creates a LogHandler for the xp transport.
func (*LogHandler) RegisterLogger ¶
func (h *LogHandler) RegisterLogger(_ context.Context, arg keybase1.RegisterLoggerArg) (err error)
type LoginHandler ¶
type LoginHandler struct { libkb.Contextified *BaseHandler // contains filtered or unexported fields }
func NewLoginHandler ¶
func NewLoginHandler(xp rpc.Transporter, g *libkb.GlobalContext) *LoginHandler
func (*LoginHandler) AccountDelete ¶ added in v1.0.18
func (h *LoginHandler) AccountDelete(ctx context.Context, sessionID int) error
func (*LoginHandler) ClearStoredSecret ¶
func (h *LoginHandler) ClearStoredSecret(_ context.Context, arg keybase1.ClearStoredSecretArg) error
func (*LoginHandler) Deprovision ¶
func (h *LoginHandler) Deprovision(_ context.Context, arg keybase1.DeprovisionArg) error
func (*LoginHandler) GetConfiguredAccounts ¶
func (h *LoginHandler) GetConfiguredAccounts(_ context.Context, sessionID int) ([]keybase1.ConfiguredAccount, error)
func (*LoginHandler) LoginProvisionedDevice ¶ added in v1.0.19
func (h *LoginHandler) LoginProvisionedDevice(ctx context.Context, arg keybase1.LoginProvisionedDeviceArg) error
func (*LoginHandler) LoginWithPaperKey ¶ added in v1.0.19
func (h *LoginHandler) LoginWithPaperKey(ctx context.Context, sessionID int) error
func (*LoginHandler) Logout ¶
func (h *LoginHandler) Logout(ctx context.Context, sessionID int) (err error)
func (*LoginHandler) PGPProvision ¶ added in v1.0.17
func (h *LoginHandler) PGPProvision(ctx context.Context, arg keybase1.PGPProvisionArg) error
func (*LoginHandler) PaperKey ¶
func (h *LoginHandler) PaperKey(_ context.Context, sessionID int) error
func (*LoginHandler) PaperKeySubmit ¶ added in v1.0.17
func (h *LoginHandler) PaperKeySubmit(_ context.Context, arg keybase1.PaperKeySubmitArg) error
func (*LoginHandler) RecoverAccountFromEmailAddress ¶
func (h *LoginHandler) RecoverAccountFromEmailAddress(_ context.Context, email string) error
func (*LoginHandler) UnlockWithPassphrase ¶
func (h *LoginHandler) UnlockWithPassphrase(_ context.Context, arg keybase1.UnlockWithPassphraseArg) error
type LoginUI ¶
type LoginUI struct {
// contains filtered or unexported fields
}
func (*LoginUI) DisplayPaperKeyPhrase ¶
func (*LoginUI) DisplayPrimaryPaperKey ¶
func (*LoginUI) GetEmailOrUsername ¶
func (*LoginUI) PromptRevokePaperKeys ¶
type LogsendHandler ¶ added in v1.0.19
type LogsendHandler struct { *BaseHandler libkb.Contextified }
func NewLogsendHandler ¶ added in v1.0.19
func NewLogsendHandler(xp rpc.Transporter, g *libkb.GlobalContext) *LogsendHandler
func (*LogsendHandler) PrepareLogsend ¶ added in v1.0.19
func (h *LogsendHandler) PrepareLogsend(ctx context.Context) error
type MerkleHandler ¶ added in v1.0.27
type MerkleHandler struct { *BaseHandler libkb.Contextified }
func (*MerkleHandler) GetCurrentMerkleRoot ¶ added in v1.0.27
func (h *MerkleHandler) GetCurrentMerkleRoot(ctx context.Context, freshnessMsec int) (ret keybase1.MerkleRootAndTime, err error)
type NotConnectedError ¶
type NotConnectedError struct{}
func (NotConnectedError) Error ¶
func (e NotConnectedError) Error() string
type NotifyCtlHandler ¶
type NotifyCtlHandler struct { libkb.Contextified *BaseHandler // contains filtered or unexported fields }
NotifyCtlHandler is the RPC handler for notify control messages
func NewNotifyCtlHandler ¶
func NewNotifyCtlHandler(xp rpc.Transporter, id libkb.ConnectionID, g *libkb.GlobalContext) *NotifyCtlHandler
NewNotifyCtlHandler creates a new handler for setting up notification channels
func (*NotifyCtlHandler) SetNotifications ¶
func (h *NotifyCtlHandler) SetNotifications(_ context.Context, n keybase1.NotificationChannels) error
type PGPHandler ¶
type PGPHandler struct { *BaseHandler libkb.Contextified // contains filtered or unexported fields }
func NewPGPHandler ¶
func NewPGPHandler(xp rpc.Transporter, id libkb.ConnectionID, g *libkb.GlobalContext) *PGPHandler
func (*PGPHandler) PGPDecrypt ¶
func (h *PGPHandler) PGPDecrypt(_ context.Context, arg keybase1.PGPDecryptArg) (keybase1.PGPSigVerification, error)
func (*PGPHandler) PGPDeletePrimary ¶
func (h *PGPHandler) PGPDeletePrimary(ctx context.Context, sessionID int) (err error)
func (*PGPHandler) PGPEncrypt ¶
func (h *PGPHandler) PGPEncrypt(_ context.Context, arg keybase1.PGPEncryptArg) error
func (*PGPHandler) PGPExport ¶
func (h *PGPHandler) PGPExport(_ context.Context, arg keybase1.PGPExportArg) (ret []keybase1.KeyInfo, err error)
func (*PGPHandler) PGPExportByFingerprint ¶
func (h *PGPHandler) PGPExportByFingerprint(_ context.Context, arg keybase1.PGPExportByFingerprintArg) (ret []keybase1.KeyInfo, err error)
func (*PGPHandler) PGPExportByKID ¶
func (h *PGPHandler) PGPExportByKID(_ context.Context, arg keybase1.PGPExportByKIDArg) (ret []keybase1.KeyInfo, err error)
func (*PGPHandler) PGPImport ¶
func (h *PGPHandler) PGPImport(_ context.Context, arg keybase1.PGPImportArg) error
func (*PGPHandler) PGPKeyGen ¶
func (h *PGPHandler) PGPKeyGen(_ context.Context, arg keybase1.PGPKeyGenArg) error
func (*PGPHandler) PGPKeyGenDefault ¶ added in v1.0.18
func (h *PGPHandler) PGPKeyGenDefault(ctx context.Context, arg keybase1.PGPKeyGenDefaultArg) error
func (*PGPHandler) PGPPull ¶
func (h *PGPHandler) PGPPull(_ context.Context, arg keybase1.PGPPullArg) error
func (*PGPHandler) PGPPurge ¶ added in v1.0.18
func (h *PGPHandler) PGPPurge(ctx context.Context, arg keybase1.PGPPurgeArg) (keybase1.PGPPurgeRes, error)
func (*PGPHandler) PGPSelect ¶
func (h *PGPHandler) PGPSelect(nctx context.Context, sarg keybase1.PGPSelectArg) error
func (*PGPHandler) PGPSign ¶
func (h *PGPHandler) PGPSign(_ context.Context, arg keybase1.PGPSignArg) (err error)
func (*PGPHandler) PGPStorageDismiss ¶ added in v1.0.18
func (h *PGPHandler) PGPStorageDismiss(ctx context.Context, sessionID int) error
Set the PGP storage notification dismiss flag in the local DB.
func (*PGPHandler) PGPUpdate ¶
func (h *PGPHandler) PGPUpdate(_ context.Context, arg keybase1.PGPUpdateArg) error
func (*PGPHandler) PGPVerify ¶
func (h *PGPHandler) PGPVerify(_ context.Context, arg keybase1.PGPVerifyArg) (keybase1.PGPSigVerification, error)
type PaperProvisionHandler ¶ added in v1.0.16
type PaperProvisionHandler struct { *BaseHandler libkb.Contextified }
func NewPaperProvisionHandler ¶ added in v1.0.16
func NewPaperProvisionHandler(xp rpc.Transporter, g *libkb.GlobalContext) *PaperProvisionHandler
func (*PaperProvisionHandler) PaperProvision ¶ added in v1.0.16
func (h *PaperProvisionHandler) PaperProvision(ctx context.Context, arg keybase1.PaperProvisionArg) error
type ProveHandler ¶
type ProveHandler struct { *BaseHandler libkb.Contextified }
ProveHandler is the service side of proving ownership of social media accounts like Twitter and Github.
func NewProveHandler ¶
func NewProveHandler(xp rpc.Transporter, g *libkb.GlobalContext) *ProveHandler
NewProveHandler makes a new ProveHandler object from an RPC transport.
func (*ProveHandler) CheckProof ¶
func (ph *ProveHandler) CheckProof(_ context.Context, arg keybase1.CheckProofArg) (res keybase1.CheckProofStatus, err error)
func (*ProveHandler) StartProof ¶
func (ph *ProveHandler) StartProof(_ context.Context, arg keybase1.StartProofArg) (res keybase1.StartProofResult, err error)
Prove handles the `keybase.1.startProof` RPC.
type RekeyHandler2 ¶ added in v1.0.18
type RekeyHandler2 struct { libkb.Contextified *BaseHandler // contains filtered or unexported fields }
func NewRekeyHandler2 ¶ added in v1.0.18
func NewRekeyHandler2(xp rpc.Transporter, g *libkb.GlobalContext, rm *rekeyMaster) *RekeyHandler2
func (*RekeyHandler2) DebugShowRekeyStatus ¶ added in v1.0.18
func (r *RekeyHandler2) DebugShowRekeyStatus(ctx context.Context, sessionID int) error
func (*RekeyHandler2) GetPendingRekeyStatus ¶ added in v1.0.18
func (r *RekeyHandler2) GetPendingRekeyStatus(_ context.Context, _ int) (ret keybase1.ProblemSetDevices, err error)
func (*RekeyHandler2) GetRevokeWarning ¶ added in v1.0.18
func (r *RekeyHandler2) GetRevokeWarning(_ context.Context, arg keybase1.GetRevokeWarningArg) (res keybase1.RevokeWarning, err error)
func (*RekeyHandler2) RekeyStatusFinish ¶ added in v1.0.18
func (*RekeyHandler2) RekeySync ¶ added in v1.0.18
func (r *RekeyHandler2) RekeySync(_ context.Context, arg keybase1.RekeySyncArg) error
func (*RekeyHandler2) ShowPendingRekeyStatus ¶ added in v1.0.18
func (r *RekeyHandler2) ShowPendingRekeyStatus(context.Context, int) error
type RekeyInterrupt ¶ added in v1.0.18
type RekeyInterrupt int
const ( RekeyInterruptNone RekeyInterrupt = 0 RekeyInterruptTimeout RekeyInterrupt = 1 RekeyInterruptCreation RekeyInterrupt = 2 RekeyInterruptDismissal RekeyInterrupt = 3 RekeyInterruptLogout RekeyInterrupt = 4 RekeyInterruptLogin RekeyInterrupt = 5 RekeyInterruptUIFinished RekeyInterrupt = 6 RekeyInterruptShowUI RekeyInterrupt = 7 RekeyInterruptNewUI RekeyInterrupt = 8 RekeyInterruptSync RekeyInterrupt = 9 RekeyInterruptSyncForce RekeyInterrupt = 10 )
type RekeyLogHandler ¶ added in v1.0.17
type RekeyLogHandler struct {
libkb.Contextified
}
RekeyLogHandler is a gregor inband message handler that logs all kbfs_tlf_rekey_needed items.
func (*RekeyLogHandler) Create ¶ added in v1.0.17
func (r *RekeyLogHandler) Create(ctx context.Context, cli gregor1.IncomingInterface, category string, item gregor.Item) (bool, error)
func (*RekeyLogHandler) Dismiss ¶ added in v1.0.17
func (r *RekeyLogHandler) Dismiss(ctx context.Context, cli gregor1.IncomingInterface, category string, item gregor.Item) (bool, error)
func (*RekeyLogHandler) IsAlive ¶ added in v1.0.17
func (r *RekeyLogHandler) IsAlive() bool
func (*RekeyLogHandler) Name ¶ added in v1.0.17
func (r *RekeyLogHandler) Name() string
type RekeyUI ¶ added in v1.0.17
type RekeyUI struct { libkb.Contextified // contains filtered or unexported fields }
func (*RekeyUI) DelegateRekeyUI ¶ added in v1.0.17
DelegateRekeyUI shouldn't be called on this object since it should already have a sessionID.
func (*RekeyUI) RekeySendEvent ¶ added in v1.0.18
type RemoteChatUI ¶ added in v1.0.18
type RemoteChatUI struct {
// contains filtered or unexported fields
}
func NewRemoteChatUI ¶ added in v1.0.18
func NewRemoteChatUI(sessionID int, c *rpc.Client) *RemoteChatUI
func (*RemoteChatUI) ChatAttachmentDownloadDone ¶ added in v1.0.18
func (r *RemoteChatUI) ChatAttachmentDownloadDone(ctx context.Context) error
func (*RemoteChatUI) ChatAttachmentDownloadProgress ¶ added in v1.0.18
func (r *RemoteChatUI) ChatAttachmentDownloadProgress(ctx context.Context, arg chat1.ChatAttachmentDownloadProgressArg) error
func (*RemoteChatUI) ChatAttachmentDownloadStart ¶ added in v1.0.18
func (r *RemoteChatUI) ChatAttachmentDownloadStart(ctx context.Context) error
func (*RemoteChatUI) ChatAttachmentPreviewUploadDone ¶ added in v1.0.18
func (r *RemoteChatUI) ChatAttachmentPreviewUploadDone(ctx context.Context) error
func (*RemoteChatUI) ChatAttachmentPreviewUploadStart ¶ added in v1.0.18
func (r *RemoteChatUI) ChatAttachmentPreviewUploadStart(ctx context.Context, metadata chat1.AssetMetadata) error
func (*RemoteChatUI) ChatAttachmentUploadDone ¶ added in v1.0.18
func (r *RemoteChatUI) ChatAttachmentUploadDone(ctx context.Context) error
func (*RemoteChatUI) ChatAttachmentUploadOutboxID ¶ added in v1.0.21
func (r *RemoteChatUI) ChatAttachmentUploadOutboxID(ctx context.Context, arg chat1.ChatAttachmentUploadOutboxIDArg) error
func (*RemoteChatUI) ChatAttachmentUploadProgress ¶ added in v1.0.18
func (r *RemoteChatUI) ChatAttachmentUploadProgress(ctx context.Context, arg chat1.ChatAttachmentUploadProgressArg) error
func (*RemoteChatUI) ChatAttachmentUploadStart ¶ added in v1.0.18
func (r *RemoteChatUI) ChatAttachmentUploadStart(ctx context.Context, metadata chat1.AssetMetadata, placeholder chat1.MessageID) error
func (*RemoteChatUI) ChatConfirmChannelDelete ¶ added in v1.0.31
func (r *RemoteChatUI) ChatConfirmChannelDelete(ctx context.Context, arg chat1.ChatConfirmChannelDeleteArg) (bool, error)
func (*RemoteChatUI) ChatInboxConversation ¶ added in v1.0.19
func (r *RemoteChatUI) ChatInboxConversation(ctx context.Context, arg chat1.ChatInboxConversationArg) error
func (*RemoteChatUI) ChatInboxFailed ¶ added in v1.0.19
func (r *RemoteChatUI) ChatInboxFailed(ctx context.Context, arg chat1.ChatInboxFailedArg) error
func (*RemoteChatUI) ChatInboxUnverified ¶ added in v1.0.19
func (r *RemoteChatUI) ChatInboxUnverified(ctx context.Context, arg chat1.ChatInboxUnverifiedArg) error
func (*RemoteChatUI) ChatThreadCached ¶ added in v1.0.21
func (r *RemoteChatUI) ChatThreadCached(ctx context.Context, arg chat1.ChatThreadCachedArg) error
func (*RemoteChatUI) ChatThreadFull ¶ added in v1.0.21
func (r *RemoteChatUI) ChatThreadFull(ctx context.Context, arg chat1.ChatThreadFullArg) error
type RemoteGPGUI ¶
type RemoteGPGUI struct {
// contains filtered or unexported fields
}
func NewRemoteGPGUI ¶
func NewRemoteGPGUI(sessionID int, c *rpc.Client) *RemoteGPGUI
func (*RemoteGPGUI) ConfirmDuplicateKeyChosen ¶
func (*RemoteGPGUI) GetTTY ¶ added in v1.0.18
func (r *RemoteGPGUI) GetTTY(ctx context.Context) (string, error)
func (*RemoteGPGUI) SelectKey ¶
func (r *RemoteGPGUI) SelectKey(ctx context.Context, arg keybase1.SelectKeyArg) (string, error)
func (*RemoteGPGUI) SelectKeyAndPushOption ¶
func (r *RemoteGPGUI) SelectKeyAndPushOption(ctx context.Context, arg keybase1.SelectKeyAndPushOptionArg) (keybase1.SelectKeyRes, error)
func (*RemoteGPGUI) WantToAddGPGKey ¶
type RemoteIdentifyUI ¶
type RemoteIdentifyUI struct { libkb.Contextified // contains filtered or unexported fields }
func (*RemoteIdentifyUI) Cancel ¶ added in v1.0.18
func (u *RemoteIdentifyUI) Cancel() error
func (*RemoteIdentifyUI) Confirm ¶
func (u *RemoteIdentifyUI) Confirm(io *keybase1.IdentifyOutcome) (keybase1.ConfirmResult, error)
func (*RemoteIdentifyUI) Dismiss ¶ added in v1.0.16
func (u *RemoteIdentifyUI) Dismiss(username string, reason keybase1.DismissReason) error
func (*RemoteIdentifyUI) DisplayCryptocurrency ¶
func (u *RemoteIdentifyUI) DisplayCryptocurrency(c keybase1.Cryptocurrency) error
func (*RemoteIdentifyUI) DisplayKey ¶
func (u *RemoteIdentifyUI) DisplayKey(key keybase1.IdentifyKey) error
func (*RemoteIdentifyUI) DisplayTLFCreateWithInvite ¶ added in v1.0.16
func (u *RemoteIdentifyUI) DisplayTLFCreateWithInvite(arg keybase1.DisplayTLFCreateWithInviteArg) error
func (*RemoteIdentifyUI) DisplayTrackStatement ¶
func (u *RemoteIdentifyUI) DisplayTrackStatement(s string) error
func (*RemoteIdentifyUI) DisplayUserCard ¶
func (u *RemoteIdentifyUI) DisplayUserCard(card keybase1.UserCard) error
func (*RemoteIdentifyUI) Finish ¶
func (u *RemoteIdentifyUI) Finish() error
func (*RemoteIdentifyUI) FinishSocialProofCheck ¶
func (u *RemoteIdentifyUI) FinishSocialProofCheck(p keybase1.RemoteProof, lcr keybase1.LinkCheckResult) error
func (*RemoteIdentifyUI) FinishWebProofCheck ¶
func (u *RemoteIdentifyUI) FinishWebProofCheck(p keybase1.RemoteProof, lcr keybase1.LinkCheckResult) error
func (*RemoteIdentifyUI) LaunchNetworkChecks ¶
func (*RemoteIdentifyUI) ReportLastTrack ¶
func (u *RemoteIdentifyUI) ReportLastTrack(t *keybase1.TrackSummary) error
func (*RemoteIdentifyUI) ReportTrackToken ¶
func (u *RemoteIdentifyUI) ReportTrackToken(token keybase1.TrackToken) error
func (*RemoteIdentifyUI) SetStrict ¶
func (u *RemoteIdentifyUI) SetStrict(b bool)
func (*RemoteIdentifyUI) Start ¶
func (u *RemoteIdentifyUI) Start(username string, reason keybase1.IdentifyReason, force bool) error
type RemotePgpUI ¶
type RemotePgpUI struct {
// contains filtered or unexported fields
}
func NewRemotePgpUI ¶
func NewRemotePgpUI(sessionID int, c *rpc.Client) *RemotePgpUI
func (*RemotePgpUI) Finished ¶ added in v1.0.18
func (u *RemotePgpUI) Finished(ctx context.Context, sessionID int) error
func (*RemotePgpUI) KeyGenerated ¶ added in v1.0.18
func (u *RemotePgpUI) KeyGenerated(ctx context.Context, arg keybase1.KeyGeneratedArg) error
func (*RemotePgpUI) OutputSignatureSuccess ¶
func (u *RemotePgpUI) OutputSignatureSuccess(ctx context.Context, arg keybase1.OutputSignatureSuccessArg) error
func (*RemotePgpUI) OutputSignatureSuccessNonKeybase ¶ added in v1.0.19
func (u *RemotePgpUI) OutputSignatureSuccessNonKeybase(ctx context.Context, arg keybase1.OutputSignatureSuccessNonKeybaseArg) error
func (*RemotePgpUI) ShouldPushPrivate ¶ added in v1.0.18
type RemoteProvisionUI ¶
type RemoteProvisionUI struct {
// contains filtered or unexported fields
}
func NewRemoteProvisionUI ¶
func NewRemoteProvisionUI(sessionID int, c *rpc.Client) *RemoteProvisionUI
func (*RemoteProvisionUI) ChooseDevice ¶
func (u *RemoteProvisionUI) ChooseDevice(ctx context.Context, arg keybase1.ChooseDeviceArg) (keybase1.DeviceID, error)
func (*RemoteProvisionUI) ChooseDeviceType ¶
func (u *RemoteProvisionUI) ChooseDeviceType(ctx context.Context, arg keybase1.ChooseDeviceTypeArg) (keybase1.DeviceType, error)
func (*RemoteProvisionUI) ChooseGPGMethod ¶
func (u *RemoteProvisionUI) ChooseGPGMethod(ctx context.Context, arg keybase1.ChooseGPGMethodArg) (keybase1.GPGMethod, error)
func (*RemoteProvisionUI) ChooseProvisioningMethod ¶
func (u *RemoteProvisionUI) ChooseProvisioningMethod(ctx context.Context, arg keybase1.ChooseProvisioningMethodArg) (keybase1.ProvisionMethod, error)
func (*RemoteProvisionUI) DisplayAndPromptSecret ¶
func (u *RemoteProvisionUI) DisplayAndPromptSecret(ctx context.Context, arg keybase1.DisplayAndPromptSecretArg) (keybase1.SecretResponse, error)
func (*RemoteProvisionUI) DisplaySecretExchanged ¶
func (u *RemoteProvisionUI) DisplaySecretExchanged(ctx context.Context, _ int) error
func (*RemoteProvisionUI) PromptNewDeviceName ¶
func (u *RemoteProvisionUI) PromptNewDeviceName(ctx context.Context, arg keybase1.PromptNewDeviceNameArg) (string, error)
func (*RemoteProvisionUI) ProvisioneeSuccess ¶
func (u *RemoteProvisionUI) ProvisioneeSuccess(ctx context.Context, arg keybase1.ProvisioneeSuccessArg) error
func (*RemoteProvisionUI) ProvisionerSuccess ¶
func (u *RemoteProvisionUI) ProvisionerSuccess(ctx context.Context, arg keybase1.ProvisionerSuccessArg) error
func (*RemoteProvisionUI) SwitchToGPGSignOK ¶
func (u *RemoteProvisionUI) SwitchToGPGSignOK(ctx context.Context, arg keybase1.SwitchToGPGSignOKArg) (bool, error)
type RemoteSaltpackUI ¶
type RemoteSaltpackUI struct {
// contains filtered or unexported fields
}
func NewRemoteSaltpackUI ¶
func NewRemoteSaltpackUI(sessionID int, c *rpc.Client) *RemoteSaltpackUI
func (*RemoteSaltpackUI) SaltpackPromptForDecrypt ¶
func (r *RemoteSaltpackUI) SaltpackPromptForDecrypt(ctx context.Context, arg keybase1.SaltpackPromptForDecryptArg, usedDelegateUI bool) (err error)
func (*RemoteSaltpackUI) SaltpackVerifyBadSender ¶ added in v1.0.19
func (r *RemoteSaltpackUI) SaltpackVerifyBadSender(ctx context.Context, arg keybase1.SaltpackVerifyBadSenderArg) (err error)
func (*RemoteSaltpackUI) SaltpackVerifySuccess ¶
func (r *RemoteSaltpackUI) SaltpackVerifySuccess(ctx context.Context, arg keybase1.SaltpackVerifySuccessArg) (err error)
type RemoteTeamsUI ¶ added in v1.0.27
type RemoteTeamsUI struct {
// contains filtered or unexported fields
}
func NewRemoteTeamsUI ¶ added in v1.0.27
func NewRemoteTeamsUI(sessionID int, c *rpc.Client) *RemoteTeamsUI
func (*RemoteTeamsUI) ConfirmRootTeamDelete ¶ added in v1.0.27
func (r *RemoteTeamsUI) ConfirmRootTeamDelete(ctx context.Context, arg keybase1.ConfirmRootTeamDeleteArg) (bool, error)
func (*RemoteTeamsUI) ConfirmSubteamDelete ¶ added in v1.0.33
func (r *RemoteTeamsUI) ConfirmSubteamDelete(ctx context.Context, arg keybase1.ConfirmSubteamDeleteArg) (bool, error)
type RevokeHandler ¶
type RevokeHandler struct { *BaseHandler libkb.Contextified }
func NewRevokeHandler ¶
func NewRevokeHandler(xp rpc.Transporter, g *libkb.GlobalContext) *RevokeHandler
func (*RevokeHandler) RevokeDevice ¶
func (h *RevokeHandler) RevokeDevice(_ context.Context, arg keybase1.RevokeDeviceArg) error
func (*RevokeHandler) RevokeKey ¶
func (h *RevokeHandler) RevokeKey(_ context.Context, arg keybase1.RevokeKeyArg) error
func (*RevokeHandler) RevokeSigs ¶
func (h *RevokeHandler) RevokeSigs(_ context.Context, arg keybase1.RevokeSigsArg) error
type SaltpackHandler ¶
type SaltpackHandler struct { *BaseHandler libkb.Contextified }
func NewSaltpackHandler ¶
func NewSaltpackHandler(xp rpc.Transporter, g *libkb.GlobalContext) *SaltpackHandler
func (*SaltpackHandler) SaltpackDecrypt ¶
func (h *SaltpackHandler) SaltpackDecrypt(_ context.Context, arg keybase1.SaltpackDecryptArg) (info keybase1.SaltpackEncryptedMessageInfo, err error)
func (*SaltpackHandler) SaltpackEncrypt ¶
func (h *SaltpackHandler) SaltpackEncrypt(_ context.Context, arg keybase1.SaltpackEncryptArg) error
func (*SaltpackHandler) SaltpackSign ¶
func (h *SaltpackHandler) SaltpackSign(_ context.Context, arg keybase1.SaltpackSignArg) error
func (*SaltpackHandler) SaltpackVerify ¶
func (h *SaltpackHandler) SaltpackVerify(_ context.Context, arg keybase1.SaltpackVerifyArg) error
type ScanProofsHandler ¶ added in v1.0.18
type ScanProofsHandler struct { *BaseHandler libkb.Contextified }
func NewScanProofsHandler ¶ added in v1.0.18
func NewScanProofsHandler(xp rpc.Transporter, g *libkb.GlobalContext) *ScanProofsHandler
func (*ScanProofsHandler) ScanProofs ¶ added in v1.0.18
func (h *ScanProofsHandler) ScanProofs(_ context.Context, arg keybase1.ScanProofsArg) error
ScanProofs creates a ScanProofsEngine and runs it.
type SecretKeysHandler ¶
type SecretKeysHandler struct { *BaseHandler libkb.Contextified }
func NewSecretKeysHandler ¶
func NewSecretKeysHandler(xp rpc.Transporter, g *libkb.GlobalContext) *SecretKeysHandler
func (*SecretKeysHandler) GetSecretKeys ¶
func (h *SecretKeysHandler) GetSecretKeys(_ context.Context, sessionID int) (keybase1.SecretKeys, error)
type SecretUI ¶
type SecretUI struct { libkb.Contextified // contains filtered or unexported fields }
func (*SecretUI) GetPassphrase ¶
func (u *SecretUI) GetPassphrase(pinentry keybase1.GUIEntryArg, terminal *keybase1.SecretEntryArg) (keybase1.GetPassphraseRes, error)
GetPassphrase gets the current keybase passphrase from delegated pinentry.
type Service ¶
type Service struct { libkb.Contextified globals.ChatContextified ForkType keybase1.ForkType // contains filtered or unexported fields }
func NewService ¶
func NewService(g *libkb.GlobalContext, isDaemon bool) *Service
func (*Service) GetExclusiveLock ¶
GetExclusiveLock grabs the exclusive lock over running keybase and then installs a shutdown hook to release the lock automatically on shutdown.
func (*Service) GetExclusiveLockWithoutAutoUnlock ¶
GetExclusiveLockWithoutAutoUnlock grabs the exclusive lock over running keybase and continues to hold the lock. The caller is then required to manually release this lock via ReleaseLock()
func (*Service) GetStartChannel ¶
func (d *Service) GetStartChannel() <-chan struct{}
func (*Service) GregorDismiss ¶ added in v1.0.17
func (*Service) GregorInject ¶ added in v1.0.17
func (*Service) GregorInjectOutOfBandMessage ¶ added in v1.0.17
func (*Service) ListenLoopWithStopper ¶
func (*Service) RegisterProtocols ¶
func (d *Service) RegisterProtocols(srv *rpc.Server, xp rpc.Transporter, connID libkb.ConnectionID, logReg *logRegister) (shutdowners []Shutdowner, err error)
func (*Service) ReleaseLock ¶
ReleaseLock releases the locking pidfile by closing, unlocking and deleting it.
func (*Service) RunBackgroundOperations ¶ added in v1.0.19
func (*Service) SetGregorPushStateFilter ¶ added in v1.0.17
func (*Service) SetupCriticalSubServices ¶ added in v1.0.27
func (*Service) SimulateGregorCrashForTesting ¶ added in v1.0.17
func (d *Service) SimulateGregorCrashForTesting()
func (*Service) StartLoopbackServer ¶
func (*Service) StartStandaloneChat ¶ added in v1.0.27
func (d *Service) StartStandaloneChat(g *libkb.GlobalContext) error
type SessionHandler ¶
type SessionHandler struct { libkb.Contextified *BaseHandler }
SessionHandler is the RPC handler for the session interface.
func NewSessionHandler ¶
func NewSessionHandler(xp rpc.Transporter, g *libkb.GlobalContext) *SessionHandler
NewSessionHandler creates a SessionHandler for the xp transport.
func (*SessionHandler) CurrentSession ¶
CurrentSession uses the global session to find the session. If the user isn't logged in, it returns libkb.NoSessionError.
This function was modified to use cached information instead of loading the full self user.
This does do a full call to sesscheck and ensures that the session token is valid.
func (*SessionHandler) SessionPing ¶ added in v1.0.19
func (h *SessionHandler) SessionPing(context.Context) error
SessionPing can be used by keepalives for connected services.
type Shutdowner ¶ added in v1.0.17
type Shutdowner interface {
Shutdown()
}
type SignupHandler ¶
type SignupHandler struct { *BaseHandler libkb.Contextified }
func NewSignupHandler ¶
func NewSignupHandler(xp rpc.Transporter, g *libkb.GlobalContext) *SignupHandler
func (*SignupHandler) CheckInvitationCode ¶
func (h *SignupHandler) CheckInvitationCode(ctx context.Context, arg keybase1.CheckInvitationCodeArg) (err error)
func (*SignupHandler) CheckUsernameAvailable ¶
func (h *SignupHandler) CheckUsernameAvailable(_ context.Context, arg keybase1.CheckUsernameAvailableArg) error
func (*SignupHandler) GetInvitationCode ¶ added in v1.0.19
func (*SignupHandler) InviteRequest ¶
func (h *SignupHandler) InviteRequest(ctx context.Context, arg keybase1.InviteRequestArg) (err error)
type SigsHandler ¶
type SigsHandler struct { *BaseHandler libkb.Contextified }
SigsHandler is the RPC handler for the sigs interface.
func NewSigsHandler ¶
func NewSigsHandler(xp rpc.Transporter, g *libkb.GlobalContext) *SigsHandler
NewSigsHandler creates a SigsHandler for the xp transport.
func (*SigsHandler) SigList ¶
func (h *SigsHandler) SigList(_ context.Context, arg keybase1.SigListArg) ([]keybase1.Sig, error)
func (*SigsHandler) SigListJSON ¶
func (h *SigsHandler) SigListJSON(_ context.Context, arg keybase1.SigListJSONArg) (string, error)
type SimpleFSHandler ¶ added in v1.0.19
type SimpleFSHandler struct { *BaseHandler libkb.Contextified }
func NewSimpleFSHandler ¶ added in v1.0.19
func NewSimpleFSHandler(xp rpc.Transporter, g *libkb.GlobalContext) *SimpleFSHandler
func (*SimpleFSHandler) SimpleFSCancel ¶ added in v1.0.21
SimpleFSCancel - Cancels a running operation, like copy.
func (*SimpleFSHandler) SimpleFSCheck ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSCheck(ctx context.Context, arg keybase1.OpID) (keybase1.Progress, error)
SimpleFSCheck - Check progress of pending operation
func (*SimpleFSHandler) SimpleFSClose ¶ added in v1.0.19
SimpleFSClose - Close OpID, cancels any pending operation. Must be called after list/copy/remove
func (*SimpleFSHandler) SimpleFSCopy ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSCopy(ctx context.Context, arg keybase1.SimpleFSCopyArg) error
SimpleFSCopy - Begin copy of file or directory
func (*SimpleFSHandler) SimpleFSCopyRecursive ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSCopyRecursive(ctx context.Context, arg keybase1.SimpleFSCopyRecursiveArg) error
SimpleFSCopyRecursive - Begin recursive copy of directory
func (*SimpleFSHandler) SimpleFSGetOps ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSGetOps(ctx context.Context) ([]keybase1.OpDescription, error)
SimpleFSGetOps - Get all the outstanding operations
func (*SimpleFSHandler) SimpleFSList ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSList(ctx context.Context, arg keybase1.SimpleFSListArg) error
SimpleFSList - Begin list of items in directory at path Retrieve results with readList() Can be a single file to get flags/status
func (*SimpleFSHandler) SimpleFSListRecursive ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSListRecursive(ctx context.Context, arg keybase1.SimpleFSListRecursiveArg) error
SimpleFSListRecursive - Begin recursive list of items in directory at path
func (*SimpleFSHandler) SimpleFSMakeOpid ¶ added in v1.0.19
SimpleFSMakeOpid - Convenience helper for generating new random value
func (*SimpleFSHandler) SimpleFSMove ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSMove(ctx context.Context, arg keybase1.SimpleFSMoveArg) error
SimpleFSMove - Begin move of file or directory, from/to KBFS only
func (*SimpleFSHandler) SimpleFSOpen ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSOpen(ctx context.Context, arg keybase1.SimpleFSOpenArg) error
SimpleFSOpen - Create/open a file and leave it open or create a directory Files must be closed afterwards.
func (*SimpleFSHandler) SimpleFSRead ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSRead(ctx context.Context, arg keybase1.SimpleFSReadArg) (keybase1.FileContent, error)
SimpleFSRead - Read (possibly partial) contents of open file, up to the amount specified by size. Repeat until zero bytes are returned or error. If size is zero, read an arbitrary amount.
func (*SimpleFSHandler) SimpleFSReadList ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSReadList(ctx context.Context, arg keybase1.OpID) (keybase1.SimpleFSListResult, error)
SimpleFSReadList - Get list of Paths in progress. Can indicate status of pending to get more entries.
func (*SimpleFSHandler) SimpleFSRemove ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSRemove(ctx context.Context, arg keybase1.SimpleFSRemoveArg) error
SimpleFSRemove - Remove file or directory from filesystem
func (*SimpleFSHandler) SimpleFSRename ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSRename(ctx context.Context, arg keybase1.SimpleFSRenameArg) error
SimpleFSRename - Rename file or directory, KBFS side only
func (*SimpleFSHandler) SimpleFSSetStat ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSSetStat(ctx context.Context, arg keybase1.SimpleFSSetStatArg) error
SimpleFSSetStat - Set/clear file bits - only executable for now
func (*SimpleFSHandler) SimpleFSStat ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSStat(ctx context.Context, arg keybase1.Path) (keybase1.Dirent, error)
SimpleFSStat - Get info about file
func (*SimpleFSHandler) SimpleFSWait ¶ added in v1.0.19
SimpleFSWait - Blocking wait for the pending operation to finish
func (*SimpleFSHandler) SimpleFSWrite ¶ added in v1.0.19
func (s *SimpleFSHandler) SimpleFSWrite(ctx context.Context, arg keybase1.SimpleFSWriteArg) error
SimpleFSWrite - Append content to opened file. May be repeated until OpID is closed.
type TeamsHandler ¶ added in v1.0.27
type TeamsHandler struct { *BaseHandler globals.Contextified // contains filtered or unexported fields }
func NewTeamsHandler ¶ added in v1.0.27
func NewTeamsHandler(xp rpc.Transporter, id libkb.ConnectionID, g *globals.Context, gregor *gregorHandler) *TeamsHandler
func (*TeamsHandler) CanUserPerform ¶ added in v1.0.39
func (h *TeamsHandler) CanUserPerform(ctx context.Context, teamname string) (ret keybase1.TeamOperation, err error)
func (*TeamsHandler) GetTarsDisabled ¶ added in v1.0.40
func (*TeamsHandler) GetTeamAndMemberShowcase ¶ added in v1.0.34
func (h *TeamsHandler) GetTeamAndMemberShowcase(ctx context.Context, teamname string) (ret keybase1.TeamAndMemberShowcase, err error)
func (*TeamsHandler) GetTeamRootID ¶ added in v1.0.27
func (*TeamsHandler) GetTeamShowcase ¶ added in v1.0.34
func (h *TeamsHandler) GetTeamShowcase(ctx context.Context, teamname string) (ret keybase1.TeamShowcase, err error)
func (*TeamsHandler) LoadTeamPlusApplicationKeys ¶ added in v1.0.27
func (h *TeamsHandler) LoadTeamPlusApplicationKeys(ctx context.Context, arg keybase1.LoadTeamPlusApplicationKeysArg) (res keybase1.TeamPlusApplicationKeys, err error)
func (*TeamsHandler) LookupImplicitTeam ¶ added in v1.0.29
func (h *TeamsHandler) LookupImplicitTeam(ctx context.Context, arg keybase1.LookupImplicitTeamArg) (res keybase1.LookupImplicitTeamRes, err error)
func (*TeamsHandler) LookupOrCreateImplicitTeam ¶ added in v1.0.29
func (h *TeamsHandler) LookupOrCreateImplicitTeam(ctx context.Context, arg keybase1.LookupOrCreateImplicitTeamArg) (res keybase1.LookupImplicitTeamRes, err error)
func (*TeamsHandler) SetTarsDisabled ¶ added in v1.0.40
func (h *TeamsHandler) SetTarsDisabled(ctx context.Context, arg keybase1.SetTarsDisabledArg) (err error)
func (*TeamsHandler) SetTeamMemberShowcase ¶ added in v1.0.34
func (h *TeamsHandler) SetTeamMemberShowcase(ctx context.Context, arg keybase1.SetTeamMemberShowcaseArg) (err error)
func (*TeamsHandler) SetTeamShowcase ¶ added in v1.0.34
func (h *TeamsHandler) SetTeamShowcase(ctx context.Context, arg keybase1.SetTeamShowcaseArg) (err error)
func (*TeamsHandler) TeamAcceptInvite ¶ added in v1.0.27
func (h *TeamsHandler) TeamAcceptInvite(ctx context.Context, arg keybase1.TeamAcceptInviteArg) (err error)
func (*TeamsHandler) TeamAcceptInviteOrRequestAccess ¶ added in v1.0.30
func (h *TeamsHandler) TeamAcceptInviteOrRequestAccess(ctx context.Context, arg keybase1.TeamAcceptInviteOrRequestAccessArg) (res keybase1.TeamAcceptOrRequestResult, err error)
func (*TeamsHandler) TeamAddEmailsBulk ¶ added in v1.0.34
func (h *TeamsHandler) TeamAddEmailsBulk(ctx context.Context, arg keybase1.TeamAddEmailsBulkArg) (res keybase1.BulkRes, err error)
func (*TeamsHandler) TeamAddMember ¶ added in v1.0.27
func (h *TeamsHandler) TeamAddMember(ctx context.Context, arg keybase1.TeamAddMemberArg) (res keybase1.TeamAddMemberResult, err error)
func (*TeamsHandler) TeamChangeMembership ¶ added in v1.0.27
func (h *TeamsHandler) TeamChangeMembership(ctx context.Context, arg keybase1.TeamChangeMembershipArg) error
func (*TeamsHandler) TeamCreate ¶ added in v1.0.27
func (h *TeamsHandler) TeamCreate(ctx context.Context, arg keybase1.TeamCreateArg) (res keybase1.TeamCreateResult, err error)
func (*TeamsHandler) TeamCreateSeitanToken ¶ added in v1.0.34
func (h *TeamsHandler) TeamCreateSeitanToken(ctx context.Context, arg keybase1.TeamCreateSeitanTokenArg) (token keybase1.SeitanIKey, err error)
func (*TeamsHandler) TeamCreateWithSettings ¶ added in v1.0.33
func (h *TeamsHandler) TeamCreateWithSettings(ctx context.Context, arg keybase1.TeamCreateWithSettingsArg) (res keybase1.TeamCreateResult, err error)
func (*TeamsHandler) TeamDebug ¶ added in v1.0.39
func (h *TeamsHandler) TeamDebug(ctx context.Context, teamID keybase1.TeamID) (res keybase1.TeamDebugRes, err error)
func (*TeamsHandler) TeamDelete ¶ added in v1.0.27
func (h *TeamsHandler) TeamDelete(ctx context.Context, arg keybase1.TeamDeleteArg) (err error)
func (*TeamsHandler) TeamEditMember ¶ added in v1.0.27
func (h *TeamsHandler) TeamEditMember(ctx context.Context, arg keybase1.TeamEditMemberArg) (err error)
func (*TeamsHandler) TeamGet ¶ added in v1.0.27
func (h *TeamsHandler) TeamGet(ctx context.Context, arg keybase1.TeamGetArg) (res keybase1.TeamDetails, err error)
func (*TeamsHandler) TeamIgnoreRequest ¶ added in v1.0.27
func (h *TeamsHandler) TeamIgnoreRequest(ctx context.Context, arg keybase1.TeamIgnoreRequestArg) (err error)
func (*TeamsHandler) TeamImplicitAdmins ¶ added in v1.0.34
func (h *TeamsHandler) TeamImplicitAdmins(ctx context.Context, arg keybase1.TeamImplicitAdminsArg) (res []keybase1.TeamMemberDetails, err error)
func (*TeamsHandler) TeamLeave ¶ added in v1.0.27
func (h *TeamsHandler) TeamLeave(ctx context.Context, arg keybase1.TeamLeaveArg) (err error)
func (*TeamsHandler) TeamListMyAccessRequests ¶ added in v1.0.39
func (h *TeamsHandler) TeamListMyAccessRequests(ctx context.Context, arg keybase1.TeamListMyAccessRequestsArg) (res []keybase1.TeamName, err error)
func (*TeamsHandler) TeamListRequests ¶ added in v1.0.27
func (h *TeamsHandler) TeamListRequests(ctx context.Context, sessionID int) (res []keybase1.TeamJoinRequest, err error)
func (*TeamsHandler) TeamListSubteamsRecursive ¶ added in v1.0.33
func (h *TeamsHandler) TeamListSubteamsRecursive(ctx context.Context, arg keybase1.TeamListSubteamsRecursiveArg) (res []keybase1.TeamIDAndName, err error)
func (*TeamsHandler) TeamListTeammates ¶ added in v1.0.40
func (h *TeamsHandler) TeamListTeammates(ctx context.Context, arg keybase1.TeamListTeammatesArg) (res keybase1.AnnotatedTeamList, err error)
func (*TeamsHandler) TeamListUnverified ¶ added in v1.0.40
func (h *TeamsHandler) TeamListUnverified(ctx context.Context, arg keybase1.TeamListUnverifiedArg) (res keybase1.AnnotatedTeamList, err error)
func (*TeamsHandler) TeamListVerified ¶ added in v1.0.40
func (h *TeamsHandler) TeamListVerified(ctx context.Context, arg keybase1.TeamListVerifiedArg) (res keybase1.AnnotatedTeamList, err error)
func (*TeamsHandler) TeamReAddMemberAfterReset ¶ added in v1.0.29
func (h *TeamsHandler) TeamReAddMemberAfterReset(ctx context.Context, arg keybase1.TeamReAddMemberAfterResetArg) (err error)
func (*TeamsHandler) TeamRemoveMember ¶ added in v1.0.27
func (h *TeamsHandler) TeamRemoveMember(ctx context.Context, arg keybase1.TeamRemoveMemberArg) (err error)
func (*TeamsHandler) TeamRename ¶ added in v1.0.27
func (h *TeamsHandler) TeamRename(ctx context.Context, arg keybase1.TeamRenameArg) (err error)
func (*TeamsHandler) TeamRequestAccess ¶ added in v1.0.27
func (h *TeamsHandler) TeamRequestAccess(ctx context.Context, arg keybase1.TeamRequestAccessArg) (res keybase1.TeamRequestAccessResult, err error)
func (*TeamsHandler) TeamRotateKey ¶ added in v1.0.39
func (*TeamsHandler) TeamSetSettings ¶ added in v1.0.33
func (h *TeamsHandler) TeamSetSettings(ctx context.Context, arg keybase1.TeamSetSettingsArg) (err error)
func (*TeamsHandler) TeamTree ¶ added in v1.0.27
func (h *TeamsHandler) TeamTree(ctx context.Context, arg keybase1.TeamTreeArg) (res keybase1.TeamTreeResult, err error)
type TestHandler ¶
type TestHandler struct { *BaseHandler libkb.Contextified }
func NewTestHandler ¶
func NewTestHandler(xp rpc.Transporter, g *libkb.GlobalContext) *TestHandler
func (TestHandler) TestCallback ¶
func (t TestHandler) TestCallback(_ context.Context, arg keybase1.TestCallbackArg) (s string, err error)
type TrackHandler ¶
type TrackHandler struct { *BaseHandler libkb.Contextified // contains filtered or unexported fields }
TrackHandler is the RPC handler for the track interface.
func NewTrackHandler ¶
func NewTrackHandler(xp rpc.Transporter, g *libkb.GlobalContext) *TrackHandler
NewTrackHandler creates a TrackHandler for the xp transport.
func (*TrackHandler) CheckTracking ¶
func (h *TrackHandler) CheckTracking(_ context.Context, sessionID int) error
func (*TrackHandler) DismissWithToken ¶ added in v1.0.16
func (h *TrackHandler) DismissWithToken(ctx context.Context, arg keybase1.DismissWithTokenArg) error
func (*TrackHandler) FakeTrackingChanged ¶
func (h *TrackHandler) FakeTrackingChanged(_ context.Context, arg keybase1.FakeTrackingChangedArg) error
func (*TrackHandler) Track ¶
func (h *TrackHandler) Track(_ context.Context, arg keybase1.TrackArg) (keybase1.ConfirmResult, error)
Track creates a TrackEngine and runs it.
func (*TrackHandler) TrackWithToken ¶
func (h *TrackHandler) TrackWithToken(_ context.Context, arg keybase1.TrackWithTokenArg) error
func (*TrackHandler) Untrack ¶
func (h *TrackHandler) Untrack(_ context.Context, arg keybase1.UntrackArg) error
Untrack creates an UntrackEngine and runs it.
type UIRouter ¶
type UIRouter struct { libkb.Contextified // contains filtered or unexported fields }
func NewUIRouter ¶
func NewUIRouter(g *libkb.GlobalContext) *UIRouter
func (*UIRouter) GetHomeUI ¶ added in v1.0.40
func (u *UIRouter) GetHomeUI() (keybase1.HomeUIInterface, error)
func (*UIRouter) GetIdentifyUI ¶
func (u *UIRouter) GetIdentifyUI() (libkb.IdentifyUI, error)
func (*UIRouter) GetIdentifyUICtx ¶ added in v1.0.21
func (*UIRouter) GetRekeyUI ¶ added in v1.0.17
func (u *UIRouter) GetRekeyUI() (keybase1.RekeyUIInterface, int, error)
func (*UIRouter) GetRekeyUINoSessionID ¶ added in v1.0.17
func (u *UIRouter) GetRekeyUINoSessionID() (ret keybase1.RekeyUIInterface, err error)
func (*UIRouter) GetSecretUI ¶
type UpdateUI ¶
type UpdateUI struct {
// contains filtered or unexported fields
}
func (*UpdateUI) UpdateAppInUse ¶
func (u *UpdateUI) UpdateAppInUse(ctx context.Context, arg keybase1.UpdateAppInUseArg) (keybase1.UpdateAppInUseRes, error)
func (*UpdateUI) UpdatePrompt ¶
func (u *UpdateUI) UpdatePrompt(ctx context.Context, arg keybase1.UpdatePromptArg) (keybase1.UpdatePromptRes, error)
func (*UpdateUI) UpdateQuit ¶
func (u *UpdateUI) UpdateQuit(ctx context.Context, arg keybase1.UpdateQuitArg) (res keybase1.UpdateQuitRes, err error)
type UserHandler ¶
type UserHandler struct { *BaseHandler libkb.Contextified globals.ChatContextified }
UserHandler is the RPC handler for the user interface.
func NewUserHandler ¶
func NewUserHandler(xp rpc.Transporter, g *libkb.GlobalContext, chatG *globals.ChatContext) *UserHandler
NewUserHandler creates a UserHandler for the xp transport.
func (*UserHandler) DeleteUser ¶ added in v1.0.31
func (h *UserHandler) DeleteUser(ctx context.Context, sessionID int) error
func (*UserHandler) GetUPAK ¶ added in v1.0.39
func (h *UserHandler) GetUPAK(ctx context.Context, uid keybase1.UID) (ret keybase1.UPAKVersioned, err error)
func (*UserHandler) InterestingPeople ¶ added in v1.0.27
func (h *UserHandler) InterestingPeople(ctx context.Context, maxUsers int) (res []keybase1.InterestingPerson, err error)
func (*UserHandler) ListTrackers ¶
func (h *UserHandler) ListTrackers(_ context.Context, arg keybase1.ListTrackersArg) ([]keybase1.Tracker, error)
ListTrackers gets the list of trackers for a user by uid.
func (*UserHandler) ListTrackers2 ¶ added in v1.0.17
func (h *UserHandler) ListTrackers2(_ context.Context, arg keybase1.ListTrackers2Arg) (res keybase1.UserSummary2Set, err error)
func (*UserHandler) ListTrackersByName ¶
func (h *UserHandler) ListTrackersByName(_ context.Context, arg keybase1.ListTrackersByNameArg) ([]keybase1.Tracker, error)
ListTrackersByName gets the list of trackers for a user by username.
func (*UserHandler) ListTrackersSelf ¶
func (h *UserHandler) ListTrackersSelf(_ context.Context, sessionID int) ([]keybase1.Tracker, error)
ListTrackersSelf gets the list of trackers for the logged in user.
func (*UserHandler) ListTracking ¶
func (h *UserHandler) ListTracking(_ context.Context, arg keybase1.ListTrackingArg) (res []keybase1.UserSummary, err error)
func (*UserHandler) ListTrackingJSON ¶
func (h *UserHandler) ListTrackingJSON(_ context.Context, arg keybase1.ListTrackingJSONArg) (res string, err error)
func (*UserHandler) LoadAllPublicKeysUnverified ¶ added in v1.0.17
func (h *UserHandler) LoadAllPublicKeysUnverified(ctx context.Context, arg keybase1.LoadAllPublicKeysUnverifiedArg) (keys []keybase1.PublicKey, err error)
func (*UserHandler) LoadMyPublicKeys ¶ added in v1.0.18
func (*UserHandler) LoadMySettings ¶ added in v1.0.19
func (h *UserHandler) LoadMySettings(ctx context.Context, sessionID int) (us keybase1.UserSettings, err error)
func (*UserHandler) LoadPublicKeys ¶
func (h *UserHandler) LoadPublicKeys(ctx context.Context, arg keybase1.LoadPublicKeysArg) (keys []keybase1.PublicKey, err error)
func (*UserHandler) LoadUncheckedUserSummaries ¶
func (h *UserHandler) LoadUncheckedUserSummaries(_ context.Context, arg keybase1.LoadUncheckedUserSummariesArg) ([]keybase1.UserSummary, error)
func (*UserHandler) LoadUser ¶
func (h *UserHandler) LoadUser(ctx context.Context, arg keybase1.LoadUserArg) (user keybase1.User, err error)
func (*UserHandler) LoadUserByName ¶ added in v1.0.17
func (h *UserHandler) LoadUserByName(_ context.Context, arg keybase1.LoadUserByNameArg) (user keybase1.User, err error)
func (*UserHandler) LoadUserPlusKeys ¶
func (h *UserHandler) LoadUserPlusKeys(netCtx context.Context, arg keybase1.LoadUserPlusKeysArg) (keybase1.UserPlusKeys, error)
func (*UserHandler) MeUserVersion ¶ added in v1.0.34
func (h *UserHandler) MeUserVersion(ctx context.Context, sessionID int) (res keybase1.UserVersion, err error)
func (*UserHandler) ProfileEdit ¶ added in v1.0.19
func (h *UserHandler) ProfileEdit(nctx context.Context, arg keybase1.ProfileEditArg) error
func (*UserHandler) ResetUser ¶ added in v1.0.27
func (h *UserHandler) ResetUser(ctx context.Context, sessionID int) error
func (*UserHandler) Search ¶
func (h *UserHandler) Search(_ context.Context, arg keybase1.SearchArg) (results []keybase1.SearchResult, err error)
Source Files ¶
- account.go
- apiserver.go
- appstate.go
- badger.go
- bg_identifier.go
- chat_local.go
- config.go
- crypto.go
- cryptocurrency.go
- ctl.go
- debugging.go
- delegate_ui.go
- device.go
- errors.go
- favorite.go
- git.go
- gpg.go
- gregor.go
- handler.go
- home.go
- identify.go
- install.go
- interesting.go
- kbfs.go
- kbfs_mount.go
- kbfs_mount_nix.go
- log.go
- log_fwd.go
- log_queue.go
- log_register.go
- log_ui.go
- login.go
- logsend.go
- main.go
- merkle.go
- notify.go
- notify_fs_request.go
- paperprovision.go
- pgp.go
- prove.go
- provision.go
- reachability.go
- rekey_log_handler.go
- rekey_master.go
- remote_chat_ui.go
- remote_teams_ui.go
- revoke.go
- rpc.go
- saltpack.go
- scanproofs.go
- secretkeys.go
- session.go
- signup.go
- sigs.go
- simplefs.go
- team_handler.go
- teams.go
- test_handler.go
- tlf.go
- track.go
- ui_router.go
- user.go
- user_handler.go