Loader loads plugins using a file loader (a different loader).
type Loader struct {
// contains filtered or unexported fields
}
func NewLoader( pc *types.PluginConfig, rf *resmap.Factory, fs filesys.FileSystem) *Loader
func (l *Loader) AbsolutePluginPath(id resid.ResId) (string, error)
func (l *Loader) Config() *types.PluginConfig
Config provides the global (not plugin specific) PluginConfig data.
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) LoaderWithWorkingDir(wd string) *Loader
LoaderWithWorkingDir returns loader after setting its working directory. NOTE: This is not really a new loader since some of the Loader struct fields are pointers.