forked from vjeantet/bitfan
/
docdoc.go
119 lines (117 loc) · 4.29 KB
/
docdoc.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// Code generated by "bitfanDoc "; DO NOT EDIT
package beatsinput
import "github.com/awillis/bitfan/processors/doc"
func (p *processor) Doc() *doc.Processor {
return &doc.Processor{
Name: "beatsinput",
ImportPath: "github.com/awillis/bitfan/processors/input-beats",
Doc: "",
DocShort: "",
Options: &doc.ProcessorOptions{
Doc: "",
Options: []*doc.ProcessorOption{
&doc.ProcessorOption{
Name: "processors.CommonOptions",
Alias: ",squash",
Doc: "",
Required: false,
Type: "processors.CommonOptions",
DefaultValue: nil,
PossibleValues: []string{},
ExampleLS: "",
},
&doc.ProcessorOption{
Name: "Congestion_threshold",
Alias: "",
Doc: "The number of seconds before we raise a timeout,\nthis option is useful to control how much time to wait if something is blocking\nthe pipeline",
Required: false,
Type: "int",
DefaultValue: nil,
PossibleValues: []string{},
ExampleLS: "",
},
&doc.ProcessorOption{
Name: "Host",
Alias: "",
Doc: "The IP address to listen on",
Required: false,
Type: "string",
DefaultValue: nil,
PossibleValues: []string{},
ExampleLS: "",
},
&doc.ProcessorOption{
Name: "Port",
Alias: "",
Doc: "The port to listen on (default 5044)",
Required: false,
Type: "int",
DefaultValue: nil,
PossibleValues: []string{},
ExampleLS: "",
},
&doc.ProcessorOption{
Name: "Ssl",
Alias: "",
Doc: "Events are by default send in plain text,\nyou can enable encryption by using ssl to true and\nconfiguring the ssl_certificate and ssl_key options",
Required: false,
Type: "bool",
DefaultValue: nil,
PossibleValues: []string{},
ExampleLS: "",
},
&doc.ProcessorOption{
Name: "Ssl_certificate",
Alias: "",
Doc: "SSL certificate to use (path)",
Required: false,
Type: "string",
DefaultValue: nil,
PossibleValues: []string{},
ExampleLS: "",
},
&doc.ProcessorOption{
Name: "Ssl_certificate_authorities",
Alias: "",
Doc: "Validate client certificates against theses authorities\n You can defined multiples files or path, all the certificates will be read\n and added to the trust store.\n You need to configure the ssl_verify_mode to peer or force_peer to enable\n the verification.\nThis feature only support certificate directly signed by your root ca.\nIntermediate CA are currently not supported.",
Required: false,
Type: "array",
DefaultValue: nil,
PossibleValues: []string{},
ExampleLS: "",
},
&doc.ProcessorOption{
Name: "Ssl_key",
Alias: "",
Doc: "SSL key to use (path)",
Required: false,
Type: "string",
DefaultValue: nil,
PossibleValues: []string{},
ExampleLS: "",
},
&doc.ProcessorOption{
Name: "Ssl_key_passphrase",
Alias: "",
Doc: "SSL key passphrase to use. (not yet implemented)",
Required: false,
Type: "string",
DefaultValue: nil,
PossibleValues: []string{},
ExampleLS: "",
},
&doc.ProcessorOption{
Name: "Ssl_verify_mode",
Alias: "",
Doc: "By default the server dont do any client verification,\npeer will make the server ask the client to provide a certificate,\n if the client provide the certificate it will be validated.\nforce_peer will make the server ask the client for their certificate,\n if the clients doesn’t provide it the connection will be closed.\nThis option need to be used with ssl_certificate_authorities and a defined list of CA.\nValue can be any of: none, peer, force_peer",
Required: false,
Type: "string",
DefaultValue: nil,
PossibleValues: []string{},
ExampleLS: "",
},
},
},
Ports: []*doc.ProcessorPort{},
}
}