client

package
v0.0.0-...-66acf6f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: BSD-3-Clause Imports: 74 Imported by: 0

Documentation ¶

Overview ¶

this command is only for testing purposes

this is the list of commands for all versions of the client.

this is the list of commands for the devel version of the client.

Index ¶

Constants ¶

View Source
const (
	GET httpMethod = iota
	POST
	DELETE
)
View Source
const (
	PromptDescriptorGeneric libkb.PromptDescriptor = iota
	PromptDescriptorRevokePaperKeys
	PromptDescriptorReregister
	PromptDescriptorInviteOK
	PromptDescriptorPGPGenPushSecret
	PromptDescriptorPGPGenEncryptSecret
	PromptDescriptorDoctorWhichAccount
	PromptDescriptorDoctorSignOK
	PromptDescriptorGPGOKToAdd
	PromptDescriptorGPGConfirmDuplicateKey
	PromptDescriptorTrackAction
	PromptDescriptorTrackPublic
	PromptDescriptorProvePreWarning
	PromptDescriptorProveOKToCheck
	PromptDescriptorProveOverwriteOK
	PromptDescriptorLocksmithDeviceName
	PromptDescriptorLocksmithSigningOption
	PromptDescriptorGPGSelectKey
	PromptDescriptorLoginUsername
	PromptDescriptorLoginWritePaper
	PromptDescriptorLoginWallet
	PromptDescriptorSignupFullName
	PromptDescriptorSignupNotes
	PromptDescriptorSignupUsername
	PromptDescriptorSignupEmail
	PromptDescriptorSignupReenterPassphrase
	PromptDescriptorSignupDevice
	PromptDescriptorSignupCode
	PromptDescriptorChooseProvisioningMethod
	PromptDescriptorChooseGPGMethod
	PromptDescriptorChooseDevice
	PromptDescriptorChooseDeviceType
	PromptDescriptorProvisionPhrase
	PromptDescriptorProvisionDeviceName
	PromptDescriptorProvisionSwitchToGPGSign
	PromptDescriptorExportSecretKeyFromGPG
	PromptDescriptorDeprovisionWhichUser
	PromptDescriptorUpdateDo
	PromptDescriptorUpdateAuto
	PromptDescriptorUpdateSnooze
	PromptDescriptorDecryptInteractive
	PromptDescriptorPGPGenEnterID
	PromptDescriptorTrackExpireLocal
	PromptDescriptorChooseConversation
	PromptDescriptorEnterChatTLFName
	PromptDescriptorEnterChatMessage
	PromptDescriptorDeviceRevoke
	PromptDescriptorFSOverwrite
	PromptDescriptorRemoveMember
	PromptDescriptorDeleteRootTeam
	PromptDescriptorDeleteSubteam
	PromptDescriptorChatDeleteHistory
	PromptDescriptorChatSetRetention
	PromptDescriptorImportStellarSecretKey
	PromptDescriptorConfirmStellarImport
	PromptDescriptorChatSetConvMinWriterRole
	PromptDescriptorChangeLockdownMode
	PromptDescriptorImportStellarAccountName
	PromptDescriptorStellarDisclaimer
	PromptDescriptorPaperKey
	PromptDescriptorStellarConfirm
	PromptDescriptorResetAccount
	PromptDescriptorPassphraseRecovery
	PromptDescriptorStellarURIAmount
	PromptDescriptorAccountDeleteConfirmation
	PromptDescriptorChatEmojiRemove
)
View Source
const (
	OutputDescriptorGeneric libkb.OutputDescriptor = iota
	OutputDescriptorPrimaryPaperKey
	OutputDescriptorEndageredTLFs
	OutputDescriptorHomeDump
	OutputDescriptorBadgeDump
	OutputDescriptorTeamList
)
View Source
const (
	PGPStorage = "pgp-storage"
)

Variables ¶

View Source
var (
	CpBold          = CodePair{1, 22}
	CpDim           = CodePair{2, 22}
	CpItalic        = CodePair{3, 23}
	CpUnderline     = CodePair{4, 24}
	CpStrikethrough = CodePair{9, 29}
)
View Source
var AppHelpTemplate = `` /* 549-byte string literal not displayed */

AppHelpTemplate is used for `keybase help` or `keybase -h`.

View Source
var BADX = "âś–"
View Source
var BTC = "฿"
View Source
var CHECK = "âś”"
View Source
var CheckOptionalEmail = libkb.Checker{
	F: func(s string) bool {
		if len(s) == 0 {
			return true
		}
		return libkb.CheckEmail.F(s)
	},
	Hint: libkb.CheckEmail.Hint,
}
View Source
var CheckRealName = libkb.Checker{
	F: func(s string) bool {
		nameID, err := libkb.ParseIdentity(s)
		if err != nil {
			return false
		}
		return len(nameID.Username) > 0 && len(nameID.Comment) == 0 && len(nameID.Email) == 0
	},
	Hint: "for example: \"Ned Snowben\"",
}
View Source
var CommandHelpTemplate = `` /* 538-byte string literal not displayed */

CommandHelpTemplate is used for `keybase help cmd` or `keybase cmd help subcmd`.

View Source
var ErrAmountMissing = errors.New("'amount' option is required")

ErrAmountMissing is for missing amount options.

View Source
var ErrDestinationMissing = errors.New("'destination' option is required")

ErrDestinationMissing is for missing destination options.

View Source
var ErrDuplicateSource = errors.New("Can't handle both a passed message and an infile")
View Source
var ErrInputCanceled libkb.InputCanceledError
View Source
var ErrInvalidAccountID = errors.New("invalid stellar account ID")

ErrInvalidAccountID is for invalid account IDs.

View Source
var ErrInvalidAmount = errors.New("invalid amount")

ErrInvalidAmount is for invalid payment amounts.

View Source
var ErrInvalidSourceMax = errors.New("invalid source asset maximum amount")

ErrInvalidSourceMax is for invalid source asset maximum amounts

View Source
var ErrInvalidTxID = errors.New("invalid stellar transaction ID")

ErrInvalidTxID is for invalid transaction IDs.

View Source
var ErrMemoTextTooLong = errors.New("memo text is too long (max 28 characters)")

ErrMemoTextTooLong is for lengthy memos.

View Source
var ErrMessageTooLong = errors.New("message is too long")

ErrMessageTooLong is for lengthy payment messages.

View Source
var ErrNameMissing = errors.New("'name' option is required")

ErrNameMissing is for missing name options.

View Source
var ErrPathMaxExceeded = errors.New("payment path could exceed source asset limit")

ErrInvalidSourceMax is for when a payment path would exceed the source asset maximum

View Source
var ErrRecipientMissing = errors.New("'recipient' option is required")

ErrRecipientMissing is for missing recipient options.

View Source
var ErrTargetFileExists = errors.New("target file exists")
View Source
var INDENT = 3
View Source
var SmallKey = 1024
View Source
var SubcommandHelpTemplate = `` /* 222-byte string literal not displayed */

SubcommandHelpTemplate is used for `keybase cmd` with no other arguments when `cmd` has subcommands. Or for `keybase cmd help` when `cmd` has subcommands.

View Source
var XLM = "🚀"

Functions ¶

func AddPGPMultiInstructions ¶

func AddPGPMultiInstructions(err error) error

func AllowStellarPayments ¶

func AllowStellarPayments(enabled bool) func(*ChatAPIUI)

func AutoForkServer ¶

func AutoForkServer(g *libkb.GlobalContext, cl libkb.CommandLine) (bool, error)

AutoForkServer just forks the server and sets the autoFork flag to true

func BoolString ¶

func BoolString(b bool, t, f string) string

BoolString maps a bool to true and false strings (like "yes" and "no"). For example: BoolString(b, "yes", "no").

func CheckUserOrTeamName ¶

func CheckUserOrTeamName(ctx context.Context, g *libkb.GlobalContext, name string) (res keybase1.UserOrTeamResult, err error)

func ColorBytes ¶

func ColorBytes(g *libkb.GlobalContext, which string, text []byte) []byte

func ColorClose ¶

func ColorClose(g *libkb.GlobalContext, which string) []byte

func ColorOpen ¶

func ColorOpen(g *libkb.GlobalContext, which string) []byte

func ColorString ¶

func ColorString(g *libkb.GlobalContext, which, format string, args ...interface{}) string

func DefaultTabWriter ¶

func DefaultTabWriter(g *libkb.GlobalContext) *tabwriter.Writer

func DiagnoseSocketError ¶

func DiagnoseSocketError(ui libkb.UI, err error)

DebugSocketError allows platforms to help the user diagnose and resolve socket errors.

func FixVersionClash ¶

func FixVersionClash(g *libkb.GlobalContext, cl libkb.CommandLine) (err error)

func ForkServer ¶

func ForkServer(g *libkb.GlobalContext, cl libkb.CommandLine, forkType keybase1.ForkType) (bool, error)

ForkServer forks a new background Keybase service, and waits until it's pingable. It will only do something useful on Unixes; it won't work on Windows (probably?). Returns an error if anything bad happens; otherwise, assume that the server was successfully started up. Returns (true, nil) if the server was actually forked, or (false, nil) if it was previously up.

func GetAPIServerClient ¶

func GetAPIServerClient(g *libkb.GlobalContext) (cli keybase1.ApiserverClient, err error)

func GetAccountClient ¶

func GetAccountClient(g *libkb.GlobalContext) (cli keybase1.AccountClient, err error)

func GetAuditClient ¶

func GetAuditClient(g *libkb.GlobalContext) (cli keybase1.AuditClient, err error)

func GetBadgerClient ¶

func GetBadgerClient(g *libkb.GlobalContext) (cli keybase1.BadgerClient, err error)

func GetBotClient ¶

func GetBotClient(g *libkb.GlobalContext) (cli keybase1.BotClient, err error)

func GetChatLocalClient ¶

func GetChatLocalClient(g *libkb.GlobalContext) (cli chat1.LocalClient, err error)

func GetConfigClient ¶

func GetConfigClient(g *libkb.GlobalContext) (cli keybase1.ConfigClient, err error)

func GetContactsClient ¶

func GetContactsClient(g *libkb.GlobalContext) (cli keybase1.ContactsClient, err error)

func GetCryptocurrencyClient ¶

func GetCryptocurrencyClient(g *libkb.GlobalContext) (cli keybase1.CryptocurrencyClient, err error)

func GetCtlClient ¶

func GetCtlClient(g *libkb.GlobalContext) (cli keybase1.CtlClient, err error)

func GetDebuggingClient ¶

func GetDebuggingClient(g *libkb.GlobalContext) (cli keybase1.DebuggingClient, err error)

func GetDeviceClient ¶

func GetDeviceClient(g *libkb.GlobalContext) (cli keybase1.DeviceClient, err error)

func GetEmailsClient ¶

func GetEmailsClient(g *libkb.GlobalContext) (cli keybase1.EmailsClient, err error)

func GetExtraFlags ¶

func GetExtraFlags() []cli.Flag

GetExtraFlags gets the extra fork-related flags for this platform

func GetFavoriteClient ¶

func GetFavoriteClient(g *libkb.GlobalContext) (cli keybase1.FavoriteClient, err error)

func GetFeaturedBotsClient ¶

func GetFeaturedBotsClient(g *libkb.GlobalContext) (cli keybase1.FeaturedBotClient, err error)

func GetGitClient ¶

func GetGitClient(g *libkb.GlobalContext) (cli keybase1.GitClient, err error)

func GetHelpTopics ¶

func GetHelpTopics() []cli.HelpTopic

func GetHomeClient ¶

func GetHomeClient(g *libkb.GlobalContext) (cli keybase1.HomeClient, err error)

func GetIdentifyClient ¶

func GetIdentifyClient(g *libkb.GlobalContext) (cli keybase1.IdentifyClient, err error)

func GetKBFSClient ¶

func GetKBFSClient(g *libkb.GlobalContext) (cli keybase1.KbfsClient, err error)

func GetKBFSMountClient ¶

func GetKBFSMountClient(g *libkb.GlobalContext) (cli keybase1.KbfsMountClient, err error)

func GetKVStoreClient ¶

func GetKVStoreClient(g *libkb.GlobalContext) (cli keybase1.KvstoreClient, err error)

func GetLogClient ¶

func GetLogClient(g *libkb.GlobalContext) (cli keybase1.LogClient, err error)

func GetLoginClient ¶

func GetLoginClient(g *libkb.GlobalContext) (cli keybase1.LoginClient, err error)

func GetLogsendClient ¶

func GetLogsendClient(g *libkb.GlobalContext) (cli keybase1.LogsendClient, err error)

func GetMerkleClient ¶

func GetMerkleClient(g *libkb.GlobalContext) (cli keybase1.MerkleClient, err error)

func GetNodeAttrVal ¶

func GetNodeAttrVal(node *html.Node, which string) *string

func GetNotifyCtlClient ¶

func GetNotifyCtlClient(g *libkb.GlobalContext) (cli keybase1.NotifyCtlClient, err error)

func GetPGPClient ¶

func GetPGPClient(g *libkb.GlobalContext) (cli keybase1.PGPClient, err error)

func GetPaperProvisionClient ¶

func GetPaperProvisionClient(g *libkb.GlobalContext) (cli keybase1.PaperprovisionClient, err error)

func GetPhoneNumbersClient ¶

func GetPhoneNumbersClient(g *libkb.GlobalContext) (cli keybase1.PhoneNumbersClient, err error)

func GetPprofClient ¶

func GetPprofClient(g *libkb.GlobalContext) (cli keybase1.PprofClient, err error)

func GetProveClient ¶

func GetProveClient(g *libkb.GlobalContext) (cli keybase1.ProveClient, err error)

func GetRPCClientWithContext ¶

func GetRPCClientWithContext(g *libkb.GlobalContext) (ret *rpc.Client, xp rpc.Transporter, err error)

func GetRPCServer ¶

func GetRPCServer(g *libkb.GlobalContext) (ret *rpc.Server, xp rpc.Transporter, err error)

func GetRekeyClient ¶

func GetRekeyClient(g *libkb.GlobalContext) (keybase1.RekeyClient, error)

func GetRevokeClient ¶

func GetRevokeClient(g *libkb.GlobalContext) (cli keybase1.RevokeClient, err error)

func GetSaltpackClient ¶

func GetSaltpackClient(g *libkb.GlobalContext) (cli keybase1.SaltpackClient, err error)

func GetScanProofsClient ¶

func GetScanProofsClient(g *libkb.GlobalContext) (cli keybase1.ScanProofsClient, err error)

func GetScanProofsDescription ¶

func GetScanProofsDescription() string

func GetSecretKeysClient ¶

func GetSecretKeysClient(g *libkb.GlobalContext) (cli keybase1.SecretKeysClient, err error)

func GetSelfProvisionClient ¶

func GetSelfProvisionClient(g *libkb.GlobalContext) (cli keybase1.SelfprovisionClient, err error)

func GetSignupClient ¶

func GetSignupClient(g *libkb.GlobalContext) (cli keybase1.SignupClient, err error)

func GetSigsClient ¶

func GetSigsClient(g *libkb.GlobalContext) (cli keybase1.SigsClient, err error)

func GetSimpleFSClient ¶

func GetSimpleFSClient(g *libkb.GlobalContext) (cli keybase1.SimpleFSClient, err error)

func GetTeamSearchClient ¶

func GetTeamSearchClient(g *libkb.GlobalContext) (cli keybase1.TeamSearchClient, err error)

func GetTeamsClient ¶

func GetTeamsClient(g *libkb.GlobalContext) (cli keybase1.TeamsClient, err error)

func GetTestClient ¶

func GetTestClient(g *libkb.GlobalContext) (cli keybase1.TestClient, err error)

func GetTlfClient ¶

func GetTlfClient(g *libkb.GlobalContext) (cli keybase1.TlfClient, err error)

func GetTrackClient ¶

func GetTrackClient(g *libkb.GlobalContext) (cli keybase1.TrackClient, err error)

func GetUserClient ¶

func GetUserClient(g *libkb.GlobalContext) (cli keybase1.UserClient, err error)

func GetUserSearchClient ¶

func GetUserSearchClient(g *libkb.GlobalContext) (cli keybase1.UserSearchClient, err error)

func GetWalletClient ¶

func GetWalletClient(g *libkb.GlobalContext) (cli stellar1.LocalClient, err error)

func GetWebOfTrustClient ¶

func GetWebOfTrustClient(g *libkb.GlobalContext) (cli keybase1.WotClient, err error)

func HasColor ¶

func HasColor(g *libkb.GlobalContext) bool

func InitUI ¶

func InitUI(g *libkb.GlobalContext)

func MembersTypeFromStrDefault ¶

func MembersTypeFromStrDefault(str string, e *libkb.Env) chat1.ConversationMembersType

func NewCmdAccountContactSettings ¶

