Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SignInHeader = ui.Section{ Name: "SignInHeader", Model: ui.MessageLines{ ui.Header(fmt.Sprintf("Signin to Anchor.dev %s", ui.Whisper("`anchor auth signin`"))), }, } SignInHint = ui.Section{ Name: "SignInHint", Model: ui.MessageLines{ ui.StepHint("Please sign up or sign in with your Anchor account."), }, } )
View Source
var ( SignOutHeader = ui.Section{ Name: "SignOutHeader", Model: ui.MessageLines{ ui.Header(fmt.Sprintf("Signout from Anchor.dev %s", ui.Whisper("`anchor auth signout`"))), }, } SignOutSignedOut = ui.Section{ Name: "SignOutSignedOut", Model: ui.MessageLines{ ui.StepDone("Not signed in."), ui.StepHint("Run `anchor auth signin` to sign in."), }, } SignOutSuccess = ui.Section{ Name: "SignOutSuccess", Model: ui.MessageLines{ ui.StepDone("Signed out."), }, } )
Functions ¶
This section is empty.
Types ¶
type AuditAuthenticationWhoami ¶ added in v0.0.11
type AuditAuthenticationWhoami string
type ClientProbed ¶ added in v0.0.11
type ClientProbed bool
type ClientTested ¶ added in v0.0.11
type ClientTested bool
type KeyringUnavailable ¶ added in v0.0.30
type KeyringUnavailable struct {
}func (*KeyringUnavailable) Init ¶ added in v0.0.30
func (m *KeyringUnavailable) Init() tea.Cmd
func (*KeyringUnavailable) View ¶ added in v0.0.30
func (m *KeyringUnavailable) View() string
type SignInChecker ¶
type SignInChecker struct {
// contains filtered or unexported fields
}
func (*SignInChecker) Init ¶
func (m *SignInChecker) Init() tea.Cmd
func (*SignInChecker) View ¶
func (m *SignInChecker) View() string
type SignInPrompt ¶
type SignInPrompt struct { ConfirmCh chan<- struct{} InClipboard bool UserCode string VerificationURL string }
func (SignInPrompt) Init ¶
func (SignInPrompt) Init() tea.Cmd
func (*SignInPrompt) View ¶
func (m *SignInPrompt) View() string
type UserSignInMsg ¶
type UserSignInMsg string
type UserWhoAmIMsg ¶ added in v0.0.23
type UserWhoAmIMsg string
type UserWhoAmISignedOutMsg ¶ added in v0.0.37
type UserWhoAmISignedOutMsg bool
type WhoAmIChecker ¶ added in v0.0.23
type WhoAmIChecker struct {
// contains filtered or unexported fields
}
func (*WhoAmIChecker) Init ¶ added in v0.0.23
func (m *WhoAmIChecker) Init() tea.Cmd
func (*WhoAmIChecker) View ¶ added in v0.0.23
func (m *WhoAmIChecker) View() string
Click to show internal directories.
Click to hide internal directories.