Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthorizeOauth2ProviderCommand ¶
type AuthorizeOauth2ProviderCommand struct { // The client identifier ClientID string // Redirection endpoint RedirectURI string // Value MUST be set to "code" ResponseType string // The scope of the access request Scope string // An opaque value used by the client to maintain state between the request and callback State string PrettyPrint bool }
AuthorizeOauth2ProviderCommand is the command line data structure for the authorize action of oauth2_provider
func (*AuthorizeOauth2ProviderCommand) RegisterFlags ¶
func (cmd *AuthorizeOauth2ProviderCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ConfirmAuthorizationAuthuiCommand ¶
type ConfirmAuthorizationAuthuiCommand struct { // Is the authorization confirmed. Confirmed string PrettyPrint bool }
ConfirmAuthorizationAuthuiCommand is the command line data structure for the confirmAuthorization action of authUI
func (*ConfirmAuthorizationAuthuiCommand) RegisterFlags ¶
func (cmd *ConfirmAuthorizationAuthuiCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DownloadCommand ¶
type DownloadCommand struct { // OutFile is the path to the download output file. OutFile string }
DownloadCommand is the command line data structure for the download command.
type GetTokenOauth2ProviderCommand ¶
GetTokenOauth2ProviderCommand is the command line data structure for the get_token action of oauth2_provider
func (*GetTokenOauth2ProviderCommand) RegisterFlags ¶
func (cmd *GetTokenOauth2ProviderCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type PromptAuthorizationAuthuiCommand ¶
type PromptAuthorizationAuthuiCommand struct {
PrettyPrint bool
}
PromptAuthorizationAuthuiCommand is the command line data structure for the promptAuthorization action of authUI
func (*PromptAuthorizationAuthuiCommand) RegisterFlags ¶
func (cmd *PromptAuthorizationAuthuiCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowLoginLoginCommand ¶
type ShowLoginLoginCommand struct {
PrettyPrint bool
}
ShowLoginLoginCommand is the command line data structure for the showLogin action of login
func (*ShowLoginLoginCommand) RegisterFlags ¶
func (cmd *ShowLoginLoginCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.