generated from ConduitIO/conduit-connector-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paramgen_dest.go
34 lines (30 loc) · 1.03 KB
/
paramgen_dest.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Code generated by paramgen. DO NOT EDIT.
// Source: github.com/ConduitIO/conduit-commons/tree/main/paramgen
package connectorname
import (
"github.com/conduitio/conduit-commons/config"
)
const (
DestinationConfigDestinationConfigParam = "destinationConfigParam"
DestinationConfigGlobalConfigParamName = "global_config_param_name"
)
func (DestinationConfig) Parameters() map[string]config.Parameter {
return map[string]config.Parameter{
DestinationConfigDestinationConfigParam: {
Default: "yes",
Description: "DestinationConfigParam must be either yes or no (defaults to yes).",
Type: config.ParameterTypeString,
Validations: []config.Validation{
config.ValidationInclusion{List: []string{"yes", "no"}},
},
},
DestinationConfigGlobalConfigParamName: {
Default: "",
Description: "GlobalConfigParam is named global_config_param_name and needs to be\nprovided by the user.",
Type: config.ParameterTypeString,
Validations: []config.Validation{
config.ValidationRequired{},
},
},
}
}