controllers

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2017 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackEnd

type BackEnd struct {
	*revel.Controller
}

func (BackEnd) BadRequest

func (c BackEnd) BadRequest(err error, msg string) revel.Result

func (BackEnd) Error

func (c BackEnd) Error(err error, op string) revel.Result

func (BackEnd) RenderCreated

func (c BackEnd) RenderCreated(location string) revel.Result

func (BackEnd) RenderNoContent

func (c BackEnd) RenderNoContent() revel.Result

type Created

type Created struct {
	Location string
}

func (*Created) Apply

func (j *Created) Apply(req *revel.Request, resp *revel.Response)

type Home

type Home struct {
	BackEnd
}
func (c Home) Links() revel.Result

func (Home) Options

func (c Home) Options() revel.Result

func (Home) Ping

func (c Home) Ping() revel.Result

type Instance

type Instance struct {
	BackEnd
}

func (*Instance) Create

func (c *Instance) Create() revel.Result

POST /instances

func (*Instance) Delete

func (c *Instance) Delete(uuid string) revel.Result

DELETE /instances/:uuid

func (*Instance) Get

func (c *Instance) Get(uuid string) revel.Result

GET /instances/:uuid

func (*Instance) List

func (c *Instance) List() revel.Result

GET /instances

func (*Instance) Update

func (c *Instance) Update(uuid string) revel.Result

PUT /instances/:uuid

type NoContent

type NoContent struct {
}

func (*NoContent) Apply

func (j *NoContent) Apply(req *revel.Request, resp *revel.Response)

type QAN

type QAN struct {
	BackEnd
}

func (QAN) Config

func (c QAN) Config(uuid string) revel.Result

func (QAN) Profile

func (c QAN) Profile(uuid string) revel.Result

func (QAN) QueryReport

func (c QAN) QueryReport(uuid, queryId string) revel.Result

func (QAN) ServerSummary added in v1.0.4

func (c QAN) ServerSummary(uuid string) revel.Result

type Query

type Query struct {
	BackEnd
}

func (*Query) Get

func (c *Query) Get(id string) revel.Result

GET /queries/:id

func (*Query) GetExamples

func (c *Query) GetExamples(id string) revel.Result

GET /queries/:id/examples

func (*Query) GetTables

func (c *Query) GetTables(id string) revel.Result

GET /queries/:id/tables

func (*Query) UpdateExample

func (c *Query) UpdateExample(id string) revel.Result

PUT /queries/:id/example

func (*Query) UpdateTables

func (c *Query) UpdateTables(id string) revel.Result

PUT /queries/:id/tables

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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