Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigAPIToken = "access_token" ConfigAPIBaseURL = "api_base_url" ConfigAppName = "app" ConfigVerboseOutput = "verbose" ConfigJSONOutput = "json" ConfigRegistryHost = "registry_host" ConfigUpdateCheckLatestVersion = "update_check.latest_version" ConfigUpdateCheckTimestamp = "update_check.timestamp" ConfigUpdateCheckOptOut = "update_check.out_out" )
View Source
const NSRoot = "flyctl"
Variables ¶
View Source
var BackgroundTaskWG = &sync.WaitGroup{}
View Source
var BuildDate = time.Now().String()
View Source
var Commit = "<commit>"
View Source
var Environment = "development"
View Source
var Version = "<version>"
Functions ¶
func CheckForUpdate ¶
func CheckForUpdate()
CheckForUpdate - Test for available updates and emit a message if one is available
func ConfigFileExistsAtPath ¶
func SaveConfig ¶
func SaveConfig() error
Types ¶
type AppConfig ¶
func LoadAppConfig ¶
func NewAppConfig ¶
func NewAppConfig() *AppConfig
func (*AppConfig) HasBuilder ¶ added in v0.0.93
func (*AppConfig) HasDefinition ¶
func (*AppConfig) SetInternalPort ¶ added in v0.0.94
func (*AppConfig) WriteToFile ¶
type Config ¶
type ConfigFormat ¶
type ConfigFormat string
const ( TOMLFormat ConfigFormat = ".toml" UnsupportedFormat = "" )
func ConfigFormatFromPath ¶
func ConfigFormatFromPath(p string) ConfigFormat
Click to show internal directories.
Click to hide internal directories.