Documentation ¶
Index ¶
- type Loader
- func (l *Loader) AbsolutePluginPath(id resid.ResId) (string, error)
- func (l *Loader) Config() *types.PluginConfig
- func (l *Loader) LoadGenerator(ldr ifc.Loader, v ifc.Validator, res *resource.Resource) (resmap.Generator, error)
- func (l *Loader) LoadGenerators(ldr ifc.Loader, v ifc.Validator, rm resmap.ResMap) (result []*resmap.GeneratorWithProperties, err error)
- func (l *Loader) LoadTransformer(ldr ifc.Loader, v ifc.Validator, res *resource.Resource) (*resmap.TransformerWithProperties, error)
- func (l *Loader) LoadTransformers(ldr ifc.Loader, v ifc.Validator, rm resmap.ResMap) ([]*resmap.TransformerWithProperties, error)
- func (l *Loader) SetWorkDir(wd string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader loads plugins using a file loader (a different loader).
func NewLoader ¶
func NewLoader( pc *types.PluginConfig, rf *resmap.Factory, fs filesys.FileSystem) *Loader
func (*Loader) AbsolutePluginPath ¶ added in v0.8.6
func (*Loader) Config ¶ added in v0.8.6
func (l *Loader) Config() *types.PluginConfig
Config provides the global (not plugin specific) PluginConfig data.
func (*Loader) LoadGenerator ¶
func (*Loader) LoadGenerators ¶
func (*Loader) LoadTransformer ¶
func (*Loader) LoadTransformers ¶
func (*Loader) SetWorkDir ¶ added in v0.9.0
SetWorkDir sets the working directory for this loader's plugins
Click to show internal directories.
Click to hide internal directories.