service

package
v5.5.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2020 License: BSD-3-Clause, BSD-3-Clause Imports: 96 Imported by: 0

Documentation

Index

Constants

View Source
const GregorConnectionRetryInterval time.Duration = 2 * time.Second
View Source
const GregorGetClientTimeout time.Duration = 4 * time.Second
View Source
const GregorRequestTimeout time.Duration = 30 * time.Second
View Source
const TLFRekeyGregorCategory = "kbfs_tlf_rekey_needed"

Variables

This section is empty.

Functions

func CancelingProtocol

func CancelingProtocol(g *libkb.GlobalContext, prot rpc.Protocol, reason libkb.RPCCancelerReason) (res rpc.Protocol)

func GetCommands

func GetCommands(cl *libcmdline.CommandLine, g *libkb.GlobalContext) []cli.Command

func LoopAndDismissForDeviceChangeNotifications

func LoopAndDismissForDeviceChangeNotifications(mctx libkb.MetaContext, dismisser libkb.GregorState,
	gregorState gregor.State, exceptedDeviceID string) (err error)

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) Delete added in v1.0.22

func (*APIServerHandler) Get added in v1.0.17

func (*APIServerHandler) GetWithSession added in v1.0.22

func (*APIServerHandler) Post added in v1.0.17

func (*APIServerHandler) PostJSON added in v1.0.17

type AccountHandler

type AccountHandler struct {
	*BaseHandler
	libkb.Contextified
}

func NewAccountHandler

func NewAccountHandler(xp rpc.Transporter, g *libkb.GlobalContext) *AccountHandler

func (*AccountHandler) CancelReset

func (h *AccountHandler) CancelReset(ctx context.Context, sessionID int) (err error)

CancelReset allows a user to cancel the reset process via an authenticated API call.

func (*AccountHandler) EmailChange added in v1.0.18

func (h *AccountHandler) EmailChange(nctx context.Context, arg keybase1.EmailChangeArg) error

func (*AccountHandler) EnterResetPipeline

func (h *AccountHandler) EnterResetPipeline(ctx context.Context, arg keybase1.EnterResetPipelineArg) (err error)

EnterPipeline allows a user to enter the reset pipeline. The user must verify ownership of the account via an email confirmation or their password. Resets are not allowed on a provisioned device.

func (*AccountHandler) GetLockdownMode

func (h *AccountHandler) GetLockdownMode(ctx context.Context, sessionID int) (ret keybase1.GetLockdownResponse, err error)

func (*AccountHandler) GuessCurrentLocation

func (h *AccountHandler) GuessCurrentLocation(ctx context.Context, arg keybase1.GuessCurrentLocationArg) (string, error)

func (*AccountHandler) HasServerKeys added in v1.0.18

func (h *AccountHandler) HasServerKeys(ctx context.Context, sessionID int) (res keybase1.HasServerKeysRes, err error)

func (*AccountHandler) PassphraseChange

func (h *AccountHandler) PassphraseChange(ctx context.Context, arg keybase1.PassphraseChangeArg) error

func (*AccountHandler) PassphraseCheck

func (h *AccountHandler) PassphraseCheck(ctx context.Context, arg keybase1.PassphraseCheckArg) (ret bool, err error)

func (*AccountHandler) PassphrasePrompt

func (*AccountHandler) RecoverUsernameWithEmail

func (h *AccountHandler) RecoverUsernameWithEmail(ctx context.Context, arg keybase1.RecoverUsernameWithEmailArg) (err error)

func (*AccountHandler) RecoverUsernameWithPhone

func (h *AccountHandler) RecoverUsernameWithPhone(ctx context.Context, arg keybase1.RecoverUsernameWithPhoneArg) (err error)

func (*AccountHandler) ResetAccount added in v1.0.19

func (h *AccountHandler) ResetAccount(ctx context.Context, arg keybase1.ResetAccountArg) (err error)

func (*AccountHandler) SetLockdownMode

func (h *AccountHandler) SetLockdownMode(ctx context.Context, arg keybase1.SetLockdownModeArg) (err error)

func (*AccountHandler) TimeTravelReset

func (h *AccountHandler) TimeTravelReset(ctx context.Context, arg keybase1.TimeTravelResetArg) error

TimeTravelReset allows a user to move forward in the reset process via an API call [devel-only].

func (*AccountHandler) UserGetContactSettings

func (h *AccountHandler) UserGetContactSettings(ctx context.Context) (res keybase1.ContactSettings, err error)

func (*AccountHandler) UserSetContactSettings

func (h *AccountHandler) UserSetContactSettings(ctx context.Context, arg keybase1.ContactSettings) (err error)

type AuditHandler

type AuditHandler struct {
	libkb.Contextified
	*BaseHandler
}

func NewAuditHandler

func NewAuditHandler(xp rpc.Transporter, g *libkb.GlobalContext) *AuditHandler

func (*AuditHandler) AttemptBoxAudit

func (h *AuditHandler) AttemptBoxAudit(ctx context.Context, arg keybase1.AttemptBoxAuditArg) (res keybase1.BoxAuditAttempt, err error)

func (*AuditHandler) BoxAuditTeam

func (h *AuditHandler) BoxAuditTeam(ctx context.Context, arg keybase1.BoxAuditTeamArg) (res *keybase1.BoxAuditAttempt, err error)

func (*AuditHandler) IsInJail

func (h *AuditHandler) IsInJail(ctx context.Context, arg keybase1.IsInJailArg) (ret bool, err error)

func (*AuditHandler) KnownTeamIDs

func (h *AuditHandler) KnownTeamIDs(ctx context.Context, sessionID int) (res []keybase1.TeamID, err error)

type AvatarHandler added in v1.0.46

type AvatarHandler struct {
	libkb.Contextified
	*BaseHandler
	// contains filtered or unexported fields
}

func NewAvatarHandler added in v1.0.46

func NewAvatarHandler(xp rpc.Transporter, g *libkb.GlobalContext, source libkb.AvatarLoaderSource) *AvatarHandler

func (*AvatarHandler) LoadTeamAvatars added in v1.0.46

func (*AvatarHandler) LoadUserAvatars added in v1.0.46

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 BotHandler

type BotHandler struct {
	*BaseHandler
	libkb.Contextified
}

func NewBotHandler

func NewBotHandler(xp rpc.Transporter, g *libkb.GlobalContext) *BotHandler

func (*BotHandler) BotTokenCreate

func (h *BotHandler) BotTokenCreate(ctx context.Context) (res keybase1.BotToken, err error)

func (*BotHandler) BotTokenDelete

func (h *BotHandler) BotTokenDelete(ctx context.Context, tok keybase1.BotToken) (err error)

func (*BotHandler) BotTokenList

func (h *BotHandler) BotTokenList(ctx context.Context) (res []keybase1.BotTokenInfo, err error)

type ConfigHandler

type ConfigHandler struct {
	libkb.Contextified
	// contains filtered or unexported fields
}

func (ConfigHandler) AppendGUILogs

func (h ConfigHandler) AppendGUILogs(ctx context.Context, content string) error

func (ConfigHandler) CheckAPIServerOutOfDateWarning added in v1.0.17

func (h ConfigHandler) CheckAPIServerOutOfDateWarning(_ context.Context) (keybase1.OutOfDateInfo, error)

func (ConfigHandler) ClearValue

func (h ConfigHandler) ClearValue(ctx context.Context, path string) error

func (ConfigHandler) GenerateWebAuthToken

func (h ConfigHandler) GenerateWebAuthToken(ctx context.Context) (ret string, err error)

func (ConfigHandler) GetAllProvisionedUsernames

func (h ConfigHandler) GetAllProvisionedUsernames(ctx context.Context, sessionID int) (res keybase1.AllProvisionedUsernames, err error)

func (ConfigHandler) GetBootstrapStatus added in v1.0.22

func (h ConfigHandler) GetBootstrapStatus(ctx context.Context, sessionID int) (keybase1.BootstrapStatus, error)

func (ConfigHandler) GetClientStatus

func (h ConfigHandler) GetClientStatus(ctx context.Context, sessionID int) (res []keybase1.ClientStatus, err error)

func (ConfigHandler) GetConfig

func (h ConfigHandler) GetConfig(ctx context.Context, sessionID int) (res keybase1.Config, err error)

func (ConfigHandler) GetCurrentStatus

func (h ConfigHandler) GetCurrentStatus(ctx context.Context, sessionID int) (res keybase1.CurrentStatus, err error)

func (ConfigHandler) GetFullStatus

func (h ConfigHandler) GetFullStatus(ctx context.Context, sessionID int) (res *keybase1.FullStatus, err error)

func (ConfigHandler) GetNetworkStats

func (h ConfigHandler) GetNetworkStats(ctx context.Context, arg keybase1.GetNetworkStatsArg) (res []keybase1.InstrumentationStat, err error)

func (ConfigHandler) GetProxyData

func (h ConfigHandler) GetProxyData(ctx context.Context) (keybase1.ProxyData, error)

func (ConfigHandler) GetRememberPassphrase added in v1.0.43

func (h ConfigHandler) GetRememberPassphrase(ctx context.Context, sessionID int) (bool, error)

func (ConfigHandler) GetUpdateInfo

func (h ConfigHandler) GetUpdateInfo(ctx context.Context) (res keybase1.UpdateInfo, err error)

func (ConfigHandler) GetUpdateInfo2

func (h ConfigHandler) GetUpdateInfo2(ctx context.Context, arg keybase1.GetUpdateInfo2Arg) (res keybase1.UpdateInfo2, err error)

func (ConfigHandler) GetValue

func (h ConfigHandler) GetValue(ctx context.Context, path string) (ret keybase1.ConfigValue, err error)

func (ConfigHandler) GuiClearValue

func (h ConfigHandler) GuiClearValue(ctx context.Context, path string) error

func (ConfigHandler) GuiGetValue

func (h ConfigHandler) GuiGetValue(ctx context.Context, path string) (ret keybase1.ConfigValue, err error)

func (ConfigHandler) GuiSetValue

func (h ConfigHandler) GuiSetValue(ctx context.Context, arg keybase1.GuiSetValueArg) (err error)

func (ConfigHandler) HelloIAm

func (ConfigHandler) IsKBFSRunning

func (h ConfigHandler) IsKBFSRunning(ctx context.Context, sessionID int) (res bool, err error)

func (ConfigHandler) IsServiceRunning

func (h ConfigHandler) IsServiceRunning(ctx context.Context, sessionID int) (res bool, err error)

func (ConfigHandler) LogSend

func (h ConfigHandler) LogSend(ctx context.Context, arg keybase1.LogSendArg) (res keybase1.LogSendID, err error)

func (ConfigHandler) RequestFollowingAndUnverifiedFollowers

func (h ConfigHandler) RequestFollowingAndUnverifiedFollowers(ctx context.Context, sessionID int) error

func (ConfigHandler) SetPath

func (ConfigHandler) SetProxyData

func (h ConfigHandler) SetProxyData(ctx context.Context, arg keybase1.ProxyData) error

func (ConfigHandler) SetRememberPassphrase added in v1.0.43

func (h ConfigHandler) SetRememberPassphrase(ctx context.Context, arg keybase1.SetRememberPassphraseArg) error

func (ConfigHandler) SetUserConfig

func (h ConfigHandler) SetUserConfig(ctx context.Context, arg keybase1.SetUserConfigArg) (err error)

func (ConfigHandler) SetValue

