Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigFileName = "config.json" ConfigFileDir = ".alpacon" )
Variables ¶
This section is empty.
Functions ¶
func CreateConfig ¶
func DeleteConfig ¶
func DeleteConfig() error
func SaveRefreshedAuth0Token ¶
Types ¶
type Config ¶
type Config struct {
WorkspaceURL string `json:"workspace_url"`
WorkspaceName string `json:"workspace_name"`
Token string `json:"token,omitempty"`
ExpiresAt string `json:"expires_at,omitempty"`
AccessToken string `json:"access_token,omitempty"`
RefreshToken string `json:"refresh_token,omitempty"`
AccessTokenExpiresAt string `json:"access_token_expires_at,omitempty"`
Insecure bool `json:"inscure"`
}
Config describes the configuration for Alpacon CLI
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.