131 lines
2.2 KiB
Go
131 lines
2.2 KiB
Go
package resource
|
|
|
|
import (
|
|
_ "embed"
|
|
)
|
|
|
|
var (
|
|
//go:embed yaml/registry.yaml
|
|
YAMLRegistry string
|
|
|
|
//go:embed yaml/flannel.yaml
|
|
YAMLFlannel string
|
|
|
|
//go:embed yaml/es.yaml
|
|
YAMLES string
|
|
|
|
//go:embed yaml/kibana.yaml
|
|
YAMLKibana []byte
|
|
|
|
//go:embed sh/es.init.sh
|
|
BashESInit []byte
|
|
|
|
//go:embed yaml/emqx.yaml
|
|
YAMLEMQX []byte
|
|
|
|
//go:embed yaml/minio.yaml
|
|
YAMLMinIO string
|
|
|
|
//go:embed sql/yosguard.create.sql
|
|
SQLYosguard []byte
|
|
|
|
//go:embed yaml/less-dns.yaml
|
|
YAMLLessDNS []byte
|
|
|
|
//go:embed yaml/seafile.yaml
|
|
YAMLSeafile string
|
|
|
|
//go:embed yaml/backup-seafile.yaml
|
|
YAMLBackupSeafile string
|
|
|
|
//go:embed yaml/app.user.yaml
|
|
YAMLAppUser string
|
|
|
|
//go:embed yaml/app.gateway.yaml
|
|
YAMLAppGateway string
|
|
|
|
//go:embed yaml/app.client.yaml
|
|
YAMLAppClient string
|
|
|
|
//go:embed yaml/app.mie.api.yaml
|
|
YAMLAppMieAPI string
|
|
|
|
//go:embed yaml/app.mie.worker.yaml
|
|
YAMLAppMieWorker []byte
|
|
|
|
//go:embed yaml/app.mie.cron.yaml
|
|
YAMLAppMieCron []byte
|
|
|
|
//go:embed yaml/app.mie.sweeper.yaml
|
|
YAMLAppMieSweeper []byte
|
|
|
|
//go:embed yaml/app.oem.yaml
|
|
YAMLAppOEM string
|
|
|
|
//go:embed yaml/app.front.user.yaml
|
|
YAMLAppFrontUser string
|
|
|
|
//go:embed yaml/app.front.admin.yaml
|
|
YAMLAppFrontAdmin string
|
|
|
|
//go:embed yaml/app.nginx.yaml
|
|
YAMLAppNGINX string
|
|
|
|
//go:embed ssl/ca.crt
|
|
SSLCaCrt string
|
|
|
|
//go:embed ssl/client.server.crt
|
|
SSLClientServerCrt string
|
|
|
|
//go:embed ssl/client.server.key
|
|
SSLClientServerKey string
|
|
|
|
//go:embed ssl/ffdhe2048.txt
|
|
SSLFFDHE2048 string
|
|
|
|
//go:embed ssl/mqtt.server.crt
|
|
SSLMQTTServerCrt string
|
|
|
|
//go:embed ssl/mqtt.server.key
|
|
SSLMQTTServerKey string
|
|
|
|
//go:embed ssl/mqtt.client.crt
|
|
SSLMQTTClientCrt []byte
|
|
|
|
//go:embed ssl/mqtt.client.key
|
|
SSLMQTTClientKey []byte
|
|
|
|
//go:embed ssl/server.crt
|
|
SSLServerCrt string
|
|
|
|
//go:embed ssl/server.key
|
|
SSLServerKey string
|
|
|
|
//go:embed ssl/web.server.crt
|
|
SSLWebServerCrt string
|
|
|
|
//go:embed ssl/web.server.key
|
|
SSLWebServerKey string
|
|
|
|
//go:embed nginx/seafile.conf
|
|
NGINXSeafile []byte
|
|
|
|
//go:embed nginx/common.conf
|
|
NGINXCommon []byte
|
|
|
|
//go:embed nginx/gateway.conf
|
|
NGINXGateway []byte
|
|
|
|
//go:embed nginx/web.conf
|
|
NGINXWeb []byte
|
|
|
|
//go:embed nginx/client.conf
|
|
NGINXClient []byte
|
|
|
|
//go:embed nginx/nginx.conf
|
|
NGINXMain []byte
|
|
|
|
//go:embed nginx/user.conf
|
|
NGINXUser []byte
|
|
)
|