func (h ConfigHandler) SetValue(ctx context.Context, arg keybase1.SetValueArg) (err error)

func (ConfigHandler) StartUpdateIfNeeded

func (h ConfigHandler) StartUpdateIfNeeded(ctx context.Context) error

func (ConfigHandler) ToggleRuntimeStats

func (h ConfigHandler) ToggleRuntimeStats(ctx context.Context) error

func (ConfigHandler) UpdateLastLoggedInAndServerConfig

func (h ConfigHandler) UpdateLastLoggedInAndServerConfig(
	ctx context.Context, serverConfigPath string) error

func (ConfigHandler) WaitForClient added in v1.0.19

func (h ConfigHandler) WaitForClient(_ context.Context, arg keybase1.WaitForClientArg) (bool, error)

type ContactsHandler

type ContactsHandler struct {
	libkb.Contextified
	*BaseHandler
	// contains filtered or unexported fields
}

func (*ContactsHandler) GetContactsForUserRecommendations

func (h *ContactsHandler) GetContactsForUserRecommendations(ctx context.Context, sessionID int) (res []keybase1.ProcessedContact, err error)

func (*ContactsHandler) LookupContactList

func (h *ContactsHandler) LookupContactList(ctx context.Context, arg keybase1.LookupContactListArg) (res []keybase1.ProcessedContact, err error)

func (*ContactsHandler) LookupSavedContactsList

func (h *ContactsHandler) LookupSavedContactsList(ctx context.Context, sessionID int) (res []keybase1.ProcessedContact, err error)

func (*ContactsHandler) SaveContactList

type CryptoHandler

type CryptoHandler struct {
	libkb.Contextified
}

func NewCryptoHandler

func NewCryptoHandler(g *libkb.GlobalContext) *CryptoHandler

func (*CryptoHandler) SignED25519

func (*CryptoHandler) SignED25519ForKBFS added in v1.0.19

func (*CryptoHandler) SignToString

func (c *CryptoHandler) SignToString(ctx context.Context, arg keybase1.SignToStringArg) (string, error)

func (*CryptoHandler) UnboxBytes32

func (*CryptoHandler) UnboxBytes32Any

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

BTC creates a BTCEngine and runs it.

func (*CryptocurrencyHandler) RegisterBTC added in v1.0.19

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) DbClean

func (c *CtlHandler) DbClean(ctx context.Context, arg keybase1.DbCleanArg) (err error)

func (*CtlHandler) DbDelete added in v1.0.19

func (c *CtlHandler) DbDelete(ctx context.Context, arg keybase1.DbDeleteArg) (err error)

func (*CtlHandler) DbGet added in v1.0.19

func (c *CtlHandler) DbGet(ctx context.Context, arg keybase1.DbGetArg) (ret *keybase1.DbValue, err error)

func (*CtlHandler) DbKeysWithPrefixes

func (c *CtlHandler) DbKeysWithPrefixes(ctx context.Context, arg keybase1.DbKeysWithPrefixesArg) (ret []keybase1.DbKey, err error)

func (*CtlHandler) DbNuke

func (c *CtlHandler) DbNuke(ctx context.Context, sessionID int) (err error)

func (*CtlHandler) DbPut added in v1.0.19

func (c *CtlHandler) DbPut(ctx context.Context, arg keybase1.DbPutArg) (err error)

func (*CtlHandler) GetOnLoginStartup

func (c *CtlHandler) GetOnLoginStartup(_ context.Context) (keybase1.OnLoginStartupStatus, error)

func (*CtlHandler) LogRotate

func (c *CtlHandler) LogRotate(_ context.Context, sessionID int) error

func (*CtlHandler) Reload

func (c *CtlHandler) Reload(_ context.Context, sessionID int) error

func (*CtlHandler) SetOnLoginStartup

func (c *CtlHandler) SetOnLoginStartup(_ context.Context, enabled bool) (err error)

func (*CtlHandler) Stop

func (c *CtlHandler) Stop(ctx context.Context, args keybase1.StopArg) error

Stop is called on the rpc keybase.1.ctl.stop, which shuts down the service.

func (*CtlHandler) StopService

func (c *CtlHandler) StopService(ctx context.Context, args keybase1.StopServiceArg) error

type DebuggingHandler

type DebuggingHandler struct {
	libkb.Contextified
	*BaseHandler
	// contains filtered or unexported fields
}

func NewDebuggingHandler

func NewDebuggingHandler(xp rpc.Transporter, g *libkb.GlobalContext, userHandler *UserHandler, walletHandler *walletHandler) *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) NewRemoteIdentifyUI added in v1.0.48

func (t *DebuggingHandler) NewRemoteIdentifyUI(sessionID int) *RemoteIdentifyUI

func (*DebuggingHandler) Script added in v1.0.48

func (t *DebuggingHandler) Script(ctx context.Context, arg keybase1.ScriptArg) (res string, err error)

See debugging_devel.go for additional scripts.

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) RegisterChatUI

func (d *DelegateUICtlHandler) RegisterChatUI(_ context.Context) error

func (*DelegateUICtlHandler) RegisterGregorFirehose added in v1.0.17

func (d *DelegateUICtlHandler) RegisterGregorFirehose(ctx context.Context) error

func (*DelegateUICtlHandler) RegisterGregorFirehoseFiltered added in v1.0.48

func (d *DelegateUICtlHandler) RegisterGregorFirehoseFiltered(ctx context.Context, oobmSystems []string) error

func (*DelegateUICtlHandler) RegisterHomeUI added in v1.0.40

func (d *DelegateUICtlHandler) RegisterHomeUI(_ context.Context) error

func (*DelegateUICtlHandler) RegisterIdentify3UI

func (d *DelegateUICtlHandler) RegisterIdentify3UI(ctx context.Context) error

func (*DelegateUICtlHandler) RegisterIdentifyUI

func (d *DelegateUICtlHandler) RegisterIdentifyUI(ctx context.Context) error

func (*DelegateUICtlHandler) RegisterLogUI

func (d *DelegateUICtlHandler) RegisterLogUI(_ 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
	// contains filtered or unexported fields
}

DeviceHandler is the RPC handler for the device interface.

func NewDeviceHandler

func NewDeviceHandler(xp rpc.Transporter, g *libkb.GlobalContext, gregor *gregorHandler) *DeviceHandler

NewDeviceHandler creates a DeviceHandler for the xp transport.

func (*DeviceHandler) CheckDeviceNameForUser added in v1.0.18

func (h *DeviceHandler) CheckDeviceNameForUser(ctx 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

func (h *DeviceHandler) DeviceList(ctx context.Context, sessionID int) ([]keybase1.Device, error)

DeviceList returns a list of all the devices for a user.

func (*DeviceHandler) DismissDeviceChangeNotifications

func (h *DeviceHandler) DismissDeviceChangeNotifications(c context.Context) (err error)

type EmailsHandler

type EmailsHandler struct {
	libkb.Contextified
	*BaseHandler
}

func NewEmailsHandler

func NewEmailsHandler(xp rpc.Transporter, g *libkb.GlobalContext) *EmailsHandler

func (*EmailsHandler) AddEmail

func (h *EmailsHandler) AddEmail(ctx context.Context, arg keybase1.AddEmailArg) (err error)

func (*EmailsHandler) DeleteEmail

func (h *EmailsHandler) DeleteEmail(ctx context.Context, arg keybase1.DeleteEmailArg) (err error)

func (*EmailsHandler) EditEmail

func (h *EmailsHandler) EditEmail(ctx context.Context, arg keybase1.EditEmailArg) (err error)

func (*EmailsHandler) GetEmails

func (h *EmailsHandler) GetEmails(ctx context.Context, sessionID int) (ret []keybase1.Email, err error)

func (*EmailsHandler) SendVerificationEmail

func (h *EmailsHandler) SendVerificationEmail(ctx context.Context, arg keybase1.SendVerificationEmailArg) (err error)

func (*EmailsHandler) SetPrimaryEmail

func (h *EmailsHandler) SetPrimaryEmail(ctx context.Context, arg keybase1.SetPrimaryEmailArg) (err error)

func (*EmailsHandler) SetVisibilityAllEmail

func (h *EmailsHandler) SetVisibilityAllEmail(ctx context.Context, arg keybase1.SetVisibilityAllEmailArg) (err error)

func (*EmailsHandler) SetVisibilityEmail

func (h *EmailsHandler) SetVisibilityEmail(ctx context.Context, arg keybase1.SetVisibilityEmailArg) (err error)

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(ctx context.Context, arg keybase1.FavoriteAddArg) error

FavoriteAdd handles the favoriteAdd RPC.

func (*FavoriteHandler) FavoriteIgnore added in v1.0.17

func (h *FavoriteHandler) FavoriteIgnore(ctx context.Context, arg keybase1.FavoriteIgnoreArg) error

FavoriteIgnore handles the favoriteIgnore RPC.

func (*FavoriteHandler) GetFavorites added in v1.0.17

func (h *FavoriteHandler) GetFavorites(ctx context.Context, sessionID int) (keybase1.FavoritesResult, error)

FavoriteList handles the favoriteList RPC.

type FeaturedBotHandler

type FeaturedBotHandler struct {
	*BaseHandler
	libkb.Contextified
}

func NewFeaturedBotHandler

func NewFeaturedBotHandler(xp rpc.Transporter, g *libkb.GlobalContext) *FeaturedBotHandler

func (*FeaturedBotHandler) FeaturedBots

func (*FeaturedBotHandler) Search

func (*FeaturedBotHandler) SearchLocal

func (h *FeaturedBotHandler) SearchLocal(ctx context.Context, arg keybase1.SearchLocalArg) (res keybase1.SearchRes, err error)

type GenericArg added in v1.0.17

type GenericArg interface {
	GetEndpoint() string
	GetHTTPArgs() []keybase1.StringKVPair
	GetHttpStatuses() []int
	GetAppStatusCodes() []int
}

type GetLockdownResponse

type GetLockdownResponse struct {
	libkb.AppStatusEmbed
	Enabled bool                       `json:"enabled"`
	History []keybase1.LockdownHistory `json:"history"`
}

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.FolderHandle) (res []keybase1.GitRepoResult, err error)

func (*GitHandler) GetTeamRepoSettings added in v1.0.40

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) HomeDismissAnnouncement

func (h *HomeHandler) HomeDismissAnnouncement(ctx context.Context, id keybase1.HomeScreenAnnouncementID) error

func (*HomeHandler) HomeGetScreen added in v1.0.34

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
	// contains filtered or unexported fields
}

func NewIdentifyHandler

func NewIdentifyHandler(xp rpc.Transporter, g *libkb.GlobalContext, s *Service) *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) (ret keybase1.IdentifyLiteRes, err error)

func (*IdentifyHandler) NormalizeSocialAssertion

func (h *IdentifyHandler) NormalizeSocialAssertion(ctx context.Context, assertion string) (socialAssertion keybase1.SocialAssertion, err error)

func (*IdentifyHandler) Resolve3 added in v1.0.27

func (*IdentifyHandler) ResolveIdentifyImplicitTeam added in v1.0.29

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 IncomingShareHandler

type IncomingShareHandler struct {
	*BaseHandler
	libkb.Contextified
}

func (*IncomingShareHandler) GetIncomingShareItems

func (h *IncomingShareHandler) GetIncomingShareItems(ctx context.Context) (items []keybase1.IncomingShareItem, err error)