func NewCmdAccountContactSettings(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdAccountDelete ¶

func NewCmdAccountDelete(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdAccountLockdown ¶

func NewCmdAccountLockdown(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdAccountRecoverUsername ¶

func NewCmdAccountRecoverUsername(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdAccountResetCancel ¶

func NewCmdAccountResetCancel(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdAccountResetStart ¶

func NewCmdAccountResetStart(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdAccountResetTimeTravel ¶

func NewCmdAccountResetTimeTravel(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdAddPhoneNumber ¶

func NewCmdAddPhoneNumber(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdBlocksListTeams ¶

func NewCmdBlocksListTeams(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdBlocksListUsers ¶

func NewCmdBlocksListUsers(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdCheckTracking ¶

func NewCmdCheckTracking(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdContactLookup ¶

func NewCmdContactLookup(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdCtlRedirector ¶

func NewCmdCtlRedirector(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdCtlWantsSystemd ¶

func NewCmdCtlWantsSystemd(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdDbKeysWithPrefix ¶

func NewCmdDbKeysWithPrefix(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdDeletePhoneNumber ¶

func NewCmdDeletePhoneNumber(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdDevice ¶

func NewCmdDevice(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdDevice creates the device command, which is just a holder for subcommands.

func NewCmdDeviceAdd ¶

func NewCmdDeviceAdd(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdDeviceAdd creates a new cli.Command.

func NewCmdDeviceList ¶

func NewCmdDeviceList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdDeviceList creates a new cli.Command.

func NewCmdDismissCategory ¶

func NewCmdDismissCategory(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdDumpKeyfamily ¶

func NewCmdDumpKeyfamily(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdDumpPushNotifications ¶

func NewCmdDumpPushNotifications(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdEditPhoneNumber ¶

func NewCmdEditPhoneNumber(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdFakeTrackingChanged ¶

func NewCmdFakeTrackingChanged(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdFavoriteRemove ¶

func NewCmdFavoriteRemove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdGitMddel ¶

func NewCmdGitMddel(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdGitMddel creates a new cli.Command.

func NewCmdGitMdget ¶

func NewCmdGitMdget(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdGitMdget creates a new cli.Command.

func NewCmdGitMdput ¶

func NewCmdGitMdput(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdGitMdput creates a new cli.Command.

func NewCmdInterestingPeople ¶

func NewCmdInterestingPeople(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdListPhoneNumbers ¶

func NewCmdListPhoneNumbers(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdListTrackers ¶

func NewCmdListTrackers(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdListTrackers creates a new cli.Command.

func NewCmdLogProfile ¶

func NewCmdLogProfile(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

This is a hidden cmd which can be used to see how long different g.CTraceTimed calls are taking.

func NewCmdPGPPullPrivate ¶

func NewCmdPGPPullPrivate(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdPGPPushPrivate ¶

func NewCmdPGPPushPrivate(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdPaperProvision ¶

func NewCmdPaperProvision(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdPassphraseChange ¶

func NewCmdPassphraseChange(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdPassphraseCheck ¶

func NewCmdPassphraseCheck(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdPassphraseRecover ¶

func NewCmdPassphraseRecover(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdPassphraseRemember ¶

func NewCmdPassphraseRemember(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdProve ¶

func NewCmdProve(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdProve makes a new prove command from the given CLI parameters.

func NewCmdRekey ¶

func NewCmdRekey(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

These are the devel rekey commands

func NewCmdSelfProvision ¶

func NewCmdSelfProvision(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdSendVerificationEmail ¶

func NewCmdSendVerificationEmail(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdSetPrimaryEmail ¶

func NewCmdSetPrimaryEmail(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdSetVisibilityEmail ¶

func NewCmdSetVisibilityEmail(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdSetVisibilityPhoneNumber ¶

func NewCmdSetVisibilityPhoneNumber(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdShowNotifications ¶

func NewCmdShowNotifications(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdSimpleFS ¶

func NewCmdSimpleFS(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFS creates the device command, which is just a holder for subcommands.

func NewCmdSimpleFSCancelUploads ¶

func NewCmdSimpleFSCancelUploads(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSCancelUploads creates a new cli.Command.

func NewCmdSimpleFSClearConflicts ¶

func NewCmdSimpleFSClearConflicts(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSClearConflicts creates a new cli.Command.

func NewCmdSimpleFSCopy ¶

func NewCmdSimpleFSCopy(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSCopy creates a new cli.Command.

func NewCmdSimpleFSDebug ¶

func NewCmdSimpleFSDebug(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSDebug creates the debug command, which is just a holder for subcommands.

func NewCmdSimpleFSDebugDeobfuscate ¶

func NewCmdSimpleFSDebugDeobfuscate(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSDebugDeobfuscate creates a new cli.Command.

func NewCmdSimpleFSDebugDump ¶

func NewCmdSimpleFSDebugDump(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSDebugDump creates a new cli.Command.

func NewCmdSimpleFSDebugObfuscate ¶

func NewCmdSimpleFSDebugObfuscate(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSDebugObfuscate creates a new cli.Command.

func NewCmdSimpleFSFinishResolvingConflicts ¶

func NewCmdSimpleFSFinishResolvingConflicts(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSFinishResolvingConflicts creates a new cli.Command.

func NewCmdSimpleFSForceConflict ¶

func NewCmdSimpleFSForceConflict(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSForceConflict creates a new cli.Command. Right now it just triggers a "stuck" conflict, but maybe in the future we'll want to add more types of manual conflicts.

func NewCmdSimpleFSGetStatus ¶

func NewCmdSimpleFSGetStatus(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSGetStatus creates a new cli.Command.

func NewCmdSimpleFSHistory ¶

func NewCmdSimpleFSHistory(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSHistory creates a new cli.Command.

func NewCmdSimpleFSIndexProgress ¶

func NewCmdSimpleFSIndexProgress(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSIndexProgress creates a new cli.Command.

func NewCmdSimpleFSKill ¶

func NewCmdSimpleFSKill(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSKill creates a new cli.Command.

func NewCmdSimpleFSList ¶

func NewCmdSimpleFSList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSList creates a new cli.Command.

func NewCmdSimpleFSMkdir ¶

func NewCmdSimpleFSMkdir(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSMkdir creates a new cli.Command.

func NewCmdSimpleFSMove ¶

func NewCmdSimpleFSMove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSMove creates a new cli.Command.

func NewCmdSimpleFSPs ¶

func NewCmdSimpleFSPs(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSPs creates a new cli.Command.

func NewCmdSimpleFSQuota ¶

func NewCmdSimpleFSQuota(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSQuota creates a new cli.Command.

func NewCmdSimpleFSRead ¶

func NewCmdSimpleFSRead(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSRead creates a new cli.Command.

func NewCmdSimpleFSRecover ¶

func NewCmdSimpleFSRecover(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSRecover creates a new cli.Command.

func NewCmdSimpleFSRemove ¶

func NewCmdSimpleFSRemove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSRemove creates a new cli.Command.

func NewCmdSimpleFSReset ¶

func NewCmdSimpleFSReset(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSReset creates a new cli.Command.

func NewCmdSimpleFSResetIndex ¶

func NewCmdSimpleFSResetIndex(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSResetIndex creates a new cli.Command.

func NewCmdSimpleFSSearch ¶

func NewCmdSimpleFSSearch(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSSearch creates a new cli.Command.

func NewCmdSimpleFSSetDebugLevel ¶

func NewCmdSimpleFSSetDebugLevel(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSSetDebugLevel creates a new cli.Command.

func NewCmdSimpleFSStat ¶

func NewCmdSimpleFSStat(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSStat creates a new cli.Command.

func NewCmdSimpleFSSymlink(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSSymlink creates a new cli.Command.

func NewCmdSimpleFSSync ¶

func NewCmdSimpleFSSync(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSSync creates the sync command, which is just a holder for subcommands.

func NewCmdSimpleFSSyncDisable ¶

func NewCmdSimpleFSSyncDisable(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSSyncDisable creates a new cli.Command.

func NewCmdSimpleFSSyncEnable ¶

func NewCmdSimpleFSSyncEnable(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSSyncEnable creates a new cli.Command.

func NewCmdSimpleFSSyncShow ¶

func NewCmdSimpleFSSyncShow(
	cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSSyncShow creates a new cli.Command.

func NewCmdSimpleFSUpgrade ¶

func NewCmdSimpleFSUpgrade(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSUpgrade creates a new cli.Command.

func NewCmdSimpleFSUploads ¶

func NewCmdSimpleFSUploads(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSUploads creates a new cli.Command.

func NewCmdSimpleFSWrite ¶

func NewCmdSimpleFSWrite(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdSimpleFSWrite creates a new cli.Command.

func NewCmdTestPassphrase ¶

func NewCmdTestPassphrase(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdUpdate ¶

func NewCmdUpdate(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdUpdate are commands for supporting the updater

func NewCmdVerifyPhoneNumber ¶

func NewCmdVerifyPhoneNumber(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

func NewCmdWatchdog ¶

func NewCmdWatchdog(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command

NewCmdWatchdog constructs watchdog command

func NewGPGUIProtocol ¶

func NewGPGUIProtocol(g *libkb.GlobalContext) rpc.Protocol

func NewIdentifyTrackUIProtocol ¶

func NewIdentifyTrackUIProtocol(g *libkb.GlobalContext) rpc.Protocol

func NewIdentifyUIProtocol ¶

func NewIdentifyUIProtocol(g *libkb.GlobalContext) rpc.Protocol

func NewLogUIProtocol ¶

func NewLogUIProtocol(g *libkb.GlobalContext) rpc.Protocol

func NewLoginUIProtocol ¶

func NewLoginUIProtocol(g *libkb.GlobalContext) rpc.Protocol

func NewNullIdentifyUIProtocol ¶

func NewNullIdentifyUIProtocol() rpc.Protocol

func NewPgpUIProtocol ¶

func NewPgpUIProtocol(g *libkb.GlobalContext) rpc.Protocol

func NewProvisionUIProtocol ¶

func NewProvisionUIProtocol(g *libkb.GlobalContext, role libkb.KexRole) rpc.Protocol

func NewSecretUIProtocol ¶

func NewSecretUIProtocol(g *libkb.GlobalContext) rpc.Protocol

func NewStreamUIProtocol ¶

func NewStreamUIProtocol(g *libkb.GlobalContext) rpc.Protocol

func NewTabWriter ¶

func NewTabWriter(g *libkb.GlobalContext, minwidth, tabwidth, padding int, padchar byte, flags uint) *tabwriter.Writer

func NewTeamsUIProtocol ¶

func NewTeamsUIProtocol(g *libkb.GlobalContext) rpc.Protocol

func ParseBotSettings ¶

func ParseBotSettings(ctx *cli.Context) *keybase1.TeamBotSettings

func ParseOneTeamID ¶

func ParseOneTeamID(ctx *cli.Context) (res keybase1.TeamID, err error)

func ParseOneTeamName ¶

func ParseOneTeamName(ctx *cli.Context) (string, error)

func ParseOneTeamNameK1 ¶

func ParseOneTeamNameK1(ctx *cli.Context) (res keybase1.TeamName, err error)

func ParseRole ¶

func ParseRole(ctx *cli.Context) (keybase1.TeamRole, error)

func ParseTLF ¶

func ParseTLF(path string) (keybase1.FolderHandle, error)

ParseTLF takes keybase paths like

/keybase/public/patrick,chris
/keybase/private/patrick,maxtaco@twitter
/keybase/team/bostonredsox
public/patrick,jack
/public/patrick,chris,sam

and creates suitable folders with the name portion and the private flag set correctly.

func ParseUser ¶

func ParseUser(ctx *cli.Context) (string, error)

func ParseUserAndRole ¶

func ParseUserAndRole(ctx *cli.Context) (string, keybase1.TeamRole, error)

func PingGregor ¶

func PingGregor(g *libkb.GlobalContext) error

func PrintAccountResetWarning ¶

func PrintAccountResetWarning(g *libkb.GlobalContext)

func PrintOutOfDateWarnings ¶

func PrintOutOfDateWarnings(g *libkb.GlobalContext)

func PromptNewPassphrase ¶

func PromptNewPassphrase(g *libkb.GlobalContext) (string, error)

promptNewPassphrase asks the user for a new passphrase. Used when changing passphrases.

func PromptPaperPhrase ¶

func PromptPaperPhrase(g *libkb.GlobalContext) (string, error)

PromptPaperPhrase asks the user to enter a paper key phrase. Used in `rekey paper` command.

func PromptPassphrase ¶

func PromptPassphrase(g *libkb.GlobalContext) (keybase1.GetPassphraseRes, error)

promptPassphrase asks the user for a passphrase. Used during signup.

func PromptSelectionOrCancel ¶

func PromptSelectionOrCancel(pd libkb.PromptDescriptor, ui libkb.TerminalUI, prompt string, low, hi int) (ret int, err error)

func PromptWithChecker ¶

func PromptWithChecker(pd libkb.PromptDescriptor, ui libkb.TerminalUI, prompt string, password bool, checker libkb.Checker) (string, error)

func RegisterProtocolsWithContext ¶

func RegisterProtocolsWithContext(prots []rpc.Protocol, g *libkb.GlobalContext) (err error)

func Render ¶

func Render(g *libkb.GlobalContext, w io.Writer, m *libkb.Markup)

func RenderText ¶

func RenderText(g *libkb.GlobalContext, w io.Writer, txt keybase1.Text)

func SendPath ¶

func SendPath(g *libkb.GlobalContext) error

func StopLaunchdService ¶

func StopLaunchdService(g *libkb.GlobalContext, label string, wait bool) error

func TopicTypeFromStrDefault ¶

func TopicTypeFromStrDefault(str string) (chat1.TopicType, error)

func ValidateBotSettingsConvs ¶

func ValidateBotSettingsConvs(g *libkb.GlobalContext, tlfName string,
	mt chat1.ConversationMembersType, botSettings *keybase1.TeamBotSettings) error

func WarnOutdatedKBFS ¶

func WarnOutdatedKBFS(g *libkb.GlobalContext, cl libkb.CommandLine) (err error)

Types ¶

type BadArgsError ¶

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

func (BadArgsError) Error ¶

func (e BadArgsError) Error() string

type BadServiceError ¶

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

func (BadServiceError) Error ¶

func (e BadServiceError) Error() string

type BadUsernameError ¶

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

func (BadUsernameError) Error ¶

func (e BadUsernameError) Error() string

type BaseIdentifyUI ¶

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

func (*BaseIdentifyUI) Cancel ¶

func (ui *BaseIdentifyUI) Cancel(_ libkb.MetaContext) error

func (*BaseIdentifyUI) Confirm ¶

func (*BaseIdentifyUI) Dismiss ¶

func (*BaseIdentifyUI) DisplayCryptocurrency ¶

func (ui *BaseIdentifyUI) DisplayCryptocurrency(_ libkb.MetaContext, l keybase1.Cryptocurrency) error

func (*BaseIdentifyUI) DisplayKey ¶

func (ui *BaseIdentifyUI) DisplayKey(_ libkb.MetaContext, key keybase1.IdentifyKey) error

func (*BaseIdentifyUI) DisplayStellarAccount ¶

func (ui *BaseIdentifyUI) DisplayStellarAccount(_ libkb.MetaContext, l keybase1.StellarAccount) error

func (*BaseIdentifyUI) DisplayTLFCreateWithInvite ¶

func (ui *BaseIdentifyUI) DisplayTLFCreateWithInvite(_ libkb.MetaContext, arg keybase1.DisplayTLFCreateWithInviteArg) error

func (*BaseIdentifyUI) DisplayTrackStatement ¶

func (ui *BaseIdentifyUI) DisplayTrackStatement(_ libkb.MetaContext, stmt string) error

func (*BaseIdentifyUI) DisplayUserCard ¶

func (ui *BaseIdentifyUI) DisplayUserCard(libkb.MetaContext, keybase1.UserCard) error

func (*BaseIdentifyUI) Finish ¶

func (ui *BaseIdentifyUI) Finish(_ libkb.MetaContext) error

func (*BaseIdentifyUI) FinishSocialProofCheck ¶

func (ui *BaseIdentifyUI) FinishSocialProofCheck(_ libkb.MetaContext, p keybase1.RemoteProof, l keybase1.LinkCheckResult) error

func (*BaseIdentifyUI) FinishWebProofCheck ¶

func (*BaseIdentifyUI) LaunchNetworkChecks ¶

func (ui *BaseIdentifyUI) LaunchNetworkChecks(_ libkb.MetaContext, i *keybase1.Identity, u *keybase1.User) error

func (*BaseIdentifyUI) PromptForConfirmation ¶

func (ui *BaseIdentifyUI) PromptForConfirmation(s string) error

func (*BaseIdentifyUI) ReportHook ¶

func (ui *BaseIdentifyUI) ReportHook(s string)

func (*BaseIdentifyUI) ReportLastTrack ¶

func (ui *BaseIdentifyUI) ReportLastTrack(_ libkb.MetaContext, tl *keybase1.TrackSummary) error

func (*BaseIdentifyUI) ReportRevoked ¶

func (ui *BaseIdentifyUI) ReportRevoked(del []keybase1.TrackDiff)

func (*BaseIdentifyUI) ReportTrackToken ¶

func (ui *BaseIdentifyUI) ReportTrackToken(_ libkb.MetaContext, _ keybase1.TrackToken) error

func (*BaseIdentifyUI) ShowWarnings ¶

func (ui *BaseIdentifyUI) ShowWarnings(w libkb.Warnings)

func (*BaseIdentifyUI) Start ¶

func (ui *BaseIdentifyUI) Start(_ libkb.MetaContext, username string, reason keybase1.IdentifyReason, forceDisplay bool) error

func (*BaseIdentifyUI) TrackDiffUpgradedToString ¶

func (ui *BaseIdentifyUI) TrackDiffUpgradedToString(t libkb.TrackDiffUpgraded) string

func (*BaseIdentifyUI) Warning ¶

func (ui *BaseIdentifyUI) Warning(m string)

type BufferSource ¶

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

func NewBufferSource ¶

func NewBufferSource(s string) *BufferSource

func (*BufferSource) Close ¶

func (b *BufferSource) Close() error

func (*BufferSource) CloseWithError ¶

func (b *BufferSource) CloseWithError(error) error

func (*BufferSource) Open ¶

func (b *BufferSource) Open() error

func (*BufferSource) Read ¶

func (b *BufferSource) Read(p []byte) (n int, err error)

func (*BufferSource) Seek ¶

func (b *BufferSource) Seek(offset int64, whence int) (int64, error)

type Call ¶

type Call struct {
	Jsonrpc string
	ID      int
	Method  string
	Params  Params
}

Call represents a JSON api call.

type CallError ¶

type CallError struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data,omitempty"`
}

CallError is the result when there is an error.

type CanceledError ¶

type CanceledError struct{}

type Canceler ¶

type Canceler interface {
	Cancel() error
}

type CantRunInStandaloneError ¶

type CantRunInStandaloneError struct{}

func (CantRunInStandaloneError) Error ¶

func (e CantRunInStandaloneError) Error() string

type ChatAPI ¶

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

ChatAPI implements ChatAPIHandler and contains a ChatServiceHandler to do all the work.

func (*ChatAPI) AddResetConvMemberV1 ¶

func (a *ChatAPI) AddResetConvMemberV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) AddToChannelV1 ¶

func (a *ChatAPI) AddToChannelV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) AdvertiseCommandsV1 ¶

func (a *ChatAPI) AdvertiseCommandsV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) AttachV1 ¶

func (a *ChatAPI) AttachV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) ClearCommandsV1 ¶

func (a *ChatAPI) ClearCommandsV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) DeleteV1 ¶

func (a *ChatAPI) DeleteV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) DownloadV1 ¶

func (a *ChatAPI) DownloadV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) EditV1 ¶

func (a *ChatAPI) EditV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) EmojiAddAliasV1 ¶

func (a *ChatAPI) EmojiAddAliasV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) EmojiAddV1 ¶

func (a *ChatAPI) EmojiAddV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) EmojiListV1 ¶

func (a *ChatAPI) EmojiListV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) EmojiRemoveV1 ¶

func (a *ChatAPI) EmojiRemoveV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) GetDeviceInfoV1 ¶

func (a *ChatAPI) GetDeviceInfoV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) GetResetConvMembersV1 ¶

func (a *ChatAPI) GetResetConvMembersV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) GetUnfurlSettingsV1 ¶

func (a *ChatAPI) GetUnfurlSettingsV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) GetV1 ¶

func (a *ChatAPI) GetV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) JoinV1 ¶

func (a *ChatAPI) JoinV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) LeaveV1 ¶

func (a *ChatAPI) LeaveV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) ListCommandsV1 ¶

func (a *ChatAPI) ListCommandsV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) ListConvsOnNameV1 ¶

func (a *ChatAPI) ListConvsOnNameV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) ListMembersV1 ¶

func (a *ChatAPI) ListMembersV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) ListV1 ¶

func (a *ChatAPI) ListV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) LoadFlipV1 ¶

func (a *ChatAPI) LoadFlipV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) MarkV1 ¶

func (a *ChatAPI) MarkV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) NewConvV1 ¶

func (a *ChatAPI) NewConvV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) PinV1 ¶

func (a *ChatAPI) PinV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) ReactionV1 ¶

func (a *ChatAPI) ReactionV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) ReadV1 ¶

func (a *ChatAPI) ReadV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) RemoveFromChannelV1 ¶

func (a *ChatAPI) RemoveFromChannelV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) SearchInboxV1 ¶

func (a *ChatAPI) SearchInboxV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) SearchRegexpV1 ¶

func (a *ChatAPI) SearchRegexpV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) SendV1 ¶

func (a *ChatAPI) SendV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) SetStatusV1 ¶

func (a *ChatAPI) SetStatusV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) SetUnfurlSettingsV1 ¶

func (a *ChatAPI) SetUnfurlSettingsV1(ctx context.Context, c Call, w io.Writer) error

func (*ChatAPI) UnpinV1 ¶

func (a *ChatAPI) UnpinV1(ctx context.Context, c Call, w io.Writer) error

type ChatAPIHandler ¶

type ChatAPIHandler interface {
	ListV1(context.Context, Call, io.Writer) error
	ReadV1(context.Context, Call, io.Writer) error
	GetV1(context.Context, Call, io.Writer) error
	SendV1(context.Context, Call, io.Writer) error
	EditV1(context.Context, Call, io.Writer) error
	ReactionV1(context.Context, Call, io.Writer) error
	DeleteV1(context.Context, Call, io.Writer) error
	AttachV1(context.Context, Call, io.Writer) error
	DownloadV1(context.Context, Call, io.Writer) error
	SetStatusV1(context.Context, Call, io.Writer) error
	MarkV1(context.Context, Call, io.Writer) error
	SearchInboxV1(context.Context, Call, io.Writer) error
	SearchRegexpV1(context.Context, Call, io.Writer) error
	NewConvV1(context.Context, Call, io.Writer) error
	ListConvsOnNameV1(context.Context, Call, io.Writer) error
	JoinV1(context.Context, Call, io.Writer) error
	LeaveV1(context.Context, Call, io.Writer) error
	AddToChannelV1(context.Context, Call, io.Writer) error
	RemoveFromChannelV1(context.Context, Call, io.Writer) error
	LoadFlipV1(context.Context, Call, io.Writer) error
	GetUnfurlSettingsV1(context.Context, Call, io.Writer) error
	SetUnfurlSettingsV1(context.Context, Call, io.Writer) error
	AdvertiseCommandsV1(context.Context, Call, io.Writer) error
	ClearCommandsV1(context.Context, Call, io.Writer) error
	ListCommandsV1(context.Context, Call, io.Writer) error
	PinV1(context.Context, Call, io.Writer) error
	UnpinV1(context.Context, Call, io.Writer) error
	GetResetConvMembersV1(context.Context, Call, io.Writer) error
	AddResetConvMemberV1(context.Context, Call, io.Writer) error
	GetDeviceInfoV1(context.Context, Call, io.Writer) error
	ListMembersV1(context.Context, Call, io.Writer) error
	EmojiAddV1(context.Context, Call, io.Writer) error
	EmojiAddAliasV1(context.Context, Call, io.Writer) error
	EmojiListV1(context.Context, Call, io.Writer) error
	EmojiRemoveV1(context.Context, Call, io.Writer) error
}

ChatAPIHandler can handle all of the chat json api methods.

type ChatAPIUI ¶

type ChatAPIUI struct {
	utils.DummyChatUI
	// contains filtered or unexported fields
}

func NewChatAPIUI ¶

func NewChatAPIUI(opts ...func(*ChatAPIUI)) *ChatAPIUI

func (*ChatAPIUI) ChatStellarDataConfirm ¶

func (u *ChatAPIUI) ChatStellarDataConfirm(ctx context.Context, arg chat1.ChatStellarDataConfirmArg) (bool, error)

func (*ChatAPIUI) SetAllowStellarPayments ¶

func (u *ChatAPIUI) SetAllowStellarPayments(enabled bool)

type ChatAPIVersionHandler ¶

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

func NewChatAPIVersionHandler ¶

func NewChatAPIVersionHandler(h ChatAPIHandler) *ChatAPIVersionHandler

type ChatCLINotifications ¶

type ChatCLINotifications struct {
	libkb.Contextified
	chat1.NotifyChatInterface
	// contains filtered or unexported fields
}

func NewChatCLINotifications ¶

func NewChatCLINotifications(g *libkb.GlobalContext) *ChatCLINotifications

func (*ChatCLINotifications) ChatAttachmentDownloadComplete ¶

func (n *ChatCLINotifications) ChatAttachmentDownloadComplete(ctx context.Context,
	arg chat1.ChatAttachmentDownloadCompleteArg) error

func (*ChatCLINotifications) ChatAttachmentDownloadProgress ¶

func (n *ChatCLINotifications) ChatAttachmentDownloadProgress(ctx context.Context,
	arg chat1.ChatAttachmentDownloadProgressArg) error

func (*ChatCLINotifications) ChatAttachmentUploadProgress ¶

func (n *ChatCLINotifications) ChatAttachmentUploadProgress(ctx context.Context,
	arg chat1.ChatAttachmentUploadProgressArg) error

func (*ChatCLINotifications) ChatAttachmentUploadStart ¶

func (n *ChatCLINotifications) ChatAttachmentUploadStart(ctx context.Context,
	arg chat1.ChatAttachmentUploadStartArg) error

type ChatCLIUI ¶

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

func NewChatCLIUI ¶

func NewChatCLIUI(g *libkb.GlobalContext) *ChatCLIUI

func (*ChatCLIUI) ChatBotCommandsUpdateStatus ¶

func (c *ChatCLIUI) ChatBotCommandsUpdateStatus(context.Context, chat1.ChatBotCommandsUpdateStatusArg) error

func (*ChatCLIUI) ChatClearWatch ¶

func (c *ChatCLIUI) ChatClearWatch(context.Context, chat1.ChatClearWatchArg) error

func (*ChatCLIUI) ChatCoinFlipStatus ¶

func (c *ChatCLIUI) ChatCoinFlipStatus(ctx context.Context, arg chat1.ChatCoinFlipStatusArg) error

func (*ChatCLIUI) ChatCommandMarkdown ¶

func (c *ChatCLIUI) ChatCommandMarkdown(ctx context.Context, arg chat1.ChatCommandMarkdownArg) error

func (*ChatCLIUI) ChatCommandStatus ¶

func (c *ChatCLIUI) ChatCommandStatus(context.Context, chat1.ChatCommandStatusArg) error

func (*ChatCLIUI) ChatConfirmChannelDelete ¶

func (c *ChatCLIUI) ChatConfirmChannelDelete(ctx context.Context, arg chat1.ChatConfirmChannelDeleteArg) (bool, error)

func (*ChatCLIUI) ChatGiphySearchResults ¶

func (c *ChatCLIUI) ChatGiphySearchResults(ctx context.Context, arg chat1.ChatGiphySearchResultsArg) error

func (*ChatCLIUI) ChatGiphyToggleResultWindow ¶

func (c *ChatCLIUI) ChatGiphyToggleResultWindow(ctx context.Context, arg chat1.ChatGiphyToggleResultWindowArg) error

func (*ChatCLIUI) ChatInboxConversation ¶

func (c *ChatCLIUI) ChatInboxConversation(ctx context.Context, arg chat1.ChatInboxConversationArg) error

func (*ChatCLIUI) ChatInboxFailed ¶

func (c *ChatCLIUI) ChatInboxFailed(ctx context.Context, arg chat1.ChatInboxFailedArg) error

func (*ChatCLIUI) ChatInboxLayout ¶

func (c *ChatCLIUI) ChatInboxLayout(ctx context.Context, arg chat1.ChatInboxLayoutArg) error

func (*ChatCLIUI) ChatInboxUnverified ¶

func (c *ChatCLIUI) ChatInboxUnverified(ctx context.Context, arg chat1.ChatInboxUnverifiedArg) error

func (*ChatCLIUI) ChatLoadGalleryHit ¶

func (c *ChatCLIUI) ChatLoadGalleryHit(ctx context.Context, arg chat1.ChatLoadGalleryHitArg) error

func (*ChatCLIUI) ChatMaybeMentionUpdate ¶

func (c *ChatCLIUI) ChatMaybeMentionUpdate(ctx context.Context, arg chat1.ChatMaybeMentionUpdateArg) error

func (*ChatCLIUI) ChatSearchBotHits ¶

func (c *ChatCLIUI) ChatSearchBotHits(ctx context.Context, arg chat1.ChatSearchBotHitsArg) error

func (*ChatCLIUI) ChatSearchConvHits ¶

func (c *ChatCLIUI) ChatSearchConvHits(ctx context.Context, arg chat1.ChatSearchConvHitsArg) error

func (*ChatCLIUI) ChatSearchDone ¶

func (c *ChatCLIUI) ChatSearchDone(ctx context.Context, arg chat1.ChatSearchDoneArg) error

func (*ChatCLIUI) ChatSearchHit ¶

func (c *ChatCLIUI) ChatSearchHit(ctx context.Context, arg chat1.ChatSearchHitArg) error

func (*ChatCLIUI) ChatSearchInboxDone ¶

func (c *ChatCLIUI) ChatSearchInboxDone(ctx context.Context, arg chat1.ChatSearchInboxDoneArg) error

func (*ChatCLIUI) ChatSearchInboxHit ¶

func (c *ChatCLIUI) ChatSearchInboxHit(ctx context.Context, arg chat1.ChatSearchInboxHitArg) error

func (*ChatCLIUI) ChatSearchInboxStart ¶

func (c *ChatCLIUI) ChatSearchInboxStart(ctx context.Context, sessionID int) error

func (*ChatCLIUI) ChatSearchIndexStatus ¶

func (c *ChatCLIUI) ChatSearchIndexStatus(ctx context.Context, arg chat1.ChatSearchIndexStatusArg) error

func (*ChatCLIUI) ChatSearchTeamHits ¶

func (c *ChatCLIUI) ChatSearchTeamHits(ctx context.Context, arg chat1.ChatSearchTeamHitsArg) error

func (*ChatCLIUI) ChatShowManageChannels ¶

func (c *ChatCLIUI) ChatShowManageChannels(ctx context.Context, arg chat1.ChatShowManageChannelsArg) error

func (*ChatCLIUI) ChatStellarDataConfirm ¶

func (c *ChatCLIUI) ChatStellarDataConfirm(ctx context.Context, arg chat1.ChatStellarDataConfirmArg) (bool, error)

func (*ChatCLIUI) ChatStellarDataError ¶

func (c *ChatCLIUI) ChatStellarDataError(ctx context.Context, arg chat1.ChatStellarDataErrorArg) (bool, error)

func (*ChatCLIUI) ChatStellarDone ¶

func (c *ChatCLIUI) ChatStellarDone(ctx context.Context, arg chat1.ChatStellarDoneArg) error

func (*ChatCLIUI) ChatStellarShowConfirm ¶

func (c *ChatCLIUI) ChatStellarShowConfirm(ctx context.Context, sessionID int) error

func (*ChatCLIUI) ChatThreadCached ¶

func (c *ChatCLIUI) ChatThreadCached(ctx context.Context, arg chat1.ChatThreadCachedArg) error

func (*ChatCLIUI) ChatThreadFull ¶

func (c *ChatCLIUI) ChatThreadFull(ctx context.Context, arg chat1.ChatThreadFullArg) error

func (*ChatCLIUI) ChatThreadStatus ¶

func (c *ChatCLIUI) ChatThreadStatus(ctx context.Context, arg chat1.ChatThreadStatusArg) error

func (*ChatCLIUI) TriggerContactSync ¶

func (c *ChatCLIUI) TriggerContactSync(context.Context, int) error

type ChatChannel ¶

type ChatChannel chat1.ChatChannel

ChatChannel represents a channel through which chat happens.

func (ChatChannel) GetMembersType ¶

func (c ChatChannel) GetMembersType(e *libkb.Env) chat1.ConversationMembersType

func (ChatChannel) IsNil ¶

func (c ChatChannel) IsNil() bool

func (ChatChannel) Valid ¶

func (c ChatChannel) Valid() bool

Valid returns true if the ChatChannel has at least a Name.

func (ChatChannel) Visibility ¶

func (c ChatChannel) Visibility() (vis keybase1.TLFVisibility)

type ChatMessage ¶

type ChatMessage struct {
	Body string
}

ChatMessage represents a text message to be sent.

func (ChatMessage) Valid ¶

func (c ChatMessage) Valid() bool

Valid returns true if the message has a body.

type ChatSendArg ¶

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

type ChatServiceHandler ¶

type ChatServiceHandler interface {
	ListV1(context.Context, listOptionsV1) Reply
	ReadV1(context.Context, readOptionsV1) Reply
	GetV1(context.Context, getOptionsV1) Reply
	SendV1(context.Context, sendOptionsV1, chat1.ChatUiInterface) Reply
	EditV1(context.Context, editOptionsV1) Reply
	ReactionV1(context.Context, reactionOptionsV1) Reply
	DeleteV1(context.Context, deleteOptionsV1) Reply
	AttachV1(context.Context, attachOptionsV1, chat1.ChatUiInterface, chat1.NotifyChatInterface) Reply
	DownloadV1(context.Context, downloadOptionsV1, chat1.ChatUiInterface, chat1.NotifyChatInterface) Reply
	SetStatusV1(context.Context, setStatusOptionsV1) Reply
	MarkV1(context.Context, markOptionsV1) Reply
	SearchInboxV1(context.Context, searchInboxOptionsV1) Reply
	SearchRegexpV1(context.Context, searchRegexpOptionsV1) Reply
	NewConvV1(context.Context, newConvOptionsV1) Reply
	ListConvsOnNameV1(context.Context, listConvsOnNameOptionsV1) Reply
	JoinV1(context.Context, joinOptionsV1) Reply
	LeaveV1(context.Context, leaveOptionsV1) Reply
	AddToChannelV1(context.Context, addToChannelOptionsV1) Reply
	RemoveFromChannelV1(context.Context, removeFromChannelOptionsV1) Reply
	LoadFlipV1(context.Context, loadFlipOptionsV1) Reply
	GetUnfurlSettingsV1(context.Context) Reply
	SetUnfurlSettingsV1(context.Context, setUnfurlSettingsOptionsV1) Reply
	AdvertiseCommandsV1(context.Context, advertiseCommandsOptionsV1) Reply
	ClearCommandsV1(context.Context, clearCommandsOptionsV1) Reply
	ListCommandsV1(context.Context, listCommandsOptionsV1) Reply
	PinV1(context.Context, pinOptionsV1) Reply
	UnpinV1(context.Context, unpinOptionsV1) Reply
	GetResetConvMembersV1(context.Context) Reply
	AddResetConvMemberV1(context.Context, addResetConvMemberOptionsV1) Reply
	GetDeviceInfoV1(context.Context, getDeviceInfoOptionsV1) Reply
	ListMembersV1(context.Context, listMembersOptionsV1) Reply
	EmojiAddV1(context.Context, emojiAddOptionsV1) Reply
	EmojiAddAliasV1(context.Context, emojiAddAliasOptionsV1) Reply
	EmojiRemoveV1(context.Context, emojiRemoveOptionsV1) Reply
	EmojiListV1(context.Context) Reply
}

ChatServiceHandler can call the service.

type Checker ¶

type Checker interface {
	Check() error
}

Checker implementations can check their options for errors.

type CleanCancelError ¶

type CleanCancelError struct{}

func (CleanCancelError) Error ¶

func (e CleanCancelError) Error() string

type ClientSpecificCustomMessage ¶

type ClientSpecificCustomMessage struct {
	CliMessage string `json:"cli_message"`
}

type CmdAPICall ¶

type CmdAPICall struct {
	JSONPayload []keybase1.StringKVPair

	libkb.Contextified
	// contains filtered or unexported fields
}

func (*CmdAPICall) GetUsage ¶

func (c *CmdAPICall) GetUsage() libkb.Usage

func (*CmdAPICall) ParseArgv ¶

func (c *CmdAPICall) ParseArgv(ctx *cli.Context) error

func (*CmdAPICall) Run ¶

func (c *CmdAPICall) Run() error

type CmdAccountContactSettingsAPI ¶

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

func NewCmdAccountContactSettingsAPIRunner ¶

func NewCmdAccountContactSettingsAPIRunner(g *libkb.GlobalContext) *CmdAccountContactSettingsAPI

func (*CmdAccountContactSettingsAPI) GetUsage ¶

func (c *CmdAccountContactSettingsAPI) GetUsage() libkb.Usage

func (*CmdAccountContactSettingsAPI) ParseArgv ¶

func (c *CmdAccountContactSettingsAPI) ParseArgv(ctx *cli.Context) error

func (*CmdAccountContactSettingsAPI) Run ¶

func (*CmdAccountContactSettingsAPI) SetMessage ¶

func (c *CmdAccountContactSettingsAPI) SetMessage(m string)

func (*CmdAccountContactSettingsAPI) SetOutputFile ¶

func (c *CmdAccountContactSettingsAPI) SetOutputFile(f string)

type CmdAccountDelete ¶

type CmdAccountDelete struct {
	libkb.Contextified
}

func NewCmdAccountDeleteRunner ¶

func NewCmdAccountDeleteRunner(g *libkb.GlobalContext) *CmdAccountDelete

func (*CmdAccountDelete) GetUsage ¶

func (c *CmdAccountDelete) GetUsage() libkb.Usage

func (*CmdAccountDelete) ParseArgv ¶

func (c *CmdAccountDelete) ParseArgv(ctx *cli.Context) error

func (*CmdAccountDelete) Run ¶

func (c *CmdAccountDelete) Run() error

type CmdAccountLockdown ¶

type CmdAccountLockdown struct {
	libkb.Contextified
	SetLockdownMode *bool
	History         bool
	Force           bool
}

func (*CmdAccountLockdown) GetUsage ¶

func (c *CmdAccountLockdown) GetUsage() libkb.Usage

func (*CmdAccountLockdown) ParseArgv ¶

func (c *CmdAccountLockdown) ParseArgv(ctx *cli.Context) error

func (*CmdAccountLockdown) Run ¶

func (c *CmdAccountLockdown) Run() error

type CmdAccountRecoverUsername ¶

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

func NewCmdAccountRecoverUsernameRunner ¶

func NewCmdAccountRecoverUsernameRunner(g *libkb.GlobalContext) *CmdAccountRecoverUsername

func (*CmdAccountRecoverUsername) GetUsage ¶

func (c *CmdAccountRecoverUsername) GetUsage() libkb.Usage

func (*CmdAccountRecoverUsername) ParseArgv ¶

func (c *CmdAccountRecoverUsername) ParseArgv(ctx *cli.Context) error

func (*CmdAccountRecoverUsername) Run ¶

type CmdAccountReset ¶

type CmdAccountReset struct {
	libkb.Contextified
}

func NewCmdAccountResetRunner ¶

func NewCmdAccountResetRunner(g *libkb.GlobalContext) *CmdAccountReset

func (*CmdAccountReset) GetUsage ¶

func (c *CmdAccountReset) GetUsage() libkb.Usage

func (*CmdAccountReset) ParseArgv ¶

func (c *CmdAccountReset) ParseArgv(ctx *cli.Context) error

func (*CmdAccountReset) Run ¶

func (c *CmdAccountReset) Run() error

type CmdAccountResetCancel ¶

type CmdAccountResetCancel struct {
	libkb.Contextified
}

Cancel the reset pipeline

func NewCmdAccountResetCancelRunner ¶

func NewCmdAccountResetCancelRunner(g *libkb.GlobalContext) *CmdAccountResetCancel

func (*CmdAccountResetCancel) GetUsage ¶

func (c *CmdAccountResetCancel) GetUsage() libkb.Usage

func (*CmdAccountResetCancel) ParseArgv ¶

func (c *CmdAccountResetCancel) ParseArgv(ctx *cli.Context) error

func (*CmdAccountResetCancel) Run ¶

func (c *CmdAccountResetCancel) Run() error

type CmdAccountResetStart ¶

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

Start the reset pipeline

func NewCmdAccountResetStartRunner ¶

func NewCmdAccountResetStartRunner(g *libkb.GlobalContext) *CmdAccountResetStart

func (*CmdAccountResetStart) GetUsage ¶

func (c *CmdAccountResetStart) GetUsage() libkb.Usage

func (*CmdAccountResetStart) ParseArgv ¶

func (c *CmdAccountResetStart) ParseArgv(ctx *cli.Context) error

func (*CmdAccountResetStart) Run ¶

func (c *CmdAccountResetStart) Run() error

type CmdAccountResetTimeTravel ¶

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

Cancel the reset pipeline

func NewCmdAccountResetTimeTravelRunner ¶

func NewCmdAccountResetTimeTravelRunner(g *libkb.GlobalContext) *CmdAccountResetTimeTravel

func (*CmdAccountResetTimeTravel) GetUsage ¶

func (c *CmdAccountResetTimeTravel) GetUsage() libkb.Usage

func (*CmdAccountResetTimeTravel) ParseArgv ¶

func (c *CmdAccountResetTimeTravel) ParseArgv(ctx *cli.Context) (err error)

func (*CmdAccountResetTimeTravel) Run ¶

type CmdAddEmail ¶

type CmdAddEmail struct {
	libkb.Contextified
	Email      string
	Visibility keybase1.IdentityVisibility
}

func (*CmdAddEmail) GetUsage ¶

func (c *CmdAddEmail) GetUsage() libkb.Usage

func (*CmdAddEmail) ParseArgv ¶

func (c *CmdAddEmail) ParseArgv(ctx *cli.Context) error

func (*CmdAddEmail) Run ¶

func (c *CmdAddEmail) Run() error

type CmdAddPhoneNumber ¶

type CmdAddPhoneNumber struct {
	libkb.Contextified
	PhoneNumber string
	Visibility  keybase1.IdentityVisibility
}

func (*CmdAddPhoneNumber) GetUsage ¶

func (c *CmdAddPhoneNumber) GetUsage() libkb.Usage

func (*CmdAddPhoneNumber) ParseArgv ¶

func (c *CmdAddPhoneNumber) ParseArgv(ctx *cli.Context) error

func (*CmdAddPhoneNumber) Run ¶

func (c *CmdAddPhoneNumber) Run() error

type CmdAuditBox ¶

type CmdAuditBox struct {
	libkb.Contextified
	AuditAllKnownTeams  bool
	IsInJail            bool
	Audit               bool
	Attempt             bool
	RotateBeforeAttempt bool
	Ls                  bool
	TeamID              keybase1.TeamID
	TeamName            string
}

func (*CmdAuditBox) GetUsage ¶

func (c *CmdAuditBox) GetUsage() libkb.Usage

func (*CmdAuditBox) ParseArgv ¶

func (c *CmdAuditBox) ParseArgv(ctx *cli.Context) error

func (*CmdAuditBox) Run ¶

func (c *CmdAuditBox) Run() error

type CmdBTC ¶

type CmdBTC struct {
	libkb.Contextified
}

func NewCmdBTCRunner ¶

func NewCmdBTCRunner(g *libkb.GlobalContext) *CmdBTC

func (*CmdBTC) GetUsage ¶

func (c *CmdBTC) GetUsage() libkb.Usage

func (*CmdBTC) ParseArgv ¶

func (c *CmdBTC) ParseArgv(ctx *cli.Context) error

func (*CmdBTC) Run ¶

func (c *CmdBTC) Run() (err error)

type CmdBadge ¶

type CmdBadge struct {
	libkb.Contextified
}

func NewCmdBadgeRunner ¶

func NewCmdBadgeRunner(g *libkb.GlobalContext) *CmdBadge

func (*CmdBadge) GetUsage ¶

func (c *CmdBadge) GetUsage() libkb.Usage

func (*CmdBadge) ParseArgv ¶

func (c *CmdBadge) ParseArgv(ctx *cli.Context) error

func (*CmdBadge) Run ¶

func (c *CmdBadge) Run() error

type CmdBase62Decode ¶

type CmdBase62Decode struct {
	libkb.Contextified
}

func NewBase62DecodeRunner ¶

func NewBase62DecodeRunner(g *libkb.GlobalContext) *CmdBase62Decode

func (*CmdBase62Decode) GetUsage ¶

func (v *CmdBase62Decode) GetUsage() libkb.Usage

func (*CmdBase62Decode) ParseArgv ¶

func (v *CmdBase62Decode) ParseArgv(ctx *cli.Context) error

func (*CmdBase62Decode) Run ¶

func (v *CmdBase62Decode) Run() error

type CmdBase62Encode ¶

type CmdBase62Encode struct {
	libkb.Contextified
}

func NewBase62EncodeRunner ¶

func NewBase62EncodeRunner(g *libkb.GlobalContext) *CmdBase62Encode

func (*CmdBase62Encode) GetUsage ¶

func (v *CmdBase62Encode) GetUsage() libkb.Usage

func (*CmdBase62Encode) ParseArgv ¶

func (v *CmdBase62Encode) ParseArgv(ctx *cli.Context) error

func (*CmdBase62Encode) Run ¶

func (v *CmdBase62Encode) Run() error

type CmdBlocksListTeams ¶

type CmdBlocksListTeams struct {
	libkb.Contextified
}

func (*CmdBlocksListTeams) GetUsage ¶

func (c *CmdBlocksListTeams) GetUsage() libkb.Usage

func (*CmdBlocksListTeams) ParseArgv ¶

func (c *CmdBlocksListTeams) ParseArgv(ctx *cli.Context) error

func (*CmdBlocksListTeams) Run ¶

func (c *CmdBlocksListTeams) Run() (err error)

type CmdBlocksListUsers ¶

type CmdBlocksListUsers struct {
	libkb.Contextified
}

func (*CmdBlocksListUsers) GetUsage ¶

func (c *CmdBlocksListUsers) GetUsage() libkb.Usage

func (*CmdBlocksListUsers) ParseArgv ¶

func (c *CmdBlocksListUsers) ParseArgv(ctx *cli.Context) error

func (*CmdBlocksListUsers) Run ¶

func (c *CmdBlocksListUsers) Run() (err error)

type CmdBotSignup ¶

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

func NewCmdBotSignupRunner ¶

func NewCmdBotSignupRunner(g *libkb.GlobalContext) *CmdBotSignup

func (*CmdBotSignup) GetUsage ¶

func (s *CmdBotSignup) GetUsage() libkb.Usage

func (*CmdBotSignup) ParseArgv ¶

func (s *CmdBotSignup) ParseArgv(ctx *cli.Context) (err error)

func (*CmdBotSignup) Run ¶

func (s *CmdBotSignup) Run() (err error)

type CmdBotTokenCreate ¶

type CmdBotTokenCreate struct {
	libkb.Contextified
}

func NewCmdBotTokenCreateRunner ¶

func NewCmdBotTokenCreateRunner(g *libkb.GlobalContext) *CmdBotTokenCreate

func (*CmdBotTokenCreate) GetUsage ¶

func (t *CmdBotTokenCreate) GetUsage() libkb.Usage

func (*CmdBotTokenCreate) ParseArgv ¶

func (t *CmdBotTokenCreate) ParseArgv(ctx *cli.Context) (err error)

func (*CmdBotTokenCreate) Run ¶

func (t *CmdBotTokenCreate) Run() (err error)

type CmdBotTokenDelete ¶

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

func NewCmdBotTokenDeleteRunner ¶

func NewCmdBotTokenDeleteRunner(g *libkb.GlobalContext) *CmdBotTokenDelete

func (*CmdBotTokenDelete) GetUsage ¶

func (t *CmdBotTokenDelete) GetUsage() libkb.Usage

func (*CmdBotTokenDelete) ParseArgv ¶

func (t *CmdBotTokenDelete) ParseArgv(ctx *cli.Context) (err error)

func (*CmdBotTokenDelete) Run ¶

func (t *CmdBotTokenDelete) Run() (err error)

type CmdBotTokenList ¶

type CmdBotTokenList struct {
	libkb.Contextified
}

func NewCmdBotTokenListRunner ¶

func NewCmdBotTokenListRunner(g *libkb.GlobalContext) *CmdBotTokenList

func (*CmdBotTokenList) GetUsage ¶

func (t *CmdBotTokenList) GetUsage() libkb.Usage

func (*CmdBotTokenList) ParseArgv ¶

func (t *CmdBotTokenList) ParseArgv(ctx *cli.Context) (err error)

func (*CmdBotTokenList) Run ¶

func (t *CmdBotTokenList) Run() (err error)

type CmdCA ¶

type CmdCA struct {
	libkb.Contextified
}

func (*CmdCA) GetUsage ¶

func (c *CmdCA) GetUsage() libkb.Usage

func (*CmdCA) ParseArgv ¶

func (c *CmdCA) ParseArgv(ctx *cli.Context) error

func (*CmdCA) Run ¶

func (c *CmdCA) Run() error

type CmdChatAPI ¶

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

func NewCmdChatAPIRunner ¶

func NewCmdChatAPIRunner(g *libkb.GlobalContext) *CmdChatAPI

func (*CmdChatAPI) GetUsage ¶

func (c *CmdChatAPI) GetUsage() libkb.Usage

func (*CmdChatAPI) ParseArgv ¶

func (c *CmdChatAPI) ParseArgv(ctx *cli.Context) error

func (*CmdChatAPI) Run ¶

func (c *CmdChatAPI) Run() error

func (*CmdChatAPI) SetMessage ¶

func (c *CmdChatAPI) SetMessage(m string)

func (*CmdChatAPI) SetOutputFile ¶

func (c *CmdChatAPI) SetOutputFile(f string)

type CmdChatAPIListen ¶

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

func NewCmdChatAPIListenRunner ¶

func NewCmdChatAPIListenRunner(g *libkb.GlobalContext) *CmdChatAPIListen

func (*CmdChatAPIListen) ErrWriteLn ¶

func (c *CmdChatAPIListen) ErrWriteLn(format string, obj ...interface{})

func (*CmdChatAPIListen) GetUsage ¶

func (c *CmdChatAPIListen) GetUsage() libkb.Usage

func (*CmdChatAPIListen) ParseArgv ¶

func (c *CmdChatAPIListen) ParseArgv(ctx *cli.Context) error

func (*CmdChatAPIListen) Run ¶

func (c *CmdChatAPIListen) Run() error

type CmdChatAddBotMember ¶

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

func NewCmdChatAddBotMemberRunner ¶

func NewCmdChatAddBotMemberRunner(g *libkb.GlobalContext) *CmdChatAddBotMember

func (*CmdChatAddBotMember) GetUsage ¶

func (c *CmdChatAddBotMember) GetUsage() libkb.Usage

func (*CmdChatAddBotMember) ParseArgv ¶

func (c *CmdChatAddBotMember) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatAddBotMember) Run ¶

func (c *CmdChatAddBotMember) Run() (err error)

type CmdChatAddEmoji ¶

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

func (*CmdChatAddEmoji) GetUsage ¶

func (c *CmdChatAddEmoji) GetUsage() libkb.Usage

func (*CmdChatAddEmoji) ParseArgv ¶

func (c *CmdChatAddEmoji) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatAddEmoji) Run ¶

func (c *CmdChatAddEmoji) Run() error

type CmdChatAddEmojiAlias ¶

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

func (*CmdChatAddEmojiAlias) GetUsage ¶

func (c *CmdChatAddEmojiAlias) GetUsage() libkb.Usage

func (*CmdChatAddEmojiAlias) ParseArgv ¶

func (c *CmdChatAddEmojiAlias) ParseArgv(ctx *cli.Context) error

func (*CmdChatAddEmojiAlias) Run ¶

func (c *CmdChatAddEmojiAlias) Run() error

type CmdChatAddToChannel ¶

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

func NewCmdChatAddToChannelRunner ¶

func NewCmdChatAddToChannelRunner(g *libkb.GlobalContext) *CmdChatAddToChannel

func (*CmdChatAddToChannel) GetUsage ¶

func (c *CmdChatAddToChannel) GetUsage() libkb.Usage

func (*CmdChatAddToChannel) ParseArgv ¶

func (c *CmdChatAddToChannel) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatAddToChannel) Run ¶

func (c *CmdChatAddToChannel) Run() error

type CmdChatBotMemberSettings ¶

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

func NewCmdChatBotMemberSettingsRunner ¶

func NewCmdChatBotMemberSettingsRunner(g *libkb.GlobalContext) *CmdChatBotMemberSettings

func (*CmdChatBotMemberSettings) GetUsage ¶

func (c *CmdChatBotMemberSettings) GetUsage() libkb.Usage

func (*CmdChatBotMemberSettings) ParseArgv ¶

func (c *CmdChatBotMemberSettings) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatBotMemberSettings) Run ¶

func (c *CmdChatBotMemberSettings) Run() (err error)

type CmdChatClearCommands ¶

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

func NewCmdChatClearCommandsRunner ¶

func NewCmdChatClearCommandsRunner(g *libkb.GlobalContext) *CmdChatClearCommands

func (*CmdChatClearCommands) GetUsage ¶

func (c *CmdChatClearCommands) GetUsage() libkb.Usage

func (*CmdChatClearCommands) ParseArgv ¶

func (c *CmdChatClearCommands) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatClearCommands) Run ¶

func (c *CmdChatClearCommands) Run() error

type CmdChatConvInfo ¶

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

func NewCmdChatConvInfoRunner ¶

func NewCmdChatConvInfoRunner(g *libkb.GlobalContext) *CmdChatConvInfo

func (*CmdChatConvInfo) GetUsage ¶

func (c *CmdChatConvInfo) GetUsage() libkb.Usage

func (*CmdChatConvInfo) ParseArgv ¶

func (c *CmdChatConvInfo) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatConvInfo) Run ¶

func (c *CmdChatConvInfo) Run() error

type CmdChatCreateChannel ¶

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

func NewCmdChatCreateChannelRunner ¶

func NewCmdChatCreateChannelRunner(g *libkb.GlobalContext) *CmdChatCreateChannel

func (*CmdChatCreateChannel) GetUsage ¶

func (c *CmdChatCreateChannel) GetUsage() libkb.Usage

func (*CmdChatCreateChannel) ParseArgv ¶

func (c *CmdChatCreateChannel) ParseArgv(ctx *cli.Context) error

func (*CmdChatCreateChannel) Run ¶

func (c *CmdChatCreateChannel) Run() error

type CmdChatDefaultChannels ¶

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

func NewCmdChatDefaultChannelsRunner ¶

func NewCmdChatDefaultChannelsRunner(g *libkb.GlobalContext) *CmdChatDefaultChannels

func (*CmdChatDefaultChannels) GetUsage ¶

func (c *CmdChatDefaultChannels) GetUsage() libkb.Usage

func (*CmdChatDefaultChannels) ParseArgv ¶

func (c *CmdChatDefaultChannels) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatDefaultChannels) Run ¶

func (c *CmdChatDefaultChannels) Run() (err error)

type CmdChatDeleteChannel ¶

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

func NewCmdChatDeleteChannelRunner ¶

func NewCmdChatDeleteChannelRunner(g *libkb.GlobalContext) *CmdChatDeleteChannel

func (*CmdChatDeleteChannel) GetUsage ¶

func (c *CmdChatDeleteChannel) GetUsage() libkb.Usage

func (*CmdChatDeleteChannel) ParseArgv ¶

func (c *CmdChatDeleteChannel) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatDeleteChannel) Run ¶

func (c *CmdChatDeleteChannel) Run() error

type CmdChatDeleteHistory ¶

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

func NewCmdChatDeleteHistoryRunner ¶

func NewCmdChatDeleteHistoryRunner(g *libkb.GlobalContext) *CmdChatDeleteHistory

func (*CmdChatDeleteHistory) GetUsage ¶

func (c *CmdChatDeleteHistory) GetUsage() libkb.Usage

func (*CmdChatDeleteHistory) ParseArgv ¶

func (c *CmdChatDeleteHistory) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatDeleteHistory) Run ¶

func (c *CmdChatDeleteHistory) Run() (err error)

type CmdChatDeleteHistoryDev ¶

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

func NewCmdChatDeleteHistoryDevRunner ¶

func NewCmdChatDeleteHistoryDevRunner(g *libkb.GlobalContext) *CmdChatDeleteHistoryDev

func (*CmdChatDeleteHistoryDev) GetUsage ¶

func (c *CmdChatDeleteHistoryDev) GetUsage() libkb.Usage

func (*CmdChatDeleteHistoryDev) ParseArgv ¶

func (c *CmdChatDeleteHistoryDev) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatDeleteHistoryDev) Run ¶

func (c *CmdChatDeleteHistoryDev) Run() (err error)

type CmdChatDownload ¶

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

func (*CmdChatDownload) GetUsage ¶

func (c *CmdChatDownload) GetUsage() libkb.Usage

func (*CmdChatDownload) ParseArgv ¶

func (c *CmdChatDownload) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatDownload) Run ¶

func (c *CmdChatDownload) Run() (err error)

type CmdChatEditBotMember ¶

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

func NewCmdChatEditBotMemberRunner ¶

func NewCmdChatEditBotMemberRunner(g *libkb.GlobalContext) *CmdChatEditBotMember

func (*CmdChatEditBotMember) GetUsage ¶

func (c *CmdChatEditBotMember) GetUsage() libkb.Usage

func (*CmdChatEditBotMember) ParseArgv ¶

func (c *CmdChatEditBotMember) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatEditBotMember) Run ¶

func (c *CmdChatEditBotMember) Run() (err error)

type CmdChatFeaturedBots ¶

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

func NewCmdChatFeaturedBotsRunner ¶

func NewCmdChatFeaturedBotsRunner(g *libkb.GlobalContext) *CmdChatFeaturedBots

func (*CmdChatFeaturedBots) GetUsage ¶

func (c *CmdChatFeaturedBots) GetUsage() libkb.Usage

func (*CmdChatFeaturedBots) ParseArgv ¶

func (c *CmdChatFeaturedBots) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatFeaturedBots) Run ¶

func (c *CmdChatFeaturedBots) Run() (err error)

type CmdChatForwardMsg ¶

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

func (*CmdChatForwardMsg) GetUsage ¶

func (c *CmdChatForwardMsg) GetUsage() libkb.Usage

func (*CmdChatForwardMsg) ParseArgv ¶

func (c *CmdChatForwardMsg) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatForwardMsg) Run ¶

func (c *CmdChatForwardMsg) Run() error

type CmdChatHide ¶

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

func (*CmdChatHide) GetUsage ¶

func (c *CmdChatHide) GetUsage() libkb.Usage

func (*CmdChatHide) ParseArgv ¶

func (c *CmdChatHide) ParseArgv(ctx *cli.Context) error

func (*CmdChatHide) Run ¶

func (c *CmdChatHide) Run() error

type CmdChatJoinChannel ¶

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

func NewCmdChatJoinChannelRunner ¶

func NewCmdChatJoinChannelRunner(g *libkb.GlobalContext) *CmdChatJoinChannel

func (*CmdChatJoinChannel) GetUsage ¶

func (c *CmdChatJoinChannel) GetUsage() libkb.Usage

func (*CmdChatJoinChannel) ParseArgv ¶

func (c *CmdChatJoinChannel) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatJoinChannel) Run ¶

func (c *CmdChatJoinChannel) Run() error

type CmdChatKBFSUpgrade ¶

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

func (*CmdChatKBFSUpgrade) GetUsage ¶

func (c *CmdChatKBFSUpgrade) GetUsage() libkb.Usage

func (*CmdChatKBFSUpgrade) ParseArgv ¶

func (c *CmdChatKBFSUpgrade) ParseArgv(ctx *cli.Context) error

func (*CmdChatKBFSUpgrade) Run ¶

func (c *CmdChatKBFSUpgrade) Run() error

type CmdChatLeaveChannel ¶

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

func NewCmdChatLeaveChannelRunner ¶

func NewCmdChatLeaveChannelRunner(g *libkb.GlobalContext) *CmdChatLeaveChannel

func (*CmdChatLeaveChannel) GetUsage ¶

func (c *CmdChatLeaveChannel) GetUsage() libkb.Usage

func (*CmdChatLeaveChannel) ParseArgv ¶

func (c *CmdChatLeaveChannel) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatLeaveChannel) Run ¶

func (c *CmdChatLeaveChannel) Run() error

type CmdChatListChannels ¶

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

func NewCmdChatListChannelsRunner ¶

func NewCmdChatListChannelsRunner(g *libkb.GlobalContext) *CmdChatListChannels

func (*CmdChatListChannels) GetUsage ¶

func (c *CmdChatListChannels) GetUsage() libkb.Usage

func (*CmdChatListChannels) ParseArgv ¶

func (c *CmdChatListChannels) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatListChannels) Run ¶

func (c *CmdChatListChannels) Run() error

type CmdChatListEmoji ¶

type CmdChatListEmoji struct {
	libkb.Contextified
}

func (*CmdChatListEmoji) GetUsage ¶

func (c *CmdChatListEmoji) GetUsage() libkb.Usage

func (*CmdChatListEmoji) ParseArgv ¶

func (c *CmdChatListEmoji) ParseArgv(ctx *cli.Context) error

func (*CmdChatListEmoji) Run ¶

func (c *CmdChatListEmoji) Run() error

type CmdChatListMembers ¶

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

func NewCmdChatListMembersRunner ¶

func NewCmdChatListMembersRunner(g *libkb.GlobalContext) *CmdChatListMembers

func (*CmdChatListMembers) GetUsage ¶

func (c *CmdChatListMembers) GetUsage() libkb.Usage

func (*CmdChatListMembers) ParseArgv ¶

func (c *CmdChatListMembers) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatListMembers) Run ¶

func (c *CmdChatListMembers) Run() (err error)

type CmdChatMarkAsRead ¶

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

func NewCmdChatMarkAsReadRunner ¶

func NewCmdChatMarkAsReadRunner(g *libkb.GlobalContext) *CmdChatMarkAsRead

func (*CmdChatMarkAsRead) GetUsage ¶

func (c *CmdChatMarkAsRead) GetUsage() libkb.Usage

func (*CmdChatMarkAsRead) ParseArgv ¶

func (c *CmdChatMarkAsRead) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatMarkAsRead) Run ¶

func (c *CmdChatMarkAsRead) Run() (err error)

type CmdChatMute ¶

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

func (*CmdChatMute) GetUsage ¶

func (c *CmdChatMute) GetUsage() libkb.Usage

func (*CmdChatMute) ParseArgv ¶

func (c *CmdChatMute) ParseArgv(ctx *cli.Context) error

func (*CmdChatMute) Run ¶

func (c *CmdChatMute) Run() error

type CmdChatProfileSearch ¶

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

func NewCmdChatProfileSearchRunner ¶

func NewCmdChatProfileSearchRunner(g *libkb.GlobalContext) *CmdChatProfileSearch

func (*CmdChatProfileSearch) GetUsage ¶

func (c *CmdChatProfileSearch) GetUsage() libkb.Usage

func (*CmdChatProfileSearch) ParseArgv ¶

func (c *CmdChatProfileSearch) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatProfileSearch) Run ¶

func (c *CmdChatProfileSearch) Run() (err error)

type CmdChatReAddMember ¶

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

func NewCmdChatReAddMemberRunner ¶

func NewCmdChatReAddMemberRunner(g *libkb.GlobalContext) *CmdChatReAddMember

func (*CmdChatReAddMember) GetUsage ¶

func (c *CmdChatReAddMember) GetUsage() libkb.Usage

func (*CmdChatReAddMember) ParseArgv ¶

func (c *CmdChatReAddMember) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatReAddMember) Run ¶

func (c *CmdChatReAddMember) Run() error

type CmdChatRead ¶

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

func NewCmdChatReadRunner ¶

func NewCmdChatReadRunner(g *libkb.GlobalContext) *CmdChatRead

func (*CmdChatRead) Fetch ¶

func (c *CmdChatRead) Fetch() (conversations chat1.ConversationLocal, messages []chat1.MessageUnboxed, err error)

func (*CmdChatRead) GetUsage ¶

func (c *CmdChatRead) GetUsage() libkb.Usage

func (*CmdChatRead) ParseArgv ¶

func (c *CmdChatRead) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatRead) Run ¶

func (c *CmdChatRead) Run() error

func (*CmdChatRead) SetTeamChatForTest ¶

func (c *CmdChatRead) SetTeamChatForTest(n string)

type CmdChatRemoveBotMember ¶

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

func NewCmdChatRemoveBotMemberRunner ¶

func NewCmdChatRemoveBotMemberRunner(g *libkb.GlobalContext) *CmdChatRemoveBotMember

func (*CmdChatRemoveBotMember) GetUsage ¶

func (c *CmdChatRemoveBotMember) GetUsage() libkb.Usage

func (*CmdChatRemoveBotMember) ParseArgv ¶

func (c *CmdChatRemoveBotMember) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatRemoveBotMember) Run ¶

func (c *CmdChatRemoveBotMember) Run() (err error)

type CmdChatRemoveEmoji ¶

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

func (*CmdChatRemoveEmoji) GetUsage ¶

func (c *CmdChatRemoveEmoji) GetUsage() libkb.Usage

func (*CmdChatRemoveEmoji) ParseArgv ¶

func (c *CmdChatRemoveEmoji) ParseArgv(ctx *cli.Context) error

func (*CmdChatRemoveEmoji) Run ¶

func (c *CmdChatRemoveEmoji) Run() error

type CmdChatRemoveFromChannel ¶

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

func NewCmdChatRemoveFromChannelRunner ¶

func NewCmdChatRemoveFromChannelRunner(g *libkb.GlobalContext) *CmdChatRemoveFromChannel

func (*CmdChatRemoveFromChannel) GetUsage ¶

func (c *CmdChatRemoveFromChannel) GetUsage() libkb.Usage

func (*CmdChatRemoveFromChannel) ParseArgv ¶

func (c *CmdChatRemoveFromChannel) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatRemoveFromChannel) Run ¶

type CmdChatRenameChannel ¶

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

func NewCmdChatRenameChannelRunner ¶

func NewCmdChatRenameChannelRunner(g *libkb.GlobalContext) *CmdChatRenameChannel

func (*CmdChatRenameChannel) GetUsage ¶

func (c *CmdChatRenameChannel) GetUsage() libkb.Usage

func (*CmdChatRenameChannel) ParseArgv ¶

func (c *CmdChatRenameChannel) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatRenameChannel) Run ¶

func (c *CmdChatRenameChannel) Run() error

type CmdChatReport ¶

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

func (*CmdChatReport) GetUsage ¶

func (c *CmdChatReport) GetUsage() libkb.Usage

func (*CmdChatReport) ParseArgv ¶

func (c *CmdChatReport) ParseArgv(ctx *cli.Context) error

func (*CmdChatReport) Run ¶

func (c *CmdChatReport) Run() error

type CmdChatSearchBots ¶

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

func NewCmdChatSearchBotsRunner ¶

func NewCmdChatSearchBotsRunner(g *libkb.GlobalContext) *CmdChatSearchBots

func (*CmdChatSearchBots) GetUsage ¶

func (c *CmdChatSearchBots) GetUsage() libkb.Usage

func (*CmdChatSearchBots) ParseArgv ¶

func (c *CmdChatSearchBots) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatSearchBots) Run ¶

func (c *CmdChatSearchBots) Run() (err error)

type CmdChatSearchInbox ¶

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

func NewCmdChatSearchInboxRunner ¶

func NewCmdChatSearchInboxRunner(g *libkb.GlobalContext) *CmdChatSearchInbox

func (*CmdChatSearchInbox) GetUsage ¶

func (c *CmdChatSearchInbox) GetUsage() libkb.Usage

func (*CmdChatSearchInbox) ParseArgv ¶

func (c *CmdChatSearchInbox) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatSearchInbox) Run ¶

func (c *CmdChatSearchInbox) Run() (err error)

type CmdChatSearchRegexp ¶

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

func NewCmdChatSearchRegexpRunner ¶

func NewCmdChatSearchRegexpRunner(g *libkb.GlobalContext) *CmdChatSearchRegexp

func (*CmdChatSearchRegexp) GetUsage ¶

func (c *CmdChatSearchRegexp) GetUsage() libkb.Usage

func (*CmdChatSearchRegexp) ParseArgv ¶

func (c *CmdChatSearchRegexp) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatSearchRegexp) Run ¶

func (c *CmdChatSearchRegexp) Run() (err error)

type CmdChatSend ¶

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

func NewCmdChatSendRunner ¶

func NewCmdChatSendRunner(g *libkb.GlobalContext) *CmdChatSend

func (*CmdChatSend) GetUsage ¶

func (c *CmdChatSend) GetUsage() libkb.Usage

func (*CmdChatSend) ParseArgv ¶

func (c *CmdChatSend) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatSend) Run ¶

func (c *CmdChatSend) Run() (err error)

func (*CmdChatSend) SetMessage ¶

func (c *CmdChatSend) SetMessage(m string)

func (*CmdChatSend) SetTeamChatForTest ¶

func (c *CmdChatSend) SetTeamChatForTest(n string)

type CmdChatSetConvMinWriterRole ¶

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

func NewCmdChatSetConvMinWriterRoleRunner ¶

func NewCmdChatSetConvMinWriterRoleRunner(g *libkb.GlobalContext) *CmdChatSetConvMinWriterRole

func (*CmdChatSetConvMinWriterRole) GetUsage ¶

func (c *CmdChatSetConvMinWriterRole) GetUsage() libkb.Usage

func (*CmdChatSetConvMinWriterRole) ParseArgv ¶

func (c *CmdChatSetConvMinWriterRole) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatSetConvMinWriterRole) Run ¶

func (c *CmdChatSetConvMinWriterRole) Run() (err error)

type CmdChatSetNotificationSettings ¶

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

func NewCmdChatSetNotificationSettingsRunner ¶

func NewCmdChatSetNotificationSettingsRunner(g *libkb.GlobalContext) *CmdChatSetNotificationSettings

func (*CmdChatSetNotificationSettings) GetUsage ¶

func (*CmdChatSetNotificationSettings) ParseArgv ¶

func (c *CmdChatSetNotificationSettings) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatSetNotificationSettings) Run ¶

type CmdChatSetRetention ¶

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

func NewCmdChatSetRetentionRunner ¶

func NewCmdChatSetRetentionRunner(g *libkb.GlobalContext) *CmdChatSetRetention

func (*CmdChatSetRetention) GetUsage ¶

func (c *CmdChatSetRetention) GetUsage() libkb.Usage

func (*CmdChatSetRetention) ParseArgv ¶

func (c *CmdChatSetRetention) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatSetRetention) Run ¶

func (c *CmdChatSetRetention) Run() (err error)

type CmdChatSetRetentionDev ¶

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

func NewCmdChatSetRetentionDevRunner ¶

func NewCmdChatSetRetentionDevRunner(g *libkb.GlobalContext) *CmdChatSetRetentionDev

func (*CmdChatSetRetentionDev) GetUsage ¶

func (c *CmdChatSetRetentionDev) GetUsage() libkb.Usage

func (*CmdChatSetRetentionDev) ParseArgv ¶

func (c *CmdChatSetRetentionDev) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatSetRetentionDev) Run ¶

func (c *CmdChatSetRetentionDev) Run() (err error)

type CmdChatUpload ¶

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

func (*CmdChatUpload) Cancel ¶

func (c *CmdChatUpload) Cancel() error

func (*CmdChatUpload) GetUsage ¶

func (c *CmdChatUpload) GetUsage() libkb.Usage

func (*CmdChatUpload) ParseArgv ¶

func (c *CmdChatUpload) ParseArgv(ctx *cli.Context) (err error)

func (*CmdChatUpload) Run ¶

func (c *CmdChatUpload) Run() (err error)

type CmdCheckTracking ¶

type CmdCheckTracking struct {
	libkb.Contextified
}

func NewCmdCheckTrackingRunner ¶

func NewCmdCheckTrackingRunner(g *libkb.GlobalContext) *CmdCheckTracking

func (*CmdCheckTracking) GetUsage ¶

func (c *CmdCheckTracking) GetUsage() libkb.Usage

func (*CmdCheckTracking) ParseArgv ¶

func (c *CmdCheckTracking) ParseArgv(ctx *cli.Context) error

func (*CmdCheckTracking) Run ¶

func (c *CmdCheckTracking) Run() (err error)

type CmdConfigGet ¶

type CmdConfigGet struct {
	libkb.Contextified
	Path          string
	Direct        bool
	Bare          bool
	AssertTrue    bool
	AssertFalse   bool
	AssertOkOnNil bool
}

func NewCmdConfigGetRunner ¶

func NewCmdConfigGetRunner(g *libkb.GlobalContext) *CmdConfigGet

func (*CmdConfigGet) GetUsage ¶

func (v *CmdConfigGet) GetUsage() libkb.Usage

func (*CmdConfigGet) ParseArgv ¶

func (v *CmdConfigGet) ParseArgv(ctx *cli.Context) error

func (*CmdConfigGet) Run ¶

func (v *CmdConfigGet) Run() error

type CmdConfigInfo ¶

type CmdConfigInfo struct {
	libkb.Contextified
}

func (*CmdConfigInfo) GetUsage ¶

func (v *CmdConfigInfo) GetUsage() libkb.Usage

func (*CmdConfigInfo) ParseArgv ¶

func (v *CmdConfigInfo) ParseArgv(ctx *cli.Context) error

func (*CmdConfigInfo) Run ¶

func (v *CmdConfigInfo) Run() error

type CmdConfigSet ¶

type CmdConfigSet struct {
	libkb.Contextified
	Path    string
	Value   keybase1.ConfigValue
	DoClear bool
}

func NewCmdConfigSetRunner ¶

func NewCmdConfigSetRunner(g *libkb.GlobalContext) *CmdConfigSet

func (*CmdConfigSet) GetUsage ¶

func (v *CmdConfigSet) GetUsage() libkb.Usage

func (*CmdConfigSet) ParseArgv ¶

func (v *CmdConfigSet) ParseArgv(ctx *cli.Context) error

func (*CmdConfigSet) Run ¶

func (v *CmdConfigSet) Run() error

type CmdContactLookup ¶

type CmdContactLookup struct {
	libkb.Contextified
}

func (*CmdContactLookup) GetUsage ¶

func (c *CmdContactLookup) GetUsage() libkb.Usage

func (*CmdContactLookup) ParseArgv ¶

func (c *CmdContactLookup) ParseArgv(ctx *cli.Context) error

func (*CmdContactLookup) Run ¶

func (c *CmdContactLookup) Run() error

type CmdCtlAppExit ¶

type CmdCtlAppExit struct {
	libkb.Contextified
}

func (*CmdCtlAppExit) GetUsage ¶

func (s *CmdCtlAppExit) GetUsage() libkb.Usage

func (*CmdCtlAppExit) ParseArgv ¶

func (s *CmdCtlAppExit) ParseArgv(ctx *cli.Context) error

func (*CmdCtlAppExit) Run ¶

func (s *CmdCtlAppExit) Run() (err error)

type CmdCtlAutostart ¶

type CmdCtlAutostart struct {
	libkb.Contextified
	ToggleOn bool
}

func (*CmdCtlAutostart) GetUsage ¶

func (c *CmdCtlAutostart) GetUsage() libkb.Usage

func (*CmdCtlAutostart) ParseArgv ¶

func (c *CmdCtlAutostart) ParseArgv(ctx *cli.Context) error

func (*CmdCtlAutostart) Run ¶

func (c *CmdCtlAutostart) Run() error

type CmdCtlInit ¶

type CmdCtlInit struct {
	libkb.Contextified
	DryRun bool
}

func (*CmdCtlInit) Envs ¶

func (c *CmdCtlInit) Envs() []EnvSetting

func (*CmdCtlInit) GetUsage ¶

func (c *CmdCtlInit) GetUsage() libkb.Usage

func (*CmdCtlInit) ParseArgv ¶

func (c *CmdCtlInit) ParseArgv(ctx *cli.Context) error

func (*CmdCtlInit) Run ¶

func (c *CmdCtlInit) Run() error

func (*CmdCtlInit) RunEnv ¶

func (c *CmdCtlInit) RunEnv() error

We can't really use environment generators for this because... If systemd version is before 233 (e.g., in Ubuntu 16.04 LTS), environment generators are unsupported. Also, by design, environment generators are not able to get user environment variables which might be specified, e.g., in a interactive shell file (rather than in say pam_environment). Thus, we always manually create the environment file again. It should only be needed once during every login to populate that file, after that, as long as they don't change, systemctl will work without run_keybase. Work around by directly creating an environment file that unit files read. If a user really doesn't want to use run_keybase, they can specify their environment variables in a more standard way and import $DISPLAY and $KEYBASE_AUTOSTART into the user manager environment themselves, if the GUI is needed. # (graphical-session.target doesn't have great support either) We don't do this *and* the environment generator because we don't want to pollute the user manager environment with bad data. If stable, user can pipe this to a local config file to remove this need.

type CmdCtlLogRotate ¶

type CmdCtlLogRotate struct {
	libkb.Contextified
}

func (*CmdCtlLogRotate) GetUsage ¶

func (s *CmdCtlLogRotate) GetUsage() libkb.Usage

func (*CmdCtlLogRotate) ParseArgv ¶

func (s *CmdCtlLogRotate) ParseArgv(ctx *cli.Context) error

func (*CmdCtlLogRotate) Run ¶

func (s *CmdCtlLogRotate) Run() (err error)

type CmdCtlRedirector ¶

type CmdCtlRedirector struct {
	libkb.Contextified
	ToggleOn            bool
	Status              bool
	RootRedirectorMount string
	RootConfigFilename  string
	RootConfigDirectory string
}

func (*CmdCtlRedirector) GetUsage ¶

func (c *CmdCtlRedirector) GetUsage() libkb.Usage

func (*CmdCtlRedirector) ParseArgv ¶

func (c *CmdCtlRedirector) ParseArgv(ctx *cli.Context) error

func (*CmdCtlRedirector) Run ¶

func (c *CmdCtlRedirector) Run() error

type CmdCtlReload ¶

type CmdCtlReload struct {
	libkb.Contextified
}

func (*CmdCtlReload) GetUsage ¶

func (s *CmdCtlReload) GetUsage() libkb.Usage

func (*CmdCtlReload) ParseArgv ¶

func (s *CmdCtlReload) ParseArgv(ctx *cli.Context) error

func (*CmdCtlReload) Run ¶

func (s *CmdCtlReload) Run() (err error)

type CmdCtlRestart ¶

type CmdCtlRestart struct {
	libkb.Contextified
}

func (*CmdCtlRestart) GetUsage ¶

func (s *CmdCtlRestart) GetUsage() libkb.Usage

func (*CmdCtlRestart) ParseArgv ¶

func (s *CmdCtlRestart) ParseArgv(ctx *cli.Context) error

func (*CmdCtlRestart) Run ¶

func (s *CmdCtlRestart) Run() error

type CmdCtlStart ¶

type CmdCtlStart struct {
	libkb.Contextified
}

func (*CmdCtlStart) GetUsage ¶

func (s *CmdCtlStart) GetUsage() libkb.Usage

func (*CmdCtlStart) ParseArgv ¶

func (s *CmdCtlStart) ParseArgv(ctx *cli.Context) error

func (*CmdCtlStart) Run ¶

func (s *CmdCtlStart) Run() (err error)

type CmdCtlStop ¶

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

func (*CmdCtlStop) GetUsage ¶

func (s *CmdCtlStop) GetUsage() libkb.Usage

func (*CmdCtlStop) ParseArgv ¶

func (s *CmdCtlStop) ParseArgv(ctx *cli.Context) error

func (*CmdCtlStop) Run ¶

func (s *CmdCtlStop) Run() (err error)

type CmdCtlWantsSystemd ¶

type CmdCtlWantsSystemd struct {
	libkb.Contextified
}

func (*CmdCtlWantsSystemd) GetUsage ¶

func (c *CmdCtlWantsSystemd) GetUsage() libkb.Usage

func (*CmdCtlWantsSystemd) ParseArgv ¶

func (c *CmdCtlWantsSystemd) ParseArgv(ctx *cli.Context) error

func (*CmdCtlWantsSystemd) Run ¶

func (c *CmdCtlWantsSystemd) Run() error

type CmdCurrencyAdd ¶

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

func NewCmdCurrencyAddRunner ¶

func NewCmdCurrencyAddRunner(g *libkb.GlobalContext) *CmdCurrencyAdd

func (*CmdCurrencyAdd) GetUsage ¶

func (c *CmdCurrencyAdd) GetUsage() libkb.Usage

func (*CmdCurrencyAdd) ParseArgv ¶

func (c *CmdCurrencyAdd) ParseArgv(ctx *cli.Context) error

func (*CmdCurrencyAdd) Run ¶

func (c *CmdCurrencyAdd) Run() (err error)

func (*CmdCurrencyAdd) SetAddress ¶

func (c *CmdCurrencyAdd) SetAddress(s string)

type CmdDbClean ¶

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

func NewCmdDbCleanRunner ¶

func NewCmdDbCleanRunner(g *libkb.GlobalContext) *CmdDbClean

func (*CmdDbClean) GetUsage ¶

func (c *CmdDbClean) GetUsage() libkb.Usage

func (*CmdDbClean) ParseArgv ¶

func (c *CmdDbClean) ParseArgv(ctx *cli.Context) error

func (*CmdDbClean) Run ¶

func (c *CmdDbClean) Run() error

type CmdDbDelete ¶

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

func NewCmdDbDeleteRunner ¶

func NewCmdDbDeleteRunner(g *libkb.GlobalContext) *CmdDbDelete

func (*CmdDbDelete) GetUsage ¶

func (c *CmdDbDelete) GetUsage() libkb.Usage

func (*CmdDbDelete) ParseArgv ¶

func (c *CmdDbDelete) ParseArgv(ctx *cli.Context) (err error)

func (*CmdDbDelete) Run ¶

func (c *CmdDbDelete) Run() error

type CmdDbGet ¶

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

func NewCmdDbGetRunner ¶

func NewCmdDbGetRunner(g *libkb.GlobalContext) *CmdDbGet

func (*CmdDbGet) GetUsage ¶

func (c *CmdDbGet) GetUsage() libkb.Usage

func (*CmdDbGet) ParseArgv ¶

func (c *CmdDbGet) ParseArgv(ctx *cli.Context) (err error)

func (*CmdDbGet) Run ¶

func (c *CmdDbGet) Run() error

type CmdDbKeysWithPrefix ¶

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

func NewCmdDbKeysWithPrefixRunner ¶

func NewCmdDbKeysWithPrefixRunner(g *libkb.GlobalContext) *CmdDbKeysWithPrefix

func (*CmdDbKeysWithPrefix) GetUsage ¶

func (c *CmdDbKeysWithPrefix) GetUsage() libkb.Usage

func (*CmdDbKeysWithPrefix) ParseArgv ¶

func (c *CmdDbKeysWithPrefix) ParseArgv(ctx *cli.Context) (err error)

func (*CmdDbKeysWithPrefix) Run ¶

func (c *CmdDbKeysWithPrefix) Run() error

type CmdDbNuke ¶

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

func NewCmdDbNukeRunner ¶

func NewCmdDbNukeRunner(g *libkb.GlobalContext) *CmdDbNuke

func (*CmdDbNuke) GetUsage ¶

func (c *CmdDbNuke) GetUsage() libkb.Usage

func (*CmdDbNuke) ParseArgv ¶

func (c *CmdDbNuke) ParseArgv(ctx *cli.Context) error

func (*CmdDbNuke) Run ¶

func (c *CmdDbNuke) Run() (err error)

type CmdDbPut ¶

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

func NewCmdDbPutRunner ¶

func NewCmdDbPutRunner(g *libkb.GlobalContext) *CmdDbPut

func (*CmdDbPut) GetUsage ¶

func (c *CmdDbPut) GetUsage() libkb.Usage

func (*CmdDbPut) ParseArgv ¶

func (c *CmdDbPut) ParseArgv(ctx *cli.Context) (err error)

func (*CmdDbPut) Run ¶

func (c *CmdDbPut) Run() error

type CmdDecrypt ¶

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

func (*CmdDecrypt) GetUsage ¶

func (c *CmdDecrypt) GetUsage() libkb.Usage

func (*CmdDecrypt) ParseArgv ¶

func (c *CmdDecrypt) ParseArgv(ctx *cli.Context) error

func (*CmdDecrypt) Run ¶

func (c *CmdDecrypt) Run() error

type CmdDeleteEmail ¶

type CmdDeleteEmail struct {
	libkb.Contextified
	Email string
}

func (*CmdDeleteEmail) GetUsage ¶

func (c *CmdDeleteEmail) GetUsage() libkb.Usage

func (*CmdDeleteEmail) ParseArgv ¶

func (c *CmdDeleteEmail) ParseArgv(ctx *cli.Context) error

func (*CmdDeleteEmail) Run ¶

func (c *CmdDeleteEmail) Run() error

type CmdDeletePhoneNumber ¶

type CmdDeletePhoneNumber struct {
	libkb.Contextified
	PhoneNumber string
}

func (*CmdDeletePhoneNumber) GetUsage ¶

func (c *CmdDeletePhoneNumber) GetUsage() libkb.Usage

func (*CmdDeletePhoneNumber) ParseArgv ¶

func (c *CmdDeletePhoneNumber) ParseArgv(ctx *cli.Context) error

func (*CmdDeletePhoneNumber) Run ¶

func (c *CmdDeletePhoneNumber) Run() error

type CmdDeprovision ¶

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

func (*CmdDeprovision) GetUsage ¶

func (c *CmdDeprovision) GetUsage() libkb.Usage

func (*CmdDeprovision) ParseArgv ¶

func (c *CmdDeprovision) ParseArgv(ctx *cli.Context) error

func (*CmdDeprovision) Run ¶

func (c *CmdDeprovision) Run() (err error)

type CmdDeviceAdd ¶

type CmdDeviceAdd struct {
	libkb.Contextified
}

CmdDeviceAdd is the 'device add' command. It is used for device provisioning on the provisioner/device X/C1.

func (*CmdDeviceAdd) GetUsage ¶

func (c *CmdDeviceAdd) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdDeviceAdd) ParseArgv ¶

func (c *CmdDeviceAdd) ParseArgv(ctx *cli.Context) error

ParseArgv gets the secret phrase from the command args.

func (*CmdDeviceAdd) Run ¶

func (c *CmdDeviceAdd) Run() error

RunClient runs the command in client/server mode.

type CmdDeviceList ¶

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

CmdDeviceList is the 'device list' command. It displays all the devices for the current user.

func (*CmdDeviceList) GetUsage ¶

func (c *CmdDeviceList) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdDeviceList) ParseArgv ¶

func (c *CmdDeviceList) ParseArgv(ctx *cli.Context) error

ParseArgv does nothing for this command.

func (*CmdDeviceList) Run ¶

func (c *CmdDeviceList) Run() error

RunClient runs the command in client/server mode.

type CmdDeviceRemove ¶

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

func NewCmdDeviceRemoveRunner ¶

func NewCmdDeviceRemoveRunner(g *libkb.GlobalContext) *CmdDeviceRemove

func (*CmdDeviceRemove) GetUsage ¶

func (c *CmdDeviceRemove) GetUsage() libkb.Usage

func (*CmdDeviceRemove) ParseArgv ¶

func (c *CmdDeviceRemove) ParseArgv(ctx *cli.Context) error

func (*CmdDeviceRemove) Run ¶

func (c *CmdDeviceRemove) Run() (err error)

func (*CmdDeviceRemove) SetIDOrName ¶

func (c *CmdDeviceRemove) SetIDOrName(s string)

type CmdDismiss ¶

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

func (*CmdDismiss) GetUsage ¶

func (c *CmdDismiss) GetUsage() libkb.Usage

func (*CmdDismiss) ParseArgv ¶

func (c *CmdDismiss) ParseArgv(ctx *cli.Context) error

func (*CmdDismiss) Run ¶

func (c *CmdDismiss) Run() error

type CmdDismissCategory ¶

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

func NewCmdDismissCategoryRunner ¶

func NewCmdDismissCategoryRunner(g *libkb.GlobalContext) *CmdDismissCategory

func (*CmdDismissCategory) GetUsage ¶

func (c *CmdDismissCategory) GetUsage() libkb.Usage

func (*CmdDismissCategory) ParseArgv ¶

func (c *CmdDismissCategory) ParseArgv(ctx *cli.Context) error

func (*CmdDismissCategory) Run ¶

func (c *CmdDismissCategory) Run() error

type CmdDumpKeyfamily ¶

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

func (*CmdDumpKeyfamily) GetUsage ¶

func (v *CmdDumpKeyfamily) GetUsage() libkb.Usage

func (*CmdDumpKeyfamily) ParseArgv ¶

func (v *CmdDumpKeyfamily) ParseArgv(ctx *cli.Context) error

func (*CmdDumpKeyfamily) Run ¶

func (v *CmdDumpKeyfamily) Run() (err error)

type CmdDumpPushNotifications ¶

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

func NewCmdDumpPushNotificationsRunner ¶

func NewCmdDumpPushNotificationsRunner(g *libkb.GlobalContext) *CmdDumpPushNotifications

func (*CmdDumpPushNotifications) GetUsage ¶

func (c *CmdDumpPushNotifications) GetUsage() libkb.Usage

func (*CmdDumpPushNotifications) ParseArgv ¶

func (c *CmdDumpPushNotifications) ParseArgv(ctx *cli.Context) error

func (*CmdDumpPushNotifications) Run ¶

type CmdEditEmail ¶

type CmdEditEmail struct {
	libkb.Contextified
	OldEmail   string
	Email      string
	Visibility keybase1.IdentityVisibility
}

func (*CmdEditEmail) GetUsage ¶

func (c *CmdEditEmail) GetUsage() libkb.Usage

func (*CmdEditEmail) ParseArgv ¶

func (c *CmdEditEmail) ParseArgv(ctx *cli.Context) error

func (*CmdEditEmail) Run ¶

func (c *CmdEditEmail) Run() error

type CmdEditPhoneNumber ¶

type CmdEditPhoneNumber struct {
	libkb.Contextified
	OldPhoneNumber string
	PhoneNumber    string
	Visibility     keybase1.IdentityVisibility
}

func (*CmdEditPhoneNumber) GetUsage ¶

func (c *CmdEditPhoneNumber) GetUsage() libkb.Usage

func (*CmdEditPhoneNumber) ParseArgv ¶

func (c *CmdEditPhoneNumber) ParseArgv(ctx *cli.Context) error

func (*CmdEditPhoneNumber) Run ¶

func (c *CmdEditPhoneNumber) Run() error

type CmdEncrypt ¶

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

func (*CmdEncrypt) GetUsage ¶

func (c *CmdEncrypt) GetUsage() libkb.Usage

func (*CmdEncrypt) ParseArgv ¶

func (c *CmdEncrypt) ParseArgv(ctx *cli.Context) error

func (*CmdEncrypt) Run ¶

func (c *CmdEncrypt) Run() error

type CmdFakeTrackingChanged ¶

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

func NewCmdFakeTrackingChangedRunner ¶

func NewCmdFakeTrackingChangedRunner(g *libkb.GlobalContext) *CmdFakeTrackingChanged

func (*CmdFakeTrackingChanged) GetUsage ¶

func (c *CmdFakeTrackingChanged) GetUsage() libkb.Usage

func (*CmdFakeTrackingChanged) ParseArgv ¶

func (c *CmdFakeTrackingChanged) ParseArgv(ctx *cli.Context) error

func (*CmdFakeTrackingChanged) Run ¶

func (c *CmdFakeTrackingChanged) Run() (err error)

type CmdFavoriteAdd ¶

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

func (*CmdFavoriteAdd) GetUsage ¶

func (c *CmdFavoriteAdd) GetUsage() libkb.Usage

func (*CmdFavoriteAdd) ParseArgv ¶

func (c *CmdFavoriteAdd) ParseArgv(ctx *cli.Context) error

func (*CmdFavoriteAdd) Run ¶

func (c *CmdFavoriteAdd) Run() error

type CmdFavoriteList ¶

type CmdFavoriteList struct {
	libkb.Contextified
}

func (*CmdFavoriteList) GetUsage ¶

func (c *CmdFavoriteList) GetUsage() libkb.Usage

func (*CmdFavoriteList) ParseArgv ¶

func (c *CmdFavoriteList) ParseArgv(ctx *cli.Context) error

func (*CmdFavoriteList) Run ¶

func (c *CmdFavoriteList) Run() error

type CmdFavoriteRemove ¶

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

func (*CmdFavoriteRemove) GetUsage ¶

func (c *CmdFavoriteRemove) GetUsage() libkb.Usage

func (*CmdFavoriteRemove) ParseArgv ¶

func (c *CmdFavoriteRemove) ParseArgv(ctx *cli.Context) error

func (*CmdFavoriteRemove) Run ¶

func (c *CmdFavoriteRemove) Run() error

type CmdGitCreate ¶

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

func NewCmdGitCreateRunner ¶

func NewCmdGitCreateRunner(g *libkb.GlobalContext) *CmdGitCreate

func (*CmdGitCreate) GetUsage ¶

func (c *CmdGitCreate) GetUsage() libkb.Usage

func (*CmdGitCreate) ParseArgv ¶

func (c *CmdGitCreate) ParseArgv(ctx *cli.Context) error

func (*CmdGitCreate) Run ¶

func (c *CmdGitCreate) Run() error

type CmdGitDelete ¶

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

func NewCmdGitDeleteRunner ¶

func NewCmdGitDeleteRunner(g *libkb.GlobalContext) *CmdGitDelete

func (*CmdGitDelete) GetUsage ¶

func (c *CmdGitDelete) GetUsage() libkb.Usage

func (*CmdGitDelete) ParseArgv ¶

func (c *CmdGitDelete) ParseArgv(ctx *cli.Context) error

func (*CmdGitDelete) Run ¶

func (c *CmdGitDelete) Run() error

type CmdGitGC ¶

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

func NewCmdGitGCRunner ¶

func NewCmdGitGCRunner(g *libkb.GlobalContext) *CmdGitGC

func (*CmdGitGC) GetUsage ¶

func (c *CmdGitGC) GetUsage() libkb.Usage

func (*CmdGitGC) ParseArgv ¶

func (c *CmdGitGC) ParseArgv(ctx *cli.Context) error

func (*CmdGitGC) Run ¶

func (c *CmdGitGC) Run() error

type CmdGitLFSConfig ¶

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

func NewCmdGitLFSConfigRunner ¶

func NewCmdGitLFSConfigRunner(g *libkb.GlobalContext) *CmdGitLFSConfig

func (*CmdGitLFSConfig) GetUsage ¶

func (c *CmdGitLFSConfig) GetUsage() libkb.Usage

func (*CmdGitLFSConfig) ParseArgv ¶

func (c *CmdGitLFSConfig) ParseArgv(ctx *cli.Context) error

func (*CmdGitLFSConfig) Run ¶

func (c *CmdGitLFSConfig) Run() error

type CmdGitList ¶

type CmdGitList struct {
	libkb.Contextified
}

func NewCmdGitListRunner ¶

func NewCmdGitListRunner(g *libkb.GlobalContext) *CmdGitList

func (*CmdGitList) GetUsage ¶

func (c *CmdGitList) GetUsage() libkb.Usage

func (*CmdGitList) ParseArgv ¶

func (c *CmdGitList) ParseArgv(ctx *cli.Context) error

func (*CmdGitList) Run ¶

func (c *CmdGitList) Run() error

type CmdGitMddel ¶

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

func (*CmdGitMddel) GetUsage ¶

func (c *CmdGitMddel) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdGitMddel) ParseArgv ¶

func (c *CmdGitMddel) ParseArgv(ctx *cli.Context) error

ParseArgv gets the secret phrase from the command args.

func (*CmdGitMddel) Run ¶

func (c *CmdGitMddel) Run() error

RunClient runs the command in client/server mode.

type CmdGitMdget ¶

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

func (*CmdGitMdget) GetUsage ¶

func (c *CmdGitMdget) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdGitMdget) ParseArgv ¶

func (c *CmdGitMdget) ParseArgv(ctx *cli.Context) error

ParseArgv gets the secret phrase from the command args.

func (*CmdGitMdget) Run ¶

func (c *CmdGitMdget) Run() error

RunClient runs the command in client/server mode.

type CmdGitMdput ¶

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

func (*CmdGitMdput) GetUsage ¶

func (c *CmdGitMdput) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdGitMdput) ParseArgv ¶

func (c *CmdGitMdput) ParseArgv(ctx *cli.Context) error

ParseArgv gets the secret phrase from the command args.

func (*CmdGitMdput) Run ¶

func (c *CmdGitMdput) Run() error

RunClient runs the command in client/server mode.

type CmdGitSettings ¶

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

func (*CmdGitSettings) GetUsage ¶

func (c *CmdGitSettings) GetUsage() libkb.Usage

func (*CmdGitSettings) ParseArgv ¶

func (c *CmdGitSettings) ParseArgv(ctx *cli.Context) error

func (*CmdGitSettings) Run ¶

func (c *CmdGitSettings) Run() error

type CmdHome ¶

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

func NewCmdHomeRunner ¶

func NewCmdHomeRunner(g *libkb.GlobalContext) *CmdHome

func (*CmdHome) GetUsage ¶

func (c *CmdHome) GetUsage() libkb.Usage

func (*CmdHome) ParseArgv ¶

func (c *CmdHome) ParseArgv(ctx *cli.Context) error

func (*CmdHome) Run ¶

func (c *CmdHome) Run() error

type CmdID ¶

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

func NewCmdIDRunner ¶

func NewCmdIDRunner(g *libkb.GlobalContext) *CmdID

func (*CmdID) GetUsage ¶

func (v *CmdID) GetUsage() libkb.Usage

func (*CmdID) ParseArgv ¶

func (v *CmdID) ParseArgv(ctx *cli.Context) error

func (*CmdID) Run ¶

func (v *CmdID) Run() error

func (*CmdID) SetUser ¶

func (v *CmdID) SetUser(s string)

func (*CmdID) UseDelegateUI ¶

func (v *CmdID) UseDelegateUI()

type CmdInterestingPeople ¶

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

func NewCmdInterestingPeopleRunner ¶

func NewCmdInterestingPeopleRunner(g *libkb.GlobalContext) *CmdInterestingPeople

func (*CmdInterestingPeople) GetUsage ¶

func (c *CmdInterestingPeople) GetUsage() libkb.Usage

func (*CmdInterestingPeople) ParseArgv ¶

func (c *CmdInterestingPeople) ParseArgv(ctx *cli.Context) error

func (*CmdInterestingPeople) Run ¶

func (c *CmdInterestingPeople) Run() error

type CmdKVStoreAPI ¶

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

func NewCmdKVStoreAPIRunner ¶

func NewCmdKVStoreAPIRunner(g *libkb.GlobalContext) *CmdKVStoreAPI

func (*CmdKVStoreAPI) GetUsage ¶

func (c *CmdKVStoreAPI) GetUsage() libkb.Usage

func (*CmdKVStoreAPI) ParseArgv ¶

func (c *CmdKVStoreAPI) ParseArgv(ctx *cli.Context) error

func (*CmdKVStoreAPI) Run ¶

func (c *CmdKVStoreAPI) Run() error

func (*CmdKVStoreAPI) SetMessage ¶

func (c *CmdKVStoreAPI) SetMessage(m string)

func (*CmdKVStoreAPI) SetOutputFile ¶

func (c *CmdKVStoreAPI) SetOutputFile(f string)

type CmdListEmails ¶

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

func (*CmdListEmails) GetUsage ¶

func (c *CmdListEmails) GetUsage() libkb.Usage

func (*CmdListEmails) ParseArgv ¶

func (c *CmdListEmails) ParseArgv(ctx *cli.Context) error

func (*CmdListEmails) Run ¶

func (c *CmdListEmails) Run() error

type CmdListPhoneNumbers ¶

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

func (*CmdListPhoneNumbers) GetUsage ¶

func (c *CmdListPhoneNumbers) GetUsage() libkb.Usage

func (*CmdListPhoneNumbers) ParseArgv ¶

func (c *CmdListPhoneNumbers) ParseArgv(ctx *cli.Context) error

func (*CmdListPhoneNumbers) Run ¶

func (c *CmdListPhoneNumbers) Run() error

type CmdListTrackers ¶

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

CmdListTrackers is the 'list-trackers' command. It displays all the trackers for a user.

func (*CmdListTrackers) GetUsage ¶

func (c *CmdListTrackers) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdListTrackers) ParseArgv ¶

func (c *CmdListTrackers) ParseArgv(ctx *cli.Context) error

ParseArgv parses the command args.

func (*CmdListTrackers) Run ¶

func (c *CmdListTrackers) Run() error

RunClient runs the command in client/server mode.

type CmdListTracking ¶

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

func (*CmdListTracking) GetUsage ¶

func (s *CmdListTracking) GetUsage() libkb.Usage

func (*CmdListTracking) ParseArgv ¶

func (s *CmdListTracking) ParseArgv(ctx *cli.Context) error

func (*CmdListTracking) Run ¶

func (s *CmdListTracking) Run() error

type CmdLogProfile ¶

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

func (*CmdLogProfile) GetUsage ¶

func (c *CmdLogProfile) GetUsage() libkb.Usage

func (*CmdLogProfile) ParseArgv ¶

func (c *CmdLogProfile) ParseArgv(ctx *cli.Context) error

func (*CmdLogProfile) Run ¶

func (c *CmdLogProfile) Run() error

type CmdLogSend ¶

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

func (*CmdLogSend) GetUsage ¶

func (c *CmdLogSend) GetUsage() libkb.Usage

func (*CmdLogSend) ParseArgv ¶

func (c *CmdLogSend) ParseArgv(ctx *cli.Context) error

func (*CmdLogSend) Run ¶

func (c *CmdLogSend) Run() error

type CmdLogin ¶

type CmdLogin struct {
	libkb.Contextified
	Username string

	PaperKey   string
	DeviceName string

	SessionID int
	// contains filtered or unexported fields
}

func NewCmdLoginRunner ¶

func NewCmdLoginRunner(g *libkb.GlobalContext) *CmdLogin

func (*CmdLogin) Cancel ¶

func (c *CmdLogin) Cancel() error

func (*CmdLogin) GetUsage ¶

func (c *CmdLogin) GetUsage() libkb.Usage

func (*CmdLogin) ParseArgv ¶

func (c *CmdLogin) ParseArgv(ctx *cli.Context) error

func (*CmdLogin) Run ¶

func (c *CmdLogin) Run() error

type CmdLogout ¶

type CmdLogout struct {
	libkb.Contextified
	Force bool
}

func NewCmdLogoutRunner ¶

func NewCmdLogoutRunner(g *libkb.GlobalContext) *CmdLogout

func (*CmdLogout) GetUsage ¶

func (v *CmdLogout) GetUsage() libkb.Usage

func (*CmdLogout) ParseArgv ¶

func (v *CmdLogout) ParseArgv(ctx *cli.Context) error

func (*CmdLogout) Run ¶

func (v *CmdLogout) Run() error

type CmdNetworkStats ¶

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

func (*CmdNetworkStats) GetUsage ¶

func (c *CmdNetworkStats) GetUsage() libkb.Usage

func (*CmdNetworkStats) ParseArgv ¶

func (c *CmdNetworkStats) ParseArgv(ctx *cli.Context) error

func (*CmdNetworkStats) Run ¶

func (c *CmdNetworkStats) Run() (err error)

type CmdOneshot ¶

type CmdOneshot struct {
	libkb.Contextified
	Username string
	PaperKey string
}

func NewCmdOneshotRunner ¶

func NewCmdOneshotRunner(g *libkb.GlobalContext) *CmdOneshot

func (*CmdOneshot) GetUsage ¶

func (c *CmdOneshot) GetUsage() libkb.Usage

func (*CmdOneshot) ParseArgv ¶

func (c *CmdOneshot) ParseArgv(ctx *cli.Context) (err error)

func (*CmdOneshot) Run ¶

func (c *CmdOneshot) Run() error

type CmdPGPDecrypt ¶

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

func (*CmdPGPDecrypt) GetUsage ¶

func (c *CmdPGPDecrypt) GetUsage() libkb.Usage

func (*CmdPGPDecrypt) ParseArgv ¶

func (c *CmdPGPDecrypt) ParseArgv(ctx *cli.Context) error

func (*CmdPGPDecrypt) Run ¶

func (c *CmdPGPDecrypt) Run() error

type CmdPGPDrop ¶

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

func (*CmdPGPDrop) GetUsage ¶

func (c *CmdPGPDrop) GetUsage() libkb.Usage

func (*CmdPGPDrop) ParseArgv ¶

func (c *CmdPGPDrop) ParseArgv(ctx *cli.Context) (err error)

func (*CmdPGPDrop) Run ¶

func (c *CmdPGPDrop) Run() (err error)

type CmdPGPEncrypt ¶

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

func (*CmdPGPEncrypt) GetUsage ¶

func (c *CmdPGPEncrypt) GetUsage() libkb.Usage

func (*CmdPGPEncrypt) ParseArgv ¶

func (c *CmdPGPEncrypt) ParseArgv(ctx *cli.Context) error

func (*CmdPGPEncrypt) Run ¶

func (c *CmdPGPEncrypt) Run() error

type CmdPGPExport ¶

type CmdPGPExport struct {
	UnixFilter

	libkb.Contextified
	// contains filtered or unexported fields
}

func (*CmdPGPExport) GetUsage ¶

func (s *CmdPGPExport) GetUsage() libkb.Usage

func (*CmdPGPExport) ParseArgv ¶

func (s *CmdPGPExport) ParseArgv(ctx *cli.Context) error

func (*CmdPGPExport) Run ¶

func (s *CmdPGPExport) Run() (err error)

type CmdPGPGen ¶

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

func (*CmdPGPGen) GetUsage ¶

func (v *CmdPGPGen) GetUsage() libkb.Usage

func (*CmdPGPGen) ParseArgv ¶

func (v *CmdPGPGen) ParseArgv(ctx *cli.Context) (err error)

func (*CmdPGPGen) Run ¶

func (v *CmdPGPGen) Run() (err error)

Why use CreatePGPIDs rather than MakeAllIds?

type CmdPGPImport ¶

type CmdPGPImport struct {
	UnixFilter

	libkb.Contextified
	// contains filtered or unexported fields
}

func (*CmdPGPImport) GetUsage ¶

func (s *CmdPGPImport) GetUsage() libkb.Usage

func (*CmdPGPImport) ParseArgv ¶

func (s *CmdPGPImport) ParseArgv(ctx *cli.Context) error

func (*CmdPGPImport) Run ¶

func (s *CmdPGPImport) Run() error

type CmdPGPList ¶

type CmdPGPList struct {
	libkb.Contextified
}

func (*CmdPGPList) GetUsage ¶

func (s *CmdPGPList) GetUsage() libkb.Usage

func (*CmdPGPList) ParseArgv ¶

func (s *CmdPGPList) ParseArgv(ctx *cli.Context) error

func (*CmdPGPList) Run ¶

func (s *CmdPGPList) Run() error

type CmdPGPPull ¶

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

func (*CmdPGPPull) GetUsage ¶

func (v *CmdPGPPull) GetUsage() libkb.Usage

func (*CmdPGPPull) ParseArgv ¶

func (v *CmdPGPPull) ParseArgv(ctx *cli.Context) error

func (*CmdPGPPull) Run ¶

func (v *CmdPGPPull) Run() (err error)

type CmdPGPPullPrivate ¶

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

func (*CmdPGPPullPrivate) GetUsage ¶

func (v *CmdPGPPullPrivate) GetUsage() libkb.Usage

func (*CmdPGPPullPrivate) ParseArgv ¶

func (v *CmdPGPPullPrivate) ParseArgv(ctx *cli.Context) (err error)

func (*CmdPGPPullPrivate) Run ¶

func (v *CmdPGPPullPrivate) Run() (err error)

type CmdPGPPurge ¶

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

func (*CmdPGPPurge) GetUsage ¶

func (s *CmdPGPPurge) GetUsage() libkb.Usage

func (*CmdPGPPurge) ParseArgv ¶

func (s *CmdPGPPurge) ParseArgv(ctx *cli.Context) error

func (*CmdPGPPurge) Run ¶

func (s *CmdPGPPurge) Run() error

type CmdPGPPushPrivate ¶

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

func (*CmdPGPPushPrivate) GetUsage ¶

func (v *CmdPGPPushPrivate) GetUsage() libkb.Usage

func (*CmdPGPPushPrivate) ParseArgv ¶

func (v *CmdPGPPushPrivate) ParseArgv(ctx *cli.Context) (err error)

func (*CmdPGPPushPrivate) Run ¶

func (v *CmdPGPPushPrivate) Run() (err error)

type CmdPGPSelect ¶

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

func (*CmdPGPSelect) GetUsage ¶

func (v *CmdPGPSelect) GetUsage() libkb.Usage

func (*CmdPGPSelect) ParseArgv ¶

func (v *CmdPGPSelect) ParseArgv(ctx *cli.Context) (err error)

func (*CmdPGPSelect) Run ¶

func (v *CmdPGPSelect) Run() error

type CmdPGPSign ¶

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

func (*CmdPGPSign) GetUsage ¶

func (s *CmdPGPSign) GetUsage() libkb.Usage

func (*CmdPGPSign) ParseArgv ¶

func (s *CmdPGPSign) ParseArgv(ctx *cli.Context) error

func (*CmdPGPSign) Run ¶

func (s *CmdPGPSign) Run() (err error)

type CmdPGPUpdate ¶

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

func (*CmdPGPUpdate) GetUsage ¶

func (v *CmdPGPUpdate) GetUsage() libkb.Usage

func (*CmdPGPUpdate) ParseArgv ¶

func (v *CmdPGPUpdate) ParseArgv(ctx *cli.Context) error

func (*CmdPGPUpdate) Run ¶

func (v *CmdPGPUpdate) Run() (err error)

type CmdPGPVerify ¶

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

func (*CmdPGPVerify) GetUsage ¶

func (c *CmdPGPVerify) GetUsage() libkb.Usage

func (*CmdPGPVerify) ParseArgv ¶

func (c *CmdPGPVerify) ParseArgv(ctx *cli.Context) error

func (*CmdPGPVerify) Run ¶

func (c *CmdPGPVerify) Run() error

type CmdPaperKey ¶

type CmdPaperKey struct {
	libkb.Contextified
}

func NewCmdPaperKeyRunner ¶

func NewCmdPaperKeyRunner(g *libkb.GlobalContext) *CmdPaperKey

func (*CmdPaperKey) GetUsage ¶

func (c *CmdPaperKey) GetUsage() libkb.Usage

func (*CmdPaperKey) ParseArgv ¶

func (c *CmdPaperKey) ParseArgv(ctx *cli.Context) error

func (*CmdPaperKey) Run ¶

func (c *CmdPaperKey) Run() error

type CmdPaperProvision ¶

type CmdPaperProvision struct {
	libkb.Contextified

	SessionID int
	// contains filtered or unexported fields
}

func NewCmdPaperProvisionRunner ¶

func NewCmdPaperProvisionRunner(g *libkb.GlobalContext) *CmdPaperProvision

func (*CmdPaperProvision) GetUsage ¶

func (c *CmdPaperProvision) GetUsage() libkb.Usage

func (*CmdPaperProvision) ParseArgv ¶

func (c *CmdPaperProvision) ParseArgv(ctx *cli.Context) error

func (*CmdPaperProvision) Run ¶

func (c *CmdPaperProvision) Run() (err error)

type CmdPassphraseChange ¶

type CmdPassphraseChange struct {
	libkb.Contextified
	ForceArg bool
}

func NewCmdPassphraseChangeRunner ¶

func NewCmdPassphraseChangeRunner(g *libkb.GlobalContext) *CmdPassphraseChange

func (*CmdPassphraseChange) GetUsage ¶

func (c *CmdPassphraseChange) GetUsage() libkb.Usage

func (*CmdPassphraseChange) ParseArgv ¶

func (c *CmdPassphraseChange) ParseArgv(ctx *cli.Context) error

func (*CmdPassphraseChange) Run ¶

func (c *CmdPassphraseChange) Run() error

type CmdPassphraseCheck ¶

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

func NewCmdPassphraseCheckRunner ¶

func NewCmdPassphraseCheckRunner(g *libkb.GlobalContext) *CmdPassphraseCheck

func (*CmdPassphraseCheck) GetUsage ¶

func (c *CmdPassphraseCheck) GetUsage() libkb.Usage

func (*CmdPassphraseCheck) ParseArgv ¶

func (c *CmdPassphraseCheck) ParseArgv(ctx *cli.Context) error

func (*CmdPassphraseCheck) Run ¶

func (c *CmdPassphraseCheck) Run() error

type CmdPassphraseRecover ¶

type CmdPassphraseRecover struct {
	libkb.Contextified
	Username string
}

func NewCmdPassphraseRecoverRunner ¶

func NewCmdPassphraseRecoverRunner(g *libkb.GlobalContext) *CmdPassphraseRecover

func (*CmdPassphraseRecover) GetUsage ¶

func (c *CmdPassphraseRecover) GetUsage() libkb.Usage

func (*CmdPassphraseRecover) ParseArgv ¶

func (c *CmdPassphraseRecover) ParseArgv(ctx *cli.Context) error

func (*CmdPassphraseRecover) Run ¶

func (c *CmdPassphraseRecover) Run() error

type CmdPassphraseRemember ¶

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

func NewCmdPassphraseRememberRunner ¶

func NewCmdPassphraseRememberRunner(g *libkb.GlobalContext) *CmdPassphraseRemember

func (*CmdPassphraseRemember) GetUsage ¶

func (c *CmdPassphraseRemember) GetUsage() libkb.Usage

func (*CmdPassphraseRemember) ParseArgv ¶

func (c *CmdPassphraseRemember) ParseArgv(ctx *cli.Context) error

func (*CmdPassphraseRemember) Run ¶

func (c *CmdPassphraseRemember) Run() error

type CmdPeopleSearch ¶

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

func (*CmdPeopleSearch) GetUsage ¶

func (c *CmdPeopleSearch) GetUsage() libkb.Usage

func (*CmdPeopleSearch) ParseArgv ¶

func (c *CmdPeopleSearch) ParseArgv(ctx *cli.Context) error

func (*CmdPeopleSearch) Run ¶

func (c *CmdPeopleSearch) Run() error

type CmdPing ¶

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

func (*CmdPing) GetUsage ¶

func (v *CmdPing) GetUsage() libkb.Usage

func (*CmdPing) ParseArgv ¶

func (v *CmdPing) ParseArgv(ctx *cli.Context) error

func (*CmdPing) Run ¶

func (v *CmdPing) Run() error

type CmdPprofCPU ¶

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

func NewCmdPprofCPURunner ¶

func NewCmdPprofCPURunner(g *libkb.GlobalContext) *CmdPprofCPU

func (*CmdPprofCPU) GetUsage ¶

func (c *CmdPprofCPU) GetUsage() libkb.Usage

func (*CmdPprofCPU) ParseArgv ¶

func (c *CmdPprofCPU) ParseArgv(ctx *cli.Context) error

func (*CmdPprofCPU) Run ¶

func (c *CmdPprofCPU) Run() error

type CmdPprofHeap ¶

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

func NewCmdPprofHeapRunner ¶

func NewCmdPprofHeapRunner(g *libkb.GlobalContext) *CmdPprofHeap

func (*CmdPprofHeap) GetUsage ¶

func (c *CmdPprofHeap) GetUsage() libkb.Usage

func (*CmdPprofHeap) ParseArgv ¶

func (c *CmdPprofHeap) ParseArgv(ctx *cli.Context) error

func (*CmdPprofHeap) Run ¶

func (c *CmdPprofHeap) Run() error

type CmdPprofTrace ¶

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

func NewCmdPprofTraceRunner ¶

func NewCmdPprofTraceRunner(g *libkb.GlobalContext) *CmdPprofTrace

func (*CmdPprofTrace) GetUsage ¶

func (c *CmdPprofTrace) GetUsage() libkb.Usage

func (*CmdPprofTrace) ParseArgv ¶

func (c *CmdPprofTrace) ParseArgv(ctx *cli.Context) error

func (*CmdPprofTrace) Run ¶

func (c *CmdPprofTrace) Run() error

type CmdProve ¶

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

CmdProve is the wrapper structure for the `keybase prove` operation.

func NewCmdProveRooterRunner ¶

func NewCmdProveRooterRunner(g *libkb.GlobalContext, username string) *CmdProve

NewCmdProveRooterRunner creates a CmdProve for proving rooter in tests.

func (*CmdProve) GetUsage ¶

func (p *CmdProve) GetUsage() libkb.Usage

GetUsage specifics the library features that the prove command needs.

func (*CmdProve) ParseArgv ¶

func (p *CmdProve) ParseArgv(ctx *cli.Context) error

ParseArgv parses arguments for the prove command.

func (*CmdProve) Run ¶

func (p *CmdProve) Run() error

RunClient runs the `keybase prove` subcommand in client/server mode.

type CmdRekeyPaper ¶

type CmdRekeyPaper struct {
	libkb.Contextified
}

func (*CmdRekeyPaper) GetUsage ¶

func (c *CmdRekeyPaper) GetUsage() libkb.Usage

func (*CmdRekeyPaper) ParseArgv ¶

func (c *CmdRekeyPaper) ParseArgv(ctx *cli.Context) error

func (*CmdRekeyPaper) Run ¶

func (c *CmdRekeyPaper) Run() error

type CmdRekeyStatus ¶

type CmdRekeyStatus struct {
	libkb.Contextified
}

func (*CmdRekeyStatus) GetUsage ¶

func (c *CmdRekeyStatus) GetUsage() libkb.Usage

func (*CmdRekeyStatus) ParseArgv ¶

func (c *CmdRekeyStatus) ParseArgv(ctx *cli.Context) error

func (*CmdRekeyStatus) Run ¶

func (c *CmdRekeyStatus) Run() error

type CmdRekeyTrigger ¶

type CmdRekeyTrigger struct {
	libkb.Contextified
}

func (*CmdRekeyTrigger) GetUsage ¶

func (c *CmdRekeyTrigger) GetUsage() libkb.Usage

func (*CmdRekeyTrigger) ParseArgv ¶

func (c *CmdRekeyTrigger) ParseArgv(ctx *cli.Context) error

func (*CmdRekeyTrigger) Run ¶

func (c *CmdRekeyTrigger) Run() error

type CmdSaveContacts ¶

type CmdSaveContacts struct {
	libkb.Contextified
}

func (*CmdSaveContacts) GetUsage ¶

func (c *CmdSaveContacts) GetUsage() libkb.Usage

func (*CmdSaveContacts) ParseArgv ¶

func (c *CmdSaveContacts) ParseArgv(ctx *cli.Context) error

func (*CmdSaveContacts) Run ¶

func (c *CmdSaveContacts) Run() error

type CmdScanProofs ¶

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

func NewCmdScanProofsRunner ¶

func NewCmdScanProofsRunner(g *libkb.GlobalContext) *CmdScanProofs

func (*CmdScanProofs) GetUsage ¶

func (c *CmdScanProofs) GetUsage() libkb.Usage

func (*CmdScanProofs) ParseArgv ¶

func (c *CmdScanProofs) ParseArgv(ctx *cli.Context) error

func (*CmdScanProofs) Run ¶

func (c *CmdScanProofs) Run() error

type CmdScript ¶

type CmdScript struct {
	libkb.Contextified
	Script string
	Args   []string
}

func NewCmdScriptRunner ¶

func NewCmdScriptRunner(g *libkb.GlobalContext) *CmdScript

func (*CmdScript) GetUsage ¶

func (c *CmdScript) GetUsage() libkb.Usage

func (*CmdScript) ParseArgv ¶

func (c *CmdScript) ParseArgv(ctx *cli.Context) error

func (*CmdScript) Run ¶

func (c *CmdScript) Run() error

type CmdSecretKey ¶

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

func NewCmdSecretKeyRunner ¶

func NewCmdSecretKeyRunner(g *libkb.GlobalContext) *CmdSecretKey

func (*CmdSecretKey) GetUsage ¶

func (c *CmdSecretKey) GetUsage() libkb.Usage

func (*CmdSecretKey) ParseArgv ¶

func (c *CmdSecretKey) ParseArgv(ctx *cli.Context) error

func (*CmdSecretKey) Run ¶

func (c *CmdSecretKey) Run() (err error)

type CmdSelfProvision ¶

type CmdSelfProvision struct {
	libkb.Contextified

	SessionID int
	// contains filtered or unexported fields
}

func NewCmdSelfProvisionRunner ¶

func NewCmdSelfProvisionRunner(g *libkb.GlobalContext) *CmdSelfProvision

func (*CmdSelfProvision) GetUsage ¶

func (c *CmdSelfProvision) GetUsage() libkb.Usage

func (*CmdSelfProvision) ParseArgv ¶

func (c *CmdSelfProvision) ParseArgv(ctx *cli.Context) error

func (*CmdSelfProvision) Run ¶

func (c *CmdSelfProvision) Run() (err error)

type CmdSendVerificationEmail ¶

type CmdSendVerificationEmail struct {
	libkb.Contextified
	Email keybase1.EmailAddress
}

func (*CmdSendVerificationEmail) GetUsage ¶

func (c *CmdSendVerificationEmail) GetUsage() libkb.Usage

func (*CmdSendVerificationEmail) ParseArgv ¶

func (c *CmdSendVerificationEmail) ParseArgv(ctx *cli.Context) error

func (*CmdSendVerificationEmail) Run ¶

type CmdSetPrimaryEmail ¶

type CmdSetPrimaryEmail struct {
	libkb.Contextified
	Email string
}

func (*CmdSetPrimaryEmail) GetUsage ¶

func (c *CmdSetPrimaryEmail) GetUsage() libkb.Usage

func (*CmdSetPrimaryEmail) ParseArgv ¶

func (c *CmdSetPrimaryEmail) ParseArgv(ctx *cli.Context) error

func (*CmdSetPrimaryEmail) Run ¶

func (c *CmdSetPrimaryEmail) Run() error

type CmdSetVisibilityEmail ¶

type CmdSetVisibilityEmail struct {
	libkb.Contextified
	Email      string
	Visibility keybase1.IdentityVisibility
}

func (*CmdSetVisibilityEmail) GetUsage ¶

func (c *CmdSetVisibilityEmail) GetUsage() libkb.Usage

func (*CmdSetVisibilityEmail) ParseArgv ¶

func (c *CmdSetVisibilityEmail) ParseArgv(ctx *cli.Context) error

func (*CmdSetVisibilityEmail) Run ¶

func (c *CmdSetVisibilityEmail) Run() error

type CmdSetVisibilityPhoneNumber ¶

type CmdSetVisibilityPhoneNumber struct {
	libkb.Contextified
	PhoneNumber string
	Visibility  keybase1.IdentityVisibility
}

func (*CmdSetVisibilityPhoneNumber) GetUsage ¶

func (c *CmdSetVisibilityPhoneNumber) GetUsage() libkb.Usage

func (*CmdSetVisibilityPhoneNumber) ParseArgv ¶

func (c *CmdSetVisibilityPhoneNumber) ParseArgv(ctx *cli.Context) error

func (*CmdSetVisibilityPhoneNumber) Run ¶

type CmdShowNotifications ¶

type CmdShowNotifications struct {
	libkb.Contextified
}

func (*CmdShowNotifications) GetUsage ¶

func (c *CmdShowNotifications) GetUsage() libkb.Usage

func (*CmdShowNotifications) ParseArgv ¶

func (c *CmdShowNotifications) ParseArgv(ctx *cli.Context) error

func (*CmdShowNotifications) Run ¶

func (c *CmdShowNotifications) Run() error

type CmdSign ¶

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

func (*CmdSign) GetUsage ¶

func (s *CmdSign) GetUsage() libkb.Usage

func (*CmdSign) ParseArgv ¶

func (s *CmdSign) ParseArgv(ctx *cli.Context) error

func (*CmdSign) Run ¶

func (s *CmdSign) Run() (err error)

type CmdSignup ¶

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

func NewCmdSignupRunner ¶

func NewCmdSignupRunner(g *libkb.GlobalContext) *CmdSignup

func (*CmdSignup) GetUsage ¶

func (s *CmdSignup) GetUsage() libkb.Usage

func (*CmdSignup) MakePrompter ¶

func (s *CmdSignup) MakePrompter()

func (*CmdSignup) ParseArgv ¶

func (s *CmdSignup) ParseArgv(ctx *cli.Context) (err error)

func (*CmdSignup) Run ¶

func (s *CmdSignup) Run() (err error)

func (*CmdSignup) SetNoEmail ¶

func (s *CmdSignup) SetNoEmail()

func (*CmdSignup) SetNoInvitationCodeBypass ¶

func (s *CmdSignup) SetNoInvitationCodeBypass()

func (*CmdSignup) SetNoPassphrasePrompt ¶

func (s *CmdSignup) SetNoPassphrasePrompt()

func (*CmdSignup) SetTest ¶

func (s *CmdSignup) SetTest()

func (*CmdSignup) SetTestWithPaper ¶

func (s *CmdSignup) SetTestWithPaper(b bool)

type CmdSigsList ¶

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

func (*CmdSigsList) DisplayKTable ¶

func (s *CmdSigsList) DisplayKTable(sigs []keybase1.Sig) (err error)

func (*CmdSigsList) GetUsage ¶

func (s *CmdSigsList) GetUsage() libkb.Usage

func (*CmdSigsList) ParseArgv ¶

func (s *CmdSigsList) ParseArgv(ctx *cli.Context) error

func (*CmdSigsList) ParseTypes ¶

func (s *CmdSigsList) ParseTypes(ctx *cli.Context) error

func (*CmdSigsList) Run ¶

func (s *CmdSigsList) Run() error

type CmdSigsRevoke ¶

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

func (*CmdSigsRevoke) GetUsage ¶

func (c *CmdSigsRevoke) GetUsage() libkb.Usage

func (*CmdSigsRevoke) ParseArgv ¶

func (c *CmdSigsRevoke) ParseArgv(ctx *cli.Context) error

func (*CmdSigsRevoke) Run ¶

func (c *CmdSigsRevoke) Run() error

type CmdSimpleFSCancelUploads ¶

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

CmdSimpleFSCancelUploads is the 'fs cancel-uploads' command.

func (*CmdSimpleFSCancelUploads) GetUsage ¶

func (c *CmdSimpleFSCancelUploads) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSCancelUploads) ParseArgv ¶

func (c *CmdSimpleFSCancelUploads) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional -a switch, and the path.

func (*CmdSimpleFSCancelUploads) Run ¶

Run runs the command in client/server mode.

type CmdSimpleFSClearConflicts ¶

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

CmdSimpleFSConflicts is the 'fs clear-conflicts' command.

func (*CmdSimpleFSClearConflicts) GetUsage ¶

func (c *CmdSimpleFSClearConflicts) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSClearConflicts) ParseArgv ¶

func (c *CmdSimpleFSClearConflicts) ParseArgv(ctx *cli.Context) error

ParseArgv gets the path.

func (*CmdSimpleFSClearConflicts) Run ¶

Run runs the command in client/server mode.

type CmdSimpleFSCopy ¶

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

CmdSimpleFSCopy is the 'fs cp' command.

func (*CmdSimpleFSCopy) Cancel ¶

func (c *CmdSimpleFSCopy) Cancel() error

func (*CmdSimpleFSCopy) GetUsage ¶

func (c *CmdSimpleFSCopy) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSCopy) ParseArgv ¶

func (c *CmdSimpleFSCopy) ParseArgv(ctx *cli.Context) error

ParseArgv gets the required arguments for this command.

func (*CmdSimpleFSCopy) Run ¶

func (c *CmdSimpleFSCopy) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSDebugDeobfuscate ¶

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

CmdSimpleFSDebugDeobfuscate is the 'fs debug deobfuscate' command.

func (*CmdSimpleFSDebugDeobfuscate) GetUsage ¶

func (c *CmdSimpleFSDebugDeobfuscate) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSDebugDeobfuscate) ParseArgv ¶

func (c *CmdSimpleFSDebugDeobfuscate) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional -r switch

func (*CmdSimpleFSDebugDeobfuscate) Run ¶

Run runs the command in client/server mode.

type CmdSimpleFSDebugDump ¶

type CmdSimpleFSDebugDump struct {
	libkb.Contextified
}

CmdSimpleFSDebugDump is the 'fs debug dump' command.

func (*CmdSimpleFSDebugDump) GetUsage ¶

func (c *CmdSimpleFSDebugDump) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSDebugDump) ParseArgv ¶

func (c *CmdSimpleFSDebugDump) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional -r switch

func (*CmdSimpleFSDebugDump) Run ¶

func (c *CmdSimpleFSDebugDump) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSDebugObfuscate ¶

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

CmdSimpleFSDebugObfuscate is the 'fs debug obfuscate' command.

func (*CmdSimpleFSDebugObfuscate) GetUsage ¶

func (c *CmdSimpleFSDebugObfuscate) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSDebugObfuscate) ParseArgv ¶

func (c *CmdSimpleFSDebugObfuscate) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional -r switch

func (*CmdSimpleFSDebugObfuscate) Run ¶

Run runs the command in client/server mode.

type CmdSimpleFSFinishResolvingConflicts ¶

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

CmdSimpleFSConflicts is the 'fs clear-conflicts' command.

func (*CmdSimpleFSFinishResolvingConflicts) GetUsage ¶

GetUsage says what this command needs to operate.

func (*CmdSimpleFSFinishResolvingConflicts) ParseArgv ¶

ParseArgv gets the path.

func (*CmdSimpleFSFinishResolvingConflicts) Run ¶

Run runs the command in client/server mode.

type CmdSimpleFSForceConflict ¶

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

CmdSimpleForceConflict is the 'fs force-conflict' command.

func (*CmdSimpleFSForceConflict) GetUsage ¶

func (c *CmdSimpleFSForceConflict) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSForceConflict) ParseArgv ¶

