github.com/whiteboxio/flow@v0.0.3-0.20190918184116-508d75d68a2c/pkg/util/test/corev1alpha1/plugin.go (about) 1 package corev1alpha1 2 3 import ( 4 flowplugin "github.com/awesome-flow/flow/pkg/util/plugin" 5 ) 6 7 type TestPlugin struct { 8 Path string 9 Name string 10 } 11 12 func (p *TestPlugin) Load() error { 13 return nil 14 } 15 16 func (p *TestPlugin) Lookup(symName string) (flowplugin.Symbol, error) { 17 return NewTestActor, nil 18 }