func (*IncomingShareHandler) GetPreference

func (h *IncomingShareHandler) GetPreference(ctx context.Context) (
	pref keybase1.IncomingSharePreference, err error)

func (*IncomingShareHandler) SetPreference

func (h *IncomingShareHandler) SetPreference(ctx context.Context,
	preference keybase1.IncomingSharePreference) error

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 (*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 (*InstallHandler) InstallKBFS added in v1.0.29

func (*InstallHandler) UninstallKBFS added in v1.0.29

type InstallReferrerListener

type InstallReferrerListener interface {
	// StartInstallReferrerListener is used to get referrer information from the
	// google play store on Android (to implement deferred deep links). This is
	// asynchronous (due to the underlying play store api being so): pass it a
	// callback function which will be called with the referrer string once it
	// is available (or an empty string in case of errors).
	StartInstallReferrerListener(callback StringReceiver)
}

type InviteFriendsHandler

type InviteFriendsHandler struct {
	libkb.Contextified
	*BaseHandler
}

func (*InviteFriendsHandler) GetInviteCounts

func (h *InviteFriendsHandler) GetInviteCounts(ctx context.Context) (counts keybase1.InviteCounts, err error)

func (*InviteFriendsHandler) InvitePeople

func (h *InviteFriendsHandler) InvitePeople(ctx context.Context, arg keybase1.InvitePeopleArg) (succeeded int, err error)

func (*InviteFriendsHandler) RequestInviteCounts

func (h *InviteFriendsHandler) RequestInviteCounts(ctx context.Context) (err error)

type KBFSHandler

type KBFSHandler struct {
	*BaseHandler
	libkb.Contextified
	globals.ChatContextified
	// contains filtered or unexported fields
}

func NewKBFSHandler

func NewKBFSHandler(xp rpc.Transporter, g *libkb.GlobalContext, cg *globals.ChatContext, service *Service) *KBFSHandler

func (*KBFSHandler) CreateTLF added in v1.0.39

func (h *KBFSHandler) CreateTLF(ctx context.Context, arg keybase1.CreateTLFArg) error

func (*KBFSHandler) DecryptFavorites

func (h *KBFSHandler) DecryptFavorites(ctx context.Context,
	dataToEncrypt []byte) (res []byte, err error)

DecryptFavorites decrypts cached favorites stored on disk.

func (*KBFSHandler) EncryptFavorites

func (h *KBFSHandler) EncryptFavorites(ctx context.Context,
	dataToDecrypt []byte) (res []byte, err error)

EncryptFavorites encrypts cached favorites to store on disk.

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 (*KBFSHandler) FSFavoritesChangedEvent

func (h *KBFSHandler) FSFavoritesChangedEvent(_ context.Context) (err error)

func (*KBFSHandler) FSOnlineStatusChangedEvent

func (h *KBFSHandler) FSOnlineStatusChangedEvent(_ context.Context, online bool) error

func (*KBFSHandler) FSOverallSyncEvent

func (h *KBFSHandler) FSOverallSyncEvent(
	_ context.Context, arg keybase1.FolderSyncStatus) (err error)

func (*KBFSHandler) FSPathUpdate

func (h *KBFSHandler) FSPathUpdate(_ context.Context, path string) error

func (*KBFSHandler) FSSubscriptionNotifyEvent

func (h *KBFSHandler) FSSubscriptionNotifyEvent(_ context.Context, arg keybase1.FSSubscriptionNotifyEventArg) error

func (*KBFSHandler) FSSubscriptionNotifyPathEvent

func (h *KBFSHandler) FSSubscriptionNotifyPathEvent(_ context.Context, arg keybase1.FSSubscriptionNotifyPathEventArg) 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, arg keybase1.GetKBFSTeamSettingsArg) (ret keybase1.KBFSTeamSettings, err error)

func (*KBFSHandler) UpgradeTLF

func (h *KBFSHandler) UpgradeTLF(ctx context.Context, arg keybase1.UpgradeTLFArg) 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) GetKBFSPathInfo

func (h *KBFSMountHandler) GetKBFSPathInfo(ctx context.Context, standardPath string) (pathInfo keybase1.KBFSPathInfo, err error)

func (*KBFSMountHandler) GetPreferredMountDirs

func (h *KBFSMountHandler) GetPreferredMountDirs(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)

func (*KBFSMountHandler) WaitForMounts

func (h *KBFSMountHandler) WaitForMounts(ctx context.Context) (active bool, err error)

type KVStoreHandler

type KVStoreHandler struct {
	*BaseHandler
	sync.Mutex
	libkb.Contextified
	Boxer kvstore.KVStoreBoxer
}

func NewKVStoreHandler

func NewKVStoreHandler(xp rpc.Transporter, g *libkb.GlobalContext) *KVStoreHandler

func (*KVStoreHandler) DelKVEntry

func (*KVStoreHandler) GetKVEntry

func (h *KVStoreHandler) GetKVEntry(ctx context.Context, arg keybase1.GetKVEntryArg) (res keybase1.KVGetResult, err error)

func (*KVStoreHandler) ListKVEntries

func (*KVStoreHandler) ListKVNamespaces

func (*KVStoreHandler) PutKVEntry

func (h *KVStoreHandler) PutKVEntry(ctx context.Context, arg keybase1.PutKVEntryArg) (res keybase1.KVPutResult, err error)

type KeybaseAPISearchProvider

type KeybaseAPISearchProvider struct{}

func (*KeybaseAPISearchProvider) MakeSearchRequest

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) PerfLogPoint

func (h *LogHandler) PerfLogPoint(ctx context.Context, arg keybase1.PerfLogPointArg) (err error)

func (*LogHandler) RegisterLogger

func (h *LogHandler) RegisterLogger(_ context.Context, arg keybase1.RegisterLoggerArg) (err error)

type LogUI

type LogUI struct {
	// contains filtered or unexported fields
}

func NewLogUI

func NewLogUI(sessionID int, c *rpc.Client) *LogUI

func (*LogUI) Critical

func (l *LogUI) Critical(format string, args ...interface{})

func (*LogUI) Debug

func (l *LogUI) Debug(format string, args ...interface{})

func (*LogUI) Errorf

func (l *LogUI) Errorf(format string, args ...interface{})

func (*LogUI) Info

func (l *LogUI) Info(format string, args ...interface{})

func (*LogUI) Log

func (l *LogUI) Log(level keybase1.LogLevel, format string, args []interface{})

func (*LogUI) Notice

func (l *LogUI) Notice(format string, args ...interface{})

func (*LogUI) Warning

func (l *LogUI) Warning(format string, args ...interface{})

type LoginHandler

type LoginHandler struct {
	libkb.Contextified
	*BaseHandler
}

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, arg keybase1.AccountDeleteArg) error

func (*LoginHandler) Deprovision

func (h *LoginHandler) Deprovision(ctx context.Context, arg keybase1.DeprovisionArg) error

func (*LoginHandler) GetConfiguredAccounts

func (h *LoginHandler) GetConfiguredAccounts(context context.Context, sessionID int) ([]keybase1.ConfiguredAccount, error)

func (*LoginHandler) IsOnline

func (h *LoginHandler) IsOnline(ctx context.Context) (bool, error)

func (*LoginHandler) Login

func (h *LoginHandler) Login(ctx context.Context, arg keybase1.LoginArg) error

func (*LoginHandler) LoginOneshot added in v1.0.48

func (h *LoginHandler) LoginOneshot(ctx context.Context, arg keybase1.LoginOneshotArg) 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, arg keybase1.LoginWithPaperKeyArg) error

func (*LoginHandler) Logout

func (h *LoginHandler) Logout(ctx context.Context, arg keybase1.LogoutArg) (err error)

func (*LoginHandler) PaperKey

func (h *LoginHandler) PaperKey(ctx context.Context, sessionID int) error

func (*LoginHandler) PaperKeySubmit added in v1.0.17

func (h *LoginHandler) PaperKeySubmit(ctx context.Context, arg keybase1.PaperKeySubmitArg) error

func (*LoginHandler) RecoverAccountFromEmailAddress

func (h *LoginHandler) RecoverAccountFromEmailAddress(ctx context.Context, email string) error

func (*LoginHandler) RecoverPassphrase

func (h *LoginHandler) RecoverPassphrase(ctx context.Context, arg keybase1.RecoverPassphraseArg) error

func (*LoginHandler) Unlock

func (h *LoginHandler) Unlock(ctx context.Context, sessionID int) error

func (*LoginHandler) UnlockWithPassphrase

func (h *LoginHandler) UnlockWithPassphrase(ctx context.Context, arg keybase1.UnlockWithPassphraseArg) error

type LoginUI

type LoginUI struct {
	// contains filtered or unexported fields
}

func (*LoginUI) ChooseDeviceToRecoverWith

func (u *LoginUI) ChooseDeviceToRecoverWith(ctx context.Context, arg keybase1.ChooseDeviceToRecoverWithArg) (keybase1.DeviceID, error)

func (*LoginUI) DisplayPaperKeyPhrase

func (u *LoginUI) DisplayPaperKeyPhrase(ctx context.Context, arg keybase1.DisplayPaperKeyPhraseArg) error

func (*LoginUI) DisplayPrimaryPaperKey

func (u *LoginUI) DisplayPrimaryPaperKey(ctx context.Context, arg keybase1.DisplayPrimaryPaperKeyArg) error

func (*LoginUI) DisplayResetMessage

func (u *LoginUI) DisplayResetMessage(ctx context.Context, arg keybase1.DisplayResetMessageArg) error

func (*LoginUI) DisplayResetProgress

func (u *LoginUI) DisplayResetProgress(ctx context.Context, arg keybase1.DisplayResetProgressArg) error

func (*LoginUI) ExplainDeviceRecovery

func (u *LoginUI) ExplainDeviceRecovery(ctx context.Context, arg keybase1.ExplainDeviceRecoveryArg) error

func (*LoginUI) GetEmailOrUsername

func (u *LoginUI) GetEmailOrUsername(ctx context.Context, _ int) (string, error)

func (*LoginUI) PromptPassphraseRecovery

func (u *LoginUI) PromptPassphraseRecovery(ctx context.Context, arg keybase1.PromptPassphraseRecoveryArg) (bool, error)

func (*LoginUI) PromptResetAccount

func (*LoginUI) PromptRevokePaperKeys

func (u *LoginUI) PromptRevokePaperKeys(ctx context.Context, arg keybase1.PromptRevokePaperKeysArg) (bool, error)

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)

func (*MerkleHandler) VerifyMerkleRootAndKBFS

