ingress-nginx-helm/internal/file/bindata.go

386 lines
64 KiB
Go
Raw Normal View History

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