client

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2016 License: BSD-3-Clause, BSD-3-Clause Imports: 52 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
)
View Source
const (
	PromptDescriptorGeneric libkb.PromptDescriptor = iota
	PromptDescriptorRevokePaperKeys
	PromptDescriptorReregister
	PromptDescriptorInviteOK
	PromptDescriptorPGPGenPushSecret
	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
	PromptDescriptorEnterChatMessage
	PromptDescriptorDeviceRevoke
)
View Source
const (
	OutputDescriptorGeneric libkb.OutputDescriptor = iota
	OutputDescriptorPrimaryPaperKey
	OutputDescriptorEndageredTLFs
)
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 = `` /* 520-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 = `` /* 442-byte string literal not displayed */

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

View Source
var ErrInputCanceled libkb.InputCanceledError
View Source
var G = libkb.G

Keep this around to simplify things

View Source
var INDENT = 3
View Source
var SmallKey = 1024
View Source
var SubcommandHelpTemplate = `` /* 163-byte string literal not displayed */

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

Functions

func AddPGPMultiInstructions

func AddPGPMultiInstructions(err error) error

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 ColorBytes

func ColorBytes(which string, text []byte) []byte

func ColorClose

func ColorClose(which string) []byte

func ColorOpen

func ColorOpen(which string) []byte

func ColorString

func ColorString(which, text string) string

func CtlServiceStop added in v1.0.17

func CtlServiceStop(g *libkb.GlobalContext) error

CtlServiceStop will stop a running service via RPC call

func DiagnoseSocketError

func DiagnoseSocketError(ui libkb.UI, err error)

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

func DisplayJSON

func DisplayJSON(jsonStr string) error

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 added in v1.0.17

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

func GetAccountClient

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

func GetBTCClient

func GetBTCClient(g *libkb.GlobalContext) (cli keybase1.BTCClient, err error)

func GetChatLocalClient added in v1.0.18

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

func GetCommands

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

func GetConfigClient

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

func GetCtlClient

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

func GetDeviceClient

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

func GetExtraFlags

func GetExtraFlags() []cli.Flag

GetExtraFlags gets the extra fork-related flags for this platform

func GetFSClient added in v1.0.17

func GetFSClient(g *libkb.GlobalContext) (cli keybase1.FsClient, err error)

func GetFavoriteClient

func GetFavoriteClient() (cli keybase1.FavoriteClient, err error)

func GetGregorClient added in v1.0.17

func GetGregorClient(g *libkb.GlobalContext) (keybase1.GregorClient, error)

func GetHelpTopics

func GetHelpTopics() []cli.HelpTopic

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 GetLogClient

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

func GetLoginClient