func (h *MerkleHandler) VerifyMerkleRootAndKBFS(ctx context.Context, arg keybase1.VerifyMerkleRootAndKBFSArg) (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

type PGPHandler

type PGPHandler struct {
	*BaseHandler
	libkb.Contextified
	// contains filtered or unexported fields
}

func (*PGPHandler) PGPDecrypt

func (*PGPHandler) PGPDeletePrimary

func (h *PGPHandler) PGPDeletePrimary(ctx context.Context, sessionID int) (err error)

func (*PGPHandler) PGPEncrypt

func (h *PGPHandler) PGPEncrypt(ctx context.Context, arg keybase1.PGPEncryptArg) error

func (*PGPHandler) PGPExport

func (h *PGPHandler) PGPExport(ctx context.Context, arg keybase1.PGPExportArg) (ret []keybase1.KeyInfo, err error)

func (*PGPHandler) PGPExportByFingerprint

func (h *PGPHandler) PGPExportByFingerprint(ctx context.Context, arg keybase1.PGPExportByFingerprintArg) (ret []keybase1.KeyInfo, err error)

func (*PGPHandler) PGPExportByKID

func (h *PGPHandler) PGPExportByKID(ctx context.Context, arg keybase1.PGPExportByKIDArg) (ret []keybase1.KeyInfo, err error)

func (*PGPHandler) PGPImport

func (h *PGPHandler) PGPImport(ctx context.Context, arg keybase1.PGPImportArg) error

func (*PGPHandler) PGPKeyGen

func (h *PGPHandler) PGPKeyGen(ctx 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(ctx context.Context, arg keybase1.PGPPullArg) error

func (*PGPHandler) PGPPullPrivate

func (h *PGPHandler) PGPPullPrivate(ctx context.Context, arg keybase1.PGPPullPrivateArg) error

func (*PGPHandler) PGPPurge added in v1.0.18

func (*PGPHandler) PGPPushPrivate

func (h *PGPHandler) PGPPushPrivate(ctx context.Context, arg keybase1.PGPPushPrivateArg) error

func (*PGPHandler) PGPSelect

func (h *PGPHandler) PGPSelect(nctx context.Context, sarg keybase1.PGPSelectArg) error

func (*PGPHandler) PGPSign

func (h *PGPHandler) PGPSign(ctx 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(ctx context.Context, arg keybase1.PGPUpdateArg) error

func (*PGPHandler) PGPVerify

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

type PhoneNumbersHandler

type PhoneNumbersHandler struct {
	libkb.Contextified
	*BaseHandler
}

func NewPhoneNumbersHandler

func NewPhoneNumbersHandler(xp rpc.Transporter, g *libkb.GlobalContext) *PhoneNumbersHandler

func (*PhoneNumbersHandler) AddPhoneNumber

func (h *PhoneNumbersHandler) AddPhoneNumber(ctx context.Context, arg keybase1.AddPhoneNumberArg) (err error)

func (*PhoneNumbersHandler) DeletePhoneNumber

func (h *PhoneNumbersHandler) DeletePhoneNumber(ctx context.Context, arg keybase1.DeletePhoneNumberArg) (err error)

func (*PhoneNumbersHandler) EditPhoneNumber

func (h *PhoneNumbersHandler) EditPhoneNumber(ctx context.Context, arg keybase1.EditPhoneNumberArg) (err error)

func (*PhoneNumbersHandler) GetPhoneNumbers

func (h *PhoneNumbersHandler) GetPhoneNumbers(ctx context.Context, sessionID int) (ret []keybase1.UserPhoneNumber, err error)

func (*PhoneNumbersHandler) ResendVerificationForPhoneNumber

func (h *PhoneNumbersHandler) ResendVerificationForPhoneNumber(ctx context.Context, arg keybase1.ResendVerificationForPhoneNumberArg) (err error)

func (*PhoneNumbersHandler) SetVisibilityAllPhoneNumber

func (h *PhoneNumbersHandler) SetVisibilityAllPhoneNumber(ctx context.Context, arg keybase1.SetVisibilityAllPhoneNumberArg) (err error)

func (*PhoneNumbersHandler) SetVisibilityPhoneNumber

func (h *PhoneNumbersHandler) SetVisibilityPhoneNumber(ctx context.Context, arg keybase1.SetVisibilityPhoneNumberArg) (err error)

func (*PhoneNumbersHandler) VerifyPhoneNumber

func (h *PhoneNumbersHandler) VerifyPhoneNumber(ctx context.Context, arg keybase1.VerifyPhoneNumberArg) (err error)

type PprofHandler added in v1.0.42

type PprofHandler struct {
	libkb.Contextified
	*BaseHandler
}

func NewPprofHandler added in v1.0.42

func NewPprofHandler(xp rpc.Transporter, g *libkb.GlobalContext) *PprofHandler

func (*PprofHandler) HeapProfile

func (c *PprofHandler) HeapProfile(ctx context.Context, arg keybase1.HeapProfileArg) (err error)

func (*PprofHandler) LogProcessorProfile added in v1.0.46

func (c *PprofHandler) LogProcessorProfile(_ context.Context, arg keybase1.LogProcessorProfileArg) (err error)

func (*PprofHandler) LogTrace added in v1.0.43

func (c *PprofHandler) LogTrace(_ context.Context, arg keybase1.LogTraceArg) (err error)

func (*PprofHandler) ProcessorProfile added in v1.0.46

func (c *PprofHandler) ProcessorProfile(_ context.Context, arg keybase1.ProcessorProfileArg) (err error)

func (*PprofHandler) Trace added in v1.0.42

func (c *PprofHandler) Trace(_ context.Context, arg keybase1.TraceArg) (err error)

type ProofSuggestion

type ProofSuggestion struct {
	keybase1.ProofSuggestion
	LogoKey  string
	Priority int
}

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(ctx context.Context, arg keybase1.CheckProofArg) (res keybase1.CheckProofStatus, err error)

Prove handles the `keybase.1.checkProof` RPC.

func (*ProveHandler) ListProofServices

func (ph *ProveHandler) ListProofServices(ctx context.Context) (res []string, err error)

func (*ProveHandler) ListSomeProofServices

func (ph *ProveHandler) ListSomeProofServices(ctx context.Context) (res []string, err error)

func (*ProveHandler) StartProof

func (ph *ProveHandler) StartProof(ctx context.Context, arg keybase1.StartProofArg) (res keybase1.StartProofResult, err error)

Prove handles the `keybase.1.startProof` RPC.

func (*ProveHandler) ValidateUsername

func (ph *ProveHandler) ValidateUsername(ctx context.Context, arg keybase1.ValidateUsernameArg) error

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(ctx context.Context, arg keybase1.GetRevokeWarningArg) (res keybase1.RevokeWarning, err error)

func (*RekeyHandler2) RekeyStatusFinish added in v1.0.18

func (r *RekeyHandler2) RekeyStatusFinish(_ context.Context, _ int) (ret keybase1.Outcome, err error)

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

func (r *RekeyUI) DelegateRekeyUI(ctx context.Context) (int, error)

DelegateRekeyUI shouldn't be called on this object since it should already have a sessionID.

func (*RekeyUI) Refresh added in v1.0.17

func (r *RekeyUI) Refresh(ctx context.Context, arg keybase1.RefreshArg) error

func (*RekeyUI) RekeySendEvent added in v1.0.18

func (r *RekeyUI) RekeySendEvent(ctx context.Context, arg keybase1.RekeySendEventArg) error

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) ChatBotCommandsUpdateStatus

func (r *RemoteChatUI) ChatBotCommandsUpdateStatus(ctx context.Context, convID chat1.ConversationID,
	status chat1.UIBotCommandsUpdateStatus) error

func (*RemoteChatUI) ChatClearWatch

func (r *RemoteChatUI) ChatClearWatch(ctx context.Context, watchID chat1.LocationWatchID) error

func (*RemoteChatUI) ChatCoinFlipStatus

func (r *RemoteChatUI) ChatCoinFlipStatus(ctx context.Context, statuses []chat1.UICoinFlipStatus) error

func (*RemoteChatUI) ChatCommandMarkdown

func (r *RemoteChatUI) ChatCommandMarkdown(ctx context.Context, convID chat1.ConversationID,
	md *chat1.UICommandMarkdown) error

func (*RemoteChatUI) ChatCommandStatus

func (r *RemoteChatUI) ChatCommandStatus(ctx context.Context, convID chat1.ConversationID, displayText string,
	typ chat1.UICommandStatusDisplayTyp, actions []chat1.UICommandStatusActionTyp) error

func (*RemoteChatUI) ChatConfirmChannelDelete added in v1.0.31

func (r *RemoteChatUI) ChatConfirmChannelDelete(ctx context.Context, arg chat1.ChatConfirmChannelDeleteArg) (bool, error)

func (*RemoteChatUI) ChatGiphySearchResults

func (r *RemoteChatUI) ChatGiphySearchResults(ctx context.Context, convID chat1.ConversationID,
	results chat1.GiphySearchResults) error

func (*RemoteChatUI) ChatGiphyToggleResultWindow

func (r *RemoteChatUI) ChatGiphyToggleResultWindow(ctx context.Context, convID chat1.ConversationID,
	show, clearInput 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) ChatInboxLayout

func (r *RemoteChatUI) ChatInboxLayout(ctx context.Context, layout string) error

func (*RemoteChatUI) ChatInboxUnverified added in v1.0.19

func (r *RemoteChatUI) ChatInboxUnverified(ctx context.Context, arg chat1.ChatInboxUnverifiedArg) error

func (*RemoteChatUI) ChatLoadGalleryHit

func (r *RemoteChatUI) ChatLoadGalleryHit(ctx context.Context, msg chat1.UIMessage) error

func (*RemoteChatUI) ChatMaybeMentionUpdate

func (r *RemoteChatUI) ChatMaybeMentionUpdate(ctx context.Context, teamName, channel string,
	info chat1.UIMaybeMentionInfo) error

func (*RemoteChatUI) ChatSearchBotHits

func (r *RemoteChatUI) ChatSearchBotHits(ctx context.Context, arg chat1.UIChatSearchBotHits) error

func (*RemoteChatUI) ChatSearchConvHits

func (r *RemoteChatUI) ChatSearchConvHits(ctx context.Context, arg chat1.UIChatSearchConvHits) error

func (*RemoteChatUI) ChatSearchDone added in v1.0.42

func (r *RemoteChatUI) ChatSearchDone(ctx context.Context, arg chat1.ChatSearchDoneArg) error

func (*RemoteChatUI) ChatSearchHit added in v1.0.42

func (r *RemoteChatUI) ChatSearchHit(ctx context.Context, arg chat1.ChatSearchHitArg) error

func (*RemoteChatUI) ChatSearchInboxDone

func (r *RemoteChatUI) ChatSearchInboxDone(ctx context.Context, arg chat1.ChatSearchInboxDoneArg) error

func (*RemoteChatUI) ChatSearchInboxHit

func (r *RemoteChatUI) ChatSearchInboxHit(ctx context.Context, arg chat1.ChatSearchInboxHitArg) error

func (*RemoteChatUI) ChatSearchInboxStart

func (r *RemoteChatUI) ChatSearchInboxStart(ctx context.Context) error

func (*RemoteChatUI) ChatSearchIndexStatus

func (r *RemoteChatUI) ChatSearchIndexStatus(ctx context.Context, arg chat1.ChatSearchIndexStatusArg) error

func (*RemoteChatUI) ChatSearchTeamHits

func (r *RemoteChatUI) ChatSearchTeamHits(ctx context.Context, arg chat1.UIChatSearchTeamHits) error

func (*RemoteChatUI) ChatShowManageChannels

func (r *RemoteChatUI) ChatShowManageChannels(ctx context.Context, teamname string) error

func (*RemoteChatUI) ChatStellarDataConfirm

func (r *RemoteChatUI) ChatStellarDataConfirm(ctx context.Context, summary chat1.UIChatPaymentSummary) (bool, error)

func (*RemoteChatUI) ChatStellarDataError

func (r *RemoteChatUI) ChatStellarDataError(ctx context.Context, err keybase1.Status) (bool, error)

func (*RemoteChatUI) ChatStellarDone

func (r *RemoteChatUI) ChatStellarDone(ctx context.Context, canceled bool) error

func (*RemoteChatUI) ChatStellarShowConfirm

func (r *RemoteChatUI) ChatStellarShowConfirm(ctx context.Context) error

func (*RemoteChatUI) ChatThreadCached added in v1.0.21

func (r *RemoteChatUI) ChatThreadCached(ctx context.Context, arg *string) error

func (*RemoteChatUI) ChatThreadFull added in v1.0.21

func (r *RemoteChatUI) ChatThreadFull(ctx context.Context, arg string) error

func (*RemoteChatUI) ChatThreadStatus

func (r *RemoteChatUI) ChatThreadStatus(ctx context.Context, status chat1.UIChatThreadStatus) error

func (*RemoteChatUI) ChatWatchPosition

func (*RemoteChatUI) TriggerContactSync

func (r *RemoteChatUI) TriggerContactSync(ctx context.Context) 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 (r *RemoteGPGUI) ConfirmDuplicateKeyChosen(ctx context.Context, _ int) (bool, error)

func (*RemoteGPGUI) ConfirmImportSecretToExistingKey

func (r *RemoteGPGUI) ConfirmImportSecretToExistingKey(ctx context.Context, _ int) (bool, error)

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 (*RemoteGPGUI) Sign

func (r *RemoteGPGUI) Sign(ctx context.Context, arg keybase1.SignArg) (string, error)

func (*RemoteGPGUI) WantToAddGPGKey

func (r *RemoteGPGUI) WantToAddGPGKey(ctx context.Context, _ int) (bool, error)

type RemoteIdentifyUI

type RemoteIdentifyUI struct {
	libkb.Contextified
	// contains filtered or unexported fields
}

func (*RemoteIdentifyUI) Cancel added in v1.0.18

func (u *RemoteIdentifyUI) Cancel(mctx libkb.MetaContext) error

func (*RemoteIdentifyUI) Confirm

func (*RemoteIdentifyUI) Dismiss added in v1.0.16

func (u *RemoteIdentifyUI) Dismiss(mctx libkb.MetaContext, username string, reason keybase1.DismissReason) error

func (*RemoteIdentifyUI) DisplayCryptocurrency

func (u *RemoteIdentifyUI) DisplayCryptocurrency(mctx libkb.MetaContext, c keybase1.Cryptocurrency) error

func (*RemoteIdentifyUI) DisplayKey

func (u *RemoteIdentifyUI) DisplayKey(mctx libkb.MetaContext, key keybase1.IdentifyKey) error

func (*RemoteIdentifyUI) DisplayStellarAccount

func (u *RemoteIdentifyUI) DisplayStellarAccount(mctx libkb.MetaContext, a keybase1.StellarAccount) error

func (*RemoteIdentifyUI) DisplayTLFCreateWithInvite added in v1.0.16

func (u *RemoteIdentifyUI) DisplayTLFCreateWithInvite(mctx libkb.MetaContext, arg keybase1.DisplayTLFCreateWithInviteArg) error

func (*RemoteIdentifyUI) DisplayTrackStatement

func (u *RemoteIdentifyUI) DisplayTrackStatement(mctx libkb.MetaContext, s string) error

func (*RemoteIdentifyUI) DisplayUserCard

func (u *RemoteIdentifyUI) DisplayUserCard(mctx libkb.MetaContext, card keybase1.UserCard) error

func (*RemoteIdentifyUI) Finish

func (u *RemoteIdentifyUI) Finish(mctx libkb.MetaContext) error

func (*RemoteIdentifyUI) FinishSocialProofCheck

func (u *RemoteIdentifyUI) FinishSocialProofCheck(mctx libkb.MetaContext, p keybase1.RemoteProof, lcr keybase1.LinkCheckResult) error

func (*RemoteIdentifyUI) FinishWebProofCheck

func (u *RemoteIdentifyUI) FinishWebProofCheck(mctx libkb.MetaContext, p keybase1.RemoteProof, lcr keybase1.LinkCheckResult) error

func (*RemoteIdentifyUI) LaunchNetworkChecks

func (u *RemoteIdentifyUI) LaunchNetworkChecks(mctx libkb.MetaContext, id *keybase1.Identity, user *keybase1.User) error

func (*RemoteIdentifyUI) ReportLastTrack

func (u *RemoteIdentifyUI) ReportLastTrack(mctx libkb.MetaContext, t *keybase1.TrackSummary) error

func (*RemoteIdentifyUI) ReportTrackToken

func (u *RemoteIdentifyUI) ReportTrackToken(mctx libkb.MetaContext, token keybase1.TrackToken) error

func (*RemoteIdentifyUI) SetStrict

func (u *RemoteIdentifyUI) SetStrict(b bool)

func (*RemoteIdentifyUI) Start

func (u *RemoteIdentifyUI) Start(mctx libkb.MetaContext, 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) OutputPGPWarning

func (u *RemotePgpUI) OutputPGPWarning(ctx context.Context, arg keybase1.OutputPGPWarningArg) error

func (*RemotePgpUI) OutputSignatureNonKeybase

func (u *RemotePgpUI) OutputSignatureNonKeybase(ctx context.Context, arg keybase1.OutputSignatureNonKeybaseArg) error

func (*RemotePgpUI) OutputSignatureSuccess

func (u *RemotePgpUI) OutputSignatureSuccess(ctx context.Context, arg keybase1.OutputSignatureSuccessArg) error

func (*RemotePgpUI) ShouldPushPrivate added in v1.0.18

func (u *RemotePgpUI) ShouldPushPrivate(ctx context.Context, arg keybase1.ShouldPushPrivateArg) (bool, error)

type RemoteProvisionUI

type RemoteProvisionUI struct {
	// contains filtered or unexported fields
}

func NewRemoteProvisionUI

func NewRemoteProvisionUI(sessionID int, c *rpc.Client) *RemoteProvisionUI

func (*RemoteProvisionUI) ChooseDevice

func (*RemoteProvisionUI) ChooseDeviceType

func (*RemoteProvisionUI) ChooseGPGMethod

func (*RemoteProvisionUI) ChooseProvisioningMethod

func (*RemoteProvisionUI) DisplayAndPromptSecret

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) ConfirmInviteLinkAccept

func (r *RemoteTeamsUI) ConfirmInviteLinkAccept(ctx context.Context, arg keybase1.ConfirmInviteLinkAcceptArg) (bool, error)

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(ctx context.Context, arg keybase1.RevokeDeviceArg) error

func (*RevokeHandler) RevokeKey

func (h *RevokeHandler) RevokeKey(ctx context.Context, arg keybase1.RevokeKeyArg) error

func (*RevokeHandler) RevokeSigs

func (h *RevokeHandler) RevokeSigs(ctx 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 (*SaltpackHandler) SaltpackDecryptFile

func (*SaltpackHandler) SaltpackDecryptString

func (*SaltpackHandler) SaltpackEncrypt

func (*SaltpackHandler) SaltpackEncryptFile

func (*SaltpackHandler) SaltpackEncryptStringToTextFile

func (*SaltpackHandler) SaltpackSaveCiphertextToFile

func (h *SaltpackHandler) SaltpackSaveCiphertextToFile(ctx context.Context, arg keybase1.SaltpackSaveCiphertextToFileArg) (s string, err error)

func (*SaltpackHandler) SaltpackSaveSignedMsgToFile

func (h *SaltpackHandler) SaltpackSaveSignedMsgToFile(ctx context.Context, arg keybase1.SaltpackSaveSignedMsgToFileArg) (s string, err error)

func (*SaltpackHandler) SaltpackSign

func (h *SaltpackHandler) SaltpackSign(ctx context.Context, arg keybase1.SaltpackSignArg) error

func (*SaltpackHandler) SaltpackSignFile

func (h *SaltpackHandler) SaltpackSignFile(ctx context.Context, arg keybase1.SaltpackSignFileArg) (s string, err error)

func (*SaltpackHandler) SaltpackSignString

func (h *SaltpackHandler) SaltpackSignString(ctx context.Context, arg keybase1.SaltpackSignStringArg) (string, error)

func (*SaltpackHandler) SaltpackSignStringToTextFile

func (h *SaltpackHandler) SaltpackSignStringToTextFile(ctx context.Context, arg keybase1.SaltpackSignStringToTextFileArg) (s string, err error)

func (*SaltpackHandler) SaltpackVerify

func (h *SaltpackHandler) SaltpackVerify(ctx context.Context, arg keybase1.SaltpackVerifyArg) error

func (*SaltpackHandler) SaltpackVerifyFile

func (*SaltpackHandler) SaltpackVerifyString

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(ctx 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(ctx 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 SelfProvisionHandler

type SelfProvisionHandler struct {
	*BaseHandler
	libkb.Contextified
}

func (*SelfProvisionHandler) SelfProvision

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) ConfigRPCServer

func (d *Service) ConfigRPCServer() (net.Listener, error)

func (*Service) GetExclusiveLock

func (d *Service) GetExclusiveLock() error

GetExclusiveLock grabs the exclusive lock over running keybase and then installs a shutdown hook to release the lock automatically on shutdown.

func (*Service) GetExclusiveLockWithoutAutoUnlock

func (d *Service) GetExclusiveLockWithoutAutoUnlock() error

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) GetUsage

func (d *Service) GetUsage() libkb.Usage

func (*Service) GetUserAvatar

func (d *Service) GetUserAvatar(username string) (string, error)

func (*Service) GregorDismiss added in v1.0.17

func (d *Service) GregorDismiss(id gregor.MsgID) error

func (*Service) GregorInject added in v1.0.17

func (d *Service) GregorInject(cat string, body []byte) (gregor.MsgID, error)

func (*Service) GregorInjectOutOfBandMessage added in v1.0.17

func (d *Service) GregorInjectOutOfBandMessage(sys string, body []byte) error

func (*Service) Handle

func (d *Service) Handle(c net.Conn)

func (*Service) HasGregor added in v1.0.17

func (d *Service) HasGregor() bool

func (*Service) ListenLoop

func (d *Service) ListenLoop(l net.Listener) (err error)

func (*Service) ListenLoopWithStopper

func (d *Service) ListenLoopWithStopper(l net.Listener) (exitCode keybase1.ExitCode, err error)

func (*Service) OnLogin added in v1.0.16

func (d *Service) OnLogin(mctx libkb.MetaContext) error

func (*Service) OnLogout added in v1.0.16

func (d *Service) OnLogout(m libkb.MetaContext) (err error)

func (*Service) ParseArgv

func (d *Service) ParseArgv(ctx *cli.Context) error

func (*Service) RegisterProtocols

func (d *Service) RegisterProtocols(srv *rpc.Server, xp rpc.Transporter, connID libkb.ConnectionID, logReg *logRegister) (err error)

func (*Service) ReleaseLock

func (d *Service) ReleaseLock(mctx libkb.MetaContext) error

ReleaseLock releases the locking pidfile by closing, unlocking and deleting it.

func (*Service) Run

func (d *Service) Run() (err error)

func (*Service) RunBackgroundOperations added in v1.0.19

func (d *Service) RunBackgroundOperations(uir *UIRouter)

func (*Service) SetGregorPushStateFilter added in v1.0.17

func (d *Service) SetGregorPushStateFilter(f func(m gregor.Message) bool)

func (*Service) SetInstallReferrerListener

func (d *Service) SetInstallReferrerListener(i InstallReferrerListener)

func (*Service) SetupChatModules

func (d *Service) SetupChatModules(ri func() chat1.RemoteInterface)

func (*Service) SetupCriticalSubServices added in v1.0.27

func (d *Service) SetupCriticalSubServices() error

func (*Service) SimulateGregorCrashForTesting added in v1.0.17

func (d *Service) SimulateGregorCrashForTesting()

func (*Service) StartLoopbackServer

func (d *Service) StartLoopbackServer(loginMode libkb.LoginAttempt) error

func (*Service) StartStandaloneChat added in v1.0.27

func (d *Service) StartStandaloneChat(g *libkb.GlobalContext) error

func (*Service) Stop

func (d *Service) Stop(exitCode keybase1.ExitCode)

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

func (h *SessionHandler) CurrentSession(ctx context.Context, sessionID int) (keybase1.Session, error)

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(ctx context.Context, arg keybase1.CheckUsernameAvailableArg) error

func (*SignupHandler) GetInvitationCode added in v1.0.19

func (h *SignupHandler) GetInvitationCode(c context.Context, sessionID int) (code string, err error)

func (*SignupHandler) InviteRequest

func (h *SignupHandler) InviteRequest(ctx context.Context, arg keybase1.InviteRequestArg) (err error)

func (*SignupHandler) Signup

func (h *SignupHandler) Signup(ctx context.Context, arg keybase1.SignupArg) (res keybase1.SignupRes, 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(ctx context.Context, arg keybase1.SigListArg) ([]keybase1.Sig, error)

func (*SigsHandler) SigListJSON

func (h *SigsHandler) SigListJSON(ctx 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

func (s *SimpleFSHandler) SimpleFSCancel(ctx context.Context, arg keybase1.OpID) error

SimpleFSCancel - Cancels a running operation, like copy.

func (*SimpleFSHandler) SimpleFSCancelDownload

func (s *SimpleFSHandler) SimpleFSCancelDownload(
	ctx context.Context, downloadID string) (err error)

func (*SimpleFSHandler) SimpleFSCancelJournalUploads

func (s *SimpleFSHandler) SimpleFSCancelJournalUploads(
	ctx context.Context, path keybase1.KBFSPath) (err error)

SimpleFSDismissUpload implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSCancelUpload

func (s *SimpleFSHandler) SimpleFSCancelUpload(
	ctx context.Context, uploadID string) (err error)

SimpleFSCancelUpload implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSCheck added in v1.0.19

func (s *SimpleFSHandler) SimpleFSCheck(ctx context.Context, arg keybase1.OpID) (keybase1.OpProgress, error)

SimpleFSCheck - Check progress of pending operation

func (*SimpleFSHandler) SimpleFSCheckReachability

func (s *SimpleFSHandler) SimpleFSCheckReachability(ctx context.Context) error

SimpleFSCheckReachability implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSClearConflictState

func (s *SimpleFSHandler) SimpleFSClearConflictState(ctx context.Context,
	path keybase1.Path) error

SimpleFSClearConflictState implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSClose added in v1.0.19

func (s *SimpleFSHandler) SimpleFSClose(ctx context.Context, arg keybase1.OpID) error

SimpleFSClose - Close OpID, cancels any pending operation. Must be called after list/copy/remove

func (*SimpleFSHandler) SimpleFSConfigureDownload

func (s *SimpleFSHandler) SimpleFSConfigureDownload(
	ctx context.Context, arg keybase1.SimpleFSConfigureDownloadArg) (err error)

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) SimpleFSDeobfuscatePath

func (s *SimpleFSHandler) SimpleFSDeobfuscatePath(
	ctx context.Context, path keybase1.Path) (res []string, err error)

SimpleFSDeobfuscatePath implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSDismissDownload

func (s *SimpleFSHandler) SimpleFSDismissDownload(
	ctx context.Context, downloadID string) (err error)

func (*SimpleFSHandler) SimpleFSDismissUpload

func (s *SimpleFSHandler) SimpleFSDismissUpload(
	ctx context.Context, uploadID string) (err error)

SimpleFSDismissUpload implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSDumpDebuggingInfo added in v1.0.46

func (s *SimpleFSHandler) SimpleFSDumpDebuggingInfo(ctx context.Context) error

SimpleFSDumpDebuggingInfo - Instructs KBFS to dump debugging info into its logs.

func (*SimpleFSHandler) SimpleFSFinishResolvingConflict

func (s *SimpleFSHandler) SimpleFSFinishResolvingConflict(ctx context.Context,
	path keybase1.Path) error

SimpleFSFinishResolvingConflict implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSFolderEditHistory

func (s *SimpleFSHandler) SimpleFSFolderEditHistory(
	ctx context.Context, path keybase1.Path) (
	res keybase1.FSFolderEditHistory, err error)

SimpleFSFolderEditHistory implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSFolderSyncConfigAndStatus

func (s *SimpleFSHandler) SimpleFSFolderSyncConfigAndStatus(
	ctx context.Context, path keybase1.Path) (
	keybase1.FolderSyncConfigAndStatus, error)

SimpleFSFolderSyncConfigAndStatus implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSForceStuckConflict

func (s *SimpleFSHandler) SimpleFSForceStuckConflict(
	ctx context.Context, path keybase1.Path) error

SimpleFSForceStuckConflict implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSGetDownloadInfo

func (s *SimpleFSHandler) SimpleFSGetDownloadInfo(
	ctx context.Context, downloadID string) (downloadInfo keybase1.DownloadInfo, err error)

func (*SimpleFSHandler) SimpleFSGetDownloadStatus

func (s *SimpleFSHandler) SimpleFSGetDownloadStatus(ctx context.Context) (
	status keybase1.DownloadStatus, err error)

func (*SimpleFSHandler) SimpleFSGetFilesTabBadge

func (s *SimpleFSHandler) SimpleFSGetFilesTabBadge(ctx context.Context) (
	keybase1.FilesTabBadge, error)

SimpleFSGetFilesTabBadge implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSGetFolder

func (s *SimpleFSHandler) SimpleFSGetFolder(
	ctx context.Context, kbfsPath keybase1.KBFSPath) (
	res keybase1.FolderWithFavFlags, err error)

SimpleFSGetFolder implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSGetGUIFileContext

func (s *SimpleFSHandler) SimpleFSGetGUIFileContext(ctx context.Context,
	path keybase1.KBFSPath) (resource keybase1.GUIFileContext, err error)

SimpleFSGetGUIFileContext implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSGetIndexProgress

func (s *SimpleFSHandler) SimpleFSGetIndexProgress(
	ctx context.Context) (res keybase1.SimpleFSIndexProgress, err error)

SimpleFSGetIndexProgress implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSGetOnlineStatus

func (s *SimpleFSHandler) SimpleFSGetOnlineStatus(
	ctx context.Context, clientID string) (keybase1.KbfsOnlineStatus, error)

SimpleFSGetOnlineStatus implements the SimpleFSInterface.

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) SimpleFSGetRevisions

func (s *SimpleFSHandler) SimpleFSGetRevisions(
	ctx context.Context, arg keybase1.SimpleFSGetRevisionsArg) error

SimpleFSGetRevisions - Get revision info for a directory entry

func (*SimpleFSHandler) SimpleFSGetStats

func (s *SimpleFSHandler) SimpleFSGetStats(ctx context.Context) (
	keybase1.SimpleFSStats, error)

SimpleFSGetStats implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSGetTeamQuotaUsage

func (s *SimpleFSHandler) SimpleFSGetTeamQuotaUsage(
	ctx context.Context, teamName keybase1.TeamName) (
	keybase1.SimpleFSQuotaUsage, error)

SimpleFSGetTeamQuotaUsage implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSGetUploadStatus

func (s *SimpleFSHandler) SimpleFSGetUploadStatus(
	ctx context.Context) (status []keybase1.UploadState, err error)

SimpleFSGetUploadStatus implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSGetUserQuotaUsage

func (s *SimpleFSHandler) SimpleFSGetUserQuotaUsage(ctx context.Context) (
	keybase1.SimpleFSQuotaUsage, error)

SimpleFSGetUserQuotaUsage implements the SimpleFSInterface.

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) SimpleFSListFavorites

func (s *SimpleFSHandler) SimpleFSListFavorites(ctx context.Context) (
	keybase1.FavoritesResult, error)

SimpleFSFolderSetSyncConfig implements the SimpleFSInterface.

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) SimpleFSListRecursiveToDepth

