controllers

package
v1.4.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

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) LogOut

func (cc *CommonController) LogOut()

LogOut Habor UI

func (*CommonController) Login

func (cc *CommonController) Login()

Login handles login request from UI.

func (*CommonController) Render

func (cc *CommonController) Render() error

Render returns nil.

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) Get

func (ic *IndexController) Get()

Get renders the index page

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.

func (*RegistryProxy) Render

func (p *RegistryProxy) Render() error

Render ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL