We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57a606f commit 2c78878Copy full SHA for 2c78878
1 file changed
plugin/plugin_package.go
@@ -18,11 +18,12 @@ type Kind string
18
const (
19
KindSource Kind = "source"
20
KindDestination Kind = "destination"
21
+ KindTransformer Kind = "transformer"
22
)
23
24
func (k Kind) Validate() error {
25
switch k {
- case KindSource, KindDestination:
26
+ case KindSource, KindDestination, KindTransformer:
27
return nil
28
default:
29
return errors.New("invalid plugin kind: must be one of source, destination")
0 commit comments