互动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

315 lines
31 KiB

5 years ago
5 years ago
5 years ago
  1. // Code generated for package main by go-bindata DO NOT EDIT. (@generated)
  2. // sources:
  3. // cacert/apiclient_cert.p12
  4. // cacert/apiclient_cert.pem
  5. // cacert/apiclient_key.pem
  6. // cacert/rootca.pem
  7. package test
  8. import (
  9. "bytes"
  10. "compress/gzip"
  11. "fmt"
  12. "io"
  13. "io/ioutil"
  14. "os"
  15. "path/filepath"
  16. "strings"
  17. "time"
  18. )
  19. func bindataRead(data []byte, name string) ([]byte, error) {
  20. gz, err := gzip.NewReader(bytes.NewBuffer(data))
  21. if err != nil {
  22. return nil, fmt.Errorf("Read %q: %v", name, err)
  23. }
  24. var buf bytes.Buffer
  25. _, err = io.Copy(&buf, gz)
  26. clErr := gz.Close()
  27. if err != nil {
  28. return nil, fmt.Errorf("Read %q: %v", name, err)
  29. }
  30. if clErr != nil {
  31. return nil, err
  32. }
  33. return buf.Bytes(), nil
  34. }
  35. type asset struct {
  36. bytes []byte
  37. info os.FileInfo
  38. }
  39. type bindataFileInfo struct {
  40. name string
  41. size int64
  42. mode os.FileMode
  43. modTime time.Time
  44. }
  45. // Name return file name
  46. func (fi bindataFileInfo) Name() string {
  47. return fi.name
  48. }
  49. // Size return file size
  50. func (fi bindataFileInfo) Size() int64 {
  51. return fi.size
  52. }
  53. // Mode return file mode
  54. func (fi bindataFileInfo) Mode() os.FileMode {
  55. return fi.mode
  56. }
  57. // Mode return file modify time
  58. func (fi bindataFileInfo) ModTime() time.Time {
  59. return fi.modTime
  60. }
  61. // IsDir return file whether a directory
  62. func (fi bindataFileInfo) IsDir() bool {
  63. return fi.mode&os.ModeDir != 0
  64. }
  65. // Sys return file is sys mode
  66. func (fi bindataFileInfo) Sys() interface{} {
  67. return nil
  68. }
  69. var _cacertApiclient_certP12 = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x54\xd4\x69\x38\xd4\x0b\xc3\x06\xf0\xff\x8c\x99\x49\x33\xf6\xad\x2c\x89\x8e\xec\xc3\x20\xc6\x5a\x09\x43\x85\xd2\xb1\x93\x31\xf6\x75\xec\x53\xb6\x89\x69\x2c\x73\x22\x83\x49\xb2\x3c\xf6\x35\x33\xf6\xad\xc2\x20\x43\x54\x0a\x21\x5b\x59\x4a\x96\xb1\x53\xea\xc8\x7b\x3d\xd7\xf5\xbe\xef\xf3\x9c\x8f\xf7\x75\xdf\xf7\xd7\x1f\x8a\x04\xcf\x01\x83\x38\x50\x24\xb8\x07\xec\xa4\x62\xa2\x59\xe2\x77\x6e\xd0\x09\x50\x21\x09\x6e\x03\x21\xc1\xad\x50\x24\xb8\x05\x8a\x04\x19\xfe\x4f\x05\x2b\x24\x41\x98\x28\x12\xe4\x05\x18\x04\xa0\x48\x90\xe6\xff\x3a\xa1\x24\x60\xf0\xff\x0d\x5c\x20\x18\x8a\x07\xc2\xd9\xa7\xfc\xb3\xe3\x7d\xe0\x34\x1a\x0c\xe6\x04\xe2\x48\x90\x64\xad\x28\xee\x95\xd1\x34\xf9\x7d\x21\x17\xe1\xf3\x84\x42\x05\x0d\x83\x0d\xed\x8b\x46\xba\x0f\x18\xb1\xa7\xaf\x73\x2f\xaf\x11\x45\xc7\x3e\xde\xcd\xec\x76\xc0\xaa\xc7\x09\x53\x4d\x29\x54\xe6\xa5\xc8\xc9\xc6\x12\xff\xb5\x3b\xb1\x36\x3f\x26\x75\xfb\x9c\xd4\xc1\xb2\xf7\xbb\xfd\x71\x9f\x05\x5c\x4a\xde\x3d\xa9\x47\xe3\x4f\x0f\x73\xa3\x4f\xb6\x57\x0c\xc5\x4f\x5e\x51\x9d\xbc\xb5\x8f\xbf\x02\x50\x1a\x8c\x25\xd4\x84\xb1\x1c\x75\x56\x76\x5b\x9d\x53\xea\x86\x6e\xdc\x50\x4a\x66\x13\x2c\x3a\xbf\xa7\xec\x50\x2d\xf5\x16\xef\x11\x3d\xff\x80\x26\xc2\x6c\xd9\x4f\x34\x2f\xb5\xc6\x08\x77\x9b\x1f\xf0\xf3\xef\xa1\xbc\x3b\xaa\x89\xa3\x8a\x18\xa0\x77\x35\x88\x27\xe8\x7b\x61\xb3\x36\xd5\x24\xc5\xf1\x31\x52\x81\xdd\x7d\x61\x86\x4a\x39\xa5\x9d\xfc\xbd\xec\x35\xdb\xf3\xe5\x24\x5d\x3a\xa3\x6e\xd8\x33\x3f\xa0\x53\xe7\xcb\xbf\x26\xea\x69\x72\x6d\x55\x40\x6c\x8b\x61\x8a\x9b\xa5\x6e\xf1\x43\x93\x19\xfd\x41\xce\x78\x9d\x4b\x6b\xbb\x9a\xf4\x9f\x61\xad\xad\xe2\x01\x9a\x9f\xd7\xbe\xde\xb9\x4a\xdf\x6d\x6a\xc2\x19\x5d\xb7\x38\x63\x70\x69\x77\x29\x80\x5d\xb0\x33\x65\x10\x25\x0e\x34\x4f\x89\xd8\xa4\x0d\xbf\xcd\xde\x0e\x4f\xc6\x4e\xc8\xb8\x82\xcf\x24\xe7\xc0\xaf\xad\xb8\xca\x6b\xcb\x1e\xb2\xa2\x55\x86\x28\x2a\x1e\x4e\x11\x0f\x05\x7c\xb0\xc4\x6c\x57\xea\x9b\xe4\x1c\x7b\xa3\xee\x4b\x95\x24\x30\x24\xfe\x8a\x7b\x85\x4f\xd5\xaa\xdf\x08\x35\x5f\xe0\x19\x6e\xa3\x64\xd8\xd2\xd4\x62\x0f\x59\xb8\xb3\x3a\xf5\x3c\xcc\xcc\x1c\xfb\xa0\x72\xbb\x6f\x45\x5c\xf2\x8c\x34\xf3\x33\xbc\x50\xef\xbb\xf8\x2f\x65\xa8\xcd\x73\x89\xf3\x27\xac\x45\x91\x78\xdb\xa2\x87\xca\x67\x46\x62\x40\x2f\xaf\xbb\x19\xa5\x1c\x5a\x6b\x70\xa5\x62\xc8\x73\x94\xa6\xa5\x16\x6d\x59\xeb\x21\x0e\x62\x79\xcc\xe5\x8b\xd4\xfb\x75\xf9\xab\x5e\xf3\x05\x13\xb5\xfc\xc1\x58\x0d\xbe\x84\xdf\x9a\xf6\xc4\xe4\xe8\x7d\x16\xcd\x9d\xa4\x76\x8a\x73\x7a\xe2\x5d\xa6\x53\x18\x93\xbe\x73\x99\xc0\x75\xfb\xc2\xeb\x68\xb5\xf5\xf2\xb4\x60\x59\x68\xd7\xb4\x26\x79\x4f\x43\x63\xf4\x8b\x89\x05\xbd\x78\x81\xe8\xf7\x04\xb3\x57\x88\x68\xa2\x59\x3e\x30\x39\x48\xe7\x2d\x56\xee\x20\xd7\x71\xd1\x22\x05\xaf\xbd\x7a\xf4\x41\x55\xca\x3b\x08\x51\xb1\x65\xb9\x90\x7b\xec\x46\x57\xbd\x69\x7d\xe3\x56\xbb\x55\xa8\xd2\xde\x33\xc1\xc7\xc4\xef\x65\x8f\x3f\xcf\x74\x56\xa7\xd2\x4a\x66\xcc\x05\x6b\xdf\x6c\x4b\xce\xc9\x98\x31\x9a\xb3\xa3\xd6\x8b\x37\x84\xd2\xd6\x3c\x7d\xe9\x0a\xc2\x9f\xee\x09\xbb\x30\x28\x09\x9d\x25\x52\xd1\x4a\x19\x91\x17\xac\x8f\xe8\x8e\x66\x62\xae\x1f\xac\x06\xfb\x6a\xab\xfc\x0c\x6b\x54\x9a\xcd\x47\x03\x5f\xe4\x2b\x7c\xa4\x24\x94\x0d\x7e\xe5\x44\xb6\x94\x45\x8f\xf3\x19\x05\x23\xe7\xdf\x54\x58\x0c\xd7\xef\x66\x17\xdd\x4f\x90\xb8\x4b\x3a\xb1\xa0\x03\x51\x41\xb6\x5e\xa8\x49\xc9\xe2\x79\xa3\x6f\xba\xe5\xfa\x3a\x4a\xcd\x48\xaf\x45\x01\x18\xb1\x5c\xc8\xb2\xed\xb8\xb6\x29\x27\xad\xd5\x5c\x4c\x8c\x32\x47\x80\x8f\x9b\x46\x78\x78\x6e\x6f\xbb\xf5\x1f\xa4\x9a\x3b\xaa\x72\x6d\x50\xa8\x95\x89\x23\x42\xe1\x25\xe1\xb8\xbc\x72\xd1\xf2\x89\x81\x8a\x4d\x38\x55\xb7\x1f\x6a\x9c\xb4\x8b\x99\x30\xfd\x2b\xa6\x6a\x60\x5c\x15\xdc\x2a\x53\x67\x86\x15\x06\xa3\xdc\x4d\xf7\x53\xfd\x76\x31\x4e\x7f\xb7\x65\xc6\xb6\x17\xa9\xab\x32\x6c\xe4\x33\x31\xc0\x17\xd6\xa3\xd9\xf9\xc3\x9e\x81\xc0\x7f\x8d\x8a\xd1\x44\x17\x3c\x55\xd8\x5e\x15\xe9\xe5\x55\x63\x2b\x06\x37\x1a\x7e\xff\xfd\x21\xcf\x47\xf4\xe1\xf0\x72\x4d\x48\x8f\xdb\xe6\x4c\x6b\x42\xf9\x4a\x63\xdf\xe2\x90\xa1\x3f\x26\xa4\xd7\xbc\x0b\xcf\x58\x45\x7c\x9b\xff\x80\x9c\xa9\x14\xe8\xca\xe9\xec\x9f\x57\xfa\x01\xb5\x34\x26\x5f
  70. func cacertApiclient_certP12Bytes() ([]byte, error) {
  71. return bindataRead(
  72. _cacertApiclient_certP12,
  73. "cacert/apiclient_cert.p12",
  74. )
  75. }
  76. func cacertApiclient_certP12() (*asset, error) {
  77. bytes, err := cacertApiclient_certP12Bytes()
  78. if err != nil {
  79. return nil, err
  80. }
  81. info := bindataFileInfo{name: "cacert/apiclient_cert.p12", size: 2718, mode: os.FileMode(438), modTime: time.Unix(1565839462, 0)}
  82. a := &asset{bytes: bytes, info: info}
  83. return a, nil
  84. }
  85. var _cacertApiclient_certPem = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\x94\x4b\xcf\xb2\x30\x1e\xc5\xf7\x7c\x8a\xd9\x9b\x89\x28\xa2\xb8\x78\x17\x85\x16\xe4\xd2\x6a\xb9\xaa\x3b\x40\x28\x72\x57\x90\x22\x9f\x7e\xf2\x3e\xcf\x64\x92\x99\xe9\xf2\x77\x9a\xe6\xf4\xe4\xff\x3f\xff\xfc\x7b\x54\x64\x98\xe4\x1f\x1a\x72\x7d\x53\x37\x35\xe0\xa3\x1f\x2a\x60\xd3\x84\x0a\xd4\x34\x30\x3e\x19\xe0\xa6\x0a\x98\x19\x5c\xb9\x74\x27\x12\x43\x45\xf5\xca\xb5\xa2\x7a\xd9\xf6\x98\x8d\x18\xcd\x63\x09\x38\xa4\x37\xcb\xee\xee\x66\x31\xa5\x04\x50\xe4\x08\x2a\x05\xfc\x5a\x22\x07\x83\xca\x00\x9b\x00\xa9\x05\xd6\xa8\xb8\x9b\xd1\x02\x5c\x95\x91\x50\x05\x9d\xaf\xd5\x6e\x9d\xb4\x6a\x91\x79\x72\x99\x6c\xc5\xf9\xe4\x83\xe4\x57\x1b\x7c\x41\xd7\xff\x4b\x64\x54\x44\x8c\x6e\xc3\xcf\xc3\x08\xbf\xd8\x1d\xb8\x41\x6f\x30\xa4\x14\xa2\xd9\x0a\xee\x91\xcc\x6f\xd7\xea\x73\xdb\x1e\x47\x53\xb7\xa6\x44\xa2\x4c\xa0\x22\xe2\xa7\x22\x25\xd8\xaf\xf8\x19\xa2\x0d\x86\xf8\x8b\x97\x80\x47\x7f\x59\x49\xff\xb2\xe5\x3f\xac\xd4\x54\xe6\x23\x1f\xab\xe8\xc7\x2d\xe0\xdc\x16\xb0\x8f\x65\x02\x29\x27\x30\xe0\xb8\x44\x09\x56\x7f\xbf\xa2\x31\xee\xc9\xc9\xfe\x23\x3b\xab\x42\xbe\x47\x86\xdc\x3d\x25\xf9\x70\x3e\xc8\x87\x4f\x8e\x3d\x91\xdb\xfc\xc7\x99\x23\x40\xcd\xaf\x3f\xc9\xba\x1e\xe5\x43\xf3\xb6\xf3\x6e\x8a\xdb\x76\xba\x9f\xda\x8f\xbc\xb4\xbd\x7c\x6a\x9e\x1d\x6c\x5a\xb3\xed\x9b\x3b\xac\x8b\x78\xa9\xcb\x03\x9b\xb5\x05\x58\xbf\x19\xdc\xb0\x00\x2a\x72\xc6\x2e\xe2\xf0\xf7\xc5\x13\x04\x85\x1f\x1b\xe1\x27\x6a\x8a\x3a\x29\x35\x0d\x78\xe6\xff\x26\xaf\xaa\x14\x40\xc6\xd0\x05\x40\x4d\x13\x00\xed\x34\xc6\x90\x0a\x70\xb1\x3e\x50\x29\x48\x0e\x46\x9a\x31\xd4\xed\x83\x9e\x76\x7d\xa3\x98\xce\x1e\xdc\x4c\x2b\xee\xfc\xc1\x51\x5d\xc5\xf0\xd2\xce\x8f\xa2\x09\x48\x79\x67\xef\xc2\x3c\x10\x9a\x4d\xe0\xc2\xac\xec\x06\x2e\x46\xe4\x25\xee\x58\x54\x2d\x46\xc5\x27\xd2\xe6\xfe\x70\x1a\x4f\xae\xb9\x2e\x49\xb7\xd4\x5d\x85\x7a\x73\xe4\xa3\x4b\xdd\xcf\xd6\xcf\x5a\x10\xd9\x9f\xfd\xcb\xae\x84\x4b\xd9\xbc\x2f\xd9\xbc\x3f\x6e\x72\xc2\xd4\x58\x1e\x8d\x38\xda\x99\xd5\x56\xe1\x7b\x82\x3e\x45\x2c\xd7\x91\x0a\xcb\xd4\xa9\xc1\xc6\xcc\x36\x62\x91\x0f\xb5\xb9\x53\x26\xf4\xe8\x69\xeb\xa7\x4f\x2a\x64\x2b\x7d\x7f\xb0\x24\x5d\xae\x5f\x73\x3d\x4b\xed\x21\x73\x90\x5c\x46\x73\x93\xbc\x8e\xab\xb3\xe9\x9e\x62\x16\x25\x6b\x2b\xfd\xca\xe8\xac\x7a\x73\x51\xf4\x53\x72\x6c\x43\x67\x6a\xcd\x3b\x73\xc0\x43\xd8\x8e\x30\xcb\x65\x35\x9e\xfc\x54\x7c\xad\xa5\x24\x75\xe2\x4b\xd7\xe4\xf2\x00\xed\xf5\xc5\xeb\x1f\xa6\x16\x6f\xc7\xcc\x4a\xdf\xef\xd7\x79\x1a\x96\x1b\x23\xf5\x72\xed\x77\x1e\x4b\xbd\x2f\x66\xbd\x25\xc8\x22\x34\x32\xb4\x5d\x94\xfa\xb3\xba\xe3\xb4\x5a\x97\xd7\x7d\x9b\xf8\xde\xdd\xea\x67\xb0\x15\x35\xc0\x11\x00\xf1\x59\x65\xbe\xba\xfe\xf7\xb8\x3f\x10\xa7\x1a\x06\x80\x6b\xfc\x06\x85\xd0\x15\x2f\x2a\xa0\x10\x30\x9f\x63\x23\xf8\xb9\x70\xe2\x6e\x86\x75\xce\xa3\x97\x7a\xeb\xf4\xd8\x08\x8d\x42\x7c\x9c\xc0\xde\xf9\x1e\xeb\x47\x43\x0a\xa7\xa9\xc5\xb4\x0d\x17\xa7\x21\x93\x90\xfc\xdd\x81\xe7\x91\x3f\x22\x6b\x88\x23\x3c\xc5\x57\xf7\xfb\xb8\x92\x32\x6d\xf8\x9a\x8a\xe8\x88\x03\x0b\x11\x68\x7e\x31\x0a\x36\x18\xb9\x1a\x5d\x80\x48\x4b\xb0\xa5\x01\x5d\xce\x7e\xba\x11\x08\xac\x76\x04\xde\x21\x86\x3a\xc4\x62\xb0\x73\x03\x0b\xe1\x12\x10\x95\x55\xaf\xa2\x7a\x1a\x47\x2e\xaa\x80\x0e\x3a\x00\x67\x0d\x50\x04\x9e\x8d\xa4\xf4\xac\x32\xd3\x7a\x9c\xcb\xcc\x91\x84\x92\x2c\xf3\x36\x6c\x9a\x53\x9d\x5b\xa7\x74\x8b\x53\x6d\xc5\x5e\x5b\x59\xb9\x44\x98\xaf\x55\x53\xfe\x9a\xca\xb5\x39\xf9\x8a\xbd\x73\xbc\x55\x8f\xd9\x75\x7f\x64\x5d\xdd\x50\x23\x25\xf3\x73\x87\xde\xc2\xb0\x5f\x5b\x27\x10\xf6\x2e\x86\xb2\xb6\xdf\x34\x21\xe6\xdb\xf0\x5a\x0e\x9b\xe7\xcd\xe6\x8c\x29\x56\x60\xa9\x7e\x5f\x29\xcb\x2e\x38\x0e\xf6\x81\x2d\x7a\x63\x28\xa3\xb7\xfb\x94\x84\x46\xb9\x7e\x17\xde\x34\xd9\xf8\xf7\x1b\xaf\x96\xf7\x30\x3a\xc6\xa6\xc7\x9b\xb7\x2f\xfa\x96\x89\xf1\xe0\xed\xf4\x34\x0d\xe3\x5b\x9e\xbb\x46\x0e\xc5\x5a\xab\xe9\xad\xbc\x59\x1d\x29\x3b\x57\x42\x92\xee\x7d\x26\x49\x88\x0b\x31\x5f\x42\xf3\xa8\x76\x07\x55\x57\x56\xae\x24\x61\x78\x3c\x96\x20\xeb\x8b\x33\xff\x4e\x75\xe3\xc9\x75\xae\x73\x4c\xdc\x37\xa8\x6b\xb1\x4c\xaa\x74\xf2\xc8\x62\x5c\x72\x3a\xda\x2b\x53\x11\xba\x6b\x55\x7e\xcc\xf4\x99\x1c\xec
  86. func cacertApiclient_certPemBytes() ([]byte, error) {
  87. return bindataRead(
  88. _cacertApiclient_certPem,
  89. "cacert/apiclient_cert.pem",
  90. )
  91. }
  92. func cacertApiclient_certPem() (*asset, error) {
  93. bytes, err := cacertApiclient_certPemBytes()
  94. if err != nil {
  95. return nil, err
  96. }
  97. info := bindataFileInfo{name: "cacert/apiclient_cert.pem", size: 1428, mode: os.FileMode(438), modTime: time.Unix(1565839462, 0)}
  98. a := &asset{bytes: bytes, info: info}
  99. return a, nil
  100. }
  101. var _cacertApiclient_keyPem = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\xd5\x37\xb2\x83\x4a\x02\x85\xe1\x9c\x55\xbc\x9c\x9a\x12\x56\x48\xc1\x0b\x1a\x6f\x44\xe3\x6d\x06\x08\x27\x40\x98\x16\x76\xf5\x53\x73\xd3\x39\xe1\x89\xfe\xec\xfb\xcf\xff\xc6\x4b\x8a\x06\xff\xb1\x5d\x2d\x04\xbe\xf4\x8f\x21\x25\x7f\x2f\x66\x6a\x9a\xb4\xed\x1a\x0f\x44\x00\xf9\xba\x9b\x9b\xae\x55\x9e\x3b\xc1\x03\x47\x92\x01\xf0\x04\xde\xe8\xf6\xba\xf6\x7a\x50\x4b\x00\x8c\x1a\x0f\x1c\x51\xab\x70\x02\x92\x0a\x7e\x7c\xd5\x91\xc7\x0c\xab\x37\x02\xc3\x48\x37\x41\xc0\x6b\x45\x10\xa2\x59\xe2\x84\x3d\xa8\xf8\xee\x6b\x48\x64\xbf\xec\x90\xbe\x0b\xab\x1c\x93\xfa\x2f\x94\x1c\x7a\xbc\xbf\x4c\x28\x7f\xb2\x9f\xa5\xc9\x93\x79\x4c\x26\xf6\xba\x52\x9a\xe0\x78\xce\x25\x3c\x9b\xb9\x32\x93\xcd\x74\xde\xf0\x5e\xc5\x2b\x08\xa4\xfc\xd7\xd1\xd3\x2e\xb7\xcb\x3a\xb7\x93\xc8\xb0\xf3\x45\xa3\x72\x7b\xc7\x57\x02\xa2\x35\x77\x87\x7e\x15\x74\x0c\x6e\xa6\xf5\x71\x5f\x63\xb4\xa6\x61\xed\x30\xb4\xc0\x3a\xd0\x53\x7f\x6f\x2d\xe6\x74\xcf\xb2\x5f\x87\x9a\x05\x3a\x41\x6b\x9d\xba\x35\xe5\x7a\xbe\x8f\x32\xcd\x50\x5a\xbc\x59\x9c\x6e\x0f\x2b\x21\x31\x94\x0e\xf7\xad\xfa\xb4\x92\x4b\x8d\xf2\x70\x3b\x63\x73\x75\xc5\x3a\x40\x49\x92\xe5\xd4\x2d\x25\x3d\x8e\x3d\x95\x44\xd8\xd5\xf7\xe2\xd0\x5f\xdc\x89\x16\x82\x86\xc6\xf6\xa4\x68\x81\xfa\xdc\xf5\x2f\x86\xe7\xe0\xdc\x2e\x62\x8e\x3d\x30\xfc\x96\xb8\x8d\x8d\xfb\xfd\xb3\x70\x26\xa5\x89\x69\x41\xde\x4b\x69\x54\x25\xf4\xd1\x0c\xaf\x7c\x83\xe3\xdb\x40\x74\xd3\xf3\x6d\xf0\x55\xdd\x66\x48\x7c\xa2\x08\x8c\x18\xbc\xac\x70\xe0\x0f\xd4\x26\x0f\x80\x24\xd4\xb5\xc4\x03\x5d\x80\x2b\xea\xbf\x67\x5d\xba\x2b\x79\xae\x3f\xd9\x16\xc0\xd1\xd1\x27\xbb\x41\x1f\xbd\xd1\x4f\x88\xb6\xa2\xab\x64\xee\xd7\x77\x98\x5f\x8e\x9d\x11\x25\x5f\xbe\xf6\x4a\xa6\xcb\x93\x6a\x15\x63\xa8\xf3\x0e\x9d\xe5\xee\xae\xac\xb3\x3f\xc8\x17\x30\xc0\x46\x47\xb0\xd3\xb5\xa6\x26\x87\xc1\xb8\xd5\x53\x8d\x04\x78\x3c\x6f\x73\x80\x59\xa6\x35\x81\xc9\x23\x33\x4e\x7e\xa9\xee\xd7\xa3\xfb\x66\x66\x69\x52\xf2\xaa\x47\x52\xa8\xe3\x5a\x06\x80\xa8\x9e\x9e\x4f\xc7\x15\x4a\xe2\x66\x17\x23\xa5\x0c\xa3\x68\x70\x7b\x24\x91\x7e\xd2\x61\xa8\x77\xb6\x36\xc1\xe9\x26\x10\xeb\xe7\xa4\xe8\x9f\x22\x3d\x10\x93\xbf\xdf\x3f\xb6\x1c\xd3\x78\x64\x78\x40\xb7\x74\xb8\x9d\xe9\x6d\x9a\x9b\xa1\x1a\x9a\x22\xe7\x5c\xcd\x00\xb7\x36\xee\xce\xb6\xc1\xac\xd0\x85\x7d\xe4\xc4\xfe\x67\x74\x6a\x6f\x61\x24\xb7\x93\x1f\xd5\xd2\x32\x4b\xf0\xbc\x93\x31\x65\xb3\x95\x22\x4c\x45\xb6\x44\xe3\x83\x8b\x78\x19\xaf\x98\x88\x63\xa8\x47\x3e\xd5\x3a\x81\x42\x19\x4b\x99\x1f\x37\x4d\x72\xcc\xd5\xdd\x30\x2d\xe1\x4d\xd0\x53\xc9\xdf\x42\x0a\x90\xe9\xbd\x4c\x6c\x83\x63\x93\x55\xf6\x3d\x35\x7c\x75\x42\x9d\x48\xe0\x1e\x1a\x5c\x69\xdd\x99\x4b\x6a\xce\xb0\x2f\x4f\xac\xbb\xc9\x11\xed\x0f\x8c\xec\xb1\x8d\x7f\x9e\x6d\xbf\xe9\x52\x4c\xc9\x45\x11\xc4\x25\x93\x46\x82\xb4\xcd\x4a\x6c\xd3\x3c\x1b\x6e\x19\x85\xf8\xb2\xe2\x63\x35\x64\x64\x18\xb6\x81\xd3\x9d\xe9\x0f\x4b\x9b\x50\x70\xef\x76\x68\x2d\x23\x3c\x21\x35\x83\xc9\x3b\x71\xcb\x0d\xa1\xfd\x20\xee\x4c\xbb\xed\xd4\xe7\x36\xd6\x8a\x50\x87\xce\xaf\x73\xf2\x4d\xf9\x46\x9e\x33\x6c\x64\xf4\xf0\x0d\x70\x76\x3f\x0c\xf5\x2e\xd4\xd3\xf8\x70\xcf\x42\xa3\x0e\xb4\x75\x79\x57\x7d\xee\xd5\x76\x2f\xd1\x5f\x32\x75\x3b\x65\x3e\xd4\xe9\x57\x6b\xa6\x5b\xd0\x84\xfa\xc1\xb5\xb4\x2e\x93\xda\x46\xd7\xca\x48\x41\x0c\x88\x11\x6f\x6c\x13\xcb\x8b\xf2\x14\x19\xfb\x9a\x28\xc2\x6c\x82\x59\x25\xf5\x5e\xf9\xee\xb9\xaa\x4e\xc8\xa7\x09\xbb\xd8\xf1\xd7\x25\x34\xd6\xa9\x89\x5f\x83\x38\xf7\xaa\xe4\x15\xa2\xb5\x2c\x0a\x9b\x4b\x45\x15\xf9\x91\xcb\xb2\x72\x52\xcd\xc6\x11\xcc\x3b\xcf\xdd\xcc\xf2\x85\x52\x02\x5f\x73\x7b\x43\xed\x2d\x1f\x6b\xb4\xe3\x50\xf5\x87\x82\x3c\x83\x68\x21\x92\xe0\x63\x9f\xc2\xe2\x7c\xb8\x1f\xb6\x5d\xdf\xf0\xcd\x0c\x5b\x54\x17\x7f\xc9\x63\xa5\xde\x3f\x49\xd4\xc5\x73\x32\xc3\xd6\xd6\xbe\x44\x7e\x21\xae\x37\x2d\xfc\xdd\x3b\xd7\x43\xa5\x0e\x12\xfd\x98\x02\x05\xcb\xab\x28\xe4\x42\xc6\x92\x24\x6f\x86\xc7\x57\x5e\x8f\x83\x8a\xae\x87\x11\xe6\x89\x26\x8f\x2e\x43\x05\x1a\x58\x4e\xcd\xe4\x5e\x34\x81\x4e\xdf\xbf\x93\x8f\x44\xea\xa0\xb6\x44\xea\xd8\x5f\x4d\x37\x3f\x1d\x1a\xee\x0e\x83\x95\x4b\x4f\xc1\x60\xa7\x70\x8b\xe8\x0a\x3a\x30\x47\x43\xcc\x02\xf6\xc6\
  102. func cacertApiclient_keyPemBytes() ([]byte, error) {
  103. return bindataRead(
  104. _cacertApiclient_keyPem,
  105. "cacert/apiclient_key.pem",
  106. )
  107. }
  108. func cacertApiclient_keyPem() (*asset, error) {
  109. bytes, err := cacertApiclient_keyPemBytes()
  110. if err != nil {
  111. return nil, err
  112. }
  113. info := bindataFileInfo{name: "cacert/apiclient_key.pem", size: 1708, mode: os.FileMode(438), modTime: time.Unix(1565839462, 0)}
  114. a := &asset{bytes: bytes, info: info}
  115. return a, nil
  116. }
  117. var _cacertRootcaPem = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x94\x4d\xcf\xb2\x38\x17\xc7\xf7\x24\x7c\x87\x67\x6f\x9e\x08\x5e\xbe\x2e\x4f\x4b\xc1\xaa\x05\x8b\xbc\xef\x90\x97\x22\x88\x5c\xea\xad\x45\x3e\xfd\x44\xaf\xc9\x24\x73\xcf\xec\xa6\xcb\x5f\x9b\x9e\x93\xff\xf9\xe5\xfc\xff\x7d\x10\xb1\xa8\xfd\x3f\x4c\x5c\x8f\x9a\x14\x83\x47\x3e\x54\x55\x18\xa5\x06\x35\x30\x86\xae\x15\x20\x29\x02\x41\x89\x9d\x2f\xb4\x61\x00\x1b\x89\xe6\x5a\x35\x27\x6b\x25\x35\x04\xdc\x37\xc1\x40\x0e\xe3\x77\x89\x79\x6c\x04\x9c\x5b\x44\x6e\x02\x55\xf1\x07\xc2\x19\x4c\x2d\xd0\x7d\x82\x2b\xb6\x76\x23\x53\x4f\xc3\xa4\x2a\x0c\xf2\x8b\xe1\xfb\x0f\xef\x59\xf3\x17\xc7\xc8\x4b\x42\x5b\xcf\x5a\x5f\xf0\x49\xf0\x52\x95\xdc\x3a\xb7\x69\x68\x57\xb9\xe5\x0b\x1e\x05\x5a\x6a\xad\x5e\x69\xe4\xce\x18\x9a\x46\x86\xd7\x4c\x99\x21\x5e\xac\x26\x13\xdb\x20\x3a\x0b\xba\xc8\xf0\xc8\xdf\x98\xaa\xb0\xa0\x93\x5e\x4d\x76\x0c\x9a\x4f\x3d\x54\x31\x1c\x04\xac\x27\x06\x38\x48\xd8\x01\x82\xce\x43\x5a\xd0\xe7\xe1\xb9\x8d\x23\xd1\xef\x3c\xb8\xfd\xf0\xbb\xb7\x21\x41\xaf\x2a\x7f\xde\x08\x7f\x12\xd4\x79\xb4\x39\x53\x62\x9f\xb3\x8b\xfb\x9d\xb4\xe7\x3a\x8e\xdc\x33\x25\xa6\x9e\x5b\xd5\x33\x6b\xcf\x5a\xe1\x61\x74\xf9\x2d\x1f\x55\x01\x4e\x4c\x00\x07\xd5\x1c\xa4\x88\x1b\x2c\x62\x02\x32\x98\xf4\xa1\x95\xd1\xf8\x31\x17\xed\x49\x2b\xb1\x35\x71\x4d\xeb\x14\xe3\x6a\x31\x9a\x08\xf7\x49\xa6\xee\x89\x66\x7b\xb7\x64\xf3\x52\x55\x50\x81\xa7\x50\x22\xc7\x76\x86\xd3\xe9\xdb\x27\xc9\x76\xe8\x53\xdd\x2e\xd1\x71\xbf\x4b\xa6\x78\xcc\xc5\xd6\x19\xff\xd2\x10\x2e\x86\x0a\x90\xbb\x1f\xef\x9f\xd2\xb0\x75\xe3\x71\xbe\xdf\xa6\xee\x08\x54\x25\xdb\x34\x41\x30\x63\xe1\x92\x8f\xa2\xf4\x56\xe2\x14\xb3\x6c\x20\x7a\xc2\xb6\xbd\xbb\xae\x1f\xcf\xed\xea\xf8\x88\xb5\x60\xd1\xe7\xe7\xd2\xb7\x77\xb5\x0f\xcb\xf9\xc9\x29\xc6\xe6\xfe\x4b\xf4\x8b\x06\xab\x0a\x48\x02\x90\x3a\x18\x78\x23\x85\x20\x26\x5b\xc3\x3b\xd1\x7c\x2d\xdd\x6f\x66\x65\x32\x49\x51\xdd\x59\x56\x13\x0d\x28\xff\xdd\x85\xb7\x09\xaa\xf2\x5f\x5c\x78\x9b\xa0\x2a\xff\xea\x02\xd7\x24\x96\x9f\x5a\x06\x91\xae\xe1\x37\xb2\x67\xa8\xfb\xf4\x46\x80\x7b\x0c\x59\xc8\x18\xa8\x64\x9e\x90\xaa\xe2\x18\xf4\xc5\xbc\x58\x63\x9e\xdf\x87\x35\xec\xde\xb3\x5e\xf3\x25\x41\xc0\x30\xf0\x58\xae\xdf\x3f\xb9\x5a\x8d\x90\x90\x66\x07\xfe\xc1\x49\xba\xd1\xe1\x79\xb8\x7f\x47\x91\xbb\x12\xb5\xaa\x50\x84\xf6\x6c\x76\xe2\x97\x15\x97\x6b\xfe\x79\xed\x20\x14\x13\x93\xd4\x6d\xba\x6f\x6e\xda\x6d\x1b\xe8\x5a\x19\xd3\x17\x70\x6f\x70\xe2\x66\x33\xf6\x19\xc8\x9f\x7e\x24\x37\xdf\x39\x30\x04\xe5\x52\x5a\x22\xde\x6c\xbb\x84\x56\xcf\x64\x85\x34\x02\x08\x34\x89\xfb\xbb\x19\xd4\xec\xc1\x2c\x66\x80\x38\x02\x03\xcd\xc2\x87\xab\x75\xa0\xc7\x2f\x83\x13\x84\xb8\x0f\xaa\x02\x53\x0b\x81\x59\x3b\xdb\xe2\xb6\x5c\xad\xe6\xfa\x20\xb6\x33\x73\x11\x9a\xda\xf1\x52\x4f\x37\x11\xdb\x78\xc4\x86\x6d\x7a\x38\x5e\x46\x93\xa6\x75\x0a\x7f\x13\xb9\x6d\x3b\x6e\x48\x3e\xab\xab\x70\x1e\xab\xca\xe2\x5a\x8f\xc3\x7b\xed\x05\xc7\x4d\x9b\x05\x65\x21\xf1\xfa\xb6\x3f\x5c\x2f\x54\x6b\x10\xa2\x09\x2e\xc6\xc3\xa3\x9c\xd3\xd0\xbf\x05\x97\x64\x65\xc3\x64\xb8\xb7\xe1\x8e\x76\xf9\x30\x79\x98\xeb\xbc\x52\x15\xfd\xd9\x5d\x93\x53\x21\x8c\xf2\x7a\xc9\xf4\xe1\x9a\xed\x2d\x9f\x86\x01\x89\xc6\xb7\xe5\xe2\x75\xee\xae\xe9\x76\x5d\x14\xab\xd9\x42\x1b\xdd\xd1\x57\x36\x55\x95\xcf\x62\x21\xb6\xf1\x8f\x65\xf3\x47\x00\x00\x00\xff\xff\x94\xef\x0a\xc2\x88\x04\x00\x00")
  118. func cacertRootcaPemBytes() ([]byte, error) {
  119. return bindataRead(
  120. _cacertRootcaPem,
  121. "cacert/rootca.pem",
  122. )
  123. }
  124. func cacertRootcaPem() (*asset, error) {
  125. bytes, err := cacertRootcaPemBytes()
  126. if err != nil {
  127. return nil, err
  128. }
  129. info := bindataFileInfo{name: "cacert/rootca.pem", size: 1160, mode: os.FileMode(438), modTime: time.Unix(1523923200, 0)}
  130. a := &asset{bytes: bytes, info: info}
  131. return a, nil
  132. }
  133. // Asset loads and returns the asset for the given name.
  134. // It returns an error if the asset could not be found or
  135. // could not be loaded.
  136. func Asset(name string) ([]byte, error) {
  137. cannonicalName := strings.Replace(name, "\\", "/", -1)
  138. if f, ok := _bindata[cannonicalName]; ok {
  139. a, err := f()
  140. if err != nil {
  141. return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
  142. }
  143. return a.bytes, nil
  144. }
  145. return nil, fmt.Errorf("Asset %s not found", name)
  146. }
  147. // MustAsset is like Asset but panics when Asset would return an error.
  148. // It simplifies safe initialization of global variables.
  149. func MustAsset(name string) []byte {
  150. a, err := Asset(name)
  151. if err != nil {
  152. panic("asset: Asset(" + name + "): " + err.Error())
  153. }
  154. return a
  155. }
  156. // AssetInfo loads and returns the asset info for the given name.
  157. // It returns an error if the asset could not be found or
  158. // could not be loaded.
  159. func AssetInfo(name string) (os.FileInfo, error) {
  160. cannonicalName := strings.Replace(name, "\\", "/", -1)
  161. if f, ok := _bindata[cannonicalName]; ok {
  162. a, err := f()
  163. if err != nil {
  164. return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
  165. }
  166. return a.info, nil
  167. }
  168. return nil, fmt.Errorf("AssetInfo %s not found", name)
  169. }
  170. // AssetNames returns the names of the assets.
  171. func AssetNames() []string {
  172. names := make([]string, 0, len(_bindata))
  173. for name := range _bindata {
  174. names = append(names, name)
  175. }
  176. return names
  177. }
  178. // _bindata is a table, holding each asset generator, mapped to its name.
  179. var _bindata = map[string]func() (*asset, error){
  180. "cacert/apiclient_cert.p12": cacertApiclient_certP12,
  181. "cacert/apiclient_cert.pem": cacertApiclient_certPem,
  182. "cacert/apiclient_key.pem": cacertApiclient_keyPem,
  183. "cacert/rootca.pem": cacertRootcaPem,
  184. }
  185. // AssetDir returns the file names below a certain
  186. // directory embedded in the file by go-bindata.
  187. // For example if you run go-bindata on data/... and data contains the
  188. // following hierarchy:
  189. // data/
  190. // foo.txt
  191. // img/
  192. // a.png
  193. // b.png
  194. // then AssetDir("data") would return []string{"foo.txt", "img"}
  195. // AssetDir("data/img") would return []string{"a.png", "b.png"}
  196. // AssetDir("foo.txt") and AssetDir("notexist") would return an error
  197. // AssetDir("") will return []string{"data"}.
  198. func AssetDir(name string) ([]string, error) {
  199. node := _bintree
  200. if len(name) != 0 {
  201. cannonicalName := strings.Replace(name, "\\", "/", -1)
  202. pathList := strings.Split(cannonicalName, "/")
  203. for _, p := range pathList {
  204. node = node.Children[p]
  205. if node == nil {
  206. return nil, fmt.Errorf("Asset %s not found", name)
  207. }
  208. }
  209. }
  210. if node.Func != nil {
  211. return nil, fmt.Errorf("Asset %s not found", name)
  212. }
  213. rv := make([]string, 0, len(node.Children))
  214. for childName := range node.Children {
  215. rv = append(rv, childName)
  216. }
  217. return rv, nil
  218. }
  219. type bintree struct {
  220. Func func() (*asset, error)
  221. Children map[string]*bintree
  222. }
  223. var _bintree = &bintree{nil, map[string]*bintree{
  224. "cacert": &bintree{nil, map[string]*bintree{
  225. "apiclient_cert.p12": &bintree{cacertApiclient_certP12, map[string]*bintree{}},
  226. "apiclient_cert.pem": &bintree{cacertApiclient_certPem, map[string]*bintree{}},
  227. "apiclient_key.pem": &bintree{cacertApiclient_keyPem, map[string]*bintree{}},
  228. "rootca.pem": &bintree{cacertRootcaPem, map[string]*bintree{}},
  229. }},
  230. }}
  231. // RestoreAsset restores an asset under the given directory
  232. func RestoreAsset(dir, name string) error {
  233. data, err := Asset(name)
  234. if err != nil {
  235. return err
  236. }
  237. info, err := AssetInfo(name)
  238. if err != nil {
  239. return err
  240. }
  241. err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
  242. if err != nil {
  243. return err
  244. }
  245. err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
  246. if err != nil {
  247. return err
  248. }
  249. err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
  250. if err != nil {
  251. return err
  252. }
  253. return nil
  254. }
  255. // RestoreAssets restores an asset under the given directory recursively
  256. func RestoreAssets(dir, name string) error {
  257. children, err := AssetDir(name)
  258. // File
  259. if err != nil {
  260. return RestoreAsset(dir, name)
  261. }
  262. // Dir
  263. for _, child := range children {
  264. err = RestoreAssets(dir, filepath.Join(name, child))
  265. if err != nil {
  266. return err
  267. }
  268. }
  269. return nil
  270. }
  271. func _filePath(dir, name string) string {
  272. cannonicalName := strings.Replace(name, "\\", "/", -1)
  273. return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
  274. }