open-nomad/command/job_init.bindata_assetfs.go

320 lines
49 KiB
Go
Raw Normal View History

// Code generated by go-bindata.
// sources:
// command/assets/connect-short.nomad
// command/assets/connect.nomad
// command/assets/example-short.nomad
// command/assets/example.nomad
// DO NOT EDIT!
package command
import (
"github.com/elazarl/go-bindata-assetfs"
"bytes"
"compress/gzip"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
"time"
)
func bindataRead(data []byte, name string) ([]byte, error) {
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)
clErr := gz.Close()
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
if clErr != nil {
return nil, err
}
return buf.Bytes(), nil
}
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 _commandAssetsConnectShortNomad = []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")
func commandAssetsConnectShortNomadBytes() ([]byte, error) {
return bindataRead(
_commandAssetsConnectShortNomad,
"command/assets/connect-short.nomad",
)
}
func commandAssetsConnectShortNomad() (*asset, error) {
bytes, err := commandAssetsConnectShortNomadBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "command/assets/connect-short.nomad", size: 997, mode: os.FileMode(420), modTime: time.Unix(1566326933, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _commandAssetsConnectNomad = []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\xa8\x
func commandAssetsConnectNomadBytes() ([]byte, error) {
return bindataRead(
_commandAssetsConnectNomad,
"command/assets/connect.nomad",
)
}
func commandAssetsConnectNomad() (*asset, error) {
bytes, err := commandAssetsConnectNomadBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "command/assets/connect.nomad", size: 17625, mode: os.FileMode(420), modTime: time.Unix(1566326933, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _commandAssetsExampleShortNomad = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x51\xd1\x6e\x83\x30\x0c\x7c\xcf\x57\x9c\xf2\xbc\x4d\xb4\x55\x3b\x6d\x12\x5f\x32\x55\x53\x48\x3c\x9a\x95\x90\xc8\x09\x6c\x55\xc5\xbf\x4f\xd0\x42\xc3\xc3\x5e\x30\xba\x3b\xfb\xec\xcb\xb7\xaf\x20\xe9\x57\xb9\xd0\x90\xc4\x55\x00\x46\x25\xa5\xa9\x4d\xc4\x11\x25\x3e\xa4\xd1\x1b\x79\x14\x02\xa8\xd9\x77\x01\x52\x2b\x7d\xba\x4b\x81\xa4\xe2\x19\x92\xc9\xd8\x38\x43\x80\x61\xdb\x13\xa3\x84\x34\x5e\x9f\x89\xa5\xb8\x13\xda\xb7\x5f\xb6\x5e\x74\x80\x75\xaa\xa6\x51\x38\x4d\x78\xdf\xbd\x6c\x17\x2d\x10\x3c\xa7\x4f\xa7\x42\xa6\x07\x4c\x85\x12\x87\xdd\xeb\xdb\x82\x0d\x62\xae\xf7\x1f\xa6\xe8\x3b\xd6\x14\xb3\x46\x1d\xba\xb1\x94\xd8\x17\xc5\x02\x3a\x72\x9e\x2f\x28\xb1\xdd\x1f\x1e\xb6\x2d\xa5\x1f\xcf\xe7\x95\xab\xab\x6c\x1a\xd3\xd8\x14\x19\x38\xee\x07\x48\x53\x49\xe0\x3a\xfc\xbf\x4f\x24\xee\xad\xa6\x6c\x60\xab\xdc\xe3\xea\xe7\x5b\xa0\x0b\x99\x54\x7d\x0b\xbe\x6e\x7c\xa5\x1a\xf9\x34\x47\x7e\x5c\x25\x33\xc5\x5b\x65\x71\xe9\x13\xe9\xf5\xd6\x93\xcd\xed\x6c\xa9\x1a\xdb\x67\x26\x40\xba\x84\x85\x4c\x3a\xe4\x94\x1d\x1f\xbf\x57\xcd\x48\x6d\x8a\xb8\xea\xb2\x8e\x7c\x97\xa6\xae\x6d\xc6\x3c\x8e\x9e\xbf\x83\x18\xc4\x5f\x00\x00\x00\xff\xff\xfb\x5f\xf9\x77\x5d\x02\x00\x00")
func commandAssetsExampleShortNomadBytes() ([]byte, error) {
return bindataRead(
_commandAssetsExampleShortNomad,
"command/assets/example-short.nomad",
)
}
func commandAssetsExampleShortNomad() (*asset, error) {
bytes, err := commandAssetsExampleShortNomadBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "command/assets/example-short.nomad", size: 605, mode: os.FileMode(420), modTime: time.Unix(1566326933, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _commandAssetsExampleNomad = []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\xf6\x
func commandAssetsExampleNomadBytes() ([]byte, error) {
return bindataRead(
_commandAssetsExampleNomad,
"command/assets/example.nomad",
)
}
func commandAssetsExampleNomad() (*asset, error) {
bytes, err := commandAssetsExampleNomadBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "command/assets/example.nomad", size: 15629, mode: os.FileMode(420), modTime: time.Unix(1566326933, 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){
"command/assets/connect-short.nomad": commandAssetsConnectShortNomad,
"command/assets/connect.nomad": commandAssetsConnectNomad,
"command/assets/example-short.nomad": commandAssetsExampleShortNomad,
"command/assets/example.nomad": commandAssetsExampleNomad,
}
// 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{
"command": &bintree{nil, map[string]*bintree{
"assets": &bintree{nil, map[string]*bintree{
"connect-short.nomad": &bintree{commandAssetsConnectShortNomad, map[string]*bintree{}},
"connect.nomad": &bintree{commandAssetsConnectNomad, map[string]*bintree{}},
"example-short.nomad": &bintree{commandAssetsExampleShortNomad, map[string]*bintree{}},
"example.nomad": &bintree{commandAssetsExampleNomad, 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, "/")...)...)
}
func assetFS() *assetfs.AssetFS {
assetInfo := func(path string) (os.FileInfo, error) {
return os.Stat(path)
}
for k := range _bintree.Children {
return &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: assetInfo, Prefix: k}
}
panic("unreachable")
}