func GetLoginClient(g *libkb.GlobalContext) (cli keybase1.LoginClient, 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 added in v1.0.16

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

func GetProveClient

func GetProveClient() (cli keybase1.ProveClient, err error)

func GetRPCClient

func GetRPCClient() (ret *rpc.Client, xp rpc.Transporter, 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 added in v1.0.17

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 added in v1.0.18

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

func GetScanProofsDescription added in v1.0.18

func GetScanProofsDescription() string

func GetSecretKeysClient

func GetSecretKeysClient(g *libkb.GlobalContext) (cli keybase1.SecretKeysClient, 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 GetTlfClient added in v1.0.18

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

func GetTrackClient

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

func GetUpdateClient

func GetUpdateClient(g *libkb.GlobalContext) (cli keybase1.UpdateClient, err error)

func GetUserClient

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

func HasColor

func HasColor() bool

func InitUI

func InitUI()

func NewCmdAPICall added in v1.0.17

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

func NewCmdAccountDelete added in v1.0.18

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

func NewCmdBase62Decode

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

func NewCmdBase62Encode added in v1.0.17

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

func NewCmdCert

func NewCmdCert(cl *libcmdline.CommandLine) cli.Command

func NewCmdChat added in v1.0.18

func NewCmdCheckTracking

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

func NewCmdCompatDir

func NewCmdCompatDir(cl *libcmdline.CommandLine) cli.Command

func NewCmdCompatPush

func NewCmdCompatPush(cl *libcmdline.CommandLine) cli.Command

func NewCmdConfigGet

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

func NewCmdConfigInfo

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

func NewCmdConfigSet

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

func NewCmdCtlAppExit added in v1.0.17

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

func NewCmdCtlLogRotate

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

func NewCmdCtlReload

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

func NewCmdCtlRestart

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

func NewCmdDeprovision

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

func NewCmdDevice

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

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

func NewCmdDeviceAdd

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

NewCmdDeviceAdd creates a new cli.Command.

func NewCmdDeviceList

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

NewCmdDeviceList creates a new cli.Command.

func NewCmdDeviceRemove

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

func NewCmdDismiss added in v1.0.18

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

func NewCmdDumpKeyfamily

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

func NewCmdDumpPushNotifications added in v1.0.17

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

func NewCmdFakeTrackingChanged

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

func NewCmdFavoriteAdd

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

func NewCmdFavoriteList

func NewCmdFavoriteList(cl *libcmdline.CommandLine) cli.Command

func NewCmdFavoriteRemove

func NewCmdFavoriteRemove(cl *libcmdline.CommandLine) cli.Command

func NewCmdListTrackers

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

NewCmdListTrackers creates a new cli.Command.

func NewCmdListTracking

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

func NewCmdPGPDecrypt

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

func NewCmdPGPEncrypt

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

func NewCmdPGPExport

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

func NewCmdPGPImport

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

func NewCmdPGPProvision added in v1.0.17

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

func NewCmdPGPPurge added in v1.0.18

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

func NewCmdPGPSelect

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

func NewCmdPGPUpdate

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

func NewCmdPGPVerify

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

func NewCmdPaperProvision added in v1.0.16

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

func NewCmdPassphrase

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

func NewCmdPassphraseChange

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

func NewCmdPassphraseRecover

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

func NewCmdProve

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

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

func NewCmdRekey added in v1.0.17

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

These are the production rekey commands

func NewCmdRekeyPaper added in v1.0.17

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

func NewCmdRekeyStatus added in v1.0.17

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

func NewCmdRekeyTrigger added in v1.0.17

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

func NewCmdScanProofs added in v1.0.18

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

func NewCmdSecretKey

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

func NewCmdShowNotifications

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

func NewCmdSigsRevoke

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

func NewCmdStress

func NewCmdStress(cl *libcmdline.CommandLine) cli.Command

func NewCmdTestFSNotify

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

func NewCmdTestPassphrase

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

func NewCmdUnlock

func NewCmdUnlock(cl *libcmdline.CommandLine) cli.Command

func NewCmdUpdate

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

NewCmdUpdate are commands for supporting the updater

func NewCmdWatchdog2 added in v1.0.17

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

NewCmdWatchdog2 constructs watchdog command

func NewGPGUIProtocol

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

func NewIdentifyTrackUIProtocol

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

func NewIdentifyUIProtocol

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

func NewLogUIProtocol

func NewLogUIProtocol() rpc.Protocol

func NewLoginUIProtocol

func NewLoginUIProtocol(g *libkb.GlobalContext) 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 ParseTLF

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

ParseTLF takes keybase paths like

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

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

func PingGregor added in v1.0.16

func PingGregor(g *libkb.GlobalContext) error

func PrintOutOfDateWarnings added in v1.0.17

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 added in v1.0.17

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 RegisterProtocols

func RegisterProtocols(prots []rpc.Protocol) (err error)

func RegisterProtocolsWithContext

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

func Render

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

func RenderText

func RenderText(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 UserSummariesForSearchResults

func UserSummariesForSearchResults(results []keybase1.SearchResult,
	g *libkb.GlobalContext) ([]keybase1.UserSummary, error)

Types

type BadArgsError

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

func (BadArgsError) Error

func (e BadArgsError) Error() string

type BadServiceError

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

func (BadServiceError) Error

func (e BadServiceError) Error() string

type BadUsernameError

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

func (BadUsernameError) Error

func (e BadUsernameError) Error() string

type BaseIdentifyUI

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

func (BaseIdentifyUI) Cancel added in v1.0.18

func (ui BaseIdentifyUI) Cancel() error

func (BaseIdentifyUI) Confirm

func (BaseIdentifyUI) Dismiss added in v1.0.16

func (BaseIdentifyUI) DisplayCryptocurrency

func (ui BaseIdentifyUI) DisplayCryptocurrency(l keybase1.Cryptocurrency) error

func (BaseIdentifyUI) DisplayKey

func (ui BaseIdentifyUI) DisplayKey(key keybase1.IdentifyKey) error

func (BaseIdentifyUI) DisplayTLFCreateWithInvite added in v1.0.16

func (ui BaseIdentifyUI) DisplayTLFCreateWithInvite(arg keybase1.DisplayTLFCreateWithInviteArg) error

func (BaseIdentifyUI) DisplayTrackStatement

func (ui BaseIdentifyUI) DisplayTrackStatement(stmt string) error

func (BaseIdentifyUI) DisplayUserCard

func (ui BaseIdentifyUI) DisplayUserCard(keybase1.UserCard) error

func (BaseIdentifyUI) Finish

func (ui BaseIdentifyUI) Finish() error

func (BaseIdentifyUI) FinishSocialProofCheck

func (ui BaseIdentifyUI) FinishSocialProofCheck(p keybase1.RemoteProof, l keybase1.LinkCheckResult) error

func (BaseIdentifyUI) FinishWebProofCheck

func (ui BaseIdentifyUI) FinishWebProofCheck(p keybase1.RemoteProof, l keybase1.LinkCheckResult) error

func (BaseIdentifyUI) LaunchNetworkChecks

func (ui BaseIdentifyUI) LaunchNetworkChecks(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(tl *keybase1.TrackSummary) error

func (BaseIdentifyUI) ReportRevoked

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

func (BaseIdentifyUI) ReportTrackToken

func (ui BaseIdentifyUI) ReportTrackToken(_ keybase1.TrackToken) error

func (BaseIdentifyUI) ShowWarnings

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

func (BaseIdentifyUI) Start

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

func (BaseIdentifyUI) TrackDiffUpgradedToString

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

func (BaseIdentifyUI) Warning

func (ui BaseIdentifyUI) Warning(m string)

type BufferSource

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

func NewBufferSource

func NewBufferSource(s string) *BufferSource

func (*BufferSource) Close

func (b *BufferSource) Close() error

func (*BufferSource) CloseWithError

func (b *BufferSource) CloseWithError(error) error

func (*BufferSource) Open

func (b *BufferSource) Open() error

func (*BufferSource) Read

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

type Call added in v1.0.18

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

Call represents a JSON chat call.

type CallError added in v1.0.18

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

CallError is the result when there is an error.

type CanceledError

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

type ChatAPI added in v1.0.18

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

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

func (*ChatAPI) AttachV1 added in v1.0.18

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

func (*ChatAPI) DeleteV1 added in v1.0.18

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

func (*ChatAPI) DownloadV1 added in v1.0.18

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

func (*ChatAPI) EditV1 added in v1.0.18

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

func (*ChatAPI) ListV1 added in v1.0.18

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

func (*ChatAPI) ReadV1 added in v1.0.18

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

func (*ChatAPI) SendV1 added in v1.0.18

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

type ChatAPIDecoder added in v1.0.18

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

func NewChatAPIDecoder added in v1.0.18

func NewChatAPIDecoder(h ChatAPIHandler) *ChatAPIDecoder

func (*ChatAPIDecoder) Decode added in v1.0.18

func (d *ChatAPIDecoder) Decode(ctx context.Context, r io.Reader, w io.Writer) error

type ChatAPIHandler added in v1.0.18

type ChatAPIHandler interface {
	ListV1(context.Context, Call, io.Writer) error
	ReadV1(context.Context, Call, io.Writer) error
	SendV1(context.Context, Call, io.Writer) error
	EditV1(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
}

ChatAPIHandler can handle all of the chat json api methods.

type ChatChannel added in v1.0.18

type ChatChannel struct {
	Name      string `json:"name"`
	Public    bool   `json:"public"`
	TopicType string `json:"topic_type,omitempty"`
	TopicName string `json:"topic_name,omitempty"`
}

ChatChannel represents a channel through which chat happens.

func (ChatChannel) TopicTypeEnum added in v1.0.18

func (c ChatChannel) TopicTypeEnum() chat1.TopicType

TopicTypeEnum returns the chat1.TopicType from the TopicType string field.

func (ChatChannel) Valid added in v1.0.18

func (c ChatChannel) Valid() bool

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

type ChatList added in v1.0.18

type ChatList struct {
	Conversations []ConvSummary `json:"conversations"`
	RateLimits
}

ChatList is a list of conversations in the inbox.

type ChatMessage added in v1.0.18

type ChatMessage struct {
	Body string
}

ChatMessage represents a text message to be sent.

func (ChatMessage) Valid added in v1.0.18

func (c ChatMessage) Valid() bool

Valid returns true if the message has a body.

type ChatServiceHandler added in v1.0.18

type ChatServiceHandler interface {
	ListV1(context.Context) Reply
	ReadV1(context.Context, readOptionsV1) Reply
	SendV1(context.Context, sendOptionsV1) Reply
	EditV1(context.Context, editOptionsV1) Reply
	DeleteV1(context.Context, deleteOptionsV1) Reply
	AttachV1(context.Context, attachOptionsV1) Reply
	DownloadV1(context.Context, downloadOptionsV1) Reply
}

ChatServiceHandler can call the service.

type ChatUI added in v1.0.18

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

func (*ChatUI) ChatAttachmentDownloadDone added in v1.0.18

func (c *ChatUI) ChatAttachmentDownloadDone(context.Context, int) error

func (*ChatUI) ChatAttachmentDownloadProgress added in v1.0.18

func (c *ChatUI) ChatAttachmentDownloadProgress(ctx context.Context, arg chat1.ChatAttachmentDownloadProgressArg) error

func (*ChatUI) ChatAttachmentDownloadStart added in v1.0.18

func (c *ChatUI) ChatAttachmentDownloadStart(context.Context, int) error

func (*ChatUI) ChatAttachmentPreviewUploadDone added in v1.0.18

func (c *ChatUI) ChatAttachmentPreviewUploadDone(context.Context, int) error

func (*ChatUI) ChatAttachmentPreviewUploadStart added in v1.0.18

func (c *ChatUI) ChatAttachmentPreviewUploadStart(context.Context, int) error

func (*ChatUI) ChatAttachmentUploadDone added in v1.0.18

func (c *ChatUI) ChatAttachmentUploadDone(context.Context, int) error

func (*ChatUI) ChatAttachmentUploadProgress added in v1.0.18

func (c *ChatUI) ChatAttachmentUploadProgress(ctx context.Context, arg chat1.ChatAttachmentUploadProgressArg) error

func (*ChatUI) ChatAttachmentUploadStart added in v1.0.18

func (c *ChatUI) ChatAttachmentUploadStart(context.Context, int) error

type CleanCancelError

type CleanCancelError struct{}

func (CleanCancelError) Error

func (e CleanCancelError) Error() string

type ClientSpecificCustomMessage added in v1.0.17

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

type CmdAPICall added in v1.0.17

type CmdAPICall struct {
	JSONPayload []keybase1.StringKVPair

	libkb.Contextified
	// contains filtered or unexported fields
}

func (*CmdAPICall) GetUsage added in v1.0.17

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

func (*CmdAPICall) ParseArgv added in v1.0.17

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

func (*CmdAPICall) Run added in v1.0.17

func (c *CmdAPICall) Run() error

type CmdAccountDelete added in v1.0.18

type CmdAccountDelete struct {
	libkb.Contextified
}

func (*CmdAccountDelete) GetUsage added in v1.0.18

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

func (*CmdAccountDelete) ParseArgv added in v1.0.18

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

func (*CmdAccountDelete) Run added in v1.0.18

func (c *CmdAccountDelete) Run() error

type CmdBTC

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

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)

func (*CmdBTC) SetAddress

func (c *CmdBTC) SetAddress(s string)

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 added in v1.0.17

type CmdBase62Encode struct {
	libkb.Contextified
}

func NewBase62EncodeRunner added in v1.0.17

func NewBase62EncodeRunner(g *libkb.GlobalContext) *CmdBase62Encode

func (*CmdBase62Encode) GetUsage added in v1.0.17

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

func (*CmdBase62Encode) ParseArgv added in v1.0.17

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

func (*CmdBase62Encode) Run added in v1.0.17

func (v *CmdBase62Encode) Run() 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 CmdCert

type CmdCert struct {
}

func (*CmdCert) GetUsage

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

func (*CmdCert) ParseArgv

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

func (*CmdCert) Run

func (c *CmdCert) Run() error

type CmdChatAPI added in v1.0.18

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

func (*CmdChatAPI) GetUsage added in v1.0.18

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

func (*CmdChatAPI) ParseArgv added in v1.0.18

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

func (*CmdChatAPI) Run added in v1.0.18

func (c *CmdChatAPI) Run() error

type CmdChatDownload added in v1.0.18

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

func (*CmdChatDownload) GetUsage added in v1.0.18

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

func (*CmdChatDownload) ParseArgv added in v1.0.18

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

func (*CmdChatDownload) Run added in v1.0.18

func (c *CmdChatDownload) Run() error

type CmdChatUpload added in v1.0.18

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

func (*CmdChatUpload) GetUsage added in v1.0.18

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

func (*CmdChatUpload) ParseArgv added in v1.0.18

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

func (*CmdChatUpload) Run added in v1.0.18

func (c *CmdChatUpload) Run() error

type CmdCheckTracking

type CmdCheckTracking struct {
	libkb.Contextified
}

func NewCmdCheckTrackingRunner

func NewCmdCheckTrackingRunner(g *libkb.GlobalContext) *CmdCheckTracking

func (*CmdCheckTracking) GetUsage

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

func (*CmdCheckTracking) 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
}

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 CmdCtlAppExit added in v1.0.17

type CmdCtlAppExit struct {
	libkb.Contextified
}

func (*CmdCtlAppExit) GetUsage added in v1.0.17

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

func (*CmdCtlAppExit) ParseArgv added in v1.0.17

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

func (*CmdCtlAppExit) Run added in v1.0.17

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

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 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
}

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 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() error

type CmdDecrypt

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

func NewCmdDecryptRunner

func NewCmdDecryptRunner(g *libkb.GlobalContext) *CmdDecrypt

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 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(*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 added in v1.0.18

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 added in v1.0.18

func (c *CmdDeviceRemove) SetIDOrName(s string)

type CmdDismiss added in v1.0.18

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

func (*CmdDismiss) GetUsage added in v1.0.18

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

func (*CmdDismiss) ParseArgv added in v1.0.18

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

func (*CmdDismiss) Run added in v1.0.18

func (c *CmdDismiss) 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 added in v1.0.17

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

func NewCmdDumpPushNotificationsRunner added in v1.0.17

func NewCmdDumpPushNotificationsRunner(g *libkb.GlobalContext) *CmdDumpPushNotifications

func (*CmdDumpPushNotifications) GetUsage added in v1.0.17

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

func (*CmdDumpPushNotifications) ParseArgv added in v1.0.17

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

func (*CmdDumpPushNotifications) Run added in v1.0.17

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{}

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 added in v1.0.17

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

func (*CmdFavoriteRemove) GetUsage added in v1.0.17

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

func (*CmdFavoriteRemove) ParseArgv added in v1.0.17

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

func (*CmdFavoriteRemove) Run added in v1.0.17

func (c *CmdFavoriteRemove) 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 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 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

	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
}

func NewCmdLogoutRunner

func NewCmdLogoutRunner(g *libkb.GlobalContext) *CmdLogout

func (*CmdLogout) GetUsage

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

func (*CmdLogout) ParseArgv

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

func (*CmdLogout) Run

func (v *CmdLogout) 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 CmdPGPProvision added in v1.0.17

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

func (*CmdPGPProvision) GetUsage added in v1.0.17

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

func (*CmdPGPProvision) ParseArgv added in v1.0.17

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

func (*CmdPGPProvision) Run added in v1.0.17

func (c *CmdPGPProvision) 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 CmdPGPPurge added in v1.0.18

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

func (*CmdPGPPurge) GetUsage added in v1.0.18

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

func (*CmdPGPPurge) ParseArgv added in v1.0.18

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

func (*CmdPGPPurge) Run added in v1.0.18

func (s *CmdPGPPurge) Run() error

type CmdPGPSelect

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

func (*CmdPGPSelect) GetUsage

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

func (*CmdPGPSelect) 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 added in v1.0.18

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 added in v1.0.16

type CmdPaperProvision struct {
	libkb.Contextified

	SessionID int
	// contains filtered or unexported fields
}

func NewCmdPaperProvisionRunner added in v1.0.16

func NewCmdPaperProvisionRunner(g *libkb.GlobalContext) *CmdPaperProvision

func (*CmdPaperProvision) GetUsage added in v1.0.16

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

func (*CmdPaperProvision) ParseArgv added in v1.0.16

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

func (*CmdPaperProvision) Run added in v1.0.16

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

type CmdPassphraseChange

type CmdPassphraseChange struct {
	libkb.Contextified
}

func NewCmdPassphraseChangeRunner

func NewCmdPassphraseChangeRunner(g *libkb.GlobalContext) *CmdPassphraseChange

func (*CmdPassphraseChange) GetUsage

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

func (*CmdPassphraseChange) ParseArgv

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

func (*CmdPassphraseChange) Run

func (c *CmdPassphraseChange) Run() error

type CmdPassphraseRecover

type CmdPassphraseRecover struct {
	libkb.Contextified
}

func NewCmdPassphraseRecoverRunner

func NewCmdPassphraseRecoverRunner(g *libkb.GlobalContext) *CmdPassphraseRecover

func (*CmdPassphraseRecover) GetUsage

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

func (*CmdPassphraseRecover) ParseArgv

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

func (*CmdPassphraseRecover) Run

func (c *CmdPassphraseRecover) Run() error

type CmdPing

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

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 CmdProve

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

CmdProve is the wrapper structure for the the `keybase prove` operation.

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 added in v1.0.17

type CmdRekeyPaper struct {
	libkb.Contextified
}

func (*CmdRekeyPaper) GetUsage added in v1.0.17

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

func (*CmdRekeyPaper) ParseArgv added in v1.0.17

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

func (*CmdRekeyPaper) Run added in v1.0.17

func (c *CmdRekeyPaper) Run() error

type CmdRekeyStatus added in v1.0.17

type CmdRekeyStatus struct {
	libkb.Contextified
}

func (*CmdRekeyStatus) GetUsage added in v1.0.17

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

func (*CmdRekeyStatus) ParseArgv added in v1.0.17

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

func (*CmdRekeyStatus) Run added in v1.0.17

func (c *CmdRekeyStatus) Run() error

type CmdRekeyTrigger added in v1.0.17

type CmdRekeyTrigger struct {
	libkb.Contextified
}

func (*CmdRekeyTrigger) GetUsage added in v1.0.17

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

func (*CmdRekeyTrigger) ParseArgv added in v1.0.17

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

func (*CmdRekeyTrigger) Run added in v1.0.17

func (c *CmdRekeyTrigger) Run() error

type CmdScanProofs added in v1.0.18

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

func NewCmdScanProofsRunner added in v1.0.18

func NewCmdScanProofsRunner(g *libkb.GlobalContext) *CmdScanProofs

func (*CmdScanProofs) GetUsage added in v1.0.18

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

func (*CmdScanProofs) ParseArgv added in v1.0.18

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

func (*CmdScanProofs) Run added in v1.0.18

func (c *CmdScanProofs) Run() error

type CmdSearch

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

func (*CmdSearch) GetUsage

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

func (*CmdSearch) ParseArgv

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

func (*CmdSearch) Run

func (c *CmdSearch) Run() (err 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 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) error

func (*CmdSignup) Run

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

func (*CmdSignup) SetTest

func (s *CmdSignup) SetTest()

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 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 {
	// 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) GetPassphrase

func (c *CmdStress) GetPassphrase(_ context.Context, arg keybase1.GetPassphraseArg) (res keybase1.GetPassphraseRes, err error)

func (*CmdStress) GetTTY added in v1.0.18

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 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 {
	// 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 (*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

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 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 CmdWatchdog

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

func (*CmdWatchdog) GetUsage

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

func (*CmdWatchdog) ParseArgv

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

func (*CmdWatchdog) Run

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

type CmdWatchdog2 added in v1.0.17

type CmdWatchdog2 struct {
	libkb.Contextified
}

CmdWatchdog2 defines watchdog command

func (*CmdWatchdog2) Debugf added in v1.0.17

func (c *CmdWatchdog2) Debugf(s string, args ...interface{})

Debugf (for watchdog.Log interface)

func (*CmdWatchdog2) Errorf added in v1.0.17

func (c *CmdWatchdog2) Errorf(s string, args ...interface{})

Errorf (for watchdog Log interface)

func (*CmdWatchdog2) GetUsage added in v1.0.17

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

GetUsage returns library usage for this command

func (*CmdWatchdog2) Infof added in v1.0.17

func (c *CmdWatchdog2) Infof(s string, args ...interface{})

Infof (for watchdog.Log interface)

func (*CmdWatchdog2) ParseArgv added in v1.0.17

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

ParseArgv is args for the watchdog command

func (*CmdWatchdog2) Run added in v1.0.17

func (c *CmdWatchdog2) Run() error

Run watchdog

func (*CmdWatchdog2) Warningf added in v1.0.17

func (c *CmdWatchdog2) Warningf(s string, args ...interface{})

Warningf (for watchdog Log interface)

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 ConvSummary added in v1.0.18

type ConvSummary struct {
	ID      string      `json:"id"`
	Channel ChatChannel `json:"channel"`
}

ConvSummary is used for JSON output of a conversation in the inbox.

type ErrInvalidJSON added in v1.0.18

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

func (ErrInvalidJSON) Error added in v1.0.18

func (e ErrInvalidJSON) Error() string

type ErrInvalidMethod added in v1.0.18

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

func (ErrInvalidMethod) Error added in v1.0.18

func (e ErrInvalidMethod) Error() string

type ErrInvalidOptions added in v1.0.18

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

ErrInvalidOptions is returned when the options aren't valid.

func (ErrInvalidOptions) Error added in v1.0.18

func (e ErrInvalidOptions) Error() string

type ErrInvalidVersion added in v1.0.18

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

func (ErrInvalidVersion) Error added in v1.0.18

func (e ErrInvalidVersion) Error() string

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 FileSink

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

func NewFileSink

func NewFileSink(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)

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) GetTTY added in v1.0.18

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(_ 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

func (ui IdentifyTrackUI) Confirm(o *keybase1.IdentifyOutcome) (result keybase1.ConfirmResult, err error)

type IdentifyUI

type IdentifyUI struct {
	BaseIdentifyUI
}

type IdentifyUIServer

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

func (*IdentifyUIServer) Cancel added in v1.0.18

func (i *IdentifyUIServer) Cancel(_ context.Context, sessionID int) error

func (*IdentifyUIServer) Confirm

func (*IdentifyUIServer) DelegateIdentifyUI

func (i *IdentifyUIServer) DelegateIdentifyUI(_ context.Context) (int, error)

func (*IdentifyUIServer) Dismiss added in v1.0.16

func (*IdentifyUIServer) DisplayCryptocurrency

func (i *IdentifyUIServer) DisplayCryptocurrency(_ context.Context, arg keybase1.DisplayCryptocurrencyArg) error

func (*IdentifyUIServer) DisplayKey

func (*IdentifyUIServer) DisplayTLFCreateWithInvite added in v1.0.16

func (i *IdentifyUIServer) DisplayTLFCreateWithInvite(_ context.Context, arg keybase1.DisplayTLFCreateWithInviteArg) error

func (*IdentifyUIServer) DisplayTrackStatement

func (i *IdentifyUIServer) DisplayTrackStatement(_ context.Context, arg keybase1.DisplayTrackStatementArg) error

func (*IdentifyUIServer) DisplayUserCard

func (i *IdentifyUIServer) DisplayUserCard(_ context.Context, arg keybase1.DisplayUserCardArg) error

func (*IdentifyUIServer) Finish

func (i *IdentifyUIServer) Finish(_ context.Context, sessionID int) error

func (*IdentifyUIServer) FinishSocialProofCheck

func (i *IdentifyUIServer) FinishSocialProofCheck(_ context.Context, arg keybase1.FinishSocialProofCheckArg) error

func (*IdentifyUIServer) FinishWebProofCheck

func (i *IdentifyUIServer) FinishWebProofCheck(_ context.Context, arg keybase1.FinishWebProofCheckArg) error

func (*IdentifyUIServer) LaunchNetworkChecks

func (i *IdentifyUIServer) LaunchNetworkChecks(_ context.Context, arg keybase1.LaunchNetworkChecksArg) error

func (*IdentifyUIServer) ReportLastTrack

func (i *IdentifyUIServer) ReportLastTrack(_ context.Context, arg keybase1.ReportLastTrackArg) error

func (*IdentifyUIServer) ReportTrackToken

func (i *IdentifyUIServer) ReportTrackToken(_ context.Context, arg keybase1.ReportTrackTokenArg) error

func (*IdentifyUIServer) Start

type InternalError

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

func (InternalError) Error

func (e InternalError) Error() string

type JSONInput added in v1.0.17

type JSONInput map[string]json.RawMessage

type LinkCheckResultWrapper

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

func (LinkCheckResultWrapper) GetCachedMsg

func (w LinkCheckResultWrapper) GetCachedMsg() string

func (LinkCheckResultWrapper) GetDiff

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 LogUIServer

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

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

func (l LoginUI) GetEmailOrUsername(_ context.Context, _ int) (string, error)

func (LoginUI) PromptRevokePaperKeys

func (l LoginUI) PromptRevokePaperKeys(_ context.Context, arg keybase1.PromptRevokePaperKeysArg) (bool, error)

type Message added in v1.0.18

type Message struct {
	Msg   *MsgSummary `json:"msg,omitempty"`
	Error *string     `json:"error,omitempty"`
}

Message contains eiter a MsgSummary or an Error. Used for JSON output.

type MsgContent added in v1.0.18

type MsgContent struct {
	TypeName   string                             `json:"type"`
	Text       *chat1.MessageText                 `json:"text,omitempty"`
	Attachment *chat1.MessageAttachment           `json:"attachment,omitempty"`
	Edit       *chat1.MessageEdit                 `json:"edit,omitempty"`
	Delete     *chat1.MessageDelete               `json:"delete,omitempty"`
	Metadata   *chat1.MessageConversationMetadata `json:"metadata,omitempty"`
}

MsgContent is used to retrieve the type name in addition to one of Text, Attachment, Edit, Delete, Metadata depending on the type of message. It is included in MsgSummary.

type MsgSender added in v1.0.18

type MsgSender struct {
	UID        string `json:"uid"`
	Username   string `json:"username,omitempty"`
	DeviceID   string `json:"device_id"`
	DeviceName string `json:"device_name,omitempty"`
}

MsgSender is used for JSON output of the sender of a message.

type MsgSummary added in v1.0.18

type MsgSummary struct {
	ID       chat1.MessageID                `json:"id"`
	Channel  ChatChannel                    `json:"channel"`
	Sender   MsgSender                      `json:"sender"`
	SentAt   int64                          `json:"sent_at"`
	SentAtMs int64                          `json:"sent_at_ms"`
	Content  MsgContent                     `json:"content"`
	Prev     []chat1.MessagePreviousPointer `json:"prev"`
}

MsgSummary is used to display JSON details for a message.

type NoTerminalError

type NoTerminalError struct{}

func (NoTerminalError) Error

func (e NoTerminalError) Error() string

type NotConfirmedError

type NotConfirmedError struct{}

func (NotConfirmedError) Error

func (e NotConfirmedError) Error() string

type 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 added in v1.0.18

type Params struct {
	Version int
	Options json.RawMessage
}

Params represents the `params` portion of the JSON chat call.

type PgpUI

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

func (PgpUI) Finished added in v1.0.18

func (p PgpUI) Finished(ctx context.Context, sessionID int) error

func (PgpUI) KeyGenerated added in v1.0.18

func (p PgpUI) KeyGenerated(ctx context.Context, arg keybase1.KeyGeneratedArg) error

func (PgpUI) OutputSignatureSuccess

func (p PgpUI) OutputSignatureSuccess(_ context.Context, arg keybase1.OutputSignatureSuccessArg) error

func (PgpUI) ShouldPushPrivate added in v1.0.18

func (p PgpUI) ShouldPushPrivate(ctx context.Context, sessionID int) (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 added in v1.0.16

type ProveRooterUI struct {
	libkb.Contextified
	Username string
}

func (*ProveRooterUI) DisplayRecheckWarning added in v1.0.16

func (p *ProveRooterUI) DisplayRecheckWarning(_ context.Context, _ keybase1.DisplayRecheckWarningArg) error

func (*ProveRooterUI) OkToCheck added in v1.0.16

func (*ProveRooterUI) OutputInstructions added in v1.0.16

func (p *ProveRooterUI) OutputInstructions(_ context.Context, arg keybase1.OutputInstructionsArg) error

func (*ProveRooterUI) OutputPrechecks added in v1.0.16

func (p *ProveRooterUI) OutputPrechecks(_ context.Context, _ keybase1.OutputPrechecksArg) error

func (*ProveRooterUI) PreProofWarning added in v1.0.16

func (p *ProveRooterUI) PreProofWarning(_ context.Context, _ keybase1.PreProofWarningArg) (bool, error)

func (*ProveRooterUI) PromptOverwrite added in v1.0.16

func (p *ProveRooterUI) PromptOverwrite(_ context.Context, _ keybase1.PromptOverwriteArg) (bool, error)

func (*ProveRooterUI) PromptUsername added in v1.0.16

func (p *ProveRooterUI) PromptUsername(_ context.Context, _ keybase1.PromptUsernameArg) (string, error)

type ProveUI

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

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

func (ProvisionUI) ChooseDevice

func (ProvisionUI) ChooseDeviceType

func (ProvisionUI) ChooseGPGMethod

func (ProvisionUI) ChooseProvisioningMethod

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 RateLimit added in v1.0.18

type RateLimit struct {
	Tank     string `json:"tank"`
	Capacity int    `json:"capacity"`
	Reset    int    `json:"reset"`
	Gas      int    `json:"gas"`
}

type RateLimits added in v1.0.18

type RateLimits struct {
	RateLimits []RateLimit `json:"ratelimits,omitempty"`
}

type RemoteProofWrapper

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

func (RemoteProofWrapper) GetDomain

func (w RemoteProofWrapper) GetDomain() string

func (RemoteProofWrapper) GetHostname

func (w RemoteProofWrapper) GetHostname() string

func (RemoteProofWrapper) GetProtocol

func (w RemoteProofWrapper) GetProtocol() string

func (RemoteProofWrapper) GetRemoteUsername

func (w RemoteProofWrapper) GetRemoteUsername() string

func (RemoteProofWrapper) GetService

func (w RemoteProofWrapper) GetService() string

func (RemoteProofWrapper) ToDisplayString

func (w RemoteProofWrapper) ToDisplayString() string

type Renderer

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

func NewRenderer

func NewRenderer(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 added in v1.0.18

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 procressing 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) 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 SendRes added in v1.0.18

type SendRes struct {
	Message string `json:"message"`
	RateLimits
}

SendRes is the result of successfully sending a message.

type SigHintWrapper

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

func (SigHintWrapper) GetCheckText

func (shw SigHintWrapper) GetCheckText() (ret string)

func (SigHintWrapper) GetHumanURL

func (shw SigHintWrapper) GetHumanURL() (ret string)

type Sink

type Sink interface {
	io.WriteCloser
	Open() error
	HitError(err error) error
}

type Source

type Source interface {
	io.ReadCloser
	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)

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 Terminal

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

func NewTerminal

func NewTerminal(g *libkb.GlobalContext) (*Terminal, error)

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

func (*Terminal) Write

func (t *Terminal) Write(s string) error

type Thread added in v1.0.18

type Thread struct {
	Messages []Message `json:"messages"`
	RateLimits
}

Thread is used for JSON output of a thread of messages.

type UI

type UI struct {
	libkb.Contextified
	Terminal    *Terminal
	SecretEntry *SecretEntry
	// contains filtered or unexported fields
}
var GlobUI *UI

func (*UI) Configure

func (ui *UI) Configure() error

func (*UI) DefaultTabWriter

func (ui *UI) DefaultTabWriter() *tabwriter.Writer

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

func (ui *UI) NewTabWriter(minwidth, tabwidth, padding int, padchar byte, flags uint) *tabwriter.Writer

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

func (ui *UI) Tablify(headings []string, rowfunc func() []string)

func (*UI) TerminalSize added in v1.0.18

func (ui *UI) TerminalSize() (width int, height int)

type UnexpectedArgsError

type UnexpectedArgsError string

func (UnexpectedArgsError) Error

func (e UnexpectedArgsError) Error() string

type UnixFilter

type UnixFilter struct {
	// 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(msg, infile, outfile string) (err error)

func (*UnixFilter) FilterOpen

func (u *UnixFilter) FilterOpen() error

Source Files

Jump to

Keyboard shortcuts

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