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