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