k3s/pkg/static/zz_generated_bindata.go

247 lines
110 KiB
Go
Raw Normal View History

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