2019-08-14 14:23:33 +00:00
|
|
|
package command
|
|
|
|
|
|
|
|
import (
|
|
|
|
"bytes"
|
|
|
|
"compress/gzip"
|
|
|
|
"fmt"
|
|
|
|
"io"
|
|
|
|
"strings"
|
|
|
|
)
|
|
|
|
|
2020-05-30 14:29:47 +00:00
|
|
|
func bindata_read(data []byte, name string) ([]byte, error) {
|
2019-08-14 14:23:33 +00:00
|
|
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
|
|
|
if err != nil {
|
|
|
|
return nil, fmt.Errorf("Read %q: %v", name, err)
|
|
|
|
}
|
|
|
|
|
|
|
|
var buf bytes.Buffer
|
|
|
|
_, err = io.Copy(&buf, gz)
|
2020-05-30 14:29:47 +00:00
|
|
|
gz.Close()
|
2019-08-14 14:23:33 +00:00
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
return nil, fmt.Errorf("Read %q: %v", name, err)
|
|
|
|
}
|
|
|
|
|
|
|
|
return buf.Bytes(), nil
|
|
|
|
}
|
|
|
|
|
2020-05-30 14:29:47 +00:00
|
|
|
var _command_assets_connect_short_nomad = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x52\xc1\x6e\xdb\x30\x0c\xbd\xfb\x2b\x08\x61\xd7\x21\x4e\x4f\x6d\x01\x1f\x82\x26\x18\x0a\xac\xe9\xe0\x36\xbb\x0c\x83\x40\x4b\x9c\xad\xa5\x96\x04\x89\x71\x37\x14\xfe\xf7\xc1\x9a\xe7\x3a\xed\x5a\x74\xcb\x45\xf1\x23\xa5\xf7\xf8\xf8\xbe\xbb\x0a\x84\x72\x07\xcb\x1a\x63\x23\xe0\x21\x03\xd0\xc8\xa8\xc8\x32\x85\x08\x05\x7c\x11\x5a\x2d\xc5\xd7\x2c\x03\xa8\x83\x3b\x78\x10\xe8\xcd\xef\x46\x00\x4b\x7c\xef\xc2\x7e\xfc\x02\x68\x9d\x26\x28\x40\x54\xc1\xe8\x9a\x44\x42\xfb\x2c\x1d\x91\x42\x67\x14\x4d\xad\x16\xdb\xd4\x9a\xc8\xdf\x0f\x6f\x8e\x05\xef\x02\x0f\x85\xb3\x3c\x5f\x8a\x6c\x04\x95\xb3\x96\x14\x4f\xb7\x01\xa2\xd1\xa4\x30\xc8\xe9\xdd\x7e\x2c\xf5\x73\x56\xc6\xb8\x07\x71\x4f\x95\x98\xae\xea\x60\x3a\x0a\x03\x83\x76\x6a\x4f\x61\xce\xf1\xcd\xd4\x33\x0a\xd3\x62\x9d\x34\x36\x18\x1b\xa3\x5c\xf0\xd6\xb5\xa8\x17\x49\x32\x85\x41\xf4\x79\xb7\x14\x4f\x78\x47\xee\xd1\xac\xc1\xd6\xca\x61\xd0\x6f\xb5\x6c\xee\x82\x68\x98\xbd\x98\x0f\xcd\xc8\x46\x41\x01\x67\x79\x7e\x32\xa1\xec\xd2\x71\x84\xf6\x6f\xf7\xfe\x51\xe2\xf3\x0d\x9c\xfc\xcb\x06\xa6\x0a\x80\x0f\xee\xc7\xcf\x23\x04\xe0\xe0\x23\x07\xc2\x36\x3e\xc1\x01\x34\x45\x36\x16\xd9\x38\x2b\x5f\xcc\xc5\x9f\xdf\x9d\x53\x78\x27\x2b\x63\xb5\x4c\x42\xa1\x80\xd3\xfc\x34\x3f\xea\xea\xb3\xbf\xfd\x7f\x25\x21\xcf\xd6\xf4\x4a\x4e\xc8\x76\xb3\x09\x2e\xae\x77\xdb\xdb\xcb\xed\x07\x79\xb3\x29\x3f\x5f\x5e\x6c\xe4\xae\xfc\x98\x32\xc3\xec\xcf\x17\x8b\x77\x0f\xdb\xeb\xab\xd5\x5a\xee\x3e\xdd\xdc\x96\x9b\xd5\x95\x5c\xad\xd7\xa5\x4c\xc3\x49\xf4\xa6\x7f\x4c\xcf\xff\xa6\x70\x92\xfe\x42\x16\xfb\xec\x57\x00\x00\x00\xff\xff\x58\x05\x65\x03\xe5\x03\x00\x00")
|
2019-08-14 14:23:33 +00:00
|
|
|
|
2020-05-30 14:29:47 +00:00
|
|
|
func command_assets_connect_short_nomad() ([]byte, error) {
|
|
|
|
return bindata_read(
|
|
|
|
_command_assets_connect_short_nomad,
|
2019-08-26 17:24:59 +00:00
|
|
|
"command/assets/connect-short.nomad",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2020-05-30 14:29:47 +00:00
|
|
|
var _command_assets_connect_nomad = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x7b\x6d\x8f\x1c\xb7\x91\xff\xfb\xfd\x14\x85\xde\x00\x49\xfe\xd8\x9d\x7d\xb0\x15\xdb\xc2\x7f\x0f\x90\x2d\xe7\x4e\x77\xb1\x7c\x90\xe4\xcb\x8b\x20\x58\x71\xba\x6b\x66\xa8\xed\x26\xdb\x24\x7b\x46\x6b\x63\xbf\xfb\xa1\x8a\x45\x36\xbb\x67\x66\x2d\xc9\x87\xc8\x2f\x24\x79\x48\x16\x8b\xf5\xf8\xab\x22\xfb\x14\xde\x6c\xd0\x21\xd4\xca\x80\x35\xed\x3d\x2c\x11\x14\x78\x6d\xd6\x2d\xc2\x3b\xbb\x84\x06\x57\xda\xe8\xa0\xad\x81\x1e\x1d\xac\x74\x8b\x0b\x78\xb3\xd1\x9e\x47\xb5\x07\xa3\x3a\x6c\x4e\x4e\xa1\xaa\xed\x60\x42\xa3\xfc\xa6\x02\x6f\x41\x07\xd8\xe9\xb6\x85\xda\xa1\x0a\x44\x93\xa6\xef\x74\xd8\x40\xd8\x20\xbc\x78\x0e\xca\x34\xf0\x52\x75\x58\x2e\x5c\x9c\x9c\x30\x43\x50\xbd\xb3\xcb\x0a\x7c\x50\xe6\x17\x45\x9b\xd0\x9a\x60\xfb\xf3\xce\xfa\x00\xb5\x35\x2b\xbd\x1e\x9c\x62\xae\x6c\xcf\x7f\x69\xc3\x93\xde\xd9\xe5\xc9\x29\xf8\x1e\x6b\xbd\xd2\x35\xcf\x58\xc0\xb3\xc4\xab\x82\x06\xeb\x56\xd1\xca\x2d\x4e\x67\x81\x5d\x41\x50\xfe\x8e\xf6\x52\x01\x5e\xda\x4e\xd1\xa9\xfc\xc6\x0e\x6d\x03\x6e\x30\x0b\xf8\x4f\xbb\xf4\xb0\x51\x5b\x3a\xcd\xba\xb5\x4b\xd5\xb6\xf7\x30\x18\xfd\xf3\x80\x2c\x85\x33\xb0\x06\xc1\x3a\xe8\x94\xb9\x67\x62\xb0\x76\x76\xe8\xfd\x19\xec\x36\xba\xde\x9c\x9c\x82\x72\x48\x6c\x76\x1e\xdb\x2d\x7a\xa8\x6d\xdb\x62\x4d\xdb\x7b\xda\x7f\xbe\xdc\x2f\x4e\x4e\x4f\x4e\xe1\xaf\xf4\x9b\x75\x08\xda\xac\xac\xeb\x22\xbb\x24\x3e\x7c\xaf\xba\xbe\x45\x0f\x36\x1e\xbe\x94\xda\x19\xf4\x2d\x2a\x8f\xe0\x11\x4f\x4e\x79\xd8\x9a\x56\x1b\x84\xc6\xd6\x43\x87\x26\x08\x9d\xf0\x94\x37\xa1\xff\x36\x21\xf4\xfe\xe9\xc5\xc5\x6e\xb7\x5b\x18\x12\x40\xef\xec\x3b\xac\xc3\x42\xdb\x8b\xc6\xd6\xfe\xe2\x9d\x5d\x9e\x4f\xa4\x46\xbf\x2c\x36\xa1\x6b\x4f\x4e\x4f\x48\xc6\xa5\x11\xfc\x7a\x02\x20\xda\x74\xb8\xd6\xd6\x54\xd0\x2b\xa7\x3a\x0c\xe8\x92\xec\x31\xaa\x36\x8e\x93\x0e\x59\x50\x10\x2c\xe0\x7b\xac\x87\x80\x49\xa9\x0b\x78\xb1\x62\x7a\xb6\xd3\x21\x60\x73\x06\x81\x6c\x50\x9b\x0d\x3a\x1d\x22\x95\x06\x57\x6a\x68\x43\xa2\x46\x2a\x21\xa9\x56\x51\x57\xd5\x82\xd7\xcb\xe0\x4d\xfe\x99\x7e\x1d\x39\x6d\x54\x50\x35\x9a\x80\xce\x1f\x67\xb7\xd5\x3e\x10\xe5\x62\xb2\x30\x1e\xcd\x85\xc9\x2d\x91\x0c\xd5\xeb\x06\x1d\x36\xb0\xdb\xa0\x81\xbe\x55\xb5\x36\xeb\xc8\x3a\x29\x58\x3c\xa9\x1b\x7c\xa0\xf9\xbd\xb3\x5b\xdd\x60\x43\x9c\x96\xb4\x6f\xe0\x1f\x55\x53\x5f\x55\xff\x3c\x19\x19\x0d\xf7\x3d\x96\x1c\xd6\xd6\x04\x67\x5b\x71\x95\xfb\x9e\x8f\xfe\xce\x2e\xc5\xf6\x40\x77\xbd\xaa\x45\x50\xbe\xde\x60\x33\xb4\xe8\xfe\xe8\x99\x60\x83\xb5\xf6\xec\x03\x91\x47\x24\xf3\x10\xde\xa6\xce\xa6\xbd\xf8\x9b\x6a\xd9\x02\x45\xe4\x1e\x82\x65\x4a\x95\x47\xb7\xd5\x35\x56\x0b\xb6\x5a\x05\xab\xa1\x6d\xb3\xbc\xc8\x42\x88\x35\xcf\x6b\xc3\x06\xb5\x83\x46\xaf\x56\xe8\xd0\xd4\xe8\x27\x26\x4b\xd4\x8e\x19\xed\x22\xeb\xec\x90\x6b\x94\x64\x1e\xb7\xfb\x44\xe5\x43\x6d\x9f\xac\xe0\x22\x0b\xcf\x47\xc3\x8f\x44\x58\xe2\x37\xe3\xf9\x0b\x4d\x91\x15\x04\xa7\xb4\x09\x39\xa2\x71\x50\x25\x31\x34\x8d\x16\x69\x8e\xb3\x3c\xac\xac\x9b\xda\x0a\xe9\x91\x09\x6a\x93\xd7\x90\x93\x50\xa0\x70\xe8\xed\xe0\x6a\x8e\x1c\x8d\xd3\xdb\x68\x0b\x89\x96\x68\x51\xf6\xed\x14\x07\x78\xd6\x71\xb4\x52\x15\xc6\xc8\x71\x06\x15\xc7\xab\xea\x8c\x68\x55\x64\xa0\x15\xb4\xb8\xc5\xf6\x8c\x15\xe6\x87\xbe\xb7\x2e\x78\xd8\x2a\xa7\xd5\xb2\x25\xa9\x07\x74\xbd\x6d\x3f\x40\x2b\x87\x03\xd6\xbe\x6c\x3e\xd8\x08\x3e\x49\x83\xb3\xe8\x35\x6e\x5f\xea\xf2\xb4\x10\xa0\x44\x31\x00\x15\x82\xd3\x4b\x8a\x48\x37\x50\xfd\xe1\x57\xfa\xdf\xc5\x1d\x3a\x83\xed\x82\x02\xcd\x43\x25\xf3\xb6\xaa\x1d\x90\xf9\xb9\x81\xaa\xd5\x66\x78\x1f\x47\x1e\x0a\x8b\x18\xfa\x46\x05\xcc\xd6\x30\x0d\x2e\x71\x10\x68\xff\x80\xeb\xfb\x94\x97\x24\x95\x2c\x98\x42\x9c\xc3\x04\xf3\x3c\xed\x61\xf0\xd8\x90\x59\x48\x2c\x20\xdb\x31\x6b\x0f\xad\xbe\x43\x70\xb6\x6d\xc9\x9e\x86\x7e\xed\x54\x43\xce\x56\x2b\xa3\x9c\xa6\x7f\x29\x23\x21\xab\x1d\xf0\x62\xed\x10\x0d\x34\xd8\xb7\xf6\x9e\x84\xed\x29\xf4\x8e\x61\xd7\xd8\x3d\x0e\xb5\x07\x24\x45\xd7\xd8\x30\x7b\x31\x12\xcc\x0e\x39\x31\xbd\x64\x76\x14\x10\xac\x2b\xce\xb7\x80\xbf\xa7\x40\x99\x67\x31\x39\x8e\x64\x3a\x80\xea\xfb\x96\x25\x65\x41\xb5\xad\x08\x85\x71\xc5\x08\x00\xf6\x88\x2c\xad\xc0\x0e\xda\x2f\x1d\x96\x97\x26\xf3\xe6\xa
|
2019-08-26 17:24:59 +00:00
|
|
|
|
2020-05-30 14:29:47 +00:00
|
|
|
func command_assets_connect_nomad() ([]byte, error) {
|
|
|
|
return bindata_read(
|
|
|
|
_command_assets_connect_nomad,
|
2019-08-26 17:24:59 +00:00
|
|
|
"command/assets/connect.nomad",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2020-05-30 14:29:47 +00:00
|
|
|
var _command_assets_example_short_nomad = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x90\xdd\x4a\xc4\x30\x10\x85\xef\xf3\x14\x87\x79\x00\xe9\xee\xb2\x2b\x0a\x79\x12\x11\x49\x93\xb1\xc6\x9a\x4e\x98\xa4\xfe\xb0\xf4\xdd\xa5\xd2\xd6\x0a\xde\x64\xc2\x97\x2f\x39\x87\xbc\x4a\x0b\xe2\x4f\x97\xf2\x1b\x13\xae\x06\x08\xae\x3a\xcf\x43\x65\x2d\xb0\x78\xa0\xe0\x0f\xf4\x68\x0c\xd0\xa9\x8c\x19\xe4\x9d\x7f\x59\x54\xa0\xba\xd2\x83\x94\x43\x2c\x2b\x02\x82\xc6\x77\x56\x58\x50\x10\xdf\xb3\x92\x59\x0e\xbc\x0c\xcf\xb1\xdb\x3c\x20\x26\xd7\xf1\x2c\xfe\xbc\x70\x7f\xba\x39\x6e\x2e\x90\x45\xeb\x53\x72\x79\xe7\x03\xa1\x85\xc5\xe5\x74\x7b\xb7\xb1\xc9\xac\x73\xd9\x28\x17\x19\xd5\x73\xd9\x5d\xf4\x79\x9c\x87\xc5\xb9\x69\x36\x98\x38\x89\x7e\xc1\xe2\x78\xbe\xfc\xc6\x0e\x5c\x3f\x44\xfb\x3f\xa9\xa9\x8d\x75\xfe\x8d\x43\xb3\x83\x73\x3f\x50\x68\x09\xd7\xe9\x9f\x36\xeb\x3a\x99\xc9\x7c\x07\x00\x00\xff\xff\x46\x4a\xe3\x99\x66\x01\x00\x00")
|
2019-08-14 14:23:33 +00:00
|
|
|
|
2020-05-30 14:29:47 +00:00
|
|
|
func command_assets_example_short_nomad() ([]byte, error) {
|
|
|
|
return bindata_read(
|
|
|
|
_command_assets_example_short_nomad,
|
2019-08-14 14:23:33 +00:00
|
|
|
"command/assets/example-short.nomad",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2020-05-30 14:29:47 +00:00
|
|
|
var _command_assets_example_nomad = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x5b\xdd\x6f\x24\x37\x72\x7f\xd7\x5f\x51\x68\x05\xb8\x04\x90\x46\x1f\x6b\xd9\xf1\x02\xf3\x60\xfb\x72\xf1\x26\xf1\x25\x88\x9d\x1c\x82\xf8\x20\xb0\xbb\x6b\xa6\xb9\xc3\x26\xdb\x24\x7b\x66\x67\x17\xfa\xdf\x83\x2a\x7e\x34\x7b\x66\xa4\x95\xb5\xc8\xc9\x0f\xbb\xeb\x21\x59\x2c\x56\xfd\xea\x93\xec\x73\xf8\xa5\x43\x8b\xd0\x08\x0d\x46\xab\x3d\xd4\x08\x02\x9c\xd4\x6b\x85\xf0\xde\xd4\xd0\xe2\x4a\x6a\xe9\xa5\xd1\x30\xa0\x85\x95\x54\xb8\x80\x5f\x3a\xe9\x78\x54\x3a\xd0\xa2\xc7\xf6\xec\x1c\x2a\xfc\x20\xfa\x41\x61\x05\xce\x80\xf4\xb0\x93\x4a\x41\x63\x51\x78\xa2\x48\x93\x77\xd2\x77\xe0\x3b\x84\x77\x7f\x04\xa1\x5b\xf8\xb3\xe8\x71\x5a\xb6\x38\x3b\x63\x66\xa0\x7a\x6f\xea\x0a\x9c\x17\xfa\xa3\xa0\x0d\x68\x85\x37\xc3\x65\x6f\x9c\x87\xc6\xe8\x95\x5c\x8f\x56\x30\x47\x66\xe0\xbf\xa4\xe6\x49\xef\x4d\x7d\x76\x0e\x6e\xc0\x46\xae\x64\xc3\x33\x16\xf0\x5d\xe2\x53\x40\x8b\x8d\x12\xb4\x72\x8b\xf3\x59\x60\x56\xe0\x85\xdb\xd0\x5e\xc2\xc3\x9f\x4d\x2f\xe8\x44\xae\x33\xa3\x6a\xc1\x8e\x7a\x01\xff\x62\x6a\x07\x9d\xd8\xd2\x59\xd6\xca\xd4\x42\xa9\x3d\x8c\x5a\xfe\x36\x22\x4b\xe0\x02\x8c\x46\x30\x16\x7a\xa1\xf7\x4c\x0c\xd6\xd6\x8c\x83\xbb\x80\x5d\x27\x9b\xee\xec\x1c\x84\x45\x62\xb3\x77\xa8\xb6\xe8\xa0\x31\x4a\x61\x43\xdb\x3b\xda\xff\x70\xb9\x5b\x9c\x9d\x9f\x9d\xc3\x9f\xe8\x37\x63\x11\xa4\x5e\x19\xdb\x07\x76\x49\x78\x51\x6c\x0e\x4c\x38\x7c\x29\xb5\x0b\x18\x14\x0a\x87\xe0\x10\xcf\xce\x79\xd8\x68\x25\x35\x42\x6b\x9a\xb1\x47\xed\x23\x1d\xff\x96\x37\xa1\xff\x3a\xef\x07\xf7\xf6\xea\x6a\xb7\xdb\x2d\x34\x09\x60\xb0\xe6\x3d\x36\x7e\x21\xcd\x55\x6b\x1a\x77\xf5\xde\xd4\x97\x33\xa9\xd1\x2f\x8b\xce\xf7\xea\xec\xfc\x8c\x64\x3c\x01\xe0\xd3\x19\x40\xd4\xa5\xc5\xb5\x34\xba\x82\x41\x58\xd1\xa3\x47\x9b\x24\x8f\x41\xb1\x61\x9c\x34\xc8\x62\x02\x6f\x00\x3f\x60\x33\x7a\x4c\x2a\x5d\x30\xb1\x77\x2b\x30\xbd\xf4\x1e\xdb\x0b\xf0\x84\x3e\xa9\x3b\xb4\xd2\x07\x2a\x2d\xae\xc4\xa8\x7c\xa2\x46\x0a\x21\x99\x56\x41\x53\x55\x20\x11\x07\x97\xf9\x67\xfa\x75\xe2\xb4\x15\x5e\x34\xa8\x3d\x5a\xf7\x38\xbb\x4a\x3a\x4f\x94\x8b\xc9\x91\xf1\x00\x16\x26\x57\x23\xc1\xd4\xc9\x16\x2d\xb6\xb0\xeb\x50\xc3\xa0\x44\x23\xf5\x3a\xb0\x4e\xea\x8d\x36\xd4\x8f\xce\xd3\xfc\xc1\x9a\xad\x6c\xb1\x25\x4e\x4b\xda\x4b\xf8\xdf\xaa\x6d\x6e\xaa\xbf\x9e\x4d\x8c\xfa\xfd\x80\x25\x87\x8d\xd1\xde\x1a\x15\x0d\x65\x3f\xf0\xd1\xdf\x9b\x3a\x22\x0f\x64\x3f\x88\x26\x0a\xca\x35\x1d\xb6\xa3\x42\xfb\x07\xc7\x04\x5b\x6c\xa4\x63\x0b\x08\x3c\x22\x81\x23\xf2\x36\x37\x35\xe9\xa2\xb5\x09\xc5\xf8\x8b\x22\x77\xe0\x0d\x53\xaa\x1c\xda\xad\x6c\xb0\x5a\x30\x66\x05\xac\x46\xa5\xb2\xbc\x08\x1f\xc4\x9a\xe3\xb5\xbe\x43\x69\xa1\x95\xab\x15\x5a\xd4\x0d\xba\x19\x60\x89\xda\x63\x90\x5d\x64\x9d\x9d\x32\x8c\x92\xcc\xd3\xa8\x4f\x54\x9e\x8b\x7c\x42\xc1\x55\x16\x9e\x0b\xb0\x0f\x44\x58\xe2\xcb\xe9\xfc\x85\xa6\x08\x05\xde\x0a\xa9\x7d\xf6\x67\xec\x4e\x49\x0c\x6d\x2b\xa3\x34\xa7\x59\x0e\x56\xc6\xce\xb1\x42\x7a\x64\x82\x52\xe7\x35\x64\x24\xe4\x26\x2c\x3a\x33\xda\x86\xfd\x46\x6b\xe5\x36\x60\x21\xd1\x8a\x5a\x8c\xfb\xf6\x82\x5d\x3b\xeb\x38\xa0\x54\xf8\xc9\x6f\x5c\x40\xc5\xde\xaa\xba\x20\x5a\x15\x01\xb4\x02\x85\x5b\x54\x17\xac\x30\x37\x0e\x83\xb1\xde\xc1\x56\x58\x29\x6a\x45\x52\xf7\x68\x07\xa3\x9e\xa1\x95\xd3\xee\xea\x58\x36\xcf\x06\xc1\x8b\x34\x78\xe0\xbb\xa6\xed\x4b\x5d\x9e\x17\x02\x8c\x5e\x0c\x40\x78\x6f\x65\x4d\x1e\x69\x09\xd5\xdf\x7d\xa2\xff\x5d\x6c\xd0\x6a\x54\x0b\x72\x34\x0f\x55\x9c\xb7\x15\x6a\x44\xe6\x67\x09\x95\x92\x7a\xfc\x10\x46\x1e\x0a\x44\x8c\x43\x2b\x3c\x66\x34\xcc\x9d\x4b\x18\x04\xda\xdf\xe3\x7a\x9f\xa2\x52\x0c\x24\x0b\xa6\x10\xe6\x30\xc1\x3c\x4f\x3a\x18\x1d\xb6\x04\x8b\xe8\x0b\x08\x3b\x7a\xed\x40\xc9\x0d\x82\x35\x4a\x11\x9e\xc6\x61\x6d\x45\x4b\xc6\xd6\x08\x2d\xac\xa4\x7f\x09\x1d\x5d\x96\x1a\xf1\x6a\x6d\x11\x35\xb4\x38\x28\xb3\x27\x61\xbb\xc5\xcc\xed\x6a\x73\xc4\xa1\x74\x80\xa4\xe8\x06\x5b\x66\x2f\x78\x82\x83\x43\xce\xa0\x97\x60\x47\x0e\xc1\xd8\xe2\x7c\x0b\xf8\x4b\x72\x94\x79\x16\x93\x63\x4f\x26\x3d\x88\x61\x50\x2c\x29\x03\x42\xa9\x28\x14\xce\x29\xa6\xf0\x7f\x44\xa4\x36\x31\xe5\xa0\xfd\xd2\x61\x79\x69\x82\x37\x7b\x45\x66\xd4\x71\x84\xee\xd1\xae\xc9\x6b\xa7\x5c\x85\x27\xff\x81\x9c\xf
|
2019-08-14 14:23:33 +00:00
|
|
|
|
2020-05-30 14:29:47 +00:00
|
|
|
func command_assets_example_nomad() ([]byte, error) {
|
|
|
|
return bindata_read(
|
|
|
|
_command_assets_example_nomad,
|
2019-08-14 14:23:33 +00:00
|
|
|
"command/assets/example.nomad",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 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 {
|
2020-05-30 14:29:47 +00:00
|
|
|
return f()
|
2019-08-14 14:23:33 +00:00
|
|
|
}
|
|
|
|
return nil, fmt.Errorf("Asset %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.
|
2020-05-30 14:29:47 +00:00
|
|
|
var _bindata = map[string]func() ([]byte, error){
|
|
|
|
"command/assets/connect-short.nomad": command_assets_connect_short_nomad,
|
|
|
|
"command/assets/connect.nomad": command_assets_connect_nomad,
|
|
|
|
"command/assets/example-short.nomad": command_assets_example_short_nomad,
|
|
|
|
"command/assets/example.nomad": command_assets_example_nomad,
|
2019-08-14 14:23:33 +00:00
|
|
|
}
|
|
|
|
// 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))
|
2020-05-30 14:29:47 +00:00
|
|
|
for name := range node.Children {
|
|
|
|
rv = append(rv, name)
|
2019-08-14 14:23:33 +00:00
|
|
|
}
|
|
|
|
return rv, nil
|
|
|
|
}
|
|
|
|
|
2020-05-30 14:29:47 +00:00
|
|
|
type _bintree_t struct {
|
|
|
|
Func func() ([]byte, error)
|
|
|
|
Children map[string]*_bintree_t
|
|
|
|
}
|
|
|
|
var _bintree = &_bintree_t{nil, map[string]*_bintree_t{
|
|
|
|
"command": &_bintree_t{nil, map[string]*_bintree_t{
|
|
|
|
"assets": &_bintree_t{nil, map[string]*_bintree_t{
|
|
|
|
"connect-short.nomad": &_bintree_t{command_assets_connect_short_nomad, map[string]*_bintree_t{
|
|
|
|
}},
|
|
|
|
"connect.nomad": &_bintree_t{command_assets_connect_nomad, map[string]*_bintree_t{
|
|
|
|
}},
|
|
|
|
"example-short.nomad": &_bintree_t{command_assets_example_short_nomad, map[string]*_bintree_t{
|
|
|
|
}},
|
|
|
|
"example.nomad": &_bintree_t{command_assets_example_nomad, map[string]*_bintree_t{
|
|
|
|
}},
|
2019-08-14 14:23:33 +00:00
|
|
|
}},
|
|
|
|
}},
|
|
|
|
}}
|