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