2019-08-10 05:07:43 +00:00
|
|
|
// Code generated for package static by go-bindata DO NOT EDIT. (@generated)
|
2019-03-20 00:27:44 +00:00
|
|
|
// sources:
|
2019-08-20 02:00:24 +00:00
|
|
|
// build/static/charts/traefik-1.76.1.tgz
|
2019-03-20 00:27:44 +00:00
|
|
|
package static
|
|
|
|
|
|
|
|
import (
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
|
2019-08-10 05:07:43 +00:00
|
|
|
// Name return file name
|
2019-03-20 00:27:44 +00:00
|
|
|
func (fi bindataFileInfo) Name() string {
|
|
|
|
return fi.name
|
|
|
|
}
|
2019-08-10 05:07:43 +00:00
|
|
|
|
|
|
|
// Size return file size
|
2019-03-20 00:27:44 +00:00
|
|
|
func (fi bindataFileInfo) Size() int64 {
|
|
|
|
return fi.size
|
|
|
|
}
|
2019-08-10 05:07:43 +00:00
|
|
|
|
|
|
|
// Mode return file mode
|
2019-03-20 00:27:44 +00:00
|
|
|
func (fi bindataFileInfo) Mode() os.FileMode {
|
|
|
|
return fi.mode
|
|
|
|
}
|
2019-08-10 05:07:43 +00:00
|
|
|
|
|
|
|
// Mode return file modify time
|
2019-03-20 00:27:44 +00:00
|
|
|
func (fi bindataFileInfo) ModTime() time.Time {
|
|
|
|
return fi.modTime
|
|
|
|
}
|
2019-08-10 05:07:43 +00:00
|
|
|
|
|
|
|
// IsDir return file whether a directory
|
2019-03-20 00:27:44 +00:00
|
|
|
func (fi bindataFileInfo) IsDir() bool {
|
2019-08-10 05:07:43 +00:00
|
|
|
return fi.mode&os.ModeDir != 0
|
2019-03-20 00:27:44 +00:00
|
|
|
}
|
2019-08-10 05:07:43 +00:00
|
|
|
|
|
|
|
// Sys return file is sys mode
|
2019-03-20 00:27:44 +00:00
|
|
|
func (fi bindataFileInfo) Sys() interface{} {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-08-20 02:00:24 +00:00
|
|
|
var _chartsTraefik1761Tgz = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x03\x40\xfc\xbf\x1f\x8b\x08\x14\x00\x00\x00\x00\x00\xff\x29\x00\x2b\x61\x48\x52\x30\x63\x48\x4d\x36\x4c\x79\x39\x35\x62\x33\x56\x30\x64\x53\x35\x69\x5a\x53\x39\x36\x4f\x56\x56\x36\x4d\x57\x6c\x6a\x61\x6e\x64\x79\x54\x51\x6f\x3d\x48\x65\x6c\x6d\x00\xec\xfd\xfb\x76\xdb\x3a\xb2\x20\x8c\xcf\xbf\xad\xa7\xc0\x28\xfb\xfc\x12\xef\xb1\xee\xb6\x93\x78\xce\x3e\xeb\xd8\xb2\xe4\xab\x68\x8b\x12\x29\x5b\x99\x4c\x02\x91\x90\xc8\x88\x04\x18\x02\x94\x2d\x27\xf9\xad\x79\x8c\xef\x7b\xbd\x79\x92\x6f\x01\xe0\x55\xa2\x64\xc9\xb9\x74\xf7\xe9\xb0\x57\xef\x58\xb8\x14\xaa\x0a\x85\x42\xa1\x50\x00\x98\x0f\xd1\xd8\x9e\x56\x9a\x16\xf4\x59\x79\x0e\x5d\xe7\xbf\xfd\xf0\xaf\x5a\xad\x56\x5f\xef\xef\x8b\x7f\xab\xd5\xea\xe2\xbf\xb5\x5a\xa3\x11\xfd\x2d\xd3\x6b\xf5\xfd\x6a\xf5\xbf\x81\x1f\x8f\x49\xce\x17\x50\x06\xfd\xff\x56\xad\x7e\x2f\x9c\x45\xe2\xfe\x49\x3e\xe8\xd9\x3a\xf2\xa9\x4d\xf0\x21\x98\xd5\x0a\xd0\xf3\xe2\x9f\xb5\xf2\xeb\x72\xad\x5e\x30\x11\x35\x7c\xdb\x63\x22\xed\x08\xf4\xa5\xc0\x80\x11\xa4\xc8\x04\x97\xc1\x08\xf9\x18\x31\x44\x81\x8d\x27\x3e\xa2\x14\x18\x04\x33\x9f\x38\x0e\xf2\xc1\xbd\xcd\x2c\x70\x85\xd8\x4b\x0a\x5a\xd8\xf0\xe7\x1e\x03\x34\xf0\x3c\xe2\xb3\x02\xc2\x13\x1b\xa3\x43\x30\x21\xcc\x73\x0a\x16\x71\xd1\x21\xb0\x18\xf3\xe8\x61\xa5\x12\xca\x64\xd9\x26\x95\x82\x6d\xf0\x66\xa3\x1c\x93\x18\xb4\x9c\xca\xb6\xdd\x49\x5c\xda\x21\x13\x52\xf6\xf0\xa4\x30\x45\xf3\x7b\xe2\x9b\xf4\xb0\x50\x02\x61\x66\xa1\x14\xa1\x57\x28\x01\x68\xb8\xa8\x50\x02\x0e\x62\x14\x49\xac\x0a\x2e\xb4\x31\x83\x36\x46\xbe\xa8\x85\x5c\x68\x3b\x87\x60\x8a\x30\x2b\xfb\x10\x1b\x24\xf0\xd9\x7f\xba\xb6\xe1\x13\x4a\xc6\xac\x6c\x10\xb7\x00\x00\x86\x1c\xe7\x69\x98\x9f\xd4\x42\xae\xed\xa0\xff\x9c\xc1\x60\x82\x32\x25\x45\xba\x48\x4e\xca\x9a\x10\xdb\xc8\x29\x33\xe2\x1a\xe8\xd3\x7f\x4e\x78\x62\xa6\x8e\x29\x73\x92\x0a\x4e\x60\x92\x99\x6d\xfc\x27\x67\x32\xb4\x31\x29\x07\x34\x2e\xec\x98\xe8\xb1\x20\xff\x8c\xc8\xa6\x24\xf0\x0d\x24\x68\x8a\x58\x38\xb1\x99\x15\x8c\x78\x2b\x95\x08\x48\x40\x2b\x09\x9f\x72\xca\x59\xc8\x71\x2b\x06\x57\x10\xbc\x20\x42\x15\x17\x52\x86\xfc\x0a\x65\x70\xe4\xa0\xb8\xee\x2c\x25\x38\x07\xe5\x5a\xe1\xef\x2d\xda\xbf\xbf\x0d\xbe\x48\xff\xcf\xa0\x13\x20\xfa\x73\x26\x80\xf5\xfa\x7f\xaf\xbe\x5f\x7b\xbd\xa8\xff\x5f\xef\xd7\x7e\xeb\xff\x5f\xf1\xbd\x78\x01\x4e\xd0\x18\x06\x0e\x03\x52\x04\xc0\x98\xf8\x91\x92\x2f\xd8\x2e\x9c\xa4\xd4\x89\xf8\xd9\x87\x93\x78\x6e\x28\xbc\x78\x01\xae\xc5\xd4\x00\x1d\x67\x0e\xa8\x87\x0c\x7b\x3c\x07\x10\x03\xe8\xfb\x70\x0e\xc8\x18\x88\x3a\x37\x81\xe3\xf4\x90\xe1\x23\x46\xcb\xbc\x4e\xf8\x37\x70\x03\xca\xc0\x08\x01\x17\xe2\x40\x40\x30\x7c\x04\x19\x32\x81\x8d\x01\xb3\x90\x50\x6c\xd4\x83\x06\x12\xb5\x7c\x34\x4e\xa6\x82\x69\x3c\xf3\xf0\x89\x80\x4f\x0c\x15\x06\xe9\x94\x72\xad\x36\xb6\x27\x81\x8f\x4a\x1e\x31\x4b\xa1\x8e\x43\x7e\xc5\x0b\x1c\xa7\x24\xb0\x29\x79\xbe\x3d\x83\x0c\x95\x7c\x34\xb1\x29\xf3\xe7\x95\xc2\x8b\x25\x3c\x0f\x0b\x2f\x40\x09\x14\x7d\x34\xa1\x22\xa1\x58\x28\x14\x18\xa2\xac\xed\x43\x17\xdd\x13\x7f\x7a\x58\x00\x20\xe4\x4f\xd1\x34\x03\x3e\xab\x41\xa7\x32\x82\x8c\x16\x0b\x00\x30\xce\xa5\x62\xb5\xbc\x57\xae\x16\x05\x9b\x0c\x88\x01\xbd\xb7\x99\x61\x09\xca\x28\xf2\x67\xb6\x81\x00\x9b\x7b\x08\x30\x02\x14\x62\xa2\x1b\xe2\x33\x60\x8f\x81\x8f\x3e\x07\xb6\x8f\xcc\x42\x58\xa8\x3f\xf7\xd0\x21\xb8\x22\xd0\x3c\x86\x0e\xc4\x06\xf2\x0b\x2f\x80\x93\xfa\x79\x7e\x73\x08\x8a\xc5\x85\xc4\x9e\xd0\xfd\x2a\xc4\x13\x44\x0f\xc1\xbb\xf7\x85\x7b\xcb\x66\xe8\xca\xa6\x2c\x95\x23\x32\xd0\x03\x43\x3e\x86\x4e\xdf\x87\xe3\xb1\x6d\xdc\x10\xc7\x36\xe6\x87\xa0\xe9\x04\x5c\xcd\x17\x7c\xe4\x39\xb6\x01\xe9\x21\xa8\x15\x5e\x00\x3e\x5c\x58\xe0\x1d\xf9\x93\xc0\x45\x58\xf2\x09\x70\x4e\x95\x4a\x9e\x8d\x27\xc5\xec\xcf\x32\xc2\xcc\x9f\x7b\xc4\xc6\xec\x2f\xde\x73\xc5\x42\xc1\x23\xe6\x89\x4d\xfd\x40\x88\xcd\x71\x60\x4e\x10\x3b\x04\x5f\xbe\x15\x00\x78\x01\x5c\xf8\xa0\x61\x38\x83\xb6\xc3\x67\x16\xde\xa0\x48\xb5\xf1\x51\x92\xc6\xa5\x0e\x78\xbe\x4d\x7c\x9b\xcd\x9b\x0e\xa4\x54\x11\x73\x5e\x91\xf3\x19\xf8\x84\xb0\xe6\x91\x24\xb8\xe0\xa3\x68\x02\xe4\x0d\x14\x4c\x34\x0a\x26\xbc\xdb\x10\xe6\xa0\xcc\x43\x30\x86\x0e\x45\x05\xc1\xb8\xc
|
2019-03-20 00:27:44 +00:00
|
|
|
|
2019-08-20 02:00:24 +00:00
|
|
|
func chartsTraefik1761TgzBytes() ([]byte, error) {
|
2019-03-20 00:27:44 +00:00
|
|
|
return bindataRead(
|
2019-08-20 02:00:24 +00:00
|
|
|
_chartsTraefik1761Tgz,
|
|
|
|
"charts/traefik-1.76.1.tgz",
|
2019-03-20 00:27:44 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2019-08-20 02:00:24 +00:00
|
|
|
func chartsTraefik1761Tgz() (*asset, error) {
|
|
|
|
bytes, err := chartsTraefik1761TgzBytes()
|
2019-03-20 00:27:44 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2019-08-20 02:00:24 +00:00
|
|
|
info := bindataFileInfo{name: "charts/traefik-1.76.1.tgz", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
2019-03-20 00:27:44 +00:00
|
|
|
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){
|
2019-08-20 02:00:24 +00:00
|
|
|
"charts/traefik-1.76.1.tgz": chartsTraefik1761Tgz,
|
2019-03-20 00:27:44 +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))
|
|
|
|
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{
|
|
|
|
"charts": &bintree{nil, map[string]*bintree{
|
2019-08-20 02:00:24 +00:00
|
|
|
"traefik-1.76.1.tgz": &bintree{chartsTraefik1761Tgz, map[string]*bintree{}},
|
2019-03-20 00:27:44 +00:00
|
|
|
}},
|
|
|
|
}}
|
|
|
|
|
|
|
|
// 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, "/")...)...)
|
|
|
|
}
|