Documentation
¶
Overview ¶
Package create provides the CLI endpoint to the "token create" command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Result ¶
type Result struct {
// The token itself. Store it now: the server keeps only a hash, so it
// cannot be shown again.
Credential string
// The record of the token, which is what "token list" reports from now
// on.
Token client.Token
}
The Result type is what the command prints: the credential and the record of it, together, because the credential appears exactly once.
Click to show internal directories.
Click to hide internal directories.