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