Documentation ¶
Index ¶
- type FakeIdentifyUI
- func (ui *FakeIdentifyUI) Confirm(outcome *keybase1.IdentifyOutcome) (result keybase1.ConfirmResult, err error)
- func (ui *FakeIdentifyUI) Dismiss(_ string, _ keybase1.DismissReason)
- func (ui *FakeIdentifyUI) DisplayCryptocurrency(keybase1.Cryptocurrency)
- func (ui *FakeIdentifyUI) DisplayKey(ik keybase1.IdentifyKey)
- func (ui *FakeIdentifyUI) DisplayTLFCreateWithInvite(arg keybase1.DisplayTLFCreateWithInviteArg) error
- func (ui *FakeIdentifyUI) DisplayTrackStatement(string) (err error)
- func (ui *FakeIdentifyUI) DisplayUserCard(keybase1.UserCard)
- func (ui *FakeIdentifyUI) Finish()
- func (ui *FakeIdentifyUI) FinishSocialProofCheck(proof keybase1.RemoteProof, result keybase1.LinkCheckResult)
- func (ui *FakeIdentifyUI) FinishWebProofCheck(proof keybase1.RemoteProof, result keybase1.LinkCheckResult)
- func (ui *FakeIdentifyUI) LaunchNetworkChecks(id *keybase1.Identity, user *keybase1.User)
- func (ui *FakeIdentifyUI) ReportLastTrack(*keybase1.TrackSummary)
- func (ui *FakeIdentifyUI) ReportTrackToken(tok keybase1.TrackToken) error
- func (ui *FakeIdentifyUI) SetStrict(b bool)
- func (ui *FakeIdentifyUI) Start(username string, _ keybase1.IdentifyReason)
- type FakeUser
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 ¶
func CreateAndSignupFakeUser ¶
func CreateAndSignupFakeUser(prefix string, g *libkb.GlobalContext) (*FakeUser, error)
func NewFakeUser ¶
func (*FakeUser) NewSecretUI ¶
func (fu *FakeUser) NewSecretUI() *libkb.TestSecretUI
Click to show internal directories.
Click to hide internal directories.