func (c *CmdSimpleFSForceConflict) ParseArgv(ctx *cli.Context) error

ParseArgv gets the path.

func (*CmdSimpleFSForceConflict) Run ¶

Run runs the command in client/server mode.

type CmdSimpleFSGetStatus ¶

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

CmdSimpleFSGetStatus is the 'fs get-status' command.

func (*CmdSimpleFSGetStatus) GetUsage ¶

func (c *CmdSimpleFSGetStatus) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSGetStatus) ParseArgv ¶

func (c *CmdSimpleFSGetStatus) ParseArgv(ctx *cli.Context) error

ParseArgv gets the required path argument for this command.

func (*CmdSimpleFSGetStatus) Run ¶

func (c *CmdSimpleFSGetStatus) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSHistory ¶

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

CmdSimpleFSHistory is the 'fs history' command.

func (*CmdSimpleFSHistory) GetUsage ¶

func (c *CmdSimpleFSHistory) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSHistory) ParseArgv ¶

func (c *CmdSimpleFSHistory) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional path, if any.

func (*CmdSimpleFSHistory) Run ¶

func (c *CmdSimpleFSHistory) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSIndexProgress ¶

type CmdSimpleFSIndexProgress struct {
	libkb.Contextified
}

CmdSimpleFSIndexProgress is the 'fs index-progress' command.

