DefaultConfig see papiv1.Configurer.
()
| 78 | |
| 79 | // DefaultConfig see papiv1.Configurer. |
| 80 | func (c *PluginV1Instance) DefaultConfig() interface{} { |
| 81 | if c.configurer != nil { |
| 82 | return c.configurer.DefaultConfig() |
| 83 | } |
| 84 | return struct{}{} |
| 85 | } |
| 86 | |
| 87 | // ValidateAndSetConfig see papiv1.Configurer. |
| 88 | func (c *PluginV1Instance) ValidateAndSetConfig(config interface{}) error { |
nothing calls this directly
no test coverage detected