func (s *SimpleFSHandler) SimpleFSListRecursiveToDepth(ctx context.Context, arg keybase1.SimpleFSListRecursiveToDepthArg) error

SimpleFSListRecursiveToDepth - Begin recursive list of items in directory at path to a given depth.

func (*SimpleFSHandler) SimpleFSMakeOpid added in v1.0.19

func (s *SimpleFSHandler) SimpleFSMakeOpid(ctx context.Context) (keybase1.OpID, error)

SimpleFSMakeOpid - Convenience helper for generating new random value

func (*SimpleFSHandler) SimpleFSMakeTempDirForUpload

func (s *SimpleFSHandler) SimpleFSMakeTempDirForUpload(
	ctx context.Context) (dirPath string, err error)

SimpleFSMakeTempDirForUpload implements the SimpleFSInterface.

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) SimpleFSObfuscatePath

func (s *SimpleFSHandler) SimpleFSObfuscatePath(
	ctx context.Context, path keybase1.Path) (res string, err error)

SimpleFSObfuscatePath implements the SimpleFSInterface.

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

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) SimpleFSReadRevisions

func (s *SimpleFSHandler) SimpleFSReadRevisions(
	ctx context.Context, opID keybase1.OpID) (
	keybase1.GetRevisionsResult, error)

