Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RootCommand ¶
RootCommand is the parent command for all subcommands in this package. It should be installed under the primary root command.
func NewRootCommand ¶
func NewRootCommand(parent common.Registerer, client api.HTTPClient, globals *config.Data) *RootCommand
NewRootCommand returns a new command registered in the parent.
type Token ¶
type Token struct {
ID string `json:"id"`
Name string `json:"name"`
CreatedAt string `json:"created_at"`
ExpiresAt string `json:"expires_at"`
Scope string `json:"scope"`
}
Token is part of the Fastly API repsonse for the whoami command.
Click to show internal directories.
Click to hide internal directories.