Documentation ¶
Index ¶
- type FakeIdentifyUI
- func (ui *FakeIdentifyUI) Confirm(outcome *keybase1.IdentifyOutcome) (result keybase1.ConfirmResult, err error)
- func (ui *FakeIdentifyUI) Dismiss(_ string, _ keybase1.DismissReason) error
- func (ui *FakeIdentifyUI) DisplayCryptocurrency(keybase1.Cryptocurrency) error
- func (ui *FakeIdentifyUI) DisplayKey(ik keybase1.IdentifyKey) error
- func (ui *FakeIdentifyUI) DisplayTLFCreateWithInvite(arg keybase1.DisplayTLFCreateWithInviteArg) error
- func (ui *FakeIdentifyUI) DisplayTrackStatement(string) error
- func (ui *FakeIdentifyUI) DisplayUserCard(keybase1.UserCard) error
- func (ui *FakeIdentifyUI) Finish() error
- func (ui *FakeIdentifyUI) FinishSocialProofCheck(proof keybase1.RemoteProof, result keybase1.LinkCheckResult) error
- func (ui *FakeIdentifyUI) FinishWebProofCheck(proof keybase1.RemoteProof, result keybase1.LinkCheckResult) error
- func (ui *FakeIdentifyUI) LaunchNetworkChecks(id *keybase1.Identity, user *keybase1.User) error
- func (ui *FakeIdentifyUI) ReportLastTrack(*keybase1.TrackSummary) error
- func (ui *FakeIdentifyUI) ReportTrackToken(tok keybase1.TrackToken) error
- func (ui *FakeIdentifyUI) SetStrict(b bool)
- func (ui *FakeIdentifyUI) Start(username string, _ keybase1.IdentifyReason) error
- 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) error
func (*FakeIdentifyUI) DisplayCryptocurrency ¶ added in v1.0.16
func (ui *FakeIdentifyUI) DisplayCryptocurrency(keybase1.Cryptocurrency) error
func (*FakeIdentifyUI) DisplayKey ¶ added in v1.0.16
func (ui *FakeIdentifyUI) DisplayKey(ik keybase1.IdentifyKey) error
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) error
func (*FakeIdentifyUI) DisplayUserCard ¶ added in v1.0.16
func (ui *FakeIdentifyUI) DisplayUserCard(keybase1.UserCard) error
func (*FakeIdentifyUI) Finish ¶ added in v1.0.16
func (ui *FakeIdentifyUI) Finish() error
func (*FakeIdentifyUI) FinishSocialProofCheck ¶ added in v1.0.16
func (ui *FakeIdentifyUI) FinishSocialProofCheck(proof keybase1.RemoteProof, result keybase1.LinkCheckResult) error
func (*FakeIdentifyUI) FinishWebProofCheck ¶ added in v1.0.16
func (ui *FakeIdentifyUI) FinishWebProofCheck(proof keybase1.RemoteProof, result keybase1.LinkCheckResult) error
func (*FakeIdentifyUI) LaunchNetworkChecks ¶ added in v1.0.16
func (*FakeIdentifyUI) ReportLastTrack ¶ added in v1.0.16
func (ui *FakeIdentifyUI) ReportLastTrack(*keybase1.TrackSummary) error
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) error
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.