SimpleFSReadRevisions - Get list of revisions 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) SimpleFSReset

func (s *SimpleFSHandler) SimpleFSReset(
	ctx context.Context, arg keybase1.SimpleFSResetArg) (err error)

SimpleFSReset implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSResetIndex

func (s *SimpleFSHandler) SimpleFSResetIndex(ctx context.Context) error

SimpleFSResetIndex implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSSearch

SimpleFSSearch implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSSetDebugLevel

func (s *SimpleFSHandler) SimpleFSSetDebugLevel(
	ctx context.Context, level string) error

SimpleFSSetDebugLevel implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSSetFolderSyncConfig

func (s *SimpleFSHandler) SimpleFSSetFolderSyncConfig(
	ctx context.Context, arg keybase1.SimpleFSSetFolderSyncConfigArg) error

SimpleFSFolderSetSyncConfig implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSSetNotificationThreshold

func (s *SimpleFSHandler) SimpleFSSetNotificationThreshold(
	ctx context.Context, threshold int64) error

SimpleFSSetNotificationThreshold implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSSetSfmiBannerDismissed

func (s *SimpleFSHandler) SimpleFSSetSfmiBannerDismissed(ctx context.Context, dismissed bool) error

SimpleFSSetSfmiBannerDismissed implements the SimpleFSInterface.

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) SimpleFSSetSyncOnCellular

func (s *SimpleFSHandler) SimpleFSSetSyncOnCellular(
	ctx context.Context, syncOnCellular bool) error

SimpleFSSetSfmiBannerDismissed implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSSettings

func (s *SimpleFSHandler) SimpleFSSettings(
	ctx context.Context) (keybase1.FSSettings, error)

SimpleFSSettings implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSStartDownload

