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
}
2021-01-10 23:09:08 +00:00
var _commandAssetsConnectShortNomad = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x52\xc1\x4e\xdc\x30\x10\xbd\xe7\x2b\x46\x56\xaf\xd5\x06\x7a\x01\xa4\x1c\x56\xec\xaa\x42\x2a\x4b\x15\xd8\x5e\xaa\xca\x9a\xd8\xd3\xc4\x5d\x62\x5b\xf6\x6c\x68\x85\xf2\xef\x55\xdc\x34\x64\xa1\x20\xca\x5e\xbc\x79\x33\xf6\x7b\xf3\xe6\xfd\x70\x15\x08\xe5\xf6\x96\x35\xc6\x46\xc0\x7d\x06\xa0\x91\x51\x91\x65\x0a\x11\x0a\xf8\x2a\xb4\x3a\x12\xdf\xb2\x0c\xa0\x0e\x6e\xef\x41\xa0\x37\x7f\x1a\x01\x2c\xf1\x9d\x0b\xbb\xf1\x0b\xa0\x75\x9a\xa0\x00\x51\x05\xa3\x6b\x12\x09\xed\xb3\x74\x44\x0a\x9d\x51\x34\xb5\x5a\x6c\x53\x6b\x22\x7f\x3f\xbc\x39\x16\xbc\x0b\x3c\x14\x4e\xf3\xfc\x48\x64\x23\xa8\x9c\xb5\xa4\x78\xba\x0d\x10\x8d\x26\x85\x41\x4e\xef\xf6\x63\xa9\x9f\xb3\x32\xc6\x1d\x88\x3b\xaa\xc4\x74\x55\x07\xd3\x51\x18\x18\xb4\x53\x3b\x0a\x73\x8e\xef\xa6\x9e\x51\x98\x16\xeb\xa4\xb1\xc1\xd8\x18\xe5\x82\xb7\xae\x45\xbd\x48\x92\x29\x0c\xa2\xcf\xba\x0f\xe2\x11\xef\xc8\x3d\x9a\x35\xd8\x5a\x39\x0c\xfa\xb5\x96\xcd\x5d\x10\x0d\xb3\x17\xf3\xa1\x19\xd9\x28\x28\xe0\x34\xcf\x8f\x27\x94\x5d\x3a\x0e\xd0\xfe\xf5\xde\x3f\x48\x7c\xba\x81\xe3\xff\xd9\xc0\x54\x01\xf0\xc1\xfd\xfc\x75\x80\x00\xec\x7d\xe4\x40\xd8\xc6\x47\x38\x80\xa6\xc8\xc6\x22\x1b\x67\xe5\xb3\xb9\xf8\xfb\xbb\x75\x0a\x6f\x65\x65\xac\x96\x49\x28\x14\x70\x92\x9f\xe4\x07\x5d\x7d\xf6\xaf\xff\x2f\x24\xe4\xc9\x9a\x5e\xc8\x09\xd9\x6e\x36\xc1\xf9\xd5\x76\x73\x73\xb1\xf9\x28\xaf\xd7\xe5\x97\x8b\xf3\xb5\xdc\x96\x9f\x52\x66\x98\xfd\xd9\x62\xf1\xee\x7e\x73\x75\xb9\x5c\xc9\xed\xe7\xeb\x9b\x72\xbd\xbc\x94\xcb\xd5\xaa\x94\x69\x38\x89\xde\xf4\x0f\xe9\x79\x6b\x0a\x27\xe9\xcf\x64\xb1\xcf\x7e\x07\x00\x00\xff\xff\x84\x61\x89\x9b\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
}
2021-01-10 23:09:08 +00:00
info := bindataFileInfo{name: "command/assets/connect-short.nomad", size: 997, mode: os.FileMode(436), modTime: time.Unix(1610319873, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2021-01-10 23:09:08 +00:00
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\x90\x95\xd8\xc2\x7f\x0f\x50\x2c\xe7\x4e\x77\xb1\x72\x90\xe4\xcb\x8b\xc0\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\x28\x01\x24\x79\x48\x16\x8b\xf5\xf8\xab\x22\xfb\x14\xde\x6e\xd0\x21\xd4\xca\x80\x35\xed\x3d\x2c\x11\x14\x78\x6d\xd6\x2d\xc2\x7b\xbb\x84\x06\x57\xda\xe8\xa0\xad\x81\x1e\x1d\xac\x74\x8b\x0b\x78\xbb\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\x7c\x01\xca\x34\xf0\x4a\x75\x58\x2e\x5c\x9c\x9c\x30\x43\x50\xbd\xb7\xcb\x0a\x7c\x50\xe6\x67\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\xdb\xe5\xc9\x29\xf8\x1e\x6b\xbd\xd2\x35\xcf\x58\xc0\xf3\xc4\xab\x82\x06\xeb\x56\xd1\xca\x2d\x4e\x67\x81\x5d\x41\x50\xfe\x8e\xf6\x52\x01\x5e\xd9\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\xd3\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\xfc\xa0\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\x8c\x37\xa1\xff\x6d\x42\xe8\xfd\xb3\x8b\x8b\xdd\x6e\xb7\x30\x24\x80\xde\xd9\xf7\x58\x87\x85\xb6\x17\x8d\xad\xfd\xc5\x7b\xbb\x3c\x9f\x48\x8d\x7e\x59\x6c\x42\xd7\x9e\x9c\x9e\x90\x8c\x4b\x23\xf8\xe5\x04\x40\xb4\xe9\x70\xad\xad\xa9\xa0\x57\x4e\x75\x18\xd0\x25\xd9\x63\x54\x6d\x1c\x27\x1d\xb2\xa0\x20\x58\xc0\x0f\x58\x0f\x01\x93\x52\x17\xf0\x72\xc5\xf4\x6c\xa7\x43\xc0\xe6\x0c\x02\xd9\xa0\x36\x1b\x74\x3a\x44\x2a\x0d\xae\xd4\xd0\x86\x44\x8d\x54\x42\x52\xad\xa2\xae\xaa\x05\xaf\x97\xc1\x9b\xfc\x33\xfd\x3a\x72\xda\xa8\xa0\x6a\x34\x01\x9d\x3f\xce\x6e\xab\x7d\x20\xca\xc5\x64\x61\x3c\x9a\x0b\x93\x5b\x22\x19\xaa\xd7\x0d\x3a\x6c\x60\xb7\x41\x03\x7d\xab\x6a\x6d\xd6\x91\x75\x52\xb0\x78\x52\x37\xf8\x40\xf3\x7b\x67\xb7\xba\xc1\x86\x38\x2d\x69\xdf\xc0\x3f\xab\xa6\xbe\xaa\x7e\x3c\x19\x19\x0d\xf7\x3d\x96\x1c\xd6\xd6\x04\x67\x5b\x71\x95\xfb\x9e\x8f\xfe\xde\x2e\xc5\xf6\x40\x77\xbd\xaa\x45\x50\xbe\xde\x60\x33\xb4\xe8\x7e\xef\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\x63\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\x42\x2b\x87\x03\xd6\xbe\x6c\x3e\xda\x08\x3e\x4b\x83\xb3\xe8\x35\x6e\x5f\xea\xf2\xb4\x10\xa0\x44\x31\x00\x15\x82\xd3\x4b\x8a\x48\x37\x50\xfd\xee\x17\xfa\xcf\xc5\x1d\x3a\x83\xed\x82\x02\xcd\x43\x25\xf3\xb6\xaa\x1d\x90\xf9\xb9\x81\xaa\xd5\x66\xf8\x10\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\x7f\xa4\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
}
2021-01-10 23:09:08 +00:00
info := bindataFileInfo{name: "command/assets/connect.nomad", size: 17842, mode: os.FileMode(436), modTime: time.Unix(1610319873, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _commandAssetsExampleShortNomad = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x5c\x4f\xed\x4e\xc3\x30\x0c\xfc\x9f\xa7\x38\xf9\x01\xd0\xd8\xb4\x21\x90\xf2\x24\x68\x3f\x52\xc7\x94\x52\x5a\x47\x4e\xca\x87\xd0\xde\x1d\x75\x8b\x42\xc5\x8f\xe4\x92\xf3\xf9\xec\x7b\xd3\x0e\x24\x5f\x61\x4a\xef\x42\xf8\x71\x40\x0c\x25\xb0\xcc\x45\x2c\xc3\xe3\x99\x22\xdf\xd3\xd9\x39\xa0\x37\x5d\x12\x88\x03\xbf\x56\x29\x30\x4b\xf9\x54\x1b\xeb\x0f\x48\x6a\x05\x14\x3b\x6a\x0c\x50\x14\x1e\xa7\xc3\xc3\x63\x65\x2e\xee\x76\x5f\xa1\x84\x3c\x82\x4c\xe2\x90\xff\x7a\xa2\x0d\x1f\x62\xf0\xa0\xa8\x3c\x8a\x91\xab\x05\xd6\xf9\x65\xe8\x37\xde\xc3\x14\x7a\x59\x85\x57\x87\xa7\xc3\xdd\xbe\x69\x6f\xcb\xd4\x0c\x1d\x9d\xdb\xf4\xfa\x30\xc9\xba\x18\x4b\xde\xd8\x71\x5a\x56\xf0\x38\xee\x76\x8d\x9c\x64\x52\xfb\x86\xc7\xfe\x78\xfa\x17\x61\x3d\x17\xf7\x1b\x00\x00\xff\xff\x4b\x71\xf7\x97\x44\x01\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
}
2021-01-10 23:09:08 +00:00
info := bindataFileInfo{name: "command/assets/example-short.nomad", size: 324, mode: os.FileMode(436), modTime: time.Unix(1610319873, 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\x06\xf3\x60\xfb\x72\xf1\x26\xf1\x25\x88\x9d\x1c\x82\xf8\x20\x70\xba\x6b\xa6\xb9\xc3\x26\xdb\x24\x7b\x66\x67\x17\xfa\xdf\x83\x2a\x7e\x34\xbb\x67\xa4\x95\x65\x9c\xb5\x0f\xb3\xbb\xdd\x64\xb1\x58\x9f\xbf\x2a\xb2\xcf\xe1\xa7\x16\x2d\x42\x2d\x34\x18\xad\x0e\xb0\x42\x10\xe0\xa4\xde\x28\x84\xf7\x66\x05\x0d\xae\xa5\x96\x5e\x1a\x0d\x3d\x5a\x58\x4b\x85\x0b\xf8\xa9\x95\x8e\xdf\x4a\x07\x5a\x74\xd8\x9c\x9d\x43\x85\x1f\x44\xd7\x2b\xac\xc0\x19\x90\x1e\xf6\x52\x29\xa8\x2d\x0a\x4f\x14\x69\xf0\x5e\xfa\x16\x7c\x8b\xf0\xee\x8f\x20\x74\x03\x7f\x16\x1d\x8e\xd3\x16\x67\x67\xcc\x0c\x54\xef\xcd\xaa\x02\xe7\x85\xfe\x28\x68\x01\x9a\xe1\x4d\x7f\xd9\x19\xe7\xa1\x36\x7a\x2d\x37\x83\x15\xcc\x91\xe9\xf9\x2f\xa9\x79\xd0\x7b\xb3\x3a\x3b\x07\xd7\x63\x2d\xd7\xb2\xe6\x11\x0b\xf8\x26\xf1\x29\xa0\xc1\x5a\x09\x9a\xb9\xc3\xe9\x28\x30\x6b\xf0\xc2\x6d\x69\x2d\xe1\xe1\xcf\xa6\x13\xb4\x23\xd7\x9a\x41\x35\x60\x07\xbd\x80\x7f\x35\x2b\x07\xad\xd8\xd1\x5e\x36\xca\xac\x84\x52\x07\x18\xb4\xfc\x65\x40\x96\xc0\x05\x18\x8d\x60\x2c\x74\x42\x1f\x98\x18\x6c\xac\x19\x7a\x77\x01\xfb\x56\xd6\xed\xd9\x39\x08\x8b\xc4\x66\xe7\x50\xed\xd0\x41\x6d\x94\xc2\x9a\x96\x77\xb4\xfe\x7c\xba\x5b\x9c\x9d\x9f\x9d\xc3\x9f\xe8\x99\xb1\x08\x52\xaf\x8d\xed\x02\xbb\x24\xbc\x28\x36\x07\x26\x6c\xbe\x94\xda\x05\xf4\x0a\x85\x43\x70\x88\x67\xe7\xfc\xda\x68\x25\x35\x42\x63\xea\xa1\x43\xed\x23\x1d\xff\x96\x17\xa1\x3f\xad\xf7\xbd\x7b\x7b\x75\xb5\xdf\xef\x17\x9a\x04\xd0\x5b\xf3\x1e\x6b\xbf\x90\xe6\xaa\x31\xb5\xbb\x7a\x6f\x56\x97\x13\xa9\x5d\xb1\xbc\xcf\x48\xbc\xa3\xee\x3f\x9d\x01\x44\x35\x5a\xdc\x48\xa3\x2b\xe8\x85\x15\x1d\x7a\xb4\x49\xe8\x18\x74\x1a\xde\x93\xf2\x58\x42\xe0\x0d\xe0\x07\xac\x07\x8f\x49\x9b\x0b\x26\xf6\x6e\x0d\xa6\x93\xde\x63\x73\x01\x9e\x0c\x4f\xea\x16\xad\xf4\x81\x4a\x83\x6b\x31\x28\x9f\xa8\x91\x2e\x48\x9c\x55\x50\x52\x15\x48\xc4\x97\xcb\xfc\x98\x9e\x8e\x9c\x36\xc2\x8b\x1a\xb5\x47\xeb\x1e\x67\x57\x49\xe7\x89\x72\x31\x38\x32\x1e\xec\x84\xc9\xad\x90\x2c\xd4\xc9\x06\x2d\x36\xb0\x6f\x51\x43\xaf\x44\x2d\xf5\x26\xb0\x4e\x9a\x8d\xee\xd3\x0d\xce\xd3\xf8\xde\x9a\x9d\x6c\xb0\x21\x4e\x4b\xda\x4b\xf8\xbf\xaa\xa9\x6f\xaa\xbf\x9e\x8d\x8c\xfa\x43\x8f\x25\x87\xb5\xd1\xde\x1a\x15\x7d\xe4\xd0\xf3\xd6\xdf\x9b\x55\x34\x3a\x90\x5d\x2f\xea\x28\x28\x57\xb7\xd8\x0c\x0a\xed\x1f\x1c\x13\x6c\xb0\x96\x8e\x8d\x3f\xf0\x88\x64\x17\x91\xb7\xa9\x97\x49\x17\x1d\x4d\x28\x36\xbd\x28\x72\x07\xde\x30\xa5\xca\xa1\xdd\xc9\x1a\xab\x05\x9b\xab\x80\xf5\xa0\x54\x96\x17\xd9\x07\xb1\xe6\x78\xae\x6f\x51\x5a\x68\xe4\x7a\x8d\x16\x75\x8d\x6e\x62\xab\x44\xed\x31\x6b\x5d\x64\x9d\x9d\xf2\x89\x92\xcc\xd3\x06\x9f\xa8\x3c\xcb\xe8\xb3\xd0\x5c\x9c\xc7\x42\x5e\x8e\x5b\x2e\x94\x43\x8a\xf7\x56\x48\xed\x73\xf4\xe2\xe0\x49\x3b\x6f\x1a\x19\x05\x38\x8e\x72\xb0\x36\x76\x6a\x1e\xa4\x3a\x26\x28\x75\x9e\x43\x7e\x41\x41\xc1\xa2\x33\x83\xad\x39\x4a\x34\x56\xee\x82\xfa\x13\xad\xa8\xb8\xb8\x6e\x27\x38\x90\xb3\x5a\x83\x61\x0a\x3f\x46\x89\x0b\xa8\x38\x36\x55\x17\x44\xab\x22\x9b\xac\x40\xe1\x0e\xd5\x05\xeb\xc8\x0d\x7d\x6f\xac\x77\xb0\x13\x56\x8a\x95\x22\x41\x7b\xb4\xbd\x51\xcf\x50\xc4\xe9\xe0\x74\x2c\x9b\x67\xeb\xfd\xd7\x2b\xed\x38\x52\x8d\xcb\x67\x4a\xe3\xa3\x18\xb3\x00\x84\xf7\x56\xae\x28\xfe\x2c\xa1\xfa\xbb\x4f\xf4\xdf\xc5\x16\xad\x46\xb5\xa0\xb0\xf2\x50\xc5\x71\x3b\xa1\x06\x64\x56\x96\x50\x29\xa9\x87\x0f\xe1\xcd\x43\x61\x0c\x43\xdf\x08\x8f\xd9\x10\xa6\xa1\x24\xbc\x04\x5a\xdf\xe3\xe6\x90\xd2\x4f\xcc\x18\x0b\xa6\x10\xc6\x30\xc1\x3c\x4e\x3a\x18\x1c\x36\x64\x11\xd1\xf3\xc9\x6c\xf4\xc6\x81\x92\x5b\x04\x6b\x94\x22\x53\x1a\xfa\x8d\x15\x0d\xb9\x56\x2d\xb4\xb0\x92\xfe\x25\x74\x0c\x50\x6a\xc0\xab\x8d\x45\xd4\xd0\x60\xaf\xcc\x81\xe4\xec\x16\x93\x20\xab\xcd\x11\x87\xd2\x01\x92\x8e\x6b\x6c\x98\xbd\xe0\xf7\xb3\x4d\x4e\xac\x2e\x59\x1c\xb9\xbf\xb1\xc5\xfe\x16\xf0\x97\x14\x16\xf3\x28\x26\xc7\x71\x4b\x7a\x10\x7d\xaf\x58\x52\x06\x84\x52\x51\x28\x0c\x1e\xc6\x3c\x7f\x44\x64\x65\x22\xb6\xa0\xf5\xd2\x66\x79\x6a\xb2\x6c\x8e\x81\xcc\xa8\xe3\x54\xdc\xa1\xdd\x50\x8c\x4e\xa0\x84\x07\xff\x81\x42\xf4\x96\x84\xd8\x5b\xac\xb1\xa1\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
}
2021-01-10 23:09:08 +00:00
info := bindataFileInfo{name: "command/assets/example.nomad", size: 16057, mode: os.FileMode(436), modTime: time.Unix(1610319873, 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")
}