k3s/pkg/deploy/zz_generated_bindata.go

500 lines
31 KiB
Go
Raw Normal View History

// Code generated for package deploy by go-bindata DO NOT EDIT. (@generated)
2019-01-22 21:14:58 +00:00
// sources:
2019-10-15 21:17:26 +00:00
// manifests/ccm.yaml
2019-01-22 21:14:58 +00:00
// manifests/coredns.yaml
2019-09-27 00:18:37 +00:00
// manifests/local-storage.yaml
2019-11-05 21:34:09 +00:00
// manifests/metrics-server/aggregated-metrics-reader.yaml
// manifests/metrics-server/auth-delegator.yaml
// manifests/metrics-server/auth-reader.yaml
// manifests/metrics-server/metrics-apiservice.yaml
// manifests/metrics-server/metrics-server-deployment.yaml
// manifests/metrics-server/metrics-server-service.yaml
// manifests/metrics-server/resource-reader.yaml
2019-05-29 18:54:07 +00:00
// manifests/rolebindings.yaml
2019-02-08 04:16:16 +00:00
// manifests/traefik.yaml
2019-01-22 21:14:58 +00:00
package deploy
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-01-22 21:14:58 +00:00
func (fi bindataFileInfo) Name() string {
return fi.name
}
// Size return file size
2019-01-22 21:14:58 +00:00
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
// Mode return file mode
2019-01-22 21:14:58 +00:00
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
// Mode return file modify time
2019-01-22 21:14:58 +00:00
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
// IsDir return file whether a directory
2019-01-22 21:14:58 +00:00
func (fi bindataFileInfo) IsDir() bool {
return fi.mode&os.ModeDir != 0
2019-01-22 21:14:58 +00:00
}
// Sys return file is sys mode
2019-01-22 21:14:58 +00:00
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
2019-10-15 21:17:26 +00:00
var _ccmYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x93\x3f\x4f\x33\x31\x0c\xc6\xf7\x7c\x0a\xab\x4b\xa5\x57\xba\x56\xef\x86\x6e\x84\x81\xbd\x12\xec\xbe\xc4\xb4\xa1\xb9\x38\xb2\x9d\xab\xe0\xd3\xa3\x6b\xcb\xc0\x15\xfa\x6f\xb3\xac\x3c\x3f\x3f\x8e\x6d\x2c\xf1\x95\x44\x23\xe7\x16\xa4\x43\xbf\xc0\x6a\x1b\x96\xf8\x89\x16\x39\x2f\xb6\x0f\xba\x88\xbc\x1c\xfe\xbb\x6d\xcc\xa1\x85\xa7\x54\xd5\x48\x56\x9c\xc8\xf5\x64\x18\xd0\xb0\x75\x00\x19\x7b\x6a\xc1\x27\xae\xa1\xf1\x9c\x4d\x38\x25\x92\xa6\xc7\x8c\x6b\x12\x27\x35\x91\xb6\xae\x01\x2c\xf1\x59\xb8\x16\x1d\x45\x0d\xcc\x66\x0e\x40\x48\xb9\x8a\xa7\x63\x8e\x06\xca\xa6\x0e\x60\x20\xe9\x8e\x39\x2f\x84\x46\xfb\xb0\xa0\xf9\xcd\x3e\xaa\x25\x8c\xc9\xab\xa0\x99\x03\x4d\x98\xf3\x7f\xf3\x1b\xb4\x4b\x35\xb4\x3a\x41\x1c\xbc\x5c\x05\x51\x92\x21\xfa\xa9\x87\x14\xd5\x7e\xef\x6a\x0c\x77\x37\xe3\xd1\x7b\xae\x7f\xfd\xde\x55\xa0\x32\x2e\x83\x1a\x65\x1b\x38\xd5\x7e\x6a\x78\x4d\xf6\xd3\xf8\x7d\x76\x29\x87\xc2\xf1\xdc\x98\x4f\x0a\xed\x4e\xe6\xde\x34\xee\xfe\xed\x7d\x8c\x39\xc4\xbc\xbe\x69\x89\x39\xd1\x8a\xde\xc6\x97\xdf\x2d\x9e\xa9\xea\x00\x4e\x4f\xe6\x62\x0d\xad\xdd\x3b\x79\xdb\xdf\xca\x41\xfe\xa2\x24\x97\x75\x87\x07\x5a\xd0\x53\x0b\xdb\xda\x51\xa3\x1f\x6a\xd4\xbb\xaf\x00\x00\x00\xff\xff\xed\x32\x7e\x6b\xe0\x03\x00\x00")
func ccmYamlBytes() ([]byte, error) {
return bindataRead(
_ccmYaml,
"ccm.yaml",
)
}
func ccmYaml() (*asset, error) {
bytes, err := ccmYamlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "ccm.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2019-10-14 22:33:49 +00:00
var _corednsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\x4d\x6f\x1b\x37\x13\xbe\xeb\x57\x10\xfb\x22\xb7\x77\x65\x0b\x86\x53\x97\xb7\x44\x72\x13\x03\xb1\x22\x58\x76\x2e\x45\x11\x8c\xb8\x23\x89\x35\x97\xc3\x92\x5c\xc5\x6a\xea\xff\x5e\x70\xbf\x44\xca\xeb\x20\x31\xd2\x3d\x91\x1c\xce\x33\xe4\x7c\x3c\x9c\x05\x23\x3f\xa1\x75\x92\x34\x67\xbb\xc9\xe8\x5e\xea\x82\xb3\x25\xda\x9d\x14\xf8\x46\x08\xaa\xb4\x1f\x95\xe8\xa1\x00\x0f\x7c\xc4\x98\x86\x12\x39\x13\x64\xb1\xd0\xae\x9d\x3b\x03\x02\x39\xbb\xaf\x56\x98\xbb\xbd\xf3\x58\x8e\xf2\x3c\x1f\xc5\xd0\x76\x05\x62\x0c\x95\xdf\x92\x95\x7f\x83\x97\xa4\xc7\xf7\x17\x6e\x2c\xe9\x64\x37\x59\xa1\x87\xce\xf2\x54\x55\xce\xa3\xbd\x21\x85\x89\x59\x05\x2b\x54\x2e\x8c\x58\x6d\xc7\x6a\xf4\x58\xeb\xaf\x88\xbc\xf3\x16\x8c\x91\x7a\xd3\x18\xca\x0b\x5c\x43\xa5\xbc\xeb\xcf\xdb\x9c\x8a\x77\xc7\xb6\x95\x42\xc7\x47\x39\x03\x23\xdf\x59\xaa\x4c\x8d\x9c\xb3\x2c\x1b\x31\x66\xd1\x51\x65\x05\xb6\x6b\xa8\x0b\x43\x52\xd7\x60\x39\x73\x8d\x67\x9a\x89\xa1\xa2\x19\xf4\x4e\x08\xd3\x1d\xda\x55\xab\xab\xa4\xf3\xf5\xe0\x0b\x78\xb1\xfd\x3e\x7b\x9a\x8a\x63\x98\x0d\xfa\x9f\xe1\xd0\xb7\x52\x17\x52\x6f\x12\xbf\x82\xd6\xe4\x6b\xf5\xd6\xb9\x43\xb8\x89\xbf\xa1\xf2\x54\x99\x02\x3c\x72\x96\x79\x5b\x61\xf6\xf3\xc3\x43\x0a\x6f\x70\x5d\x9f\xaf\x75\xd8\x37\x2e\x3c\x62\xec\x69\xee\x3c\x83\xec\xaa\xd5\x9f\x28\x7c\x1d\xfb\xc1\x54\x7f\x71\x82\xf7\xb5\x33\x25\xbd\x96\x9b\x6b\x30\x2f\x29\x9b\x6e\xfb\x94\x2c\xae\xa5\x42\xce\xfe\xa9\x7d\x3a\xe6\xe7\x67\xec\x6b\x3d\x0c\x1f\x5a\x4b\xd6\xf5\xd3\x2d\x82\xf2\xdb\x7e\x6a\x11\x8a\x7d\x3f\x3b\x84\x83\xbd\xfa\x3a\xfd\x70\xb7\xbc\xbd\xbc\xf9\x3c\xfb\x78\xfd\xe6\x6a\xfe\xf8\x8a\x49\x9d\x43\x51\xd8\x31\x58\x03\x4c\x9a\xd7\xcd\xe0\x60\x89\xd5\x49\xce\xa4\x76\x28\x2a\x8b\xd1\x7a\x65\x9c\xb7\x08\x65\xb4\xb4\x06\xa5\xfc\xd6\x52\xb5\xd9\x0e\x03\xf7\x7b\x1f\x0f\x67\x27\xe7\x1d\x3b\x41\x2f\x4e\x5a\xef\x9c\xcc\xa9\xc0\xf7\xf5\x72\x7c\x0e\x8b\x8a\xa0\x60\x13\x37\x6c\x70\x00\xda\x58\x2a\xd1\x6f\xb1\x72\x8c\xff\x3a\x39\x3f\xeb\x05\x6b\xb2\x5f\xc0\x16\x6c\xdc\xd8\x0d\x05\xa8\x76\x63\x41\x7a\xdd\x6f\x11\x20\xb6\xc8\xce\x4e\xfb\x05\x45\x64\x46\xe9\x59\x22\x19\x14\x2b\x50\xa0\x45\xe3\xa0\xc7\x27\xd9\x01\xc6\xb8\x93\x3e\x45\x66\x68\x14\xed\x4b\x7c\x19\xb5\x1e\x55\xdb\x85\xcb\xc1\x98\x76\x4b\xa3\x78\x5c\x83\x0d\x70\x16\x92\x6a\x36\x5f\x66\x23\x67\x50\x04\xed\xff\x59\x34\x4a\x0a\x70\x9c\x4d\x46\x8c\x85\x32\xf5\xb8\xd9\x37\xc0\x7e\x6f\x90\xb3\x1b\x52\x4a\xea\xcd\x5d\x5d\xf0\x0d\x41\xc4\x2b\xbc\xf5\x41\x09\x0f\x77\x1a\x76\x20\x15\xac\x42\xd6\xd6\x70\xa8\x50\x78\xb2\xcd\x9e\x32\x30\xe0\x87\xe8\xe0\xc3\x47\xf7\x58\x1a\xd5\x03\xc7\xde\xa9\x1d\x9d\xe8\x3f\x77\xf9\xee\x7a\xf5\x38\x29\xef\xf9\x91\x87\xeb\x7b\x92\x42\x1b\x33\x60\xf8\x72\x76\x8f\xfb\xe0\x32\x2b\xbd\x14\xa0\xde\x14\x05\x69\xf7\x51\xab\x7d\x16\xa5\x1f\x99\xa0\x49\x96\xb3\xec\xf2\x41\x3a\xef\x3a\x61\xe0\xf0\x65\x72\xfd\xf0\x05\x5a\x3e\x22\x53\x72\x9c\x29\xa9\xab\x87\x76\x93\x20\xed\x41\x6a\xb4\xfd\x59\xf2\x27\x69\xd1\x7c\xb2\x84\xcd\x61\xb9\xab\x1d\x3e\x19\xbf\x1e\x9f\xa5\x9b\x16\x95\x52\x0b\x52\x52\xec\x39\xbb\x5a\xcf\xc9\x2f\x2c\x3a\xac\xb9\xae\xcb\xe6\xe8\x01\xea\x73\x5a\x96\xd2\x27\x2b\x21\x1c\x25\xd9\x3d\x67\x93\x5f\x4e\xaf\x65\x52\x9a\x7f\x55\xe8\x8e\x77\x0b\x53\x71\x36\x39\x3d\x2d\x07\x31\x12\x08\xb0\x1b\xc7\xd9\xef\x2c\xcb\x43\x11\x66\xff\x67\x59\x42\x08\x1d\x1b\x66\xec\x8f\x5e\x65\x47\xaa\x2a\xf1\x3a\x44\x35\x89\x5b\xe7\xad\x40\xc2\x79\xb3\x29\xb2\x5f\x86\xfd\x0b\xf0\x5b\x9e\x50\x4e\x72\x17\x28\x42\x9c\x39\x0b\x6f\xdb\x81\x4b\xc8\xa6\x76\xfa\x48\x2d\xc8\x7a\xce\x22\x76\xe9\x0a\x39\xc5\x35\x96\x3c\x09\x52\x9c\xdd\xcd\x16\x3f\x8a\x93\x7b\x61\x06\xb1\x6e\xa7\xdf\xc0\x4a\x38\xaf\x43\x2b\xd1\x5b\x29\x86\x4f\x16\xa3\xd5\x7c\x2f\xfd\x7e\x4a\xda\xe3\x83\x8f\x43\x0b\x4a\xd1\x97\x85\x95\x3b\xa9\x70\x83\x97\x4e\x80\xaa\xeb\x87\x07\x3e\x76\xb1\xbb\x05\x18\x58\x49\x25\xbd\xc4\xa3\xe4\x80\xa2\x48\x17\x72\x36\xbf\xbc\xfd\xfc\xf6\x6a\x3e\xfb\xbc\xbc\xbc\xf9\x74\x35\xbd\x4c\xc4\x85\x25\x73\xac\x00\x4a\x0d\x04\xee\x86\xc8\xff\x26\x15\xb6\x2f\x7f\x1a\x46\x25\x77\xa8\xd1\xb9\x85\xa5\x15\xc6\x78\x5b\xef\xcd\x3b\xf4\xa9\x09\xd3\x24\xca\xd1\xf3\xca\xda\x74\xe0\xec\xe2
2019-01-22 21:14:58 +00:00
func corednsYamlBytes() ([]byte, error) {
return bindataRead(
_corednsYaml,
"coredns.yaml",
)
}
func corednsYaml() (*asset, error) {
bytes, err := corednsYamlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "coredns.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2019-10-28 23:10:36 +00:00
var _localStorageYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x56\x4b\x6f\xe3\x36\x10\xbe\xeb\x57\x10\x02\xf6\x52\x2c\xed\xf5\xad\xe0\xcd\xf5\x63\xbb\x80\x5f\x88\xd3\xf6\x10\x2c\x8c\x31\x35\xb6\xb9\xa1\x48\x81\x1c\xa9\x48\xd3\xfc\xf7\x82\x7a\x45\x8a\x93\xd8\x41\xb1\xbc\x28\x19\xce\x37\xdf\x70\xf8\xcd\xd0\x90\xa9\x3f\xd1\x79\x65\x8d\x60\xc5\x28\xba\x57\x26\x11\x6c\x8b\xae\x50\x12\xc7\x52\xda\xdc\x50\x94\x22\x41\x02\x04\x22\x62\xcc\x40\x8a\x82\x69\x2b\x41\xf3\x0c\xe8\xc4\x33\x67\x0b\x15\xf0\xe8\xb8\xaf\x70\x1c\x6a\x60\xe5\xee\x33\x90\x28\xd8\x7d\xbe\x47\xee\x1f\x3c\x61\x1a\x71\xce\xa3\x2e\xb3\xdb\x83\x1c\x40\x4e\x27\xeb\xd4\x3f\x40\xca\x9a\xc1\xfd\xaf\x7e\xa0\xec\xb0\x18\xed\x91\xa0\x49\x6c\xa2\x73\x4f\xe8\x6e\xac\xc6\xeb\xb3\x72\xc1\xdb\xe5\x1a\xbd\x88\x38\x83\x4c\x7d\x75\x36\xcf\xbc\x60\x77\x71\xfc\x3d\x62\xcc\xa1\xb7\xb9\x93\x58\x5a\x8c\x4d\xd0\xc7\x9f\x59\x9c\x85\xdc\x3c\xa1\xa1\xc2\xea\x3c\x45\xa9\x41\xa5\xbe\x04\x14\xe8\xf6\xa5\xf3\x11\x29\xb8\x6a\xe5\xcb\xef\xdf\x40\xf2\x14\x7f\xbf\x4c\x82\x26\xc9\xac\x32\xf4\x2a\x51\x65\xb4\xc9\x0b\xae\x5f\xae\x0a\x5c\x60\x88\xda\x03\x4a\x87\x40\x58\x06\x7d\x3d\x3f\x4f\xd6\xc1\x11\xeb\x8a\x9f\x07\xad\xf7\xa5\x06\xef\xf1\xca\x0a\xfc\xff\xfb\xfd\x4d\x99\x44\x99\xe3\xf5\xd7\xbc\x57\x26\x89\xc2\x5d\xdf\xe0\x21\x38\x37\x67\x7c\x87\x3d\x62\xec\x5c\x57\xd7\xa8\xc9\xe7\xfb\x1f\x28\xa9\x14\xd4\xab\x2d\xf3\xb3\x1a\x05\xb2\xcc\x0f\xdb\x3e\x9d\x62\xa6\xed\x43\x8a\x1f\xe8\xd1\xb7\xa9\x7c\x86\x52\x94\x77\x9f\x69\x25\xc1\x0b\x36\x8a\x18\xf3\xa8\x51\x92\x75\x61\x87\xb1\x34\xdc\xef\x02\xf6\xa8\x7d\x65\x08\x65\xce\xde\xe1\x22\x4c\x33\x0d\x84\x35\xbc\x93\x64\x58\xba\x17\xe9\x52\x2c\xc6\x9a\x14\xcb\xbf\x7b\x05\x5f\x7d\xac\xda\x61\x49\x6b\x08\x94\x41\xd7\x26\xc0\x2f\x55\xae\x5a\x2a\x85\x23\x0a\xe6\xc0\xc8\x13\xba\xe1\xeb\xde\xa2\xf8\x32\xf8\x32\x18\x8d\xfa\xa8\x4d\xae\xf5\xc6\x6a\x25\x1f\x04\xfb\x76\x58\x59\xda\x38\xf4\xd8\xa6\x14\x92\x4a\x53\x30\xc9\x73\x49\xf8\xa5\x6c\x38\xf3\x04\x8e\x3a\xff\x73\x2e\xad\x39\xa8\x63\xc7\x34\x44\x92\xc3\xca\x5a\x7f\x06\x3f\xbc\x35\xad\x47\x35\x79\x96\xa1\x3a\xbe\xcb\x5d\xd5\xa3\x42\xf0\xca\xa9\xdd\x65\x2c\x0d\xfe\x1b\xa0\x93\xe8\x11\xb4\x1e\x68\x8a\xf3\x60\x9b\xf5\x74\xb7\x1a\x2f\x67\xdb\xcd\x78\x32\xeb\x04\x2b\x40\xe7\x38\x77\x36\x15\x1d\x23\x63\x07\x85\x3a\xa9\x3b\xfa\xcc\x5e\x71\x37\xaa\x1a\xb4\xc2\x8e\xba\xa7\xfa\xc0\x81\x2a\xfb\x12\xb2\x3e\xdb\x99\x2a\xea\xfa\xbe\x6c\xce\xfe\x20\x7d\x6e\xd3\x6d\x65\x9f\x84\x01\xfa\x6e\xa3\x86\xa9\x65\x8c\xa5\x72\x46\xd5\x79\x77\xa7\xef\x20\xf4\xab\x33\x48\x58\x12\x28\xcf\x13\x3c\x40\xae\x89\x97\xdb\x82\xc5\xe4\x72\x8c\xa3\xae\x0e\x1b\x9d\x06\x40\x87\xa9\x3a\x7b\x3d\x64\x97\x36\x41\xc1\xfe\x02\x45\x73\xeb\xe6\xca\x79\x9a\x58\xe3\xf3\x14\x5d\xe4\xaa\x87\xaf\x11\xed\x14\x35\x12\x96\x27\xaf\x27\x67\x53\xb2\xe8\xc5\x2f\x89\x77\x07\x52\x2b\xd0\x37\x66\x51\x03\xec\x68\x55\xb0\x7f\x79\x7b\x2b\x8f\x2f\xd4\xc0\x58\xf9\x70\x07\x3d\x2c\x21\x8b\xc5\xdd\xd9\xfe\x39\xa2\x87\x8c\x45\x3c\x9d\xcd\xc7\x7f\x2c\x6e\x77\x9b\xf1\xed\xef\xbb\xf9\xfa\x66\xb7\x5a\xaf\x76\x8b\x6f\xdb\xdb\xd9\x74\xb7\x5a\x4f\x67\xdb\xf8\xf3\xdb\x31\xc2\xa9\x7c\x2c\xee\xe2\x4f\x8f\x4d\x9c\xc5\x7a\x32\x5e\xec\xb6\xb7\xeb\x9b\xf1\xd7\x59\x19\xf5\xe9\x53\xf9\x78\xf6\xd7\xd3\x99\xe5\xd9\xe7\x29\xfa\x2f\x00\x00\xff\xff\x90\x65\x00\x29\x9f\x09\x00\x00")
2019-09-27 00:18:37 +00:00
func localStorageYamlBytes() ([]byte, error) {
return bindataRead(
_localStorageYaml,
"local-storage.yaml",
)
}
func localStorageYaml() (*asset, error) {
bytes, err := localStorageYamlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "local-storage.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2019-11-05 21:34:09 +00:00
var _metricsServerAggregatedMetricsReaderYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\xcf\x31\x6b\xf4\x30\x0c\xc6\xf1\xdd\x9f\x42\x78\x7e\x93\x97\x6e\xc5\x6b\x87\xee\x1d\xba\x94\x1b\x94\xf8\x21\x27\xce\xb1\x83\x24\xe7\x68\x3f\x7d\xb9\x70\xdc\x58\x68\x27\x0d\x7f\x7e\x0f\xe8\x22\x35\x27\x7a\x29\xdd\x1c\xfa\xd6\x0a\x02\x6f\xf2\x0e\x35\x69\x35\x91\x4e\x3c\x8f\xdc\xfd\xdc\x54\xbe\xd8\xa5\xd5\xf1\xf2\x6c\xa3\xb4\xff\xfb\x53\x58\xe1\x9c\xd9\x39\x05\xa2\xca\x2b\x12\xd9\xa7\x39\xd6\xc4\xcb\xa2\x58\xd8\x91\x87\x15\xae\x32\xdb\xa0\xe0\x0c\x0d\x44\x85\x27\x14\xbb\x11\xfa\x61\xfd\xb1\x30\x78\x1b\x76\xc1\x35\x51\x74\xed\x88\xbf\x71\xc8\xe2\x7f\x71\x9c\x57\xa9\x0f\xa8\xbd\xc0\x52\x18\x88\x37\x79\xd5\xd6\x37\x4b\xf4\x11\xef\x7f\xdd\x7d\x3c\x05\x22\x85\xb5\xae\x33\x8e\xbe\xb5\x6c\xf1\x1f\xc5\xda\x32\xec\xc8\x3b\x74\x3a\xd2\x02\xbf\x95\x22\x76\xdc\x2b\xfb\x7c\x8e\xa7\xf0\x1d\x00\x00\xff\xff\xe5\x1d\x7a\x17\x89\x01\x00\x00")
2019-11-05 17:11:21 +00:00
2019-11-05 21:34:09 +00:00
func metricsServerAggregatedMetricsReaderYamlBytes() ([]byte, error) {
2019-11-05 17:11:21 +00:00
return bindataRead(
2019-11-05 21:34:09 +00:00
_metricsServerAggregatedMetricsReaderYaml,
"metrics-server/aggregated-metrics-reader.yaml",
2019-11-05 17:11:21 +00:00
)
}
2019-11-05 21:34:09 +00:00
func metricsServerAggregatedMetricsReaderYaml() (*asset, error) {
bytes, err := metricsServerAggregatedMetricsReaderYamlBytes()
2019-11-05 17:11:21 +00:00
if err != nil {
return nil, err
}
2019-11-05 21:34:09 +00:00
info := bindataFileInfo{name: "metrics-server/aggregated-metrics-reader.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _metricsServerAuthDelegatorYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x8e\xbb\x4e\xc4\x40\x0c\x45\xfb\xf9\x8a\xf9\x81\x09\xda\x0e\xb9\x03\x0a\xfa\x45\xa2\x77\x26\x97\xc5\x24\x19\x47\xb6\x27\x12\x7c\x3d\x5a\x11\xd1\xf0\x68\xaf\x74\xcf\x39\xa5\x94\xc4\x9b\x3c\xc3\x5c\xb4\x51\xb6\x91\xeb\xc0\x3d\x5e\xd5\xe4\x83\x43\xb4\x0d\xf3\xad\x0f\xa2\x37\xfb\x69\x44\xf0\x29\xcd\xd2\x26\xca\x0f\x4b\xf7\x80\x9d\x75\xc1\xbd\xb4\x49\xda\x25\xad\x08\x9e\x38\x98\x52\xce\x8d\x57\x50\x5e\x11\x26\xd5\x8b\xc3\x76\x18\xf9\xbb\x07\x56\xba\xd2\xcb\x84\x05\x17\x0e\xb5\x64\xba\xe0\x8c\x97\xeb\x8b\x37\x79\x34\xed\xdb\x3f\x19\x29\xe7\x1f\x01\xdf\xbe\xdf\x05\xde\xc7\x37\xd4\x70\x4a\xe5\xf8\x3e\xc1\x76\xa9\xb8\xab\x55\x7b\x8b\x3f\x72\x8f\xd9\x37\xae\xa0\x3c\xf7\x11\xe5\x8b\x9f\x3e\x03\x00\x00\xff\xff\x69\xfc\x98\x93\x34\x01\x00\x00")
func metricsServerAuthDelegatorYamlBytes() ([]byte, error) {
return bindataRead(
_metricsServerAuthDelegatorYaml,
"metrics-server/auth-delegator.yaml",
)
}
func metricsServerAuthDelegatorYaml() (*asset, error) {
bytes, err := metricsServerAuthDelegatorYamlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "metrics-server/auth-delegator.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _metricsServerAuthReaderYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x8f\x3d\x4e\xc4\x40\x0c\x46\xfb\x39\xc5\x5c\xc0\x41\xdb\xa1\xe9\xa0\xa1\x5f\x24\x7a\x67\xf2\x01\x26\x1b\x4f\x64\x7b\x22\xe0\xf4\x28\x68\xf9\x69\x76\x7b\xfb\x7d\xef\x11\x51\xe2\x55\x9e\x60\x2e\x4d\x4b\xb6\x91\xeb\xc0\x3d\x5e\x9b\xc9\x27\x87\x34\x1d\xe6\x5b\x1f\xa4\xdd\x6c\x87\x11\xc1\x87\x34\x8b\x4e\x25\x1f\xdb\x09\xf7\xa2\x93\xe8\x4b\x5a\x10\x3c\x71\x70\x49\x39\x2b\x2f\x28\x79\x41\x98\x54\x27\x87\x6d\x30\xda\x79\x64\xe0\x09\x76\x3e\xf1\x95\x2b\x4a\x9e\xfb\x08\xf2\x0f\x0f\x2c\xc9\xda\x09\x47\x3c\xef\x10\x5e\xe5\xc1\x5a\x5f\xaf\xe8\xa4\x9c\xff\x44\x7e\x77\xf1\x1e\xd0\x3d\x84\x78\x95\x7f\xe3\xd0\x90\xfa\xfd\xfe\xa3\xe1\x7d\x7c\x43\x0d\x2f\x89\xce\xa0\x47\xd8\x26\x15\x77\xb5\xb6\xae\x71\x21\xe5\xb2\xfe\x57\x00\x00\x00\xff\xff\xc7\x9e\x8d\xd1\x49\x01\x00\x00")
func metricsServerAuthReaderYamlBytes() ([]byte, error) {
return bindataRead(
_metricsServerAuthReaderYaml,
"metrics-server/auth-reader.yaml",
)
}
func metricsServerAuthReaderYaml() (*asset, error) {
bytes, err := metricsServerAuthReaderYamlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "metrics-server/auth-reader.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _metricsServerMetricsApiserviceYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x44\x8f\x4d\x6a\xc4\x30\x0c\x85\xf7\x3e\x85\x2e\xe0\x74\xb2\x2b\xde\x75\x59\x68\x61\x20\x65\xf6\x1a\x8f\x3a\x08\xe3\x1f\x24\x39\x90\xdb\x97\x30\x71\xba\x13\x7a\xef\xfb\x90\xbc\xf7\x0e\x1b\xdf\x48\x94\x6b\x09\x80\x8d\x85\x9e\xac\x26\x68\x5c\xcb\x94\xde\x75\xe2\xfa\xb6\xce\x77\x32\x9c\x5d\xe2\xf2\x08\xf0\x71\xfd\x5c\x48\x56\x8e\xe4\x32\x19\x3e\xd0\x30\x38\x80\x82\x99\x02\x1c\xd5\x29\x93\x09\x47\x3d\x0c\x4e\x1b\xc5\xbd\xa4\x2f\x70\x1f\x07\x71\x34\xfd\x1e\x91\x9c\x81\x36\x8c\x14\x20\xf5\x3b\x79\xdd\xd4\x28\x3b\x80\xa7\xd4\xde\x4e\x64\xc8\x01\xd6\xf1\xc0\xb8\x14\x80\x8b\x52\xec\x42\x4b\xe2\xf6\xf3\xb5\xdc\x48\xf8\x77\x0b\x60\xd2\x69\x88\xae\xc2\x55\xd8\xb6\x6f\x2e\x9c\x7b\x0e\x30\x5f\x2e\xff\xb2\x91\xbe\xd6\x7f\x01\x00\x00\xff\xff\x25\x03\x92\xf5\x2a\x01\x00\x00")
func metricsServerMetricsApiserviceYamlBytes() ([]byte, error) {
return bindataRead(
_metricsServerMetricsApiserviceYaml,
"metrics-server/metrics-apiservice.yaml",
)
}
func metricsServerMetricsApiserviceYaml() (*asset, error) {
bytes, err := metricsServerMetricsApiserviceYamlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "metrics-server/metrics-apiservice.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _metricsServerMetricsServerDeploymentYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x91\x4f\x6b\xdb\x40\x10\xc5\xef\xfa\x14\x0f\x7a\x5e\xab\xa5\x50\xca\xde\x0a\x3e\xb6\xa5\x50\xe8\x7d\xbc\x1a\xd7\x8b\xf7\x1f\x3b\x23\x05\x11\xf2\xdd\x83\x22\x45\xb1\x9d\x28\x97\xec\x49\x0c\xef\xcd\xef\xbd\x91\x31\xa6\xa1\xe2\xff\x71\x15\x9f\x93\xc5\xf0\xa5\x39\xfb\xd4\x59\xfc\xe5\x3a\x78\xc7\x3f\x9c\xcb\x7d\xd2\x26\xb2\x52\x47\x4a\xb6\x01\x12\x45\xb6\x88\xac\xd5\x3b\x31\xc2\x75\xe0\xba\x8c\xa5\x90\x63\x8b\x73\x7f\x60\x23\xa3\x28\xc7\xe6\x96\x40\xa5\x48\xbb\x62\xf6\x5c\x42\x1e\x23\x7f\x08\x01\x04\x3a\x70\x90\xc9\x09\x9c\xbf\x8b\xa1\x52\x5e\xd9\xa5\xb0\x9b\x14\xc2\x81\x9d\xe6\x3a\xab\x23\xa9\x3b\xfd\xbc\xb0\x6f\x2f\x00\x94\x63\x09\xa4\xbc\x58\x2f\x02\x4f\x6f\x23\xf4\xf4\xc2\x15\xe0\x3d\x04\xf0\x9c\xf3\xe9\xfb\xea\x2f\xfc\xde\x06\x0c\x39\xf4\x91\x57\xc2\x27\xc4\xc9\x00\x9f\xa0\xb1\x40\x32\xee\x18\x8e\x12\x84\x8e\x1c\x46\xf4\xc2\x38\xd6\x1c\x8d\xb8\x3a\x1d\x00\x3e\xd2\x7f\x16\x50\xea\xda\x5c\x51\x99\x3a\x93\x53\x18\xe1\x72\x52\xf2\x89\xab\x2c\x9b\xcd\x52\x53\x63\x31\x9d\xaf\x6b\x23\x8e\x45\xc7\xbd\xaf\x16\xf7\x0f\xcb\xf0\xc5\x6b\x6f\xcc\x6f\x56\xc0\x1c\xc2\xa2\x52\x72\x27\xae\xed\xb5\xca\x0e\x9f\x77\x5f\x77\xdf\x56\xf1\xdc\xf8\xd7\x54\xf3\xe2\xb0\x5b\xf1\x30\x1f\xe4\x0f\xe9\xc9\xa2\xd5\x58\x9a\xe6\x31\x00\x00\xff\xff\xc7\xdd\x55\x7e\xfb\x02\x00\x00")
func metricsServerMetricsServerDeploymentYamlBytes() ([]byte, error) {
return bindataRead(
_metricsServerMetricsServerDeploymentYaml,
"metrics-server/metrics-server-deployment.yaml",
)
}
func metricsServerMetricsServerDeploymentYaml() (*asset, error) {
bytes, err := metricsServerMetricsServerDeploymentYamlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "metrics-server/metrics-server-deployment.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _metricsServerMetricsServerServiceYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x8e\xcd\x4a\x04\x31\x10\x84\xef\x79\x8a\x26\xf7\x28\xe2\x1e\x24\x57\xcf\xc2\x82\xe2\xbd\x37\x5b\x48\x98\xfc\xd1\xdd\x33\xe0\xdb\xcb\xc4\x41\x10\xe6\xd6\x54\x57\x7d\x55\x21\x04\xc7\x23\x7f\x42\x34\xf7\x16\x69\x7b\x72\x4b\x6e\xf7\x48\xef\x90\x2d\x27\xb8\x0a\xe3\x3b\x1b\x47\x47\xd4\xb8\x22\x52\x85\x49\x4e\x1a\x14\xb2\x41\x0e\x59\x07\x27\x44\x5a\xd6\x1b\x82\x7e\xab\xa1\x3a\xa2\xc2\x37\x14\xdd\x93\x34\x3f\xd2\x60\xd0\x87\xdc\x1f\x7f\x49\xfe\xed\x1f\xca\x9f\x18\x53\x59\xd5\x20\xd3\x91\xf7\x06\x6f\xb2\xc2\x3b\x1d\x48\x3b\x58\x51\x90\xac\xcb\x51\xf2\xa2\x81\xc7\x38\xd9\x38\xba\xd8\x5c\x12\xe6\x19\xe9\x72\x79\x9e\x91\x21\xdd\x7a\xea\x25\xd2\xc7\xeb\x75\x2a\xc6\xf2\x05\xbb\xfe\xb9\x7e\x02\x00\x00\xff\xff\x92\x19\xf9\x3e\x23\x01\x00\x00")
func metricsServerMetricsServerServiceYamlBytes() ([]byte, error) {
return bindataRead(
_metricsServerMetricsServerServiceYaml,
"metrics-server/metrics-server-service.yaml",
)
}
func metricsServerMetricsServerServiceYaml() (*asset, error) {
bytes, err := metricsServerMetricsServerServiceYamlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "metrics-server/metrics-server-service.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _metricsServerResourceReaderYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x90\x3f\x4f\xc4\x30\x0c\xc5\xf7\x7c\x0a\xeb\xf6\xf4\xc4\x86\xb2\x01\x03\xfb\x21\xb1\xbb\xa9\xb9\x33\x6d\xe3\xca\x76\x8a\xe0\xd3\xa3\x6b\xcb\x1f\x81\x74\x42\x62\xca\x4b\xe2\x9f\x9f\xde\x8b\x31\x06\x9c\xf8\x91\xd4\x58\x4a\x02\x6d\x31\x37\x58\xfd\x24\xca\x6f\xe8\x2c\xa5\xe9\xaf\xad\x61\xd9\xcf\x57\xa1\xe7\xd2\x25\xb8\x1b\xaa\x39\xe9\x41\x06\x0a\x23\x39\x76\xe8\x98\x02\x40\xc1\x91\x12\xd8\xab\x39\x8d\x69\x24\x57\xce\x16\x8d\x74\x26\x0d\x5a\x07\xb2\x14\x22\xe0\xc4\xf7\x2a\x75\xb2\x33\x11\x61\xb7\x0b\x00\x4a\x26\x55\x33\x6d\x6f\x93\x74\xb6\x88\x22\x1d\x7d\x53\x7b\x73\xf4\xed\x8e\x23\xd9\x84\x79\xf9\x9e\x49\xdb\x0d\x3d\x92\x2f\xe7\xc0\xb6\x8a\x17\xf4\x7c\x0a\xff\x0b\x79\xcb\xa5\xe3\x72\xfc\x7b\x56\x19\xe8\x40\x4f\xe7\xb1\x8f\xb4\x17\x2c\x03\xc0\xef\x5a\x2f\x1b\x58\x6d\x9f\x29\xfb\xd2\xe7\xca\x3e\x90\xce\x9c\xe9\x26\x67\xa9\xc5\x3f\xf1\x1f\x1c\x7c\xf5\x96\xa0\xaf\x2d\xc5\x75\x7f\x78\x0f\x00\x00\xff\xff\x39\x82\xcc\x46\x05\x02\x00\x00")
func metricsServerResourceReaderYamlBytes() ([]byte, error) {
return bindataRead(
_metricsServerResourceReaderYaml,
"metrics-server/resource-reader.yaml",
)
}
func metricsServerResourceReaderYaml() (*asset, error) {
bytes, err := metricsServerResourceReaderYamlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "metrics-server/resource-reader.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
2019-11-05 17:11:21 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2019-10-31 02:08:26 +00:00
var _rolebindingsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x92\x31\x6f\xe3\x30\x0c\x85\x77\xfd\x0a\x21\xbb\x72\x38\xdc\x72\xf0\xd8\x0e\xdd\x03\xb4\x3b\x6d\xb3\x09\x6b\x59\x14\x48\x2a\x41\xfb\xeb\x0b\xa7\x6e\x82\xa4\x76\x90\xb4\xdd\x24\x41\x7c\x1f\x1f\xf9\x20\xd3\x13\x8a\x12\xa7\xca\x4b\x0d\xcd\x12\x8a\x6d\x58\xe8\x0d\x8c\x38\x2d\xbb\xff\xba\x24\xfe\xb3\xfd\xeb\x3a\x4a\x6d\xe5\xef\x63\x51\x43\x59\x71\xc4\x3b\x4a\x2d\xa5\xb5\xeb\xd1\xa0\x05\x83\xca\x79\x9f\xa0\xc7\xca\x77\xa5\xc6\x00\x99\x14\x65\x8b\x12\x86\x6b\x44\x0b\xd0\xf6\x94\x9c\x70\xc4\x15\x3e\x0f\xbf\x21\xd3\x83\x70\xc9\x17\xc8\xce\xfb\x2f\xe0\x03\x47\x5f\xd5\xb0\xaf\x0e\xfa\x99\x46\x86\x96\xfa\x05\x1b\xd3\xca\x85\x9b\x20\x8f\x8a\x32\xe3\xc2\xb9\x10\x82\xfb\xfe\xb4\x26\xc6\xf4\xd9\xfe\x3f\x0d\x0d\x27\x13\x8e\x11\xc5\x49\x89\x78\xd2\xb8\x0e\x15\xc1\x2f\x16\xce\x7b\x41\xe5\x22\x0d\x8e\x6f\x89\x5b\x54\xe7\xfd\x16\xa5\x1e\x9f\xd6\x68\x57\xd6\x42\x8f\x9a\xa1\x39\x17\x88\xa4\xb6\x3f\xec\xc0\x9a\xcd\x84\x56\x42\xdb\xb1\x74\x94\xd6\xa3\xdf\x29\xf1\x8f\x3f\x99\x23\x35\x74\x33\x61\x42\x10\x53\x9b\x99\x92\xe9\xfe\x96\xb9\x9d\xd3\x1c\xfc\x1f\xb5\x7f\xb8\xb4\xf9\x88\xcf\xec\xee\xf7\xb3\x7d\x0a\x38\x06\x7b\xf0\x78\x1d\xe3\x2c\xdc\x97\x01\xef\x01\x00\x00\xff\xff\x46\xd3\x6d\x9d\x0f\x04\x00\x00")
2019-05-29 18:54:07 +00:00
func rolebindingsYamlBytes() ([]byte, error) {
return bindataRead(
_rolebindingsYaml,
"rolebindings.yaml",
)
}
func rolebindingsYaml() (*asset, error) {
bytes, err := rolebindingsYamlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "rolebindings.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _traefikYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x8f\xcd\x6a\xc3\x30\x10\x84\xef\x7e\x8a\x25\x90\x63\x64\x72\x0a\xe8\xd6\x1f\x43\x4b\xa1\x84\xa6\xed\xb5\xac\xe5\x49\x2c\x22\xc9\x42\xbb\x0a\xb4\xa5\xef\x5e\x1c\x7c\xcc\x71\x77\x3e\x3e\x66\x38\xfb\x4f\x14\xf1\x53\xb2\x34\x22\x44\xe3\x58\x35\xc0\xf8\xa9\xbd\x6c\x9b\xb3\x4f\x83\xa5\x27\x84\xf8\x30\x72\xd1\x26\x42\x79\x60\x65\xdb\x10\x25\x8e\xb0\xa4\x85\x71\xf4\xe7\xe5\x96\xcc\x0e\x96\xce\xb5\xc7\x46\xbe\x45\x11\x1b\xc9\x70\x33\xee\x66\x81\xa5\x51\x35\x8b\x6d\xdb\xf5\xef\xcb\xc7\x7d\xf7\xf6\xda\xbd\x77\x87\xaf\xbb\xfd\xf3\xdf\xba\x15\x65\xf5\xae\xbd\x82\xd2\x2e\xe2\xcd\xd6\xec\x76\x66\x6b\xf4\xf4\xd3\x10\x09\x74\x76\x11\x95\x9e\x9d\x41\xe2\x3e\x60\xb0\xb4\xd2\x52\xb1\xba\x06\x22\xe1\xe6\x3f\x42\x8b\x77\x62\x72\x99\x22\x74\x44\x95\x9b\xd8\xdc\xbc\x24\x28\xc4\xf8\x74\x2a\x10\xe9\xd2\x90\x27\x9f\xd4\x54\xc1\x23\x8e\x5c\x83\xee\x6b\x1f\xbc\x8c\x18\x0e\x28\x17\x3f\x0f\x5e\x0c\xff\x01\x00\x00\xff\xff\xd8\x40\x47\x8d\x4d\x01\x00\x00")
2019-02-04 23:33:41 +00:00
2019-02-08 04:16:16 +00:00
func traefikYamlBytes() ([]byte, error) {
2019-02-04 23:33:41 +00:00
return bindataRead(
2019-02-08 04:16:16 +00:00
_traefikYaml,
"traefik.yaml",
2019-02-04 23:33:41 +00:00
)
}
2019-02-08 04:16:16 +00:00
func traefikYaml() (*asset, error) {
bytes, err := traefikYamlBytes()
2019-02-04 23:33:41 +00:00
if err != nil {
return nil, err
}
2019-02-08 04:16:16 +00:00
info := bindataFileInfo{name: "traefik.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
2019-02-04 23:33:41 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2019-01-22 21:14:58 +00:00
// 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-11-05 21:34:09 +00:00
"ccm.yaml": ccmYaml,
"coredns.yaml": corednsYaml,
"local-storage.yaml": localStorageYaml,
"metrics-server/aggregated-metrics-reader.yaml": metricsServerAggregatedMetricsReaderYaml,
"metrics-server/auth-delegator.yaml": metricsServerAuthDelegatorYaml,
"metrics-server/auth-reader.yaml": metricsServerAuthReaderYaml,
"metrics-server/metrics-apiservice.yaml": metricsServerMetricsApiserviceYaml,
"metrics-server/metrics-server-deployment.yaml": metricsServerMetricsServerDeploymentYaml,
"metrics-server/metrics-server-service.yaml": metricsServerMetricsServerServiceYaml,
"metrics-server/resource-reader.yaml": metricsServerResourceReaderYaml,
"rolebindings.yaml": rolebindingsYaml,
"traefik.yaml": traefikYaml,
2019-01-22 21:14:58 +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
}
2019-03-20 00:27:44 +00:00
2019-01-22 21:14:58 +00:00
var _bintree = &bintree{nil, map[string]*bintree{
2019-11-05 21:34:09 +00:00
"ccm.yaml": &bintree{ccmYaml, map[string]*bintree{}},
"coredns.yaml": &bintree{corednsYaml, map[string]*bintree{}},
"local-storage.yaml": &bintree{localStorageYaml, map[string]*bintree{}},
"metrics-server": &bintree{nil, map[string]*bintree{
"aggregated-metrics-reader.yaml": &bintree{metricsServerAggregatedMetricsReaderYaml, map[string]*bintree{}},
"auth-delegator.yaml": &bintree{metricsServerAuthDelegatorYaml, map[string]*bintree{}},
"auth-reader.yaml": &bintree{metricsServerAuthReaderYaml, map[string]*bintree{}},
"metrics-apiservice.yaml": &bintree{metricsServerMetricsApiserviceYaml, map[string]*bintree{}},
"metrics-server-deployment.yaml": &bintree{metricsServerMetricsServerDeploymentYaml, map[string]*bintree{}},
"metrics-server-service.yaml": &bintree{metricsServerMetricsServerServiceYaml, map[string]*bintree{}},
"resource-reader.yaml": &bintree{metricsServerResourceReaderYaml, map[string]*bintree{}},
}},
"rolebindings.yaml": &bintree{rolebindingsYaml, map[string]*bintree{}},
"traefik.yaml": &bintree{traefikYaml, map[string]*bintree{}},
2019-01-22 21:14:58 +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, "/")...)...)
}