func (s *SimpleFSHandler) SimpleFSStartDownload(
	ctx context.Context, arg keybase1.SimpleFSStartDownloadArg) (downloadID string, err error)

func (*SimpleFSHandler) SimpleFSStartUpload

func (s *SimpleFSHandler) SimpleFSStartUpload(ctx context.Context,
	arg keybase1.SimpleFSStartUploadArg) (uploadID string, err error)

SimpleFSStartUpload implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSStat added in v1.0.19

SimpleFSStat - Get info about file

func (*SimpleFSHandler) SimpleFSSubscribeNonPath

func (s *SimpleFSHandler) SimpleFSSubscribeNonPath(ctx context.Context, arg keybase1.SimpleFSSubscribeNonPathArg) error

func (*SimpleFSHandler) SimpleFSSubscribePath

func (s *SimpleFSHandler) SimpleFSSubscribePath(ctx context.Context, arg keybase1.SimpleFSSubscribePathArg) error
func (s *SimpleFSHandler) SimpleFSSymlink(ctx context.Context, arg keybase1.SimpleFSSymlinkArg) error

SimpleFSSymlink - Make a symlink from KBFS to either elsewhere in KBFS or in the regular filesystem

func (*SimpleFSHandler) SimpleFSSyncConfigAndStatus

func (s *SimpleFSHandler) SimpleFSSyncConfigAndStatus(
	ctx context.Context, identifyBehavior *keybase1.TLFIdentifyBehavior) (keybase1.SyncConfigAndStatusRes, error)

SimpleFSSyncConfigAndStatus implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSSyncStatus added in v1.0.48

func (s *SimpleFSHandler) SimpleFSSyncStatus(ctx context.Context, filter keybase1.ListFilter) (keybase1.FSSyncStatus, error)

SimpleFSSyncStatus - Get sync status.

func (*SimpleFSHandler) SimpleFSUnsubscribe

func (s *SimpleFSHandler) SimpleFSUnsubscribe(ctx context.Context, arg keybase1.SimpleFSUnsubscribeArg) error

func (*SimpleFSHandler) SimpleFSUserEditHistory

func (s *SimpleFSHandler) SimpleFSUserEditHistory(ctx context.Context) (
	res []keybase1.FSFolderEditHistory, err error)

SimpleFSUserEditHistory implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSUserIn

func (s *SimpleFSHandler) SimpleFSUserIn(ctx context.Context, clientKey string) error

SimpleFSUserIn implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSUserOut

func (s *SimpleFSHandler) SimpleFSUserOut(ctx context.Context, clientKey string) error

SimpleFSUserOut implements the SimpleFSInterface.

func (*SimpleFSHandler) SimpleFSWait added in v1.0.19

func (s *SimpleFSHandler) SimpleFSWait(ctx context.Context, arg keybase1.OpID) error

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 StringReceiver

type StringReceiver interface {
	CallbackWithString(s string)
}

type TeamSearchHandler

type TeamSearchHandler struct {
	*BaseHandler
	libkb.Contextified
}

func (*TeamSearchHandler) TeamSearch

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, service *Service) *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) FindAssertionsInTeamNoResolve

func (h *TeamsHandler) FindAssertionsInTeamNoResolve(ctx context.Context, arg keybase1.FindAssertionsInTeamNoResolveArg) (ret []string, err error)

func (*TeamsHandler) FindNextMerkleRootAfterTeamRemoval

func (h *TeamsHandler) FindNextMerkleRootAfterTeamRemoval(ctx context.Context, arg keybase1.FindNextMerkleRootAfterTeamRemovalArg) (res keybase1.NextMerkleRootRes, err error)

func (*TeamsHandler) FindNextMerkleRootAfterTeamRemovalBySigningKey

func (h *TeamsHandler) FindNextMerkleRootAfterTeamRemovalBySigningKey(ctx context.Context, arg keybase1.FindNextMerkleRootAfterTeamRemovalBySigningKeyArg) (res keybase1.NextMerkleRootRes, err error)

func (*TeamsHandler) Ftl

func (*TeamsHandler) GetAnnotatedTeam

func (h *TeamsHandler) GetAnnotatedTeam(ctx context.Context, arg keybase1.TeamID) (res keybase1.AnnotatedTeam, err error)

func (*TeamsHandler) GetAnnotatedTeamByName

func (h *TeamsHandler) GetAnnotatedTeamByName(ctx context.Context, arg string) (res keybase1.AnnotatedTeam, err error)

func (*TeamsHandler) GetInviteLinkDetails

func (h *TeamsHandler) GetInviteLinkDetails(ctx context.Context, inviteID keybase1.TeamInviteID) (details keybase1.InviteLinkDetails, err error)

func (*TeamsHandler) GetTarsDisabled added in v1.0.40

func (h *TeamsHandler) GetTarsDisabled(ctx context.Context, teamID keybase1.TeamID) (res bool, err error)

func (*TeamsHandler) GetTeamAndMemberShowcase added in v1.0.34

func (h *TeamsHandler) GetTeamAndMemberShowcase(ctx context.Context, id keybase1.TeamID) (ret keybase1.TeamAndMemberShowcase, err error)

func (*TeamsHandler) GetTeamID

func (h *TeamsHandler) GetTeamID(ctx context.Context, teamName string) (res keybase1.TeamID, err error)

func (*TeamsHandler) GetTeamName

func (h *TeamsHandler) GetTeamName(ctx context.Context, teamID keybase1.TeamID) (res keybase1.TeamName, err error)

func (*TeamsHandler) GetTeamRoleMap

func (h *TeamsHandler) GetTeamRoleMap(ctx context.Context) (res keybase1.TeamRoleMapAndVersion, err error)

func (*TeamsHandler) GetTeamRootID added in v1.0.27

func (h *TeamsHandler) GetTeamRootID(ctx context.Context, id keybase1.TeamID) (keybase1.TeamID, error)

func (*TeamsHandler) GetTeamShowcase added in v1.0.34

func (h *TeamsHandler) GetTeamShowcase(ctx context.Context, teamID keybase1.TeamID) (ret keybase1.TeamShowcase, err error)

func (*TeamsHandler) GetUntrustedTeamInfo

func (h *TeamsHandler) GetUntrustedTeamInfo(ctx context.Context, name keybase1.TeamName) (info keybase1.UntrustedTeamInfo, 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) LoadTeamTreeMembershipsAsync

func (h *TeamsHandler) LoadTeamTreeMembershipsAsync(ctx context.Context,
	arg keybase1.LoadTeamTreeMembershipsAsyncArg) (res keybase1.TeamTreeInitial, err error)

func (*TeamsHandler) LookupImplicitTeam added in v1.0.29

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) ProfileTeamLoad

func (h *TeamsHandler) ProfileTeamLoad(ctx context.Context, arg keybase1.LoadTeamArg) (res keybase1.ProfileTeamLoadRes, 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 (*TeamsHandler) TeamAddMembers

TeamAddMembers returns err if adding members to team failed. Adding members is "all-or-nothing", except in the case that the 1st attempt fails due to some users having restrictive contact settings. In this situation, we retry adding just the non-restricted members. If this 2nd attempt succeeds, err=nil and TeamAddMembersResult contains a list of the users that weren't added. If the 2nd attempt fails, then an err is returned as usual.

func (*TeamsHandler) TeamAddMembersMultiRole

func (h *TeamsHandler) TeamAddMembersMultiRole(ctx context.Context, arg keybase1.TeamAddMembersMultiRoleArg) (res keybase1.TeamAddMembersResult, err 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) TeamCreateFancy

func (h *TeamsHandler) TeamCreateFancy(ctx context.Context, arg keybase1.TeamCreateFancyArg) (teamID keybase1.TeamID,
	err error)
func (h *TeamsHandler) TeamCreateSeitanInvitelink(ctx context.Context,
	arg keybase1.TeamCreateSeitanInvitelinkArg) (invitelink keybase1.Invitelink, err error)

func (*TeamsHandler) TeamCreateSeitanInvitelinkWithDuration

func (h *TeamsHandler) TeamCreateSeitanInvitelinkWithDuration(ctx context.Context,
	arg keybase1.TeamCreateSeitanInvitelinkWithDurationArg) (invitelink keybase1.Invitelink, 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) TeamCreateSeitanTokenV2 added in v1.0.42

func (h *TeamsHandler) TeamCreateSeitanTokenV2(ctx context.Context, arg keybase1.TeamCreateSeitanTokenV2Arg) (token keybase1.SeitanIKeyV2, 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) TeamEditMembers

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) TeamGetBotSettings

func (h *TeamsHandler) TeamGetBotSettings(ctx context.Context, arg keybase1.TeamGetBotSettingsArg) (res keybase1.TeamBotSettings, err error)

func (*TeamsHandler) TeamGetByID

func (h *TeamsHandler) TeamGetByID(ctx context.Context, arg keybase1.TeamGetByIDArg) (res keybase1.TeamDetails, err error)

func (*TeamsHandler) TeamGetMembersByID

func (h *TeamsHandler) TeamGetMembersByID(ctx context.Context, arg keybase1.TeamGetMembersByIDArg) (res []keybase1.TeamMemberDetails, err error)

func (*TeamsHandler) TeamGetSubteamsUnverified

func (h *TeamsHandler) TeamGetSubteamsUnverified(ctx context.Context, arg keybase1.TeamGetSubteamsUnverifiedArg) (res keybase1.SubteamListResult, err error)

func (*TeamsHandler) TeamIgnoreRequest added in v1.0.27

func (h *TeamsHandler) TeamIgnoreRequest(ctx context.Context, arg keybase1.TeamIgnoreRequestArg) (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, arg keybase1.TeamListRequestsArg) (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) TeamProfileAddList

func (h *TeamsHandler) TeamProfileAddList(ctx context.Context, arg keybase1.TeamProfileAddListArg) (res []keybase1.TeamProfileAddEntry, 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) TeamRemoveMembers

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 (*TeamsHandler) TeamRotateKey added in v1.0.39

func (h *TeamsHandler) TeamRotateKey(ctx context.Context, arg keybase1.TeamRotateKeyArg) (err error)

func (*TeamsHandler) TeamSetBotSettings

func (h *TeamsHandler) TeamSetBotSettings(ctx context.Context, arg keybase1.TeamSetBotSettingsArg) (err error)

func (*TeamsHandler) TeamSetSettings added in v1.0.33

func (h *TeamsHandler) TeamSetSettings(ctx context.Context, arg keybase1.TeamSetSettingsArg) (err error)

func (*TeamsHandler) TeamTreeUnverified

func (h *TeamsHandler) TeamTreeUnverified(ctx context.Context, arg keybase1.TeamTreeUnverifiedArg) (res keybase1.TeamTreeResult, err error)

func (*TeamsHandler) TryDecryptWithTeamKey

func (h *TeamsHandler) TryDecryptWithTeamKey(ctx context.Context, arg keybase1.TryDecryptWithTeamKeyArg) (ret []byte, err error)

func (*TeamsHandler) UntrustedTeamExists

func (h *TeamsHandler) UntrustedTeamExists(ctx context.Context, teamName keybase1.TeamName) (res keybase1.UntrustedTeamExistsResult, err error)

func (*TeamsHandler) UploadTeamAvatar

func (h *TeamsHandler) UploadTeamAvatar(ctx context.Context, arg keybase1.UploadTeamAvatarArg) (err error)

type TestHandler

type TestHandler struct {
	*BaseHandler
	libkb.Contextified
}

