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