func (*CmdSimpleFSIndexProgress) GetUsage ¶

func (c *CmdSimpleFSIndexProgress) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSIndexProgress) ParseArgv ¶

func (c *CmdSimpleFSIndexProgress) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional flags and the query.

func (*CmdSimpleFSIndexProgress) Run ¶

Run runs the command in client/server mode.

type CmdSimpleFSKill ¶

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

CmdSimpleFSKill is the 'fs kill' command.

func (*CmdSimpleFSKill) GetUsage ¶

func (c *CmdSimpleFSKill) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSKill) ParseArgv ¶

func (c *CmdSimpleFSKill) ParseArgv(ctx *cli.Context) error

ParseArgv gets the opid argument for this command.

func (*CmdSimpleFSKill) Run ¶

func (c *CmdSimpleFSKill) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSList ¶

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

CmdSimpleFSList is the 'fs ls' command.

func (*CmdSimpleFSList) GetUsage ¶

func (c *CmdSimpleFSList) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSList) HandleTopLevelKeybaseList ¶

func (c *CmdSimpleFSList) HandleTopLevelKeybaseList(path keybase1.Path) (bool, error)

HandleTopLevelKeybaseList - See if this is either /keybase/public or /keybase/private, and request favorites accordingly.

func (*CmdSimpleFSList) ParseArgv ¶

