Documentation ¶
Index ¶
- func BuildAptModule(moduleInterface interface{}, recipe *api.Recipe) (string, error)
- func BuildCMakeModule(moduleInterface interface{}, recipe *api.Recipe) (string, error)
- func BuildContainerfile(recipe *api.Recipe, cmds []ModuleCommand) error
- func BuildDpkgBuildPkgModule(moduleInterface interface{}, recipe *api.Recipe) (string, error)
- func BuildDpkgModule(moduleInterface interface{}, recipe *api.Recipe) (string, error)
- func BuildGoModule(moduleInterface interface{}, recipe *api.Recipe) (string, error)
- func BuildMakeModule(moduleInterface interface{}, recipe *api.Recipe) (string, error)
- func BuildMesonModule(moduleInterface interface{}, recipe *api.Recipe) (string, error)
- func BuildModule(recipe *api.Recipe, moduleInterface interface{}) (string, error)
- func BuildRecipe(recipePath string) (api.Recipe, error)
- func BuildShellModule(moduleInterface interface{}, recipe *api.Recipe) (string, error)
- func CompileRecipe(recipePath string, runtime string) error
- func GenModule(modulePath string) (map[string]interface{}, error)
- func LoadPlugin(name string, module interface{}, recipe *api.Recipe) (string, error)
- func LoadRecipe(path string) (*api.Recipe, error)
- type AptModule
- type CMakeModule
- type DpkgBuildModule
- type DpkgModule
- type GoModule
- type IncludesModule
- type MakeModule
- type MesonModule
- type Module
- type ModuleCommand
- type Plugin
- type ShellModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAptModule ¶
BuildAptModule builds a module that installs packages using the apt package manager
func BuildCMakeModule ¶
BuildCMakeModule builds a module that builds a CMake project
func BuildContainerfile ¶
func BuildContainerfile(recipe *api.Recipe, cmds []ModuleCommand) error
BuildContainerfile builds a Containerfile from a recipe and a list of modules commands
func BuildDpkgBuildPkgModule ¶
BuildDpkgModule builds a module that builds a dpkg project and installs the resulting .deb package
func BuildDpkgModule ¶
BuildDpkgModule builds a module that installs a .deb package
func BuildGoModule ¶
BuildGoModule builds a module that builds a Go project buildVars are used to customize the build command like setting the output binary name and location
func BuildMakeModule ¶
BuildMakeModule builds a module that builds a Make project
func BuildMesonModule ¶
BuildMesonModule builds a module that builds a Meson project
func BuildModule ¶
BuildModule builds a module command from a module this is done by calling the appropriate module builder function based on the module type
func BuildRecipe ¶
BuildRecipe builds a Containerfile from a recipe path
func BuildShellModule ¶
func CompileRecipe ¶
CompileRecipe compiles a recipe into a runnable image.
func LoadPlugin ¶
Types ¶
type CMakeModule ¶
type DpkgBuildModule ¶
type DpkgModule ¶
type IncludesModule ¶
type MakeModule ¶
type ModuleCommand ¶
func BuildModules ¶
func BuildModules(recipe *api.Recipe, modules []interface{}) ([]ModuleCommand, error)
BuildModules builds a list of modules commands from a list of modules