Documentation ¶
Index ¶
- func BuildHandleBundles(b *types.Bundle)
- func BuildHandlePosts() (ret string)
- func BuildHandleSections(i, s string)
- func GetBuildPlugins() map[string]BuildPlugin
- func Init()
- func InitDynamic()
- func RegisterBuildPlugin(_pl interface{}) error
- type BasePluginRegistry
- type BuildPlugin
- type BuildPluginRegistry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildHandleBundles ¶
BuildHandleBundles runs the HandleBundle() hook on every plugin
func BuildHandlePosts ¶
func BuildHandlePosts() (ret string)
BuildHandlePosts runs the HandleBundle() hook on every plugin
func BuildHandleSections ¶
func BuildHandleSections(i, s string)
BuildHandleSections runs the HandleSection() hook on every plugin
func GetBuildPlugins ¶
func GetBuildPlugins() map[string]BuildPlugin
GetBuildPlugins returns the list of known plugins
func InitDynamic ¶
func InitDynamic()
InitDynamic initializes plugins via dynamic loading. This is implemented but not fully featured, so we're using a static methodology until 3.1
func RegisterBuildPlugin ¶
func RegisterBuildPlugin(_pl interface{}) error
RegisterBuildPlugin adds the plugin to the known plugins
Types ¶
type BuildPlugin ¶
type BuildPlugin interface { Name() string HandleSection(string, string) HandleBundle(*types.Bundle) HandlePost() string }
BuildPlugin is the interface for plugins on the build system
type BuildPluginRegistry ¶
type BuildPluginRegistry struct { BasePluginRegistry Plugins map[string]BuildPlugin }
BuildPluginRegistry ...
Click to show internal directories.
Click to hide internal directories.