func (c *CmdSimpleFSList) ParseArgv(ctx *cli.Context) error

ParseArgv gets the required path argument for this command.

func (*CmdSimpleFSList) Run ¶

func (c *CmdSimpleFSList) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSMkdir ¶

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

CmdSimpleFSMkdir is the 'fs mkdir' command.

func (*CmdSimpleFSMkdir) GetUsage ¶

func (c *CmdSimpleFSMkdir) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSMkdir) ParseArgv ¶

func (c *CmdSimpleFSMkdir) ParseArgv(ctx *cli.Context) error

ParseArgv gets the required path argument for this command.

func (*CmdSimpleFSMkdir) Run ¶

func (c *CmdSimpleFSMkdir) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSMove ¶

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

CmdSimpleFSMove is the 'fs mv' command.

func (*CmdSimpleFSMove) Cancel ¶

func (c *CmdSimpleFSMove) Cancel() error

func (*CmdSimpleFSMove) GetUsage ¶

func (c *CmdSimpleFSMove) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSMove) ParseArgv ¶

func (c *CmdSimpleFSMove) ParseArgv(ctx *cli.Context) error

ParseArgv does nothing for this command.

func (*CmdSimpleFSMove) Run ¶

func (c *CmdSimpleFSMove) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSPs ¶

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

