(pluginConfig *plugin.Config)
| 417 | } |
| 418 | |
| 419 | func createIncludableFromPluginConfig(pluginConfig *plugin.Config) *Config { |
| 420 | includable := &Config{ |
| 421 | Root: pluginConfig.ConfigFile, |
| 422 | pluginData: &pluginConfig.PluginOnlyData, |
| 423 | } |
| 424 | if localPlugin, ok := pluginConfig.Source.(*plugin.LocalPlugin); ok { |
| 425 | includable.Root.AbsRootPath = localPlugin.Path() |
| 426 | } |
| 427 | return includable |
| 428 | } |
| 429 | |
| 430 | func OSExpandIfPossible(env, existingEnv map[string]string) map[string]string { |
| 431 | mapping := func(value string) string { |