Documentation ¶
Index ¶
- func GetCertSelect() string
- func GetCertfileData(name string) []k8s.CloudLbCert
- func GetDomainSelect(entname string) string
- func GetLbData(id interface{}) k8s.CloudLb
- func GetLbDomainData(domain string) k8s.CloudLbService
- func GetLbServiceData(domains []string) []lb.LbServiceVersion
- func GetLbServiceMap(domains []string) util.Lock
- type CertController
- type LbController
- type ServiceController
- func (this *ServiceController) GetLbDomain()
- func (this *ServiceController) GetNginxConf()
- func (this *ServiceController) SaveNginxConf()
- func (this *ServiceController) ServiceAdd()
- func (this *ServiceController) ServiceData()
- func (this *ServiceController) ServiceDelete()
- func (this *ServiceController) ServiceSave()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCertfileData ¶
func GetCertfileData(name string) []k8s.CloudLbCert
获取docker数据 2018-01-26 11:17
func GetLbDomainData ¶
func GetLbDomainData(domain string) k8s.CloudLbService
2018-02-17 21:20 按域名查找lb服务信息
func GetLbServiceData ¶
func GetLbServiceData(domains []string) []lb.LbServiceVersion
2018-02-17 21:17 获取指定域名的服务
func GetLbServiceMap ¶
2018-02-14 13:29 获取指定域名在负载均衡的版本号
Types ¶
type CertController ¶
type CertController struct {
beego.Controller
}
2018-02-02 10:32 持续集成
func (*CertController) CertAdd ¶
func (this *CertController) CertAdd()
cert管理添加页面 @router /ci/cert/add [get]
func (*CertController) CertData ¶
func (this *CertController) CertData()
cert数据 @router /api/network/cert [get]
func (*CertController) CertDelete ¶
func (this *CertController) CertDelete()
json 删除cert 2018-02-02 21:46 @router /api/network/cert/:id:int [delete]
func (*CertController) CertList ¶
func (this *CertController) CertList()
cert管理入口页面 @router /ci/cert/list [get]
func (*CertController) CertSave ¶
func (this *CertController) CertSave()
string cert保存 @router /api/network/cert [post]
type LbController ¶
type LbController struct {
beego.Controller
}
func (*LbController) LbAdd ¶
func (this *LbController) LbAdd()
负载均衡管理添加页面 @router /base/network/lb/add [get]
func (*LbController) LbDelete ¶
func (this *LbController) LbDelete()
json 删除负载均衡 @router /api/network/lb/:id:int [delete]
func (*LbController) LbDetailPage ¶
func (this *LbController) LbDetailPage()
集群负载均衡详情页面 @router /base/network/lb/detail/:id:int [get]
func (*LbController) LbList ¶
func (this *LbController) LbList()
负载均衡管理入口页面 @router /base/network/lb/list [get]
func (*LbController) LbSave ¶
func (this *LbController) LbSave()
string 负载均衡保存 @router /api/lb [post]
type ServiceController ¶
type ServiceController struct {
beego.Controller
}
func (*ServiceController) GetLbDomain ¶
func (this *ServiceController) GetLbDomain()
获取负载均衡的域名,通过环境区分 @param entname @router /api/network/lb/domain [get]
func (*ServiceController) GetNginxConf ¶
func (this *ServiceController) GetNginxConf()
2018-02-01 21:39 获取nginx配置文件信息 @router /api/network/lb/nginx/:id:int [get]
func (*ServiceController) SaveNginxConf ¶
func (this *ServiceController) SaveNginxConf()
2018-02-01 22:11 保存nginx配置 @router /api/network/lb/nginx/:id:int [post]
func (*ServiceController) ServiceAdd ¶
func (this *ServiceController) ServiceAdd()
负载均衡管理添加页面 @router /base/network/lb/service/add [get]
func (*ServiceController) ServiceData ¶
func (this *ServiceController) ServiceData()
负载均衡数据 @router /api/lb/service/:hi(.*) [get]
func (*ServiceController) ServiceDelete ¶
func (this *ServiceController) ServiceDelete()
json 删除负载均衡 @router /api/network/lb/service/:id:int [delete]
func (*ServiceController) ServiceSave ¶
func (this *ServiceController) ServiceSave()
string 负载均衡保存 @router /api/lb/service [post]