CmdSimpleFSPs is the 'fs ps' command.

func (*CmdSimpleFSPs) GetUsage ¶

func (c *CmdSimpleFSPs) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSPs) ParseArgv ¶

func (c *CmdSimpleFSPs) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional -r switch

func (*CmdSimpleFSPs) Run ¶

func (c *CmdSimpleFSPs) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSQuota ¶

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

CmdSimpleFSQuota is the 'fs quota' command.

func (*CmdSimpleFSQuota) GetUsage ¶

func (c *CmdSimpleFSQuota) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSQuota) ParseArgv ¶

func (c *CmdSimpleFSQuota) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional -r switch

func (*CmdSimpleFSQuota) Run ¶

func (c *CmdSimpleFSQuota) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSRead ¶

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

CmdSimpleFSRead is the 'fs read' command.

func (*CmdSimpleFSRead) GetUsage ¶

func (c *CmdSimpleFSRead) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSRead) ParseArgv ¶

func (c *CmdSimpleFSRead) ParseArgv(ctx *cli.Context) error

ParseArgv does nothing for this command.

func (*CmdSimpleFSRead) Run ¶

func (c *CmdSimpleFSRead) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSRecover ¶

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

CmdSimpleFSRecover is the 'fs recover' command.

func (*CmdSimpleFSRecover) Cancel ¶

func (c *CmdSimpleFSRecover) Cancel() error

func (*CmdSimpleFSRecover) GetUsage ¶

func (c *CmdSimpleFSRecover) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSRecover) ParseArgv ¶

func (c *CmdSimpleFSRecover) ParseArgv(ctx *cli.Context) error

ParseArgv gets the required arguments for this command.

func (*CmdSimpleFSRecover) Run ¶

func (c *CmdSimpleFSRecover) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSRemove ¶

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

CmdSimpleFSRemove is the 'fs rm' command.

func (*CmdSimpleFSRemove) GetUsage ¶

func (c *CmdSimpleFSRemove) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSRemove) ParseArgv ¶

func (c *CmdSimpleFSRemove) ParseArgv(ctx *cli.Context) error

ParseArgv gets the required path argument for this command.

func (*CmdSimpleFSRemove) Run ¶

func (c *CmdSimpleFSRemove) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSReset ¶

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

CmdSimpleFSReset is the 'fs reset' command.

func (*CmdSimpleFSReset) GetUsage ¶

func (c *CmdSimpleFSReset) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSReset) ParseArgv ¶

func (c *CmdSimpleFSReset) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional path, if any.

func (*CmdSimpleFSReset) Run ¶

func (c *CmdSimpleFSReset) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSResetIndex ¶

type CmdSimpleFSResetIndex struct {
	libkb.Contextified
}

CmdSimpleFSResetIndex is the 'fs reset-index' command.

func (*CmdSimpleFSResetIndex) GetUsage ¶

func (c *CmdSimpleFSResetIndex) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSResetIndex) ParseArgv ¶

func (c *CmdSimpleFSResetIndex) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional flags and the query.

func (*CmdSimpleFSResetIndex) Run ¶

func (c *CmdSimpleFSResetIndex) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSSearch ¶

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

CmdSimpleFSSearch is the 'fs search' command.

func (*CmdSimpleFSSearch) GetUsage ¶

func (c *CmdSimpleFSSearch) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSSearch) ParseArgv ¶

func (c *CmdSimpleFSSearch) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional flags and the query.

func (*CmdSimpleFSSearch) Run ¶

func (c *CmdSimpleFSSearch) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSSetDebugLevel ¶

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

CmdSimpleFSSetDebugLevel is the 'fs set-debug-level' command.

func (*CmdSimpleFSSetDebugLevel) GetUsage ¶

func (c *CmdSimpleFSSetDebugLevel) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSSetDebugLevel) ParseArgv ¶

func (c *CmdSimpleFSSetDebugLevel) ParseArgv(ctx *cli.Context) error

ParseArgv gets and validates the level string.

func (*CmdSimpleFSSetDebugLevel) Run ¶

Run runs the command in client/server mode.

type CmdSimpleFSStat ¶

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

CmdSimpleFSStat is the 'fs stat' command.

func (*CmdSimpleFSStat) GetUsage ¶

func (c *CmdSimpleFSStat) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSStat) ParseArgv ¶

func (c *CmdSimpleFSStat) ParseArgv(ctx *cli.Context) error

ParseArgv gets the required path argument for this command.

func (*CmdSimpleFSStat) Run ¶

func (c *CmdSimpleFSStat) Run() (err error)

Run runs the command in client/server mode.

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

CmdSimpleFSSymlink is the 'fs ln' command.

func (*CmdSimpleFSSymlink) GetUsage ¶

func (c *CmdSimpleFSSymlink) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSSymlink) ParseArgv ¶

func (c *CmdSimpleFSSymlink) ParseArgv(ctx *cli.Context) error

ParseArgv gets the required path argument for this command.

func (*CmdSimpleFSSymlink) Run ¶

func (c *CmdSimpleFSSymlink) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSSyncDisable ¶

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

CmdSimpleFSSyncDisable is the 'fs sync disable' command.

func (*CmdSimpleFSSyncDisable) GetUsage ¶

func (c *CmdSimpleFSSyncDisable) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSSyncDisable) ParseArgv ¶

func (c *CmdSimpleFSSyncDisable) ParseArgv(ctx *cli.Context) error

ParseArgv gets the required path.

func (*CmdSimpleFSSyncDisable) Run ¶

func (c *CmdSimpleFSSyncDisable) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSSyncEnable ¶

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

CmdSimpleFSSyncEnable is the 'fs sync enable' command.

func (*CmdSimpleFSSyncEnable) GetUsage ¶

func (c *CmdSimpleFSSyncEnable) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSSyncEnable) ParseArgv ¶

func (c *CmdSimpleFSSyncEnable) ParseArgv(ctx *cli.Context) error

ParseArgv gets the required path.

func (*CmdSimpleFSSyncEnable) Run ¶

func (c *CmdSimpleFSSyncEnable) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSSyncShow ¶

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

CmdSimpleFSSyncShow is the 'fs sync show' command.

func (*CmdSimpleFSSyncShow) GetUsage ¶

func (c *CmdSimpleFSSyncShow) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSSyncShow) ParseArgv ¶

func (c *CmdSimpleFSSyncShow) ParseArgv(ctx *cli.Context) error

ParseArgv gets the required path.

func (*CmdSimpleFSSyncShow) Run ¶

func (c *CmdSimpleFSSyncShow) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSUpgrade ¶

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

CmdSimpleFSUpgrade is the 'fs upgrade' command.

func (*CmdSimpleFSUpgrade) GetUsage ¶

func (c *CmdSimpleFSUpgrade) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSUpgrade) ParseArgv ¶

func (c *CmdSimpleFSUpgrade) ParseArgv(ctx *cli.Context) error

func (*CmdSimpleFSUpgrade) Run ¶

func (c *CmdSimpleFSUpgrade) Run() error

type CmdSimpleFSUploads ¶

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

CmdSimpleFSUploads is the 'fs uploads' command.

func (*CmdSimpleFSUploads) GetUsage ¶

func (c *CmdSimpleFSUploads) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSUploads) ParseArgv ¶

func (c *CmdSimpleFSUploads) ParseArgv(ctx *cli.Context) error

ParseArgv gets the optional -a switch.

func (*CmdSimpleFSUploads) Run ¶

func (c *CmdSimpleFSUploads) Run() error

Run runs the command in client/server mode.

type CmdSimpleFSWrite ¶

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

CmdSimpleFSWrite is the 'fs write' command.

func (*CmdSimpleFSWrite) GetUsage ¶

func (c *CmdSimpleFSWrite) GetUsage() libkb.Usage

GetUsage says what this command needs to operate.

func (*CmdSimpleFSWrite) ParseArgv ¶

func (c *CmdSimpleFSWrite) ParseArgv(ctx *cli.Context) error

ParseArgv gets the arguments for this command.

func (*CmdSimpleFSWrite) Run ¶

func (c *CmdSimpleFSWrite) Run() error

Run runs the command in client/server mode.

type CmdStatus ¶

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

func (*CmdStatus) GetUsage ¶

func (c *CmdStatus) GetUsage() libkb.Usage

func (*CmdStatus) ParseArgv ¶

func (c *CmdStatus) ParseArgv(ctx *cli.Context) error

func (*CmdStatus) Run ¶

func (c *CmdStatus) Run() error

type CmdStress ¶

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

CmdStress is used for testing concurrency in the daemon. Build the daemon with `-race`, then run this command.

func (*CmdStress) ConfirmDuplicateKeyChosen ¶

func (c *CmdStress) ConfirmDuplicateKeyChosen(_ context.Context, _ int) (bool, error)

func (*CmdStress) ConfirmImportSecretToExistingKey ¶

func (c *CmdStress) ConfirmImportSecretToExistingKey(_ context.Context, _ int) (bool, error)

func (*CmdStress) GetPassphrase ¶

func (c *CmdStress) GetPassphrase(_ context.Context, arg keybase1.GetPassphraseArg) (res keybase1.GetPassphraseRes, err error)

func (*CmdStress) GetTTY ¶

func (c *CmdStress) GetTTY(_ context.Context) (string, error)

func (*CmdStress) GetUsage ¶

func (c *CmdStress) GetUsage() libkb.Usage

func (*CmdStress) ParseArgv ¶

func (c *CmdStress) ParseArgv(ctx *cli.Context) error

func (*CmdStress) Run ¶

func (c *CmdStress) Run() error

func (*CmdStress) SelectKey ¶

func (c *CmdStress) SelectKey(_ context.Context, arg keybase1.SelectKeyArg) (string, error)

func (*CmdStress) SelectKeyAndPushOption ¶

func (c *CmdStress) SelectKeyAndPushOption(_ context.Context, arg keybase1.SelectKeyAndPushOptionArg) (res keybase1.SelectKeyRes, err error)

func (*CmdStress) Sign ¶

func (c *CmdStress) Sign(_ context.Context, arg keybase1.SignArg) (string, error)

func (*CmdStress) WantToAddGPGKey ¶

func (c *CmdStress) WantToAddGPGKey(_ context.Context, _ int) (bool, error)

type CmdTeamAPI ¶

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

func NewCmdTeamAPIRunner ¶

func NewCmdTeamAPIRunner(g *libkb.GlobalContext) *CmdTeamAPI

func (*CmdTeamAPI) GetUsage ¶

func (c *CmdTeamAPI) GetUsage() libkb.Usage

func (*CmdTeamAPI) ParseArgv ¶

func (c *CmdTeamAPI) ParseArgv(ctx *cli.Context) error

func (*CmdTeamAPI) Run ¶

func (c *CmdTeamAPI) Run() error

func (*CmdTeamAPI) SetMessage ¶

func (c *CmdTeamAPI) SetMessage(m string)

func (*CmdTeamAPI) SetOutputFile ¶

func (c *CmdTeamAPI) SetOutputFile(f string)

type CmdTeamAcceptInvite ¶

type CmdTeamAcceptInvite struct {
	libkb.Contextified
	Token string
}

func NewCmdTeamAcceptInviteRunner ¶

func NewCmdTeamAcceptInviteRunner(g *libkb.GlobalContext) *CmdTeamAcceptInvite

func (*CmdTeamAcceptInvite) GetUsage ¶

func (c *CmdTeamAcceptInvite) GetUsage() libkb.Usage

func (*CmdTeamAcceptInvite) ParseArgv ¶

func (c *CmdTeamAcceptInvite) ParseArgv(ctx *cli.Context) error

func (*CmdTeamAcceptInvite) Run ¶

func (c *CmdTeamAcceptInvite) Run() error

type CmdTeamAddMember ¶

type CmdTeamAddMember struct {
	libkb.Contextified
	Team                 string
	Email                string
	Phone                string
	Username             string
	Role                 keybase1.TeamRole
	BotSettings          *keybase1.TeamBotSettings
	SkipChatNotification bool
	EmailInviteMessage   *string
}

func NewCmdTeamAddMemberRunner ¶

func NewCmdTeamAddMemberRunner(g *libkb.GlobalContext) *CmdTeamAddMember

func (*CmdTeamAddMember) GetUsage ¶

func (c *CmdTeamAddMember) GetUsage() libkb.Usage

func (*CmdTeamAddMember) ParseArgv ¶

func (c *CmdTeamAddMember) ParseArgv(ctx *cli.Context) error

func (*CmdTeamAddMember) Run ¶

func (c *CmdTeamAddMember) Run() error

type CmdTeamAddMembersBulk ¶

type CmdTeamAddMembersBulk struct {
	libkb.Contextified

	Team string
	// contains filtered or unexported fields
}

func NewCmdTeamAddMembersBulkRunner ¶

func NewCmdTeamAddMembersBulkRunner(g *libkb.GlobalContext) *CmdTeamAddMembersBulk

func (*CmdTeamAddMembersBulk) GetUsage ¶

func (c *CmdTeamAddMembersBulk) GetUsage() libkb.Usage

func (*CmdTeamAddMembersBulk) ParseArgv ¶

func (c *CmdTeamAddMembersBulk) ParseArgv(ctx *cli.Context) (err error)

func (*CmdTeamAddMembersBulk) Run ¶

func (c *CmdTeamAddMembersBulk) Run() error

type CmdTeamBotSettings ¶

type CmdTeamBotSettings struct {
	libkb.Contextified
	Team        string
	Username    string
	BotSettings *keybase1.TeamBotSettings
}

func NewCmdTeamBotSettingsRunner ¶

func NewCmdTeamBotSettingsRunner(g *libkb.GlobalContext) *CmdTeamBotSettings

func (*CmdTeamBotSettings) GetUsage ¶

func (c *CmdTeamBotSettings) GetUsage() libkb.Usage

func (*CmdTeamBotSettings) ParseArgv ¶

func (c *CmdTeamBotSettings) ParseArgv(ctx *cli.Context) error

func (*CmdTeamBotSettings) Run ¶

func (c *CmdTeamBotSettings) Run() error

type CmdTeamCreate ¶

type CmdTeamCreate struct {
	TeamName  keybase1.TeamName
	SessionID int
	libkb.Contextified
	JoinSubteam bool
}

func NewCmdTeamCreateRunner ¶

func NewCmdTeamCreateRunner(g *libkb.GlobalContext) *CmdTeamCreate

func (*CmdTeamCreate) GetUsage ¶

func (v *CmdTeamCreate) GetUsage() libkb.Usage

func (*CmdTeamCreate) ParseArgv ¶

func (v *CmdTeamCreate) ParseArgv(ctx *cli.Context) error

func (*CmdTeamCreate) Run ¶

func (v *CmdTeamCreate) Run() (err error)

type CmdTeamDebug ¶

type CmdTeamDebug struct {
	libkb.Contextified
	TeamID keybase1.TeamID
}

func NewCmdTeamDebugRunner ¶

func NewCmdTeamDebugRunner(g *libkb.GlobalContext) *CmdTeamDebug

func (*CmdTeamDebug) GetUsage ¶

func (c *CmdTeamDebug) GetUsage() libkb.Usage

func (*CmdTeamDebug) ParseArgv ¶

func (c *CmdTeamDebug) ParseArgv(ctx *cli.Context) error

func (*CmdTeamDebug) Run ¶

func (c *CmdTeamDebug) Run() error

type CmdTeamDelete ¶

type CmdTeamDelete struct {
	libkb.Contextified
	Team keybase1.TeamName
}

func NewCmdTeamDeleteRunner ¶

func NewCmdTeamDeleteRunner(g *libkb.GlobalContext) *CmdTeamDelete

func (*CmdTeamDelete) GetUsage ¶

func (c *CmdTeamDelete) GetUsage() libkb.Usage

func (*CmdTeamDelete) ParseArgv ¶

func (c *CmdTeamDelete) ParseArgv(ctx *cli.Context) error

func (*CmdTeamDelete) Run ¶

func (c *CmdTeamDelete) Run() error

type CmdTeamEditMember ¶

type CmdTeamEditMember struct {
	libkb.Contextified
	Team        string
	Username    string
	Role        keybase1.TeamRole
	BotSettings *keybase1.TeamBotSettings
}

func NewCmdTeamEditMemberRunner ¶

func NewCmdTeamEditMemberRunner(g *libkb.GlobalContext) *CmdTeamEditMember

func (*CmdTeamEditMember) GetUsage ¶

func (c *CmdTeamEditMember) GetUsage() libkb.Usage

func (*CmdTeamEditMember) ParseArgv ¶

func (c *CmdTeamEditMember) ParseArgv(ctx *cli.Context) error

func (*CmdTeamEditMember) Run ¶

func (c *CmdTeamEditMember) Run() error
type CmdTeamGenerateInvitelink struct {
	libkb.Contextified
	Team              string
	Role              keybase1.TeamRole
	Etime             *keybase1.UnixTime
	TeamInviteMaxUses keybase1.TeamInviteMaxUses
}

func NewCmdTeamGenerateInvitelinkRunner ¶

func NewCmdTeamGenerateInvitelinkRunner(g *libkb.GlobalContext) *CmdTeamGenerateInvitelink

func (*CmdTeamGenerateInvitelink) GetUsage ¶

func (c *CmdTeamGenerateInvitelink) GetUsage() libkb.Usage

func (*CmdTeamGenerateInvitelink) ParseArgv ¶

func (c *CmdTeamGenerateInvitelink) ParseArgv(ctx *cli.Context) error

func (*CmdTeamGenerateInvitelink) Run ¶

type CmdTeamGenerateSeitan ¶

type CmdTeamGenerateSeitan struct {
	libkb.Contextified
	Team     string
	Role     keybase1.TeamRole
	FullName string
	Number   string
}

func NewCmdTeamGenerateSeitanRunner ¶

func NewCmdTeamGenerateSeitanRunner(g *libkb.GlobalContext) *CmdTeamGenerateSeitan

func (*CmdTeamGenerateSeitan) GetUsage ¶

func (c *CmdTeamGenerateSeitan) GetUsage() libkb.Usage

func (*CmdTeamGenerateSeitan) ParseArgv ¶

func (c *CmdTeamGenerateSeitan) ParseArgv(ctx *cli.Context) error

func (*CmdTeamGenerateSeitan) Run ¶

func (c *CmdTeamGenerateSeitan) Run() error

type CmdTeamIgnoreRequest ¶

type CmdTeamIgnoreRequest struct {
	libkb.Contextified
	Team     string
	Username string
}

func NewCmdTeamIgnoreRequestRunner ¶

func NewCmdTeamIgnoreRequestRunner(g *libkb.GlobalContext) *CmdTeamIgnoreRequest

func (*CmdTeamIgnoreRequest) GetUsage ¶

func (c *CmdTeamIgnoreRequest) GetUsage() libkb.Usage

func (*CmdTeamIgnoreRequest) ParseArgv ¶

func (c *CmdTeamIgnoreRequest) ParseArgv(ctx *cli.Context) error

func (*CmdTeamIgnoreRequest) Run ¶

func (c *CmdTeamIgnoreRequest) Run() error

type CmdTeamLeave ¶

type CmdTeamLeave struct {
	libkb.Contextified
	Team      string
	Permanent bool
}

func NewCmdTeamLeaveRunner ¶

func NewCmdTeamLeaveRunner(g *libkb.GlobalContext) *CmdTeamLeave

func (*CmdTeamLeave) GetUsage ¶

