This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
bindata.go
471 lines (431 loc) · 17.1 KB
/
bindata.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
// Code generated by go-bindata.
// sources:
// test-certs/syslog-ca.crl
// test-certs/syslog-ca.crt
// test-certs/syslog-ca.key
// test-certs/syslog.crt
// test-certs/syslog.csr
// test-certs/syslog.key
// DO NOT EDIT!
package testhelper
import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strings"
"time"
)
type asset struct {
bytes []byte
info os.FileInfo
}
type bindataFileInfo struct {
name string
size int64
mode os.FileMode
modTime time.Time
}
func (fi bindataFileInfo) Name() string {
return fi.name
}
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
func (fi bindataFileInfo) IsDir() bool {
return false
}
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
var _syslogCaCrl = []byte(`-----BEGIN X509 CRL-----
MIICgjBsAgEBMA0GCSqGSIb3DQEBCwUAMBMxETAPBgNVBAMTCHN5c2xvZ0NBFw0x
ODA3MTIyMjE4NDdaFw0yMDAxMTIyMjE4NDZaMACgIzAhMB8GA1UdIwQYMBaAFCQY
ykgBbJ+xvUTvFD5ro5ApHdwZMA0GCSqGSIb3DQEBCwUAA4ICAQAj7fDdFAgvOGjQ
3rfnYLVEY/KjJrdGYNrRnqDD9OeSGi5bqvI/pfpx0m8tEBpan/W7smrehGdDvPzK
xwraFU07rIzNGl+YYnrnO0ruJisJbH8MLqLAPomYMcNcF8sVE1pRx6sLaAYQJ+aQ
BSUwYKFG9C7oB9UufqOjPr1mvLJK3QPILRWgq9ynuQkmXGS0GLvLJT9vsHFvwFBN
Dz7l1EpH8PITagilmXsHPlUsiZXq32BrTRAUjClegWiw+mgXQEEX6xf9slSkujda
bJIGbtM/XzcSnFBhPD3/keIEfdr/aIcR9KDqpo+hxRO/ATFieXxPt/ht+oqEK8yL
BFEQIrpBYn9aOskVO4uo9IoOO9L+oWHaQIHfPTbgFUm3htaBmoKWiwTcYpwyDQob
lzDwuAp87+8ei2HRIWEClN+zryP6+1iLQ3UBqmBu5nGIj8eanXPHA3SRZVY9ZLMJ
fg/pABwjwah7CIyR+oSjZhi6thT3HZBLmHt5igD1+BP6iC2uMjsu+yQyRXL7lvvr
G6eMFCJdDB3VI/cUJycDjmfP40gjiUpphm9i4csU+FBILlLmxX2s/JaftF4xprRr
/S23Znbk/fS5D2+BV6a8H8Z16Pq+Qdu2glJSpt1N8FNxQMMh9Hd7A5MkimL2dTC6
5qUSg2gnGkXIteBu6XUdCf6POW2Ucw==
-----END X509 CRL-----
`)
func syslogCaCrlBytes() ([]byte, error) {
return _syslogCaCrl, nil
}
func syslogCaCrl() (*asset, error) {
bytes, err := syslogCaCrlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "syslog-ca.crl", size: 926, mode: os.FileMode(292), modTime: time.Unix(1531433927, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _syslogCaCrt = []byte(`-----BEGIN CERTIFICATE-----
MIIE5jCCAs6gAwIBAgIBATANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDEwhzeXNs
b2dDQTAeFw0xODA3MTIyMjE4NDZaFw0yMDAxMTIyMjE4NDZaMBMxETAPBgNVBAMT
CHN5c2xvZ0NBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAv6aHDwpx
ZqsgzXhW0tvOoylenocQg6UHQJKGZ4kYHMzVPDS+bt+Vw+qvnOeMnIZypMX3kaUr
y+BjgzjUtMb5fRrWoIO5pZOq/C5b7iMNe6xK8+NMeBtiOrDB79XxfGeythJZDySA
L/vyrUcBZGBRkLHNSdsjtKuOrPro5MNBWItzvwGlAR+Tqz8A2ulECvq0I9s+waGB
WlsHYmVNUSX+rsyEltdfeRPvVhM+sh5x6XRwc3WRIo2VsudTXJcWFsulJNJveV4h
9sayL7C0XNyGhwZkCyDnwH7hivmhTJYaLbp8NAE16jJfFwavnR2zN1eqXGU64oVB
Dz1w5UIvUVUpcn1Wabq6m1Hfsmhi3zdWf9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ynDEkll1TopseeO6Sf2go11XIl+E++op++nSZSCH7r4g1S/C3/sqRyU1WoFkNr
0CFIQB3RuK1X+w==
-----END CERTIFICATE-----
`)
func syslogCaCrtBytes() ([]byte, error) {
return _syslogCaCrt, nil
}
func syslogCaCrt() (*asset, error) {
bytes, err := syslogCaCrtBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "syslog-ca.crt", size: 1761, mode: os.FileMode(292), modTime: time.Unix(1531433927, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _syslogCaKey = []byte(`-----BEGIN RSA PRIVATE KEY-----
MIIJKQIBAAKCAgEAv6aHDwpxZqsgzXhW0tvOoylenocQg6UHQJKGZ4kYHMzVPDS+
bt+Vw+qvnOeMnIZypMX3kaUry+BjgzjUtMb5fRrWoIO5pZOq/C5b7iMNe6xK8+NM
eBtiOrDB79XxfGeythJZDySAL/vyrUcBZGBRkLHNSdsjtKuOrPro5MNBWItzvwGl
AR+Tqz8A2ulECvq0I9s+waGBWlsHYmVNUSX+rsyEltdfeRPvVhM+sh5x6XRwc3WR
Io2VsudTXJcWFsulJNJveV4h9sayL7C0XNyGhwZkCyDnwH7hivmhTJYaLbp8NAE1
6jJfFwavnR2zN1eqXGU64oVBDz1w5UIvUVUpcn1Wabq6m1Hfsmhi3zdWf9Shx5tG
Oj9bB8+b2MhdwuBnSQzIgqrTg2g8BJ3WVmD0GSbxwxjb4An3hScQ7bf7lsPIiO6M
80XqwJDrD2aOLOaH1QJNwGOGQG7OobGywiwuH3vRxiQWj95kfcwp7+JepHvFEdn5
dMYehMAMy2lsNII5hZZ9sG42cVFxzSpnKW0ngF6P+nBE56Pf6ZMuCbfvlTX6URlD
4ruKXhLfjfnuc0EGvGqUaFXPe/f1dvrixRT8c1AFj90PuGU0euc6PravunhLc+1v
Y/fqlvvrvejffhTSXCW9Jh/68ULngYjs9N6zNwE/KPOE+Kugh2YY5krQM8MCAwEA
AQKCAgBh9iIVCxZ6D0D+JePjdh2CgxPtXka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ir1WCL/tHBMIERuc
kjkPqp7F/EKQ3pqo+LNEc/9p/rkFte8epgaB9modM6FLw6TieiWt2EjyLjmfhXP0
FxiP1M/RtHfLdp5l01uFNoQVDeOk/YS5tzlRihFq/6Uv3uvhnEJ6AylC2M+Zx9Au
mP/1m+0VdCLF6YF5PHU2am0Yj1/psUkVBLqXRlLrku8IHdjLvEKhJ2+xebevj2w+
Ce2j4EHSLZQd5Ii0hSh+fI/vD4t+b98qhPu/RWb8NNG5ihEhh7WeN+myZdFN
-----END RSA PRIVATE KEY-----
`)
func syslogCaKeyBytes() ([]byte, error) {
return _syslogCaKey, nil
}
func syslogCaKey() (*asset, error) {
bytes, err := syslogCaKeyBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "syslog-ca.key", size: 3243, mode: os.FileMode(288), modTime: time.Unix(1531433927, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _syslogCrt = []byte(`-----BEGIN CERTIFICATE-----
MIIEIDCCAgigAwIBAgIRAIFumfRKipgHzq+xeJ38dZIwDQYJKoZIhvcNAQELBQAw
EzERMA8GA1UEAxMIc3lzbG9nQ0EwHhcNMTgwNzEyMjIxODQ3WhcNMjAwMTEyMjIx
ODQ1WjARMQ8wDQYDVQQDEwZzeXNsb2cwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
ggEKAoIBAQDK4vy91/uUVxFVZnwSZL7hah3mdeb2zKqt5nIncvzlSiMSK9qnzOAO
CbwlIuueVOcjMKSK3eh/LOTBKdDrpszaRjrOU2g0+KPNeJqeJSQtFrQ9UGKOuYxD
fHV8TOrbuHwOyWb74TkyZhWXcLlJou1cvTBpkafkQLAZgEBDqHd/HaAe1444kpSn
bIumcxNYKlgu9TIbcKa6su234jGQboNvqqCGD3rhZvQFDH3viXQg507FiKHBCxxv
UojOytWuc6CwpzjSGlbBdgdNNo9nV7OKmZtX9ZhWCY3/RrT8buv5sBt57ZrFCe0w
759kLlUuzmQfwET5ylC5o09zRbZYA2o/AgMBAAGjcTBvMA4GA1UdDwEB/wQEAwID
uDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHQYDVR0OBBYEFJ7WiO9E
EbafRpdubhyaNxFpVNCDMB8GA1UdIwQYMBaAFCQYykgBbJ+xvUTvFD5ro5ApHdwZ
MA0GCSqGSIb3DQEBCwUAA4ICAQATkEcRKk2Y5Gxgiakbw9vEhfWlNnm4S93xVDpc
FOEufBSV89HJnJYHNKbhotOb0x6p9vZBH5tPtS0QnCYGX4e9gdttkM0CFTobIdhs
mMOGYRRRRf0AW/Q4rR1oarQ94oh9sBYec6it0cZIQJD1GzHfJEuBTnTCgzKIR10b
n6r61XZlC0qbgorITbRcFl1nBSNO4JS38Q4nX+c9yyaOc93dsttGd1lJ/7K7tEWC
X8JCK5PUdoAq55OjtBSiwwiwrrTC+W6T3Hls0IRlo5ABXu/qds+wgtr9gdVfee8+
cyz/5dosZisuJc7uFtBPjj7QwFawICs99czevqK3UMirtVlPPrR5Mup+JLX6pYPq
T20Dk0TrLFWbiaDYvwpP0plEL9K4ywqkiiaTMNHWki7oK01gbBS1BDe6CMBbb7M2
MWOjtUbBah20vT0fCgrYqnHH0YgMnokrJlgWnrHrJHHzm/42fAaV6M5j21p0rp2V
pvJKL/YXEZBN3Y0ODW9YjK0hvnW+nX+QNXsP98zkoOqyapB0wYqMfhrnd7vY+tgV
jY9F+4XkjNOYARJ/ASpn8RMcx/YaGI4Jub0LzyXNBl1Ej4q/Jy8UWVYVWNwqs4x/
Ese5d/t9QT6F6AqX1RjTKWHLpT8vI5Rc90b+OqgKdXDjNsrS78I57aczRW+mkTYd
/INCzw==
-----END CERTIFICATE-----
`)
func syslogCrtBytes() ([]byte, error) {
return _syslogCrt, nil
}
func syslogCrt() (*asset, error) {
bytes, err := syslogCrtBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "syslog.crt", size: 1493, mode: os.FileMode(292), modTime: time.Unix(1531433927, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _syslogCsr = []byte(`-----BEGIN CERTIFICATE REQUEST-----
MIICVjCCAT4CAQAwETEPMA0GA1UEAxMGc3lzbG9nMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAyuL8vdf7lFcRVWZ8EmS+4Wod5nXm9syqreZyJ3L85Uoj
Eivap8zgDgm8JSLrnlTnIzCkit3ofyzkwSnQ66bM2kY6zlNoNPijzXianiUkLRa0
PVBijrmMQ3x1fEzq27h8Dslm++E5MmYVl3C5SaLtXL0waZGn5ECwGYBAQ6h3fx2g
HteOOJKUp2yLpnMTWCpYLvUyG3CmurLtt+IxkG6Db6qghg964Wb0BQx974l0IOdO
xYihwQscb1KIzsrVrnOgsKc40hpWwXYHTTaPZ1ezipmbV/WYVgmN/0a0/G7r+bAb
ee2axQntMO+fZC5VLs5kH8BE+cpQuaNPc0W2WANqPwIDAQABoAAwDQYJKoZIhvcN
AQELBQADggEBALHjMW+7g78cY3nW6TNxyqujF3T/0DmBbtVDotCQBYSEmb4yk6Bx
9Py/aNvu8knzUdFhQxjDAKva44pqzxPRfmX4Hv1hoOEgfnEIxl7Oghhq7GweZwvv
KKR1KZl2ktAPP2n6u6q1axtNJSGtfX59+QS0S9g5UWh4z6CTegpsErUJTRgHZPKC
ObdahORi3dh7rr5NwaUDrien/gWFAw5m2GoM1tR/Nfd0AvEIINHVUYOLfEmVg/ku
TTqFC7AslWt2WzMmbAW81eGGHhfvurNztAjNxxgBUZpjsSvSqPElbMrck6KJaAcA
spXhUXvZrDFemjiW3IDu3FtXJrOvoyqF3sY=
-----END CERTIFICATE REQUEST-----
`)
func syslogCsrBytes() ([]byte, error) {
return _syslogCsr, nil
}
func syslogCsr() (*asset, error) {
bytes, err := syslogCsrBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "syslog.csr", size: 887, mode: os.FileMode(292), modTime: time.Unix(1531433927, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _syslogKey = []byte(`-----BEG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LvvK+60nJUjpif2QUITAoGAQjovFFu2r3e9JClif/U1
HXno9kvkVlFYtlWf0Vfq+LRJqiZ12Z4rU6ezvhGUbU885maftBmJSv0t6b6rz7Ro
ymtKGKtWJbfS6NJdg9LlYWIDV3V5xWbnDa8hwLiG/wOKLbt6Xc6QeZ8QkTmH5KMr
l8oguigv4ZJ/siaAWaT7po0CgYACvfI+O7TB7d4tabIIo93QIP0xSOmxK1QUCaiC
0ASymOBn+tAxLv6X1BsVhVvBsFEu0xQRYsGYpaBOo0XOHSXxdHi2aVqSd4lNUDf2
DOUVEBzED44nNweXcHmlhl4KRF+KgSokne+Ckv/T9Y++LehjsqHlKPKXA9LVIMcV
n35vnQKBgAJzH1cL5+cLIXpbCfMnhlBJI1+1UPVLqrE824veuNBlBqMhUaRr1V9f
gQtCjtsTvJ7CxnUbBuNg2WwN4wN+lQ8otSCBHuub+naZimvQjt8SnpOc6Qmurbe+
nsbPeV0nkcgYlZ5TegvRB0HxP+AK+WiHqxvWxcfkTZuxtyunlb93
-----END RSA PRIVATE KEY-----
`)
func syslogKeyBytes() ([]byte, error) {
return _syslogKey, nil
}
func syslogKey() (*asset, error) {
bytes, err := syslogKeyBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "syslog.key", size: 1675, mode: os.FileMode(288), modTime: time.Unix(1531433927, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
// Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func Asset(name string) ([]byte, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
}
return a.bytes, nil
}
return nil, fmt.Errorf("Asset %s not found", name)
}
// MustAsset is like Asset but panics when Asset would return an error.
// It simplifies safe initialization of global variables.
func MustAsset(name string) []byte {
a, err := Asset(name)
if err != nil {
panic("asset: Asset(" + name + "): " + err.Error())
}
return a
}
// AssetInfo loads and returns the asset info for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func AssetInfo(name string) (os.FileInfo, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
}
return a.info, nil
}
return nil, fmt.Errorf("AssetInfo %s not found", name)
}
// AssetNames returns the names of the assets.
func AssetNames() []string {
names := make([]string, 0, len(_bindata))
for name := range _bindata {
names = append(names, name)
}
return names
}
// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() (*asset, error){
"syslog-ca.crl": syslogCaCrl,
"syslog-ca.crt": syslogCaCrt,
"syslog-ca.key": syslogCaKey,
"syslog.crt": syslogCrt,
"syslog.csr": syslogCsr,
"syslog.key": syslogKey,
}
// AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the
// following hierarchy:
// data/
// foo.txt
// img/
// a.png
// b.png
// then AssetDir("data") would return []string{"foo.txt", "img"}
// AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
node := _bintree
if len(name) != 0 {
cannonicalName := strings.Replace(name, "\\", "/", -1)
pathList := strings.Split(cannonicalName, "/")
for _, p := range pathList {
node = node.Children[p]
if node == nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
}
}
if node.Func != nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
rv := make([]string, 0, len(node.Children))
for childName := range node.Children {
rv = append(rv, childName)
}
return rv, nil
}
type bintree struct {
Func func() (*asset, error)
Children map[string]*bintree
}
var _bintree = &bintree{nil, map[string]*bintree{
"syslog-ca.crl": &bintree{syslogCaCrl, map[string]*bintree{}},
"syslog-ca.crt": &bintree{syslogCaCrt, map[string]*bintree{}},
"syslog-ca.key": &bintree{syslogCaKey, map[string]*bintree{}},
"syslog.crt": &bintree{syslogCrt, map[string]*bintree{}},
"syslog.csr": &bintree{syslogCsr, map[string]*bintree{}},
"syslog.key": &bintree{syslogKey, map[string]*bintree{}},
}}
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
return err
}
info, err := AssetInfo(name)
if err != nil {
return err
}
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
if err != nil {
return err
}
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
if err != nil {
return err
}
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
if err != nil {
return err
}
return nil
}
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
// File
if err != nil {
return RestoreAsset(dir, name)
}
// Dir
for _, child := range children {
err = RestoreAssets(dir, filepath.Join(name, child))
if err != nil {
return err
}
}
return nil
}
func _filePath(dir, name string) string {
cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
}