You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
k3s/pkg/deploy/zz_generated_bindata.go

500 lines
32 KiB

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