Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigDirName = "/.deepsource/" ConfigFileName = "/config.toml" DefaultHostName = "deepsource.io" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIConfig ¶
type CLIConfig struct { Host string User string Token string RefreshToken string TokenExpiresIn time.Time RefreshTokenExpiresIn time.Time }
var Cfg CLIConfig
func (*CLIConfig) ReadConfigFile ¶
ReadFile reads the CLI config file.
func (*CLIConfig) SetTokenExpiry ¶
Sets the token expiry in the desired format
func (*CLIConfig) VerifyAuthentication ¶
Click to show internal directories.
Click to hide internal directories.