Documentation
¶
Overview ¶
Package accountcommand presents the engine's shared official-service account.
Index ¶
Constants ¶
View Source
const ( ResultOK = 0 ResultFailure = 1 ResultUsage = 2 )
View Source
const Usage = "Usage:\n" + " " + commandmeta.Name + " account status [--json] | register | refresh\n" + " " + commandmeta.Name + " account login <username> | password <username> [--password-stdin]\n" + " " + commandmeta.Name + " account email <address> | verify <code> | revoke <credential>"
Variables ¶
This section is empty.
Functions ¶
func IdentityLines ¶ added in v0.1.5
Types ¶
type LineOutput ¶
type LineOutput interface{ WriteLines(...string) }
type Service ¶
type Service interface {
Snapshot() (account.Snapshot, <-chan struct{})
RefreshOnce(context.Context) (account.RefreshOutcome, error)
Register(context.Context) error
Login(context.Context, string, string) error
SetPassword(context.Context, string, string, string) error
RequestEmail(context.Context, string) error
VerifyEmail(context.Context, string) error
RevokeCredential(context.Context, string, [16]byte) error
}
Click to show internal directories.
Click to hide internal directories.