Documentation ¶
Index ¶
Constants ¶
View Source
const (
// AppExtension is the extension used by an application
AppExtension = ".dockerapp"
)
Variables ¶
View Source
var ( // Debug enables debug logging and features Debug = false // Experimental enables experimental features if set to "on" Experimental = "on" // Renderers is a comma-separated list of enabled renderers Renderers = "gotemplate" )
View Source
var ( // Version is the git tag that this was built from. Version = "unknown" // GitCommit is the commit that this was built from. GitCommit = "unknown" // BuildTime is the time at which the binary was built. BuildTime = "unknown" )
Functions ¶
func AppNameFromDir ¶
AppNameFromDir takes a path to an app directory and returns the application's name
func DirNameFromAppName ¶
DirNameFromAppName takes an application name and returns the corresponding directory name
func ValidateAppName ¶
ValidateAppName takes an app name and returns an error if it doesn't match the expected format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.