func (c *CmdTeamLeave) GetUsage() libkb.Usage

func (*CmdTeamLeave) ParseArgv ¶

func (c *CmdTeamLeave) ParseArgv(ctx *cli.Context) error

func (*CmdTeamLeave) Run ¶

func (c *CmdTeamLeave) Run() error

type CmdTeamListMemberships ¶

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

func NewCmdTeamListMembershipsRunner ¶

func NewCmdTeamListMembershipsRunner(g *libkb.GlobalContext) *CmdTeamListMemberships

func (*CmdTeamListMemberships) GetUsage ¶

func (c *CmdTeamListMemberships) GetUsage() libkb.Usage

func (*CmdTeamListMemberships) ParseArgv ¶

func (c *CmdTeamListMemberships) ParseArgv(ctx *cli.Context) error

func (*CmdTeamListMemberships) Run ¶

func (c *CmdTeamListMemberships) Run() error

func (*CmdTeamListMemberships) SetJSON ¶

func (c *CmdTeamListMemberships) SetJSON(b bool)

func (*CmdTeamListMemberships) SetTeam ¶

func (c *CmdTeamListMemberships) SetTeam(s string)

type CmdTeamListRequests ¶

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

func NewCmdTeamListRequestsRunner ¶

func NewCmdTeamListRequestsRunner(g *libkb.GlobalContext) *CmdTeamListRequests

func (*CmdTeamListRequests) GetUsage ¶

func (c *CmdTeamListRequests) GetUsage() libkb.Usage

func (*CmdTeamListRequests) ParseArgv ¶

func (c *CmdTeamListRequests) ParseArgv(ctx *cli.Context) error

func (*CmdTeamListRequests) Run ¶

func (c *CmdTeamListRequests) Run() error

type CmdTeamRemoveMember ¶

type CmdTeamRemoveMember struct {
	libkb.Contextified
	Team string

	Assertion         string
	Email             string
	Phone             string
	RemoveFromSubtree bool

	InviteID keybase1.TeamInviteID
	Force    bool
}

func NewCmdTeamRemoveMemberRunner ¶

func NewCmdTeamRemoveMemberRunner(g *libkb.GlobalContext) *CmdTeamRemoveMember

func (*CmdTeamRemoveMember) GetUsage ¶

func (c *CmdTeamRemoveMember) GetUsage() libkb.Usage

func (*CmdTeamRemoveMember) ParseArgv ¶

func (c *CmdTeamRemoveMember) ParseArgv(ctx *cli.Context) error

func (*CmdTeamRemoveMember) Run ¶

func (c *CmdTeamRemoveMember) Run() error

type CmdTeamRename ¶

type CmdTeamRename struct {
	PrevName  keybase1.TeamName
	NewName   keybase1.TeamName
	SessionID int
	libkb.Contextified
}

func NewCmdTeamRenameRunner ¶

func NewCmdTeamRenameRunner(g *libkb.GlobalContext) *CmdTeamRename

func (*CmdTeamRename) GetUsage ¶

func (v *CmdTeamRename) GetUsage() libkb.Usage

func (*CmdTeamRename) ParseArgv ¶

func (v *CmdTeamRename) ParseArgv(ctx *cli.Context) (err error)

func (*CmdTeamRename) Run ¶

func (v *CmdTeamRename) Run() (err error)

type CmdTeamRequestAccess ¶

type CmdTeamRequestAccess struct {
	libkb.Contextified
	Team string
}

func NewCmdTeamRequestAccessRunner ¶

func NewCmdTeamRequestAccessRunner(g *libkb.GlobalContext) *CmdTeamRequestAccess

func (*CmdTeamRequestAccess) GetUsage ¶

func (c *CmdTeamRequestAccess) GetUsage() libkb.Usage

func (*CmdTeamRequestAccess) ParseArgv ¶

func (c *CmdTeamRequestAccess) ParseArgv(ctx *cli.Context) error

func (*CmdTeamRequestAccess) Run ¶

func (c *CmdTeamRequestAccess) Run() error

type CmdTeamRotateKey ¶

type CmdTeamRotateKey struct {
	libkb.Contextified
	TeamID       keybase1.TeamID
	RotationType keybase1.RotationType
}

func NewCmdTeamRotateKeyRunner ¶

func NewCmdTeamRotateKeyRunner(g *libkb.GlobalContext) *CmdTeamRotateKey

func (*CmdTeamRotateKey) GetUsage ¶

func (c *CmdTeamRotateKey) GetUsage() libkb.Usage

func (*CmdTeamRotateKey) ParseArgv ¶

func (c *CmdTeamRotateKey) ParseArgv(ctx *cli.Context) error

func (*CmdTeamRotateKey) Run ¶

func (c *CmdTeamRotateKey) Run() error

type CmdTeamSearch ¶

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

func NewCmdTeamSearchRunner ¶

func NewCmdTeamSearchRunner(g *libkb.GlobalContext) *CmdTeamSearch

func (*CmdTeamSearch) GetUsage ¶

func (c *CmdTeamSearch) GetUsage() libkb.Usage

func (*CmdTeamSearch) ParseArgv ¶

func (c *CmdTeamSearch) ParseArgv(ctx *cli.Context) (err error)

func (*CmdTeamSearch) Run ¶

func (c *CmdTeamSearch) Run() error

type CmdTeamSettings ¶

type CmdTeamSettings struct {
	libkb.Contextified

	Team keybase1.TeamName

	// These fields are non-zero valued when their action is requested
	Description           *string
	WelcomeMessage        *string
	ResetWelcomeMessage   *bool
	JoinAsRole            *keybase1.TeamRole
	ProfilePromote        *bool
	AllowProfilePromote   *bool
	Showcase              *bool
	DisableAccessRequests *bool
	// contains filtered or unexported fields
}

func NewCmdTeamSettingsRunner ¶

func NewCmdTeamSettingsRunner(g *libkb.GlobalContext) *CmdTeamSettings

func (*CmdTeamSettings) GetUsage ¶

func (c *CmdTeamSettings) GetUsage() libkb.Usage

func (*CmdTeamSettings) ParseArgv ¶

func (c *CmdTeamSettings) ParseArgv(ctx *cli.Context) (err error)

func (*CmdTeamSettings) Run ¶

func (c *CmdTeamSettings) Run() error

type CmdTeamShowTree ¶

type CmdTeamShowTree struct {
	TeamName  keybase1.TeamName
	SessionID int
	libkb.Contextified
}

func NewCmdTeamShowTreeRunner ¶

func NewCmdTeamShowTreeRunner(g *libkb.GlobalContext) *CmdTeamShowTree

func (*CmdTeamShowTree) GetUsage ¶

func (v *CmdTeamShowTree) GetUsage() libkb.Usage

func (*CmdTeamShowTree) ParseArgv ¶

func (v *CmdTeamShowTree) ParseArgv(ctx *cli.Context) (err error)

func (*CmdTeamShowTree) Run ¶

func (v *CmdTeamShowTree) Run() (err error)

type CmdTestAirdropReg ¶

type CmdTestAirdropReg struct {
	libkb.Contextified
}

func (*CmdTestAirdropReg) GetUsage ¶

func (s *CmdTestAirdropReg) GetUsage() libkb.Usage

func (*CmdTestAirdropReg) ParseArgv ¶

func (s *CmdTestAirdropReg) ParseArgv(ctx *cli.Context) error

func (*CmdTestAirdropReg) Run ¶

func (s *CmdTestAirdropReg) Run() (err error)

type CmdTestCrypto ¶

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

func (*CmdTestCrypto) GetUsage ¶

func (s *CmdTestCrypto) GetUsage() libkb.Usage

func (*CmdTestCrypto) ParseArgv ¶

func (s *CmdTestCrypto) ParseArgv(ctx *cli.Context) error

func (*CmdTestCrypto) Run ¶

func (s *CmdTestCrypto) Run() (err error)

type CmdTestFSNotify ¶

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

func (*CmdTestFSNotify) GetUsage ¶

func (s *CmdTestFSNotify) GetUsage() libkb.Usage

func (*CmdTestFSNotify) ParseArgv ¶

func (s *CmdTestFSNotify) ParseArgv(ctx *cli.Context) error

func (*CmdTestFSNotify) Run ¶

func (s *CmdTestFSNotify) Run() (err error)

type CmdTestPassphrase ¶

type CmdTestPassphrase struct {
	libkb.Contextified
}

func (*CmdTestPassphrase) GetUsage ¶

func (s *CmdTestPassphrase) GetUsage() libkb.Usage

func (*CmdTestPassphrase) ParseArgv ¶

func (s *CmdTestPassphrase) ParseArgv(ctx *cli.Context) error

func (*CmdTestPassphrase) Run ¶

func (s *CmdTestPassphrase) Run() (err error)

type CmdTrack ¶

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

func NewCmdTrackRunner ¶

func NewCmdTrackRunner(g *libkb.GlobalContext) *CmdTrack

func (*CmdTrack) GetUsage ¶

func (v *CmdTrack) GetUsage() libkb.Usage

func (*CmdTrack) ParseArgv ¶

func (v *CmdTrack) ParseArgv(ctx *cli.Context) error

func (*CmdTrack) Run ¶

func (v *CmdTrack) Run() error

func (*CmdTrack) SetOptions ¶

func (v *CmdTrack) SetOptions(options keybase1.TrackOptions)

func (*CmdTrack) SetUser ¶

func (v *CmdTrack) SetUser(user string)

type CmdUnlock ¶

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

func (*CmdUnlock) GetUsage ¶

func (c *CmdUnlock) GetUsage() libkb.Usage

func (*CmdUnlock) ParseArgv ¶

func (c *CmdUnlock) ParseArgv(ctx *cli.Context) error

func (*CmdUnlock) Run ¶

func (c *CmdUnlock) Run() error

type CmdUntrack ¶

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

func NewCmdUntrackRunner ¶

func NewCmdUntrackRunner(g *libkb.GlobalContext) *CmdUntrack

func (*CmdUntrack) GetUsage ¶

func (v *CmdUntrack) GetUsage() libkb.Usage

func (*CmdUntrack) ParseArgv ¶

func (v *CmdUntrack) ParseArgv(ctx *cli.Context) error

func (*CmdUntrack) Run ¶

func (v *CmdUntrack) Run() error

func (*CmdUntrack) SetUser ¶

func (v *CmdUntrack) SetUser(user string)

type CmdVerify ¶

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

func (*CmdVerify) GetUsage ¶

func (c *CmdVerify) GetUsage() libkb.Usage

func (*CmdVerify) ParseArgv ¶

func (c *CmdVerify) ParseArgv(ctx *cli.Context) error

func (*CmdVerify) Run ¶

func (c *CmdVerify) Run() (err error)

type CmdVerifyPhoneNumber ¶

type CmdVerifyPhoneNumber struct {
	libkb.Contextified
	PhoneNumber string
	Code        string
}

func (*CmdVerifyPhoneNumber) GetUsage ¶

func (c *CmdVerifyPhoneNumber) GetUsage() libkb.Usage

func (*CmdVerifyPhoneNumber) ParseArgv ¶

func (c *CmdVerifyPhoneNumber) ParseArgv(ctx *cli.Context) error

func (*CmdVerifyPhoneNumber) Run ¶

func (c *CmdVerifyPhoneNumber) Run() error

type CmdVersion ¶

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

func NewCmdVersionRunner ¶

func NewCmdVersionRunner(g *libkb.GlobalContext) *CmdVersion

func (*CmdVersion) GetUsage ¶

func (v *CmdVersion) GetUsage() libkb.Usage

func (*CmdVersion) ParseArgv ¶

func (v *CmdVersion) ParseArgv(c *cli.Context) error

func (*CmdVersion) Run ¶

func (v *CmdVersion) Run() error

type CmdWait ¶

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

func (*CmdWait) GetUsage ¶

func (c *CmdWait) GetUsage() libkb.Usage

func (*CmdWait) ParseArgv ¶

func (c *CmdWait) ParseArgv(ctx *cli.Context) error

func (*CmdWait) Run ¶

func (c *CmdWait) Run() error

type CmdWalletAPI ¶

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

func NewCmdWalletAPIRunner ¶

func NewCmdWalletAPIRunner(g *libkb.GlobalContext) *CmdWalletAPI

func (*CmdWalletAPI) GetUsage ¶

func (c *CmdWalletAPI) GetUsage() libkb.Usage

func (*CmdWalletAPI) ParseArgv ¶

func (c *CmdWalletAPI) ParseArgv(ctx *cli.Context) error

func (*CmdWalletAPI) Run ¶

func (c *CmdWalletAPI) Run() error

func (*CmdWalletAPI) SetMessage ¶

func (c *CmdWalletAPI) SetMessage(m string)

func (*CmdWalletAPI) SetOutputFile ¶

func (c *CmdWalletAPI) SetOutputFile(f string)

type CmdWalletCancelRequest ¶

type CmdWalletCancelRequest struct {
	libkb.Contextified
	ID string
}

func (*CmdWalletCancelRequest) GetUsage ¶

func (c *CmdWalletCancelRequest) GetUsage() libkb.Usage

func (*CmdWalletCancelRequest) ParseArgv ¶

func (c *CmdWalletCancelRequest) ParseArgv(ctx *cli.Context) error

func (*CmdWalletCancelRequest) Run ¶

func (c *CmdWalletCancelRequest) Run() (err error)

type CmdWalletHandleURI ¶

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

func (*CmdWalletHandleURI) GetUsage ¶

func (c *CmdWalletHandleURI) GetUsage() libkb.Usage

func (*CmdWalletHandleURI) ParseArgv ¶

func (c *CmdWalletHandleURI) ParseArgv(ctx *cli.Context) error

func (*CmdWalletHandleURI) Run ¶

func (c *CmdWalletHandleURI) Run() (err error)

type CmdWalletLookup ¶

type CmdWalletLookup struct {
	libkb.Contextified
	Name string
}

func (*CmdWalletLookup) GetUsage ¶

func (c *CmdWalletLookup) GetUsage() libkb.Usage

func (*CmdWalletLookup) ParseArgv ¶

func (c *CmdWalletLookup) ParseArgv(ctx *cli.Context) error

func (*CmdWalletLookup) Run ¶

func (c *CmdWalletLookup) Run() (err error)

type CmdWalletMerge ¶

type CmdWalletMerge struct {
	libkb.Contextified
	FromAccountID stellar1.AccountID
	FromSecretKey *stellar1.SecretKey
	To            string
}

func (*CmdWalletMerge) GetUsage ¶

func (c *CmdWalletMerge) GetUsage() libkb.Usage

func (*CmdWalletMerge) ParseArgv ¶

func (c *CmdWalletMerge) ParseArgv(ctx *cli.Context) error

func (*CmdWalletMerge) Run ¶

func (c *CmdWalletMerge) Run() (err error)

type CmdWalletRequest ¶

type CmdWalletRequest struct {
	libkb.Contextified
	Recipient     string
	TLFName       string
	Amount        string
	LocalCurrency string
	Note          string
}

func (*CmdWalletRequest) GetUsage ¶

func (c *CmdWalletRequest) GetUsage() libkb.Usage

func (*CmdWalletRequest) ParseArgv ¶

func (c *CmdWalletRequest) ParseArgv(ctx *cli.Context) error

func (*CmdWalletRequest) Run ¶

func (c *CmdWalletRequest) Run() (err error)

type CmdWalletSend ¶

type CmdWalletSend struct {
	libkb.Contextified
	Recipient     string
	Amount        string
	Note          string
	LocalCurrency string
	ForceRelay    bool
	FromAccountID stellar1.AccountID
	Memo          string
	MemoType      stellar1.PublicNoteType
}

func (*CmdWalletSend) GetUsage ¶

func (c *CmdWalletSend) GetUsage() libkb.Usage

func (*CmdWalletSend) ParseArgv ¶

func (c *CmdWalletSend) ParseArgv(ctx *cli.Context) error

func (*CmdWalletSend) Run ¶

func (c *CmdWalletSend) Run() (err error)

type CmdWalletSendPathPayment ¶

type CmdWalletSendPathPayment struct {
	libkb.Contextified
	Recipient         string
	SourceAsset       stellar1.Asset
	DestinationAsset  stellar1.Asset
	DestinationAmount string
	Note              string
	FromAccountID     stellar1.AccountID
	Memo              string
	MemoType          stellar1.PublicNoteType
}

func (*CmdWalletSendPathPayment) GetUsage ¶

func (c *CmdWalletSendPathPayment) GetUsage() libkb.Usage

func (*CmdWalletSendPathPayment) ParseArgv ¶

func (c *CmdWalletSendPathPayment) ParseArgv(ctx *cli.Context) error

func (*CmdWalletSendPathPayment) Run ¶

func (c *CmdWalletSendPathPayment) Run() (err error)

type CmdWalletSign ¶

type CmdWalletSign struct {
	libkb.Contextified
	XDR       string
	AccountID stellar1.AccountID
	Submit    bool
}

func (*CmdWalletSign) GetUsage ¶

func (c *CmdWalletSign) GetUsage() libkb.Usage

func (*CmdWalletSign) ParseArgv ¶

func (c *CmdWalletSign) ParseArgv(ctx *cli.Context) error

func (*CmdWalletSign) Run ¶

func (c *CmdWalletSign) Run() (err error)

type CmdWatchdog ¶

type CmdWatchdog struct {
	libkb.Contextified
}

CmdWatchdog defines watchdog command

func (*CmdWatchdog) Debugf ¶

func (c *CmdWatchdog) Debugf(s string, args ...interface{})

Debugf (for watchdog.Log interface)

func (*CmdWatchdog) Errorf ¶

func (c *CmdWatchdog) Errorf(s string, args ...interface{})

Errorf (for watchdog Log interface)

func (*CmdWatchdog) GetUsage ¶

func (c *CmdWatchdog) GetUsage() libkb.Usage

GetUsage returns library usage for this command

func (*CmdWatchdog) Infof ¶

func (c *CmdWatchdog) Infof(s string, args ...interface{})

Infof (for watchdog.Log interface)

func (*CmdWatchdog) ParseArgv ¶

func (c *CmdWatchdog) ParseArgv(ctx *cli.Context) error

ParseArgv is args for the watchdog command

func (*CmdWatchdog) Run ¶

func (c *CmdWatchdog) Run() error

Run watchdog

func (*CmdWatchdog) Warningf ¶

func (c *CmdWatchdog) Warningf(s string, args ...interface{})

Warningf (for watchdog Log interface)

type CmdWhoami ¶

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

func (*CmdWhoami) GetUsage ¶

func (c *CmdWhoami) GetUsage() libkb.Usage

func (*CmdWhoami) ParseArgv ¶

func (c *CmdWhoami) ParseArgv(ctx *cli.Context) error

func (*CmdWhoami) Run ¶

func (c *CmdWhoami) Run() error

type CmdWotAccept ¶

type CmdWotAccept struct {
	Voucher string
	libkb.Contextified
}

func (*CmdWotAccept) GetUsage ¶

func (c *CmdWotAccept) GetUsage() libkb.Usage

func (*CmdWotAccept) ParseArgv ¶

func (c *CmdWotAccept) ParseArgv(ctx *cli.Context) error

func (*CmdWotAccept) Run ¶

func (c *CmdWotAccept) Run() error

type CmdWotReject ¶

type CmdWotReject struct {
	Voucher string
	libkb.Contextified
}

func (*CmdWotReject) GetUsage ¶

func (c *CmdWotReject) GetUsage() libkb.Usage

func (*CmdWotReject) ParseArgv ¶

func (c *CmdWotReject) ParseArgv(ctx *cli.Context) error

func (*CmdWotReject) Run ¶

func (c *CmdWotReject) Run() error

type CmdWotVouch ¶

type CmdWotVouch struct {
	Assertion  string
	Message    string
	Confidence keybase1.Confidence
	libkb.Contextified
}

func (*CmdWotVouch) GetUsage ¶

func (c *CmdWotVouch) GetUsage() libkb.Usage

func (*CmdWotVouch) ParseArgv ¶

func (c *CmdWotVouch) ParseArgv(ctx *cli.Context) error

func (*CmdWotVouch) Run ¶

func (c *CmdWotVouch) Run() error

type CodePair ¶

type CodePair struct {
	Open  int
	Close int
}

func GetColorCode ¶

func GetColorCode(which string) *CodePair

func (CodePair) CloseBytes ¶

func (cp CodePair) CloseBytes() []byte

func (CodePair) OpenBytes ¶

func (cp CodePair) OpenBytes() []byte

type ContactSettingsWithTeamNames ¶

type ContactSettingsWithTeamNames struct {
	AllowFolloweeDegrees int                               `json:"allow_followee_degrees"`
	AllowGoodTeams       bool                              `json:"allow_good_teams"`
	Enabled              bool                              `json:"enabled"`
	Teams                []TeamContactSettingsWithTeamName `json:"teams"`
}

type DelegateChatUI ¶

type DelegateChatUI struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*DelegateChatUI) ChatBotCommandsUpdateStatus ¶

func (c *DelegateChatUI) ChatBotCommandsUpdateStatus(ctx context.Context, arg chat1.ChatBotCommandsUpdateStatusArg) error

func (*DelegateChatUI) ChatClearWatch ¶

func (c *DelegateChatUI) ChatClearWatch(ctx context.Context, arg chat1.ChatClearWatchArg) error

func (*DelegateChatUI) ChatCoinFlipStatus ¶

func (c *DelegateChatUI) ChatCoinFlipStatus(ctx context.Context, arg chat1.ChatCoinFlipStatusArg) error

func (*DelegateChatUI) ChatCommandMarkdown ¶

func (c *DelegateChatUI) ChatCommandMarkdown(ctx context.Context, arg chat1.ChatCommandMarkdownArg) error

func (*DelegateChatUI) ChatCommandStatus ¶

func (c *DelegateChatUI) ChatCommandStatus(ctx context.Context, arg chat1.ChatCommandStatusArg) error

func (*DelegateChatUI) ChatConfirmChannelDelete ¶

func (c *DelegateChatUI) ChatConfirmChannelDelete(ctx context.Context, arg chat1.ChatConfirmChannelDeleteArg) (bool, error)

func (*DelegateChatUI) ChatGiphySearchResults ¶

func (c *DelegateChatUI) ChatGiphySearchResults(ctx context.Context, arg chat1.ChatGiphySearchResultsArg) error

func (*DelegateChatUI) ChatGiphyToggleResultWindow ¶

func (c *DelegateChatUI) ChatGiphyToggleResultWindow(ctx context.Context,
	arg chat1.ChatGiphyToggleResultWindowArg) error

func (*DelegateChatUI) ChatInboxConversation ¶

func (c *DelegateChatUI) ChatInboxConversation(ctx context.Context, arg chat1.ChatInboxConversationArg) error

func (*DelegateChatUI) ChatInboxFailed ¶

func (c *DelegateChatUI) ChatInboxFailed(ctx context.Context, arg chat1.ChatInboxFailedArg) error

func (*DelegateChatUI) ChatInboxLayout ¶

func (c *DelegateChatUI) ChatInboxLayout(ctx context.Context, arg chat1.ChatInboxLayoutArg) error

func (*DelegateChatUI) ChatInboxUnverified ¶

func (c *DelegateChatUI) ChatInboxUnverified(ctx context.Context, arg chat1.ChatInboxUnverifiedArg) error

func (*DelegateChatUI) ChatLoadGalleryHit ¶

func (c *DelegateChatUI) ChatLoadGalleryHit(ctx context.Context, arg chat1.ChatLoadGalleryHitArg) error

func (*DelegateChatUI) ChatMaybeMentionUpdate ¶

func (c *DelegateChatUI) ChatMaybeMentionUpdate(ctx context.Context, arg chat1.ChatMaybeMentionUpdateArg) error

func (*DelegateChatUI) ChatSearchBotHits ¶

func (c *DelegateChatUI) ChatSearchBotHits(ctx context.Context, arg chat1.ChatSearchBotHitsArg) error

func (*DelegateChatUI) ChatSearchConvHits ¶

func (c *DelegateChatUI) ChatSearchConvHits(ctx context.Context, arg chat1.ChatSearchConvHitsArg) error

func (*DelegateChatUI) ChatSearchDone ¶

func (c *DelegateChatUI) ChatSearchDone(ctx context.Context, arg chat1.ChatSearchDoneArg) error

func (*DelegateChatUI) ChatSearchHit ¶

func (c *DelegateChatUI) ChatSearchHit(ctx context.Context, arg chat1.ChatSearchHitArg) error

func (*DelegateChatUI) ChatSearchInboxDone ¶

func (c *DelegateChatUI) ChatSearchInboxDone(ctx context.Context, arg chat1.ChatSearchInboxDoneArg) error

func (*DelegateChatUI) ChatSearchInboxHit ¶

func (c *DelegateChatUI) ChatSearchInboxHit(ctx context.Context, arg chat1.ChatSearchInboxHitArg) error

func (*DelegateChatUI) ChatSearchInboxStart ¶

func (c *DelegateChatUI) ChatSearchInboxStart(ctx context.Context, sessionID int) error

func (*DelegateChatUI) ChatSearchIndexStatus ¶

func (c *DelegateChatUI) ChatSearchIndexStatus(ctx context.Context, arg chat1.ChatSearchIndexStatusArg) error

func (*DelegateChatUI) ChatSearchTeamHits ¶

func (c *DelegateChatUI) ChatSearchTeamHits(ctx context.Context, arg chat1.ChatSearchTeamHitsArg) error

func (*DelegateChatUI) ChatShowManageChannels ¶

func (c *DelegateChatUI) ChatShowManageChannels(ctx context.Context, arg chat1.ChatShowManageChannelsArg) error

func (*DelegateChatUI) ChatStellarDataConfirm ¶

func (c *DelegateChatUI) ChatStellarDataConfirm(ctx context.Context, arg chat1.ChatStellarDataConfirmArg) (bool, error)

func (*DelegateChatUI) ChatStellarDataError ¶

func (c *DelegateChatUI) ChatStellarDataError(ctx context.Context, arg chat1.ChatStellarDataErrorArg) (bool, error)

func (*DelegateChatUI) ChatStellarDone ¶

func (c *DelegateChatUI) ChatStellarDone(ctx context.Context, arg chat1.ChatStellarDoneArg) error

func (*DelegateChatUI) ChatStellarShowConfirm ¶

func (c *DelegateChatUI) ChatStellarShowConfirm(ctx context.Context, sessionID int) error

func (*DelegateChatUI) ChatThreadCached ¶

func (c *DelegateChatUI) ChatThreadCached(ctx context.Context, arg chat1.ChatThreadCachedArg) error

func (*DelegateChatUI) ChatThreadFull ¶

func (c *DelegateChatUI) ChatThreadFull(ctx context.Context, arg chat1.ChatThreadFullArg) error

func (*DelegateChatUI) ChatThreadStatus ¶

func (c *DelegateChatUI) ChatThreadStatus(ctx context.Context, arg chat1.ChatThreadStatusArg) error

func (*DelegateChatUI) ChatWatchPosition ¶

func (*DelegateChatUI) DeregisterChatUI ¶

func (c *DelegateChatUI) DeregisterChatUI(chatUI chat1.ChatUiInterface)

func (*DelegateChatUI) RegisterChatUI ¶

func (c *DelegateChatUI) RegisterChatUI(chatUI chat1.ChatUiInterface)

func (*DelegateChatUI) TriggerContactSync ¶

func (c *DelegateChatUI) TriggerContactSync(ctx context.Context, sessionID int) error

type DirentFileInfo ¶

type DirentFileInfo struct {
	Entry keybase1.Dirent
}

DirentFileInfo implements os.FileInfo for a Dirent

func (DirentFileInfo) IsDir ¶

func (d DirentFileInfo) IsDir() bool

IsDir is an abbreviation for Mode().IsDir()

func (DirentFileInfo) ModTime ¶

func (d DirentFileInfo) ModTime() time.Time

ModTime returns modification time

func (DirentFileInfo) Mode ¶

func (d DirentFileInfo) Mode() os.FileMode

Mode returns the file mode bits

func (DirentFileInfo) Name ¶

func (d DirentFileInfo) Name() string

Name returns the base name of the file

func (DirentFileInfo) Size ¶

func (d DirentFileInfo) Size() int64

Size - length in bytes for regular files; system-dependent for others

func (DirentFileInfo) Sys ¶

func (d DirentFileInfo) Sys() interface{}

Sys - underlying data source (can return nil)

type EnvSetting ¶

type EnvSetting struct {
	Name  string
	Value *string
	Unset bool
}

type ErrInvalidJSON ¶

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

