Documentation
¶
Index ¶
- func CILogin(config *config.Config, apiKey string, name string) error
- func GuestLogin(config *config.Config) (string, error)
- func InteractiveLogin(config *config.Config) error
- func Login(config *config.Config, input io.Reader) error
- func SuccessMessage(displayName string, email string, organizationName string, teamName string, ...) string
- func ValidateKey(baseURL string, key string, projectId string) (*hookdeck.ValidateAPIKeyResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InteractiveLogin ¶
InteractiveLogin lets the user set configuration on the command line
func SuccessMessage ¶
func SuccessMessage(displayName string, email string, organizationName string, teamName string, isConsole bool) string
SuccessMessage returns the display message for a successfully authenticated user
func ValidateKey ¶
func ValidateKey(baseURL string, key string, projectId string) (*hookdeck.ValidateAPIKeyResponse, error)
ValidateKey validates an API key and returns user/project information
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.