2017-10-19 22:20:39 +00:00
|
|
|
// Code generated by go-bindata.
|
|
|
|
// sources:
|
2018-06-01 22:23:10 +00:00
|
|
|
// ui/dist/assets/nomad-ui-ad7b09549502674646af03f41d1d62f1.css
|
2018-06-11 20:39:42 +00:00
|
|
|
// ui/dist/assets/nomad-ui-d4e693a82d9bb50c3b64289ff72827ee.js
|
2018-06-01 22:23:10 +00:00
|
|
|
// ui/dist/assets/vendor-ba9b921906f8503d3378ceb83aece15b.js
|
2017-10-19 22:20:39 +00:00
|
|
|
// ui/dist/assets/vendor-d41d8cd98f00b204e9800998ecf8427e.css
|
|
|
|
// ui/dist/crossdomain.xml
|
2018-03-19 22:49:25 +00:00
|
|
|
// ui/dist/ember-fetch/fastboot-fetch-805e176077930c98aec5834ae48bd0f2.js
|
2017-10-19 22:20:39 +00:00
|
|
|
// ui/dist/favicon-1c2527a7a07d130ecbafce75e4615a69.png
|
2018-06-01 22:23:10 +00:00
|
|
|
// ui/dist/images/icons/clock.svg
|
|
|
|
// ui/dist/images/icons/history.svg
|
2017-12-12 01:30:37 +00:00
|
|
|
// ui/dist/images/icons/media-pause.svg
|
|
|
|
// ui/dist/images/icons/media-play.svg
|
2017-10-19 22:20:39 +00:00
|
|
|
// ui/dist/images/icons/warning.svg
|
|
|
|
// ui/dist/images/nomad-logo.svg
|
|
|
|
// ui/dist/index.html
|
|
|
|
// ui/dist/robots.txt
|
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
// +build ui
|
|
|
|
|
|
|
|
package agent
|
|
|
|
|
|
|
|
import (
|
|
|
|
"bytes"
|
|
|
|
"compress/gzip"
|
|
|
|
"fmt"
|
|
|
|
"io"
|
|
|
|
"os"
|
|
|
|
"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
|
|
|
|
}
|