func (ErrInvalidJSON) Error ¶

func (e ErrInvalidJSON) Error() string

type ErrInvalidMethod ¶

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

func (ErrInvalidMethod) Error ¶

func (e ErrInvalidMethod) Error() string

type ErrInvalidOptions ¶

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

ErrInvalidOptions is returned when the options aren't valid.

func (ErrInvalidOptions) Error ¶

func (e ErrInvalidOptions) Error() string

type ErrInvalidVersion ¶

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

func (ErrInvalidVersion) Error ¶

func (e ErrInvalidVersion) Error() string

type EscapedSink ¶

type EscapedSink struct {
	Sink
	// contains filtered or unexported fields
}

EscapedSink can be used to write data to the underlying Sink, while transparently sanitizing it. If an error occurs writing to an EscapedSink, no more data will be accepted and all subsequent writes will return the error.

func (*EscapedSink) Write ¶

func (s *EscapedSink) Write(p []byte) (int, error)

Write writes p to the underlying Sink, after sanitizing it. It returns n = len(p) on a successful write (regardless of how much data is written to the underlying Sink). This is because the escaping function might alter the actual dimension of the data, but the caller is interested in knowing how much of what they wanted to write was actually written. In case of errors it (conservatively) returns n=0 and the error, and no other writes are possible.

type Field ¶

type Field struct {
	Name             string
	Prompt           string
	FirstPrompt      string
	Defval           string
	Hint             string
	Checker          *libkb.Checker
	Thrower          func(key, value string) error
	Disabled         bool
	Value            *string
	PromptDescriptor libkb.PromptDescriptor
}

func (*Field) Clear ¶

func (f *Field) Clear() string

func (Field) GetValue ¶

func (f Field) GetValue() string

type FileInfoPath ¶

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

FileInfoPath is a FileInfo paired with the original path as passed in to the program. Unfortunately, the Name() in FileInfo is only the basename, so the associated path must be manually recorded as well.

type FileSink ¶

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

func NewFileSink ¶

func NewFileSink(g *libkb.GlobalContext, s string) *FileSink

func (*FileSink) Close ¶

func (s *FileSink) Close() error

func (*FileSink) HitError ¶

func (s *FileSink) HitError(e error) error

func (*FileSink) Open ¶

func (s *FileSink) Open() error

func (*FileSink) Write ¶

func (s *FileSink) Write(b []byte) (n int, err error)

type FileSource ¶

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

func NewFileSource ¶

func NewFileSource(s string) *FileSource

func (*FileSource) Close ¶

func (s *FileSource) Close() error

func (*FileSource) CloseWithError ¶

func (s *FileSource) CloseWithError(e error) error

func (*FileSource) Open ¶

func (s *FileSource) Open() error

func (*FileSource) Read ¶

func (s *FileSource) Read(p []byte) (n int, err error)

func (*FileSource) Seek ¶

func (s *FileSource) Seek(offset int64, whence int) (int64, error)

Seek implements io.Seeker.

Some notes:

s.file could be nil because FileSource.Read() closes s.file at the end of reading a file. If s.file is nil, Seek will reopen the file.

The alternative is to remove the Close() in Read(), but leave that untouched so as not to break anything that depends on that behavior.

type GPGUI ¶

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

func NewGPGUI ¶

func NewGPGUI(g *libkb.GlobalContext, t libkb.TerminalUI, np bool, tty string) GPGUI

func (GPGUI) ConfirmDuplicateKeyChosen ¶

func (g GPGUI) ConfirmDuplicateKeyChosen(_ context.Context, _ int) (bool, error)

func (GPGUI) ConfirmImportSecretToExistingKey ¶

func (g GPGUI) ConfirmImportSecretToExistingKey(_ context.Context, _ int) (bool, error)

func (GPGUI) GetTTY ¶

func (g GPGUI) GetTTY(_ context.Context) (string, error)

func (GPGUI) SelectKey ¶

func (g GPGUI) SelectKey(ctx context.Context, arg keybase1.SelectKeyArg) (string, error)

func (GPGUI) SelectKeyAndPushOption ¶

func (g GPGUI) SelectKeyAndPushOption(ctx context.Context, arg keybase1.SelectKeyAndPushOptionArg) (res keybase1.SelectKeyRes, err error)

func (GPGUI) SelectKeyID ¶

func (g GPGUI) SelectKeyID(_ context.Context, keys []keybase1.GPGKey) (string, error)

func (GPGUI) Sign ¶

func (g GPGUI) Sign(ctx context.Context, arg keybase1.SignArg) (string, error)

func (GPGUI) WantToAddGPGKey ¶

func (g GPGUI) WantToAddGPGKey(_ context.Context, _ int) (bool, error)

type IdentifyTrackUI ¶

type IdentifyTrackUI struct {
	BaseIdentifyUI
}

func (*IdentifyTrackUI) Confirm ¶

type IdentifyUI ¶

type IdentifyUI struct {
	BaseIdentifyUI
}

type IdentifyUIServer ¶

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

func (*IdentifyUIServer) Cancel ¶

func (i *IdentifyUIServer) Cancel(ctx context.Context, sessionID int) error

func (*IdentifyUIServer) Confirm ¶

func (*IdentifyUIServer) DelegateIdentifyUI ¶

func (i *IdentifyUIServer) DelegateIdentifyUI(_ context.Context) (int, error)

func (*IdentifyUIServer) Dismiss ¶

func (*IdentifyUIServer) DisplayCryptocurrency ¶

func (i *IdentifyUIServer) DisplayCryptocurrency(ctx context.Context, arg keybase1.DisplayCryptocurrencyArg) error

func (*IdentifyUIServer) DisplayKey ¶

func (i *IdentifyUIServer) DisplayKey(ctx context.Context, arg keybase1.DisplayKeyArg) error

func (*IdentifyUIServer) DisplayStellarAccount ¶

func (i *IdentifyUIServer) DisplayStellarAccount(ctx context.Context, arg keybase1.DisplayStellarAccountArg) error

func (*IdentifyUIServer) DisplayTLFCreateWithInvite ¶

func (i *IdentifyUIServer) DisplayTLFCreateWithInvite(ctx context.Context, arg keybase1.DisplayTLFCreateWithInviteArg) error

func (*IdentifyUIServer) DisplayTrackStatement ¶

func (i *IdentifyUIServer) DisplayTrackStatement(ctx context.Context, arg keybase1.DisplayTrackStatementArg) error

func (*IdentifyUIServer) DisplayUserCard ¶

func (i *IdentifyUIServer) DisplayUserCard(ctx context.Context, arg keybase1.DisplayUserCardArg) error

func (*IdentifyUIServer) Finish ¶

func (i *IdentifyUIServer) Finish(ctx context.Context, sessionID int) error

func (*IdentifyUIServer) FinishSocialProofCheck ¶

func (i *IdentifyUIServer) FinishSocialProofCheck(ctx context.Context, arg keybase1.FinishSocialProofCheckArg) error

func (*IdentifyUIServer) FinishWebProofCheck ¶

func (i *IdentifyUIServer) FinishWebProofCheck(ctx context.Context, arg keybase1.FinishWebProofCheckArg) error

func (*IdentifyUIServer) LaunchNetworkChecks ¶

func (i *IdentifyUIServer) LaunchNetworkChecks(ctx context.Context, arg keybase1.LaunchNetworkChecksArg) error

func (*IdentifyUIServer) ReportLastTrack ¶

func (i *IdentifyUIServer) ReportLastTrack(ctx context.Context, arg keybase1.ReportLastTrackArg) error

func (*IdentifyUIServer) ReportTrackToken ¶

func (i *IdentifyUIServer) ReportTrackToken(ctx context.Context, arg keybase1.ReportTrackTokenArg) error

func (*IdentifyUIServer) Start ¶

type InternalError ¶

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

func (InternalError) Error ¶

func (e InternalError) Error() string

type JSONInput ¶

type JSONInput map[string]json.RawMessage

type LinkCheckResultWrapper ¶

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

func (LinkCheckResultWrapper) GetBreaksTrackingMark ¶

func (w LinkCheckResultWrapper) GetBreaksTrackingMark() string

func (LinkCheckResultWrapper) GetCachedMsg ¶

func (w LinkCheckResultWrapper) GetCachedMsg() string

func (LinkCheckResultWrapper) GetDiff ¶

func (LinkCheckResultWrapper) GetDiffOrRemoteDiff ¶

func (w LinkCheckResultWrapper) GetDiffOrRemoteDiff() *keybase1.TrackDiff

func (LinkCheckResultWrapper) GetError ¶

func (w LinkCheckResultWrapper) GetError() error

func (LinkCheckResultWrapper) GetHint ¶

func (LinkCheckResultWrapper) GetSnoozedError ¶

func (w LinkCheckResultWrapper) GetSnoozedError() error

func (LinkCheckResultWrapper) GetTmpTrackExpireTime ¶

func (w LinkCheckResultWrapper) GetTmpTrackExpireTime() time.Time

func (LinkCheckResultWrapper) GetTorWarning ¶

func (w LinkCheckResultWrapper) GetTorWarning() bool

type ListOptions ¶

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

ListOptions is for the Linux style

type Listing ¶

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

Listing contains all the information about a file or directory in a printable form.

type Listings ¶

type Listings []Listing

type LogUIServer ¶

type LogUIServer struct {
	libkb.Contextified
}

func (LogUIServer) Log ¶

type LoginUI ¶

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

func NewLoginUI ¶

func NewLoginUI(t libkb.TerminalUI, noPrompt bool) LoginUI

func (LoginUI) ChooseDeviceToRecoverWith ¶

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

func (LoginUI) DisplayPaperKeyPhrase ¶

func (l LoginUI) DisplayPaperKeyPhrase(_ context.Context, arg keybase1.DisplayPaperKeyPhraseArg) error

func (LoginUI) DisplayPrimaryPaperKey ¶

func (l LoginUI) DisplayPrimaryPaperKey(_ context.Context, arg keybase1.DisplayPrimaryPaperKeyArg) error

func (LoginUI) DisplayResetMessage ¶

func (l LoginUI) DisplayResetMessage(_ context.Context, arg keybase1.DisplayResetMessageArg) error

func (LoginUI) DisplayResetProgress ¶

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

func (LoginUI) ExplainDeviceRecovery ¶

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

func (LoginUI) GetEmailOrUsername ¶

func (l LoginUI) GetEmailOrUsername(_ context.Context, _ int) (string, error)

func (LoginUI) PromptPassphraseRecovery ¶

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

func (LoginUI) PromptRevokePaperKeys ¶

func (l LoginUI) PromptRevokePaperKeys(_ context.Context, arg keybase1.PromptRevokePaperKeysArg) (bool, error)

type NoTerminalError ¶

type NoTerminalError struct{}

func (NoTerminalError) Error ¶

func (e NoTerminalError) Error() string

type NotConfirmedError ¶

type NotConfirmedError struct{}

func (NotConfirmedError) Error ¶

func (e NotConfirmedError) Error() string

type OpCanceler ¶

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

func NewOpCanceler ¶

func NewOpCanceler(g *libkb.GlobalContext) *OpCanceler

func (*OpCanceler) AddOp ¶

func (j *OpCanceler) AddOp(opid keybase1.OpID)

func (*OpCanceler) Cancel ¶

func (j *OpCanceler) Cancel() error

func (*OpCanceler) IsCancelled ¶

func (j *OpCanceler) IsCancelled() bool

type Paragraph ¶

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

func (*Paragraph) Buffer ¶

func (p *Paragraph) Buffer(b []byte)

Buffer adds data to the internal paragraph buffer.

func (Paragraph) Output ¶

func (p Paragraph) Output(out io.Writer)

Output a paragraph to the io.Writer, applying the proper formatting.

type Params ¶

type Params struct {
	Version int
	Options json.RawMessage
}

Params represents the `params` portion of the JSON api call.

type PgpUI ¶

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

func (PgpUI) Finished ¶

func (p PgpUI) Finished(ctx context.Context, sessionID int) error

func (PgpUI) KeyGenerated ¶

func (p PgpUI) KeyGenerated(ctx context.Context, arg keybase1.KeyGeneratedArg) error

func (PgpUI) OutputPGPWarning ¶

func (p PgpUI) OutputPGPWarning(_ context.Context, arg keybase1.OutputPGPWarningArg) error

func (PgpUI) OutputSignatureNonKeybase ¶

func (p PgpUI) OutputSignatureNonKeybase(ctx context.Context, arg keybase1.OutputSignatureNonKeybaseArg) error

func (PgpUI) OutputSignatureSuccess ¶

func (p PgpUI) OutputSignatureSuccess(ctx context.Context, arg keybase1.OutputSignatureSuccessArg) error

func (PgpUI) ShouldPushPrivate ¶

func (p PgpUI) ShouldPushPrivate(ctx context.Context, arg keybase1.ShouldPushPrivateArg) (bool, error)

type PromptFields ¶

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

func (PromptFields) ToList ¶

func (pf PromptFields) ToList() []*Field

type Prompter ¶

type Prompter struct {
	Fields []*Field
	// contains filtered or unexported fields
}

func NewPrompter ¶

func NewPrompter(f []*Field, tui libkb.TerminalUI) *Prompter

func (*Prompter) ReadField ¶

func (p *Prompter) ReadField(f *Field) (err error)

func (*Prompter) Run ¶

func (p *Prompter) Run() error

type ProofNotYetAvailableError ¶

type ProofNotYetAvailableError struct{}

func (ProofNotYetAvailableError) Error ¶

type ProveRooterUI ¶

type ProveRooterUI struct {
	libkb.Contextified
	Username string
}

func (*ProveRooterUI) Checking ¶

func (*ProveRooterUI) ContinueChecking ¶

func (p *ProveRooterUI) ContinueChecking(_ context.Context, _ int) (bool, error)

func (*ProveRooterUI) DisplayRecheckWarning ¶

func (p *ProveRooterUI) DisplayRecheckWarning(_ context.Context, _ keybase1.DisplayRecheckWarningArg) error

func (*ProveRooterUI) OkToCheck ¶

func (*ProveRooterUI) OutputInstructions ¶

func (p *ProveRooterUI) OutputInstructions(_ context.Context, arg keybase1.OutputInstructionsArg) error

func (*ProveRooterUI) OutputPrechecks ¶

func (p *ProveRooterUI) OutputPrechecks(_ context.Context, _ keybase1.OutputPrechecksArg) error

func (*ProveRooterUI) PreProofWarning ¶

func (p *ProveRooterUI) PreProofWarning(_ context.Context, _ keybase1.PreProofWarningArg) (bool, error)

func (*ProveRooterUI) PromptOverwrite ¶

func (p *ProveRooterUI) PromptOverwrite(_ context.Context, _ keybase1.PromptOverwriteArg) (bool, error)

func (*ProveRooterUI) PromptUsername ¶

func (p *ProveRooterUI) PromptUsername(_ context.Context, _ keybase1.PromptUsernameArg) (string, error)

type ProveUI ¶

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

func (ProveUI) Checking ¶

func (p ProveUI) Checking(_ context.Context, arg keybase1.CheckingArg) error

func (ProveUI) ContinueChecking ¶

func (p ProveUI) ContinueChecking(_ context.Context, _ int) (bool, error)

func (ProveUI) DisplayRecheckWarning ¶

func (p ProveUI) DisplayRecheckWarning(_ context.Context, arg keybase1.DisplayRecheckWarningArg) error

func (ProveUI) OkToCheck ¶

func (p ProveUI) OkToCheck(_ context.Context, arg keybase1.OkToCheckArg) (bool, error)

func (ProveUI) OutputInstructions ¶

func (p ProveUI) OutputInstructions(_ context.Context, arg keybase1.OutputInstructionsArg) (err error)

func (ProveUI) OutputPrechecks ¶

func (p ProveUI) OutputPrechecks(_ context.Context, arg keybase1.OutputPrechecksArg) error

func (ProveUI) PreProofWarning ¶

func (p ProveUI) PreProofWarning(_ context.Context, arg keybase1.PreProofWarningArg) (bool, error)

func (ProveUI) PromptOverwrite ¶

func (p ProveUI) PromptOverwrite(_ context.Context, arg keybase1.PromptOverwriteArg) (bool, error)

func (ProveUI) PromptUsername ¶

func (p ProveUI) PromptUsername(_ context.Context, arg keybase1.PromptUsernameArg) (string, error)

type ProvisionUI ¶

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

func (ProvisionUI) ChooseDevice ¶

func (ProvisionUI) ChooseDeviceType ¶

func (ProvisionUI) ChooseGPGMethod ¶

func (ProvisionUI) DisplayAndPromptSecret ¶

func (ProvisionUI) DisplaySecretExchanged ¶

func (p ProvisionUI) DisplaySecretExchanged(ctx context.Context, sessionID int) error

func (ProvisionUI) PromptNewDeviceName ¶

func (p ProvisionUI) PromptNewDeviceName(ctx context.Context, arg keybase1.PromptNewDeviceNameArg) (string, error)

func (ProvisionUI) ProvisioneeSuccess ¶

func (p ProvisionUI) ProvisioneeSuccess(ctx context.Context, arg keybase1.ProvisioneeSuccessArg) error

func (ProvisionUI) ProvisionerSuccess ¶

func (p ProvisionUI) ProvisionerSuccess(ctx context.Context, arg keybase1.ProvisionerSuccessArg) error

func (ProvisionUI) SwitchToGPGSignOK ¶

func (p ProvisionUI) SwitchToGPGSignOK(ctx context.Context, arg keybase1.SwitchToGPGSignOKArg) (bool, error)

type RemoteProofWrapper ¶

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

func (RemoteProofWrapper) GetDomain ¶

func (w RemoteProofWrapper) GetDomain() string

func (RemoteProofWrapper) GetHostname ¶

func (w RemoteProofWrapper) GetHostname() string

func (RemoteProofWrapper) GetProtocol ¶

func (w RemoteProofWrapper) GetProtocol() string

func (RemoteProofWrapper) GetRemoteUsername ¶

func (w RemoteProofWrapper) GetRemoteUsername() string

func (RemoteProofWrapper) GetService ¶

func (w RemoteProofWrapper) GetService() string

func (RemoteProofWrapper) ToDisplayString ¶

func (w RemoteProofWrapper) ToDisplayString() string

type Renderer ¶

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

func NewRenderer ¶

func NewRenderer(g *libkb.GlobalContext, out io.Writer) *Renderer

func (*Renderer) Buffer ¶

func (r *Renderer) Buffer(d []byte)

func (*Renderer) FlushParagraph ¶

func (r *Renderer) FlushParagraph()

func (*Renderer) NewParagraph ¶

func (r *Renderer) NewParagraph(prefix string) *Paragraph

func (*Renderer) RenderNode ¶

func (r *Renderer) RenderNode(node *html.Node)

func (*Renderer) RenderNodes ¶

func (r *Renderer) RenderNodes(nodes []*html.Node)

type Reply ¶

type Reply struct {
	Jsonrpc string      `json:"jsonrpc,omitempty"`
	ID      int         `json:"id,omitempty"`
	Error   *CallError  `json:"error,omitempty"`
	Result  interface{} `json:"result,omitempty"`
}

Reply is returned with the results of processing a Call.

type SaltpackUI ¶

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

func (*SaltpackUI) SaltpackPromptForDecrypt ¶

func (s *SaltpackUI) SaltpackPromptForDecrypt(_ context.Context, arg keybase1.SaltpackPromptForDecryptArg) (err error)

func (*SaltpackUI) SaltpackVerifyBadSender ¶

func (s *SaltpackUI) SaltpackVerifyBadSender(_ context.Context, arg keybase1.SaltpackVerifyBadSenderArg) error

SaltpackVerifyBadSender is responsible for short-circuiting the output of the bad message. It returns an error if the --force argument isn't present, and the VerifyEngine bubbles that up. This is similar to doNonInteractive above.

func (*SaltpackUI) SaltpackVerifySuccess ¶

func (s *SaltpackUI) SaltpackVerifySuccess(_ context.Context, arg keybase1.SaltpackVerifySuccessArg) error

type SecretEntry ¶

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

func NewSecretEntry ¶

func NewSecretEntry(g *libkb.GlobalContext, t *Terminal, tty string) *SecretEntry

func (*SecretEntry) Get ¶

func (*SecretEntry) Init ¶

func (se *SecretEntry) Init() (err error)

type SecretUI ¶

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

func (SecretUI) GetPassphrase ¶

func (ui SecretUI) GetPassphrase(pin keybase1.GUIEntryArg, term *keybase1.SecretEntryArg) (res keybase1.GetPassphraseRes, err error)

type SecretUIServer ¶

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

func (*SecretUIServer) GetPassphrase ¶

type SigHintWrapper ¶

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

func (SigHintWrapper) GetCheckText ¶

func (shw SigHintWrapper) GetCheckText() (ret string)

func (SigHintWrapper) GetHumanURL ¶

func (shw SigHintWrapper) GetHumanURL() (ret string)

type Sink ¶

type Sink interface {
	io.WriteCloser
	Open() error
	HitError(err error) error
}

type Source ¶

type Source interface {
	io.ReadCloser
	io.Seeker
	Open() error
	CloseWithError(error) error
}

type StdinSource ¶

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

func (*StdinSource) Close ¶

func (b *StdinSource) Close() error

Close a source, but consume all leftover input before so doing.

func (*StdinSource) CloseWithError ¶

func (b *StdinSource) CloseWithError(e error) error

func (*StdinSource) Open ¶

func (b *StdinSource) Open() error

func (*StdinSource) Read ¶

func (b *StdinSource) Read(p []byte) (n int, err error)

func (*StdinSource) Seek ¶

func (b *StdinSource) Seek(offset int64, whence int) (int64, error)

type StdoutSink ¶

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

func (*StdoutSink) Close ¶

func (s *StdoutSink) Close() error

func (*StdoutSink) HitError ¶

func (s *StdoutSink) HitError(e error) error

func (*StdoutSink) Open ¶

func (s *StdoutSink) Open() error

func (*StdoutSink) Write ¶

func (s *StdoutSink) Write(b []byte) (n int, err error)

type Stopper ¶

type Stopper interface {
	Stop(exitcode keybase1.ExitCode)
}

type TeamContactSettingsWithTeamName ¶

type TeamContactSettingsWithTeamName struct {
	TeamName string `json:"team_name"`
	Enabled  bool   `json:"enabled"`
}

type TeamsUI ¶

type TeamsUI struct {
	libkb.Contextified
}

func (*TeamsUI) ConfirmInviteLinkAccept ¶

func (t *TeamsUI) ConfirmInviteLinkAccept(ctx context.Context, arg keybase1.ConfirmInviteLinkAcceptArg) (bool, error)

func (*TeamsUI) ConfirmRootTeamDelete ¶

func (t *TeamsUI) ConfirmRootTeamDelete(ctx context.Context, arg keybase1.ConfirmRootTeamDeleteArg) (bool, error)

func (*TeamsUI) ConfirmSubteamDelete ¶

func (t *TeamsUI) ConfirmSubteamDelete(ctx context.Context, arg keybase1.ConfirmSubteamDeleteArg) (bool, error)

type Terminal ¶

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

func NewTerminalEscaped ¶

func NewTerminalEscaped(g *libkb.GlobalContext) *Terminal

func NewTerminalUnescaped ¶

func NewTerminalUnescaped(g *libkb.GlobalContext) *Terminal

func (*Terminal) GetSecret ¶

func (t *Terminal) GetSecret(arg *keybase1.SecretEntryArg) (res *keybase1.SecretEntryRes, err error)

func (*Terminal) GetSize ¶

func (t *Terminal) GetSize() (int, int)

GetSize tries to get the size for the current terminal. It if fails it returns 80x24

func (*Terminal) Prompt ¶

func (t *Terminal) Prompt(s string) (string, error)

func (*Terminal) PromptPassword ¶

func (t *Terminal) PromptPassword(s string) (string, error)

func (*Terminal) PromptYesNo ¶

func (t *Terminal) PromptYesNo(p string, def libkb.PromptDefault) (ret bool, err error)

func (*Terminal) Shutdown ¶

func (t *Terminal) Shutdown() error

type UI ¶

type UI struct {
	libkb.Contextified
	Terminal    *Terminal
	SecretEntry *SecretEntry
	// contains filtered or unexported fields
}

func (*UI) Configure ¶

func (ui *UI) Configure() error

func (*UI) ErrorWriter ¶

func (ui *UI) ErrorWriter() io.Writer

func (*UI) GetDumbOutputUI ¶

func (ui *UI) GetDumbOutputUI() libkb.DumbOutputUI

GetDumbOutput returns the main client UI, which happens to also be a dumb output UI too.

func (*UI) GetGPGUI ¶

func (ui *UI) GetGPGUI() libkb.GPGUI

func (*UI) GetIdentifyTrackUI ¶

func (ui *UI) GetIdentifyTrackUI() libkb.IdentifyUI

func (*UI) GetIdentifyUI ¶

func (ui *UI) GetIdentifyUI() libkb.IdentifyUI

func (*UI) GetLogUI ¶

func (ui *UI) GetLogUI() libkb.LogUI

func (*UI) GetLoginUI ¶

func (ui *UI) GetLoginUI() libkb.LoginUI

func (*UI) GetPgpUI ¶

func (ui *UI) GetPgpUI() libkb.PgpUI

func (*UI) GetProveUI ¶

func (ui *UI) GetProveUI() libkb.ProveUI

func (*UI) GetProvisionUI ¶

func (ui *UI) GetProvisionUI(role libkb.KexRole) libkb.ProvisionUI

func (*UI) GetSecretUI ¶

func (ui *UI) GetSecretUI() libkb.SecretUI

func (*UI) GetTerminalSize ¶

func (ui *UI) GetTerminalSize() (int, int)

func (*UI) GetTerminalUI ¶

func (ui *UI) GetTerminalUI() libkb.TerminalUI

GetTerminalUI returns the main client UI, which happens to be a terminal UI

func (*UI) Output ¶

func (ui *UI) Output(s string) error

func (*UI) OutputDesc ¶

func (ui *UI) OutputDesc(_ libkb.OutputDescriptor, s string) error

func (*UI) OutputWriter ¶

func (ui *UI) OutputWriter() io.Writer

func (*UI) Printf ¶

func (ui *UI) Printf(format string, a ...interface{}) (n int, err error)

func (*UI) PrintfStderr ¶

func (ui *UI) PrintfStderr(format string, a ...interface{}) (n int, err error)

func (*UI) PrintfUnescaped ¶

func (ui *UI) PrintfUnescaped(format string, a ...interface{}) (n int, err error)

func (*UI) Println ¶

func (ui *UI) Println(a ...interface{}) (int, error)

func (*UI) Prompt ¶

func (ui *UI) Prompt(_ libkb.PromptDescriptor, s string) (string, error)

func (*UI) PromptForConfirmation ¶

func (ui *UI) PromptForConfirmation(prompt string) error

func (*UI) PromptPassword ¶

func (ui *UI) PromptPassword(_ libkb.PromptDescriptor, s string) (string, error)

func (*UI) PromptPasswordMaybeScripted ¶

func (ui *UI) PromptPasswordMaybeScripted(pd libkb.PromptDescriptor, prompt string) (ret string, err error)

func (*UI) PromptSelection ¶

func (ui *UI) PromptSelection(prompt string, low, hi int) (ret int, err error)

func (*UI) PromptYesNo ¶

func (ui *UI) PromptYesNo(_ libkb.PromptDescriptor, p string, def libkb.PromptDefault) (ret bool, err error)

func (*UI) Shutdown ¶

func (ui *UI) Shutdown() error

func (*UI) TerminalSize ¶

func (ui *UI) TerminalSize() (width int, height int)

func (*UI) UnescapedOutputWriter ¶

func (ui *UI) UnescapedOutputWriter() io.Writer

type UnexpectedArgsError ¶

type UnexpectedArgsError string

func (UnexpectedArgsError) Error ¶

func (e UnexpectedArgsError) Error() string

type UnixFilter ¶

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

func (*UnixFilter) ClientFilterOpen ¶

func (u *UnixFilter) ClientFilterOpen(g *libkb.GlobalContext) (snk, src keybase1.Stream, err error)

func (*UnixFilter) Close ¶

func (u *UnixFilter) Close(inerr error) error

func (*UnixFilter) FilterInit ¶

func (u *UnixFilter) FilterInit(g *libkb.GlobalContext, msg, infile, outfile string) (err error)

func (*UnixFilter) FilterOpen ¶

func (u *UnixFilter) FilterOpen(g *libkb.GlobalContext) (err error)

Source Files ¶

Jump to

Keyboard shortcuts

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