kbtest

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: May 23, 2016 License: BSD-3-Clause, BSD-3-Clause Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeIdentifyUI added in v1.0.16

type FakeIdentifyUI struct {
	Proofs          map[string]string
	ProofResults    map[string]keybase1.LinkCheckResult
	User            *keybase1.User
	Confirmed       bool
	Keys            map[libkb.PGPFingerprint]*keybase1.TrackDiff
	DisplayKeyCalls int
	Outcome         *keybase1.IdentifyOutcome
	StartCount      int
	Token           keybase1.TrackToken
	BrokenTracking  bool
	DisplayTLFArg   keybase1.DisplayTLFCreateWithInviteArg
	DisplayTLFCount int
	sync.Mutex
}

func (*FakeIdentifyUI) Confirm added in v1.0.16

func (ui *FakeIdentifyUI) Confirm(outcome *keybase1.IdentifyOutcome) (result keybase1.ConfirmResult, err error)

func (*FakeIdentifyUI) Dismiss added in v1.0.16

func (ui *FakeIdentifyUI) Dismiss(_ string, _ keybase1.DismissReason)

func (*FakeIdentifyUI) DisplayCryptocurrency added in v1.0.16

func (ui *FakeIdentifyUI) DisplayCryptocurrency(keybase1.Cryptocurrency)

func (*FakeIdentifyUI) DisplayKey added in v1.0.16

func (ui *FakeIdentifyUI) DisplayKey(ik keybase1.IdentifyKey)

func (*FakeIdentifyUI) DisplayTLFCreateWithInvite added in v1.0.16

func (ui *FakeIdentifyUI) DisplayTLFCreateWithInvite(arg keybase1.DisplayTLFCreateWithInviteArg) error

func (*FakeIdentifyUI) DisplayTrackStatement added in v1.0.16

func (ui *FakeIdentifyUI) DisplayTrackStatement(string) (err error)

func (*FakeIdentifyUI) DisplayUserCard added in v1.0.16

func (ui *FakeIdentifyUI) DisplayUserCard(keybase1.UserCard)

func (*FakeIdentifyUI) Finish added in v1.0.16

func (ui *FakeIdentifyUI) Finish()

func (*FakeIdentifyUI) FinishSocialProofCheck added in v1.0.16

func (ui *FakeIdentifyUI) FinishSocialProofCheck(proof keybase1.RemoteProof, result keybase1.LinkCheckResult)

func (*FakeIdentifyUI) FinishWebProofCheck added in v1.0.16

func (ui *FakeIdentifyUI) FinishWebProofCheck(proof keybase1.RemoteProof, result keybase1.LinkCheckResult)

func (*FakeIdentifyUI) LaunchNetworkChecks added in v1.0.16

func (ui *FakeIdentifyUI) LaunchNetworkChecks(id *keybase1.Identity, user *keybase1.User)

func (*FakeIdentifyUI) ReportLastTrack added in v1.0.16

func (ui *FakeIdentifyUI) ReportLastTrack(*keybase1.TrackSummary)

func (*FakeIdentifyUI) ReportTrackToken added in v1.0.16

func (ui *FakeIdentifyUI) ReportTrackToken(tok keybase1.TrackToken) error

func (*FakeIdentifyUI) SetStrict added in v1.0.16

func (ui *FakeIdentifyUI) SetStrict(b bool)

func (*FakeIdentifyUI) Start added in v1.0.16

func (ui *FakeIdentifyUI) Start(username string, _ keybase1.IdentifyReason)

type FakeUser

type FakeUser struct {
	Username   string
	Email      string
	Passphrase string
	User       *libkb.User
}

func CreateAndSignupFakeUser

func CreateAndSignupFakeUser(prefix string, g *libkb.GlobalContext) (*FakeUser, error)

func NewFakeUser

func NewFakeUser(prefix string) (*FakeUser, error)

func (*FakeUser) NewSecretUI

func (fu *FakeUser) NewSecretUI() *libkb.TestSecretUI

Jump to

Keyboard shortcuts

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