Documentation ¶
Overview ¶
Package apps [apps-plugin] provides the functions which are necessary for adding SCI-F apps support to Singularity 3.0.0. In 3.1.0+, this package will be able to be built standalone as a plugin so it will be maintainable separately from the core Singularity functionality
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct { Name string Install string Files string Env string Test string Help string Run string }
App stores the deffile sections of the app
type BuildPlugin ¶
BuildPlugin is the type which the build system can understand
func (*BuildPlugin) HandleBundle ¶
func (pl *BuildPlugin) HandleBundle(b *types.Bundle)
HandleBundle is a hook where we can modify the bundle
func (*BuildPlugin) HandlePost ¶
func (pl *BuildPlugin) HandlePost() string
HandlePost returns a script that should run after %post
func (*BuildPlugin) HandleSection ¶
func (pl *BuildPlugin) HandleSection(ident, section string)
HandleSection receives a string of each section from the deffile
func (*BuildPlugin) Name ¶
func (pl *BuildPlugin) Name() string
Name returns this handler's name [singularity_apps]
Click to show internal directories.
Click to hide internal directories.