k3s/pkg/static/zz_generated_bindata.go

238 lines
97 KiB
Go
Raw Normal View History

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