Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { // Folder name of tech pack RecipePath() string // Used to set up default endpoints and such CreateProjectPlugin() error // Returns filename of the file generated from code.tpl Outfile() string AddTemplateFuncs(fm *template.FuncMap) // FilesToBuild returns a list of files that one should write to the build folder // Returns a list of []string{file name, file content} FilesToBuild() [][]string }
Provider is the interface every tech pack plugin must implement
func GetProvider ¶
GetProvider returns the plugin the project uses based on its mode and recipe
Click to show internal directories.
Click to hide internal directories.