func NewTestHandler

func NewTestHandler(xp rpc.Transporter, g *libkb.GlobalContext) *TestHandler

func (TestHandler) Echo

func (TestHandler) Panic

func (t TestHandler) Panic(_ context.Context, message string) error

func (TestHandler) Test

func (t TestHandler) Test(ctx context.Context, arg keybase1.TestArg) (test keybase1.Test, err error)

func (TestHandler) TestAirdropReg

func (t TestHandler) TestAirdropReg(ctx context.Context) error

func (TestHandler) TestCallback

func (t TestHandler) TestCallback(_ context.Context, arg keybase1.TestCallbackArg) (s string, err error)

type TrackHandler

type TrackHandler struct {
	*BaseHandler
	libkb.Contextified
}

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

Track creates a TrackEngine and runs it.

func (*TrackHandler) TrackWithToken

func (h *TrackHandler) TrackWithToken(ctx context.Context, arg keybase1.TrackWithTokenArg) error

func (*TrackHandler) Untrack

func (h *TrackHandler) Untrack(ctx context.Context, arg keybase1.UntrackArg) error

Untrack creates an UntrackEngine and runs it.

type TrackerLoader

type TrackerLoader struct {
	libkb.Contextified
	sync.Mutex
	// contains filtered or unexported fields
}

func NewTrackerLoader

func NewTrackerLoader(g *libkb.GlobalContext) *TrackerLoader

func (*TrackerLoader) Queue

func (l *TrackerLoader) Queue(ctx context.Context, uid keybase1.UID) (err error)

func (*TrackerLoader) Run

func (l *TrackerLoader) Run(ctx context.Context)

func (*TrackerLoader) Shutdown

func (l *TrackerLoader) Shutdown(ctx context.Context) chan struct{}

type UIRouter

type UIRouter struct {
	sync.Mutex
	libkb.Contextified
	// contains filtered or unexported fields
}

func NewUIRouter

func NewUIRouter(g *libkb.GlobalContext) *UIRouter

func (*UIRouter) DumpUIs

func (u *UIRouter) DumpUIs() map[libkb.UIKind]libkb.ConnectionID

func (*UIRouter) GetChatUI

func (u *UIRouter) GetChatUI() (libkb.ChatUI, error)

func (*UIRouter) GetHomeUI added in v1.0.40

func (u *UIRouter) GetHomeUI() (keybase1.HomeUIInterface, error)

func (*UIRouter) GetIdentify3UI

func (u *UIRouter) GetIdentify3UI(m libkb.MetaContext) (keybase1.Identify3UiInterface, error)

func (*UIRouter) GetIdentify3UIAdapter

func (u *UIRouter) GetIdentify3UIAdapter(m libkb.MetaContext) (libkb.IdentifyUI, error)

func (*UIRouter) GetIdentifyUI

func (u *UIRouter) GetIdentifyUI() (libkb.IdentifyUI, error)

func (*UIRouter) GetIdentifyUICtx added in v1.0.21

func (u *UIRouter) GetIdentifyUICtx(ctx context.Context) (int, libkb.IdentifyUI, error)

func (*UIRouter) GetLogUI

func (u *UIRouter) GetLogUI() (libkb.LogUI, error)

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

func (u *UIRouter) GetSecretUI(sessionID int) (ui libkb.SecretUI, err error)

func (*UIRouter) SetUI

func (u *UIRouter) SetUI(c libkb.ConnectionID, k libkb.UIKind)

func (*UIRouter) Shutdown

func (u *UIRouter) Shutdown()

func (*UIRouter) WaitForUIType

func (u *UIRouter) WaitForUIType(uiKind libkb.UIKind, timeout time.Duration) bool

WaitForClientType returns true if a ui of the specified type is registered, or waits until timeout for such ui to register and returns false if this does not happen.

type UserBlockedHandler

type UserBlockedHandler interface {
	UserBlocked(m libkb.MetaContext, badUIDs map[keybase1.UID]bool) error
}

type UserHandler

type UserHandler struct {
	*BaseHandler
	libkb.Contextified
	globals.ChatContextified
	// contains filtered or unexported fields
}

UserHandler is the RPC handler for the user interface.

func NewUserHandler

func NewUserHandler(xp rpc.Transporter, g *libkb.GlobalContext, chatG *globals.ChatContext, s *Service) *UserHandler

NewUserHandler creates a UserHandler for the xp transport.

func (*UserHandler) BlockUser

func (h *UserHandler) BlockUser(ctx context.Context, username string) (err error)

func (*UserHandler) CanLogout

func (h *UserHandler) CanLogout(ctx context.Context, sessionID int) (res keybase1.CanLogoutRes, err error)

func (*UserHandler) DismissBlockButtons

func (h *UserHandler) DismissBlockButtons(ctx context.Context, tlfID keybase1.TLFID) (err error)

func (*UserHandler) FindNextMerkleRootAfterReset

func (h *UserHandler) FindNextMerkleRootAfterReset(ctx context.Context, arg keybase1.FindNextMerkleRootAfterResetArg) (ret keybase1.NextMerkleRootRes, err error)

func (*UserHandler) FindNextMerkleRootAfterRevoke

func (h *UserHandler) FindNextMerkleRootAfterRevoke(ctx context.Context, arg keybase1.FindNextMerkleRootAfterRevokeArg) (ret keybase1.NextMerkleRootRes, err error)

func (*UserHandler) GetTeamBlocks

func (h *UserHandler) GetTeamBlocks(ctx context.Context, sessionID int) (res []keybase1.TeamBlock, err error)

func (*UserHandler) GetUPAK added in v1.0.39

func (h *UserHandler) GetUPAK(ctx context.Context, arg keybase1.GetUPAKArg) (ret keybase1.UPAKVersioned, err error)

func (*UserHandler) GetUPAKLite

func (h *UserHandler) GetUPAKLite(ctx context.Context, uid keybase1.UID) (ret keybase1.UPKLiteV1AllIncarnations, err error)

func (*UserHandler) GetUserBlocks

func (h *UserHandler) GetUserBlocks(ctx context.Context, arg keybase1.GetUserBlocksArg) (res []keybase1.UserBlock, err error)

func (*UserHandler) InterestingPeople added in v1.0.27

func (h *UserHandler) InterestingPeople(ctx context.Context, args keybase1.InterestingPeopleArg) (res []keybase1.InterestingPerson, err error)

func (*UserHandler) ListTrackersUnverified

func (h *UserHandler) ListTrackersUnverified(ctx context.Context, arg keybase1.ListTrackersUnverifiedArg) (res keybase1.UserSummarySet, err error)

func (*UserHandler) ListTracking

func (h *UserHandler) ListTracking(ctx context.Context, arg keybase1.ListTrackingArg) (ret keybase1.UserSummarySet, err error)

func (*UserHandler) ListTrackingJSON

func (h *UserHandler) ListTrackingJSON(ctx 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 (h *UserHandler) LoadMyPublicKeys(ctx context.Context, sessionID int) (keys []keybase1.PublicKey, err error)

func (*UserHandler) LoadMySettings added in v1.0.19

func (h *UserHandler) LoadMySettings(ctx context.Context, sessionID int) (res keybase1.UserSettings, err error)

func (*UserHandler) LoadPassphraseState

func (h *UserHandler) LoadPassphraseState(ctx context.Context, sessionID int) (res keybase1.PassphraseState, err error)

func (*UserHandler) LoadPublicKeys

func (h *UserHandler) LoadPublicKeys(ctx context.Context, arg keybase1.LoadPublicKeysArg) (keys []keybase1.PublicKey, err 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) LoadUserPlusKeysV2 added in v1.0.46

func (*UserHandler) MeUserVersion added in v1.0.34

func (h *UserHandler) MeUserVersion(ctx context.Context, arg keybase1.MeUserVersionArg) (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) ProofSuggestions

func (h *UserHandler) ProofSuggestions(ctx context.Context, sessionID int) (ret keybase1.ProofSuggestionsRes, err error)

func (*UserHandler) ReportUser

func (h *UserHandler) ReportUser(ctx context.Context, arg keybase1.ReportUserArg) (err error)

func (*UserHandler) SetUserBlocks

func (h *UserHandler) SetUserBlocks(ctx context.Context, arg keybase1.SetUserBlocksArg) (err error)

func (*UserHandler) UnblockUser

func (h *UserHandler) UnblockUser(ctx context.Context, username string) (err error)

func (*UserHandler) UploadUserAvatar

func (h *UserHandler) UploadUserAvatar(ctx context.Context, arg keybase1.UploadUserAvatarArg) (err error)

func (*UserHandler) UserCard

func (h *UserHandler) UserCard(ctx context.Context, arg keybase1.UserCardArg) (res *keybase1.UserCard, err error)

type UserSearchHandler

type UserSearchHandler struct {
	libkb.Contextified
	*BaseHandler
	// contains filtered or unexported fields
}

func (*UserSearchHandler) BulkEmailOrPhoneSearch

func (*UserSearchHandler) GetNonUserDetails

func (h *UserSearchHandler) GetNonUserDetails(ctx context.Context, arg keybase1.GetNonUserDetailsArg) (res keybase1.NonUserDetails, err error)

func (*UserSearchHandler) UserSearch

type UserSearchProvider

type UserSearchProvider interface {
	MakeSearchRequest(libkb.MetaContext, keybase1.UserSearchArg) ([]keybase1.APIUserSearchResult, error)
}

type UserWasLoggedOutError

type UserWasLoggedOutError struct{}

func (UserWasLoggedOutError) Error

func (e UserWasLoggedOutError) Error() string

func (UserWasLoggedOutError) ToStatus

func (e UserWasLoggedOutError) ToStatus() (s keybase1.Status)

type WaitingForKBFSTimeoutError

type WaitingForKBFSTimeoutError struct {
	// contains filtered or unexported fields
}

func (WaitingForKBFSTimeoutError) Cause

Cause makes it work with errors.Cause().

func (WaitingForKBFSTimeoutError) Error

Error implements the error interface.

func (WaitingForKBFSTimeoutError) HumanError

func (e WaitingForKBFSTimeoutError) HumanError() error

HumanError implements the HumanErrorer interface used in libkb/errors. Without this, the Cause will end up being returned to GUI.

func (WaitingForKBFSTimeoutError) ToStatus

ToStatus implements the ExportableError interface.

type WebOfTrustHandler

type WebOfTrustHandler struct {
	*BaseHandler
	libkb.Contextified
}

func NewWebOfTrustHandler

func NewWebOfTrustHandler(xp rpc.Transporter, g *libkb.GlobalContext) *WebOfTrustHandler

func (*WebOfTrustHandler) DismissWotNotifications

func (h *WebOfTrustHandler) DismissWotNotifications(ctx context.Context, arg keybase1.DismissWotNotificationsArg) (err error)

func (*WebOfTrustHandler) WotFetchVouches

func (h *WebOfTrustHandler) WotFetchVouches(ctx context.Context, arg keybase1.WotFetchVouchesArg) (res []keybase1.WotVouch, err error)

func (*WebOfTrustHandler) WotReact

func (*WebOfTrustHandler) WotVouch

func (h *WebOfTrustHandler) WotVouch(ctx context.Context, arg keybase1.WotVouchArg) (err error)

func (*WebOfTrustHandler) WotVouchCLI

func (h *WebOfTrustHandler) WotVouchCLI(ctx context.Context, arg keybase1.WotVouchCLIArg) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL