Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version of the hcloud CLI. Version = func() string { if versionPrerelease != "" { return version + "-" + versionPrerelease } return version }() // Commit is the latest full commit hash during build time Commit = func() string { if commit != "" { return commit } return getSettingsValue("vcs.revision", "unknown") }() // CommitDate is the timestamp of the latest commit during build time in RFC3339 CommitDate = func() string { if commitDate != "" { return commitDate } return getSettingsValue("vcs.time", "unknown") }() // Modified specifies whether the git worktree was dirty during build time Modified = func() bool { if modified != "" { return modified == "true" } return getSettingsValue("vcs.modified", "false") == "true" }() )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.