Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonController ¶
type CommonController struct { beego.Controller i18n.Locale }
CommonController handles request from UI that doesn't expect a page, such as /SwitchLanguage /logout ...
func (*CommonController) Login ¶
func (cc *CommonController) Login()
Login handles login request from UI.
func (*CommonController) ResetPassword ¶
func (cc *CommonController) ResetPassword()
ResetPassword handles request from the reset page and reset password
func (*CommonController) SendResetEmail ¶
func (cc *CommonController) SendResetEmail()
SendResetEmail verifies the Email address and contact SMTP server to send reset password Email.
func (*CommonController) UserExists ¶
func (cc *CommonController) UserExists()
UserExists checks if user exists when user input value in sign in form.
type ErrorController ¶
type ErrorController struct {
beego.Controller
}
ErrorController handles beego error pages
func (*ErrorController) Error404 ¶
func (ec *ErrorController) Error404()
Error404 renders the 404 page
type IndexController ¶
type IndexController struct {
beego.Controller
}
IndexController handles request to /
func (*IndexController) Prepare ¶
func (ic *IndexController) Prepare()
Prepare to check if incoming requests should be served
type RegistryProxy ¶
type RegistryProxy struct {
beego.Controller
}
RegistryProxy is the endpoint on UI for a reverse proxy pointing to registry
func (*RegistryProxy) Handle ¶
func (p *RegistryProxy) Handle()
Handle is the only entrypoint for incoming requests, all requests must go through this func. 所有访问 docker registry 的请求的总入口