generated from ConduitIO/conduit-connector-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paramgen_dest.go
65 lines (62 loc) · 1.84 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// Code generated by paramgen. DO NOT EDIT.
// Source: github.com/ConduitIO/conduit-connector-sdk/tree/main/cmd/paramgen
package grpcclient
import (
sdk "github.com/conduitio/conduit-connector-sdk"
)
func (DestConfig) Parameters() map[string]sdk.Parameter {
return map[string]sdk.Parameter{
"maxDowntime": {
Default: "10m",
Description: "max downtime accepted for the server to be off.",
Type: sdk.ParameterTypeDuration,
Validations: []sdk.Validation{},
},
"mtls.ca.certPath": {
Default: "",
Description: "the root CA certificate path.",
Type: sdk.ParameterTypeString,
Validations: []sdk.Validation{},
},
"mtls.client.certPath": {
Default: "",
Description: "the client certificate path.",
Type: sdk.ParameterTypeString,
Validations: []sdk.Validation{},
},
"mtls.client.keyPath": {
Default: "",
Description: "the client private key path.",
Type: sdk.ParameterTypeString,
Validations: []sdk.Validation{},
},
"mtls.disabled": {
Default: "false",
Description: "option to disable mTLS secure connection, set it to `true` for an insecure connection.",
Type: sdk.ParameterTypeBool,
Validations: []sdk.Validation{},
},
"rateLimit": {
Default: "0",
Description: "the bandwidth limit in bytes/second, use \"0\" to disable rate limiting.",
Type: sdk.ParameterTypeInt,
Validations: []sdk.Validation{
sdk.ValidationGreaterThan{Value: -1},
},
},
"reconnectDelay": {
Default: "5s",
Description: "delay between each gRPC request retry.",
Type: sdk.ParameterTypeDuration,
Validations: []sdk.Validation{},
},
"url": {
Default: "",
Description: "url to gRPC server",
Type: sdk.ParameterTypeString,
Validations: []sdk.Validation{
sdk.ValidationRequired{},
},
},
}
}