api

package
v1.9.2-0...-7c8166c Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2015 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VIEW_INDEX = "index"
)

Variables

This section is empty.

Functions

func AddApiKey

func AddApiKey(c *middleware.Context, cmd m.AddApiKeyCommand)

func AddDataSource

func AddDataSource(c *middleware.Context, cmd m.AddDataSourceCommand)

func AddOrgUser

func AddOrgUser(c *middleware.Context, cmd m.AddOrgUserCommand)

func AdminCreateUser

func AdminCreateUser(c *middleware.Context, form dtos.AdminCreateUserForm)

func AdminDeleteUser

func AdminDeleteUser(c *middleware.Context)

func AdminGetSettings

func AdminGetSettings(c *middleware.Context)

func AdminGetUser

func AdminGetUser(c *middleware.Context)

func AdminSearchUsers

func AdminSearchUsers(c *middleware.Context)

func AdminUpdateUser

func AdminUpdateUser(c *middleware.Context, form dtos.AdminUpdateUserForm)

func AdminUpdateUserPassword

func AdminUpdateUserPassword(c *middleware.Context, form dtos.AdminUpdateUserPasswordForm)

func AdminUpdateUserPermissions

func AdminUpdateUserPermissions(c *middleware.Context, form dtos.AdminUpdateUserPermissionsForm)

func ChangeUserPassword

func ChangeUserPassword(c *middleware.Context, cmd m.ChangeUserPasswordCommand)

func CreateDashboardSnapshot

func CreateDashboardSnapshot(c *middleware.Context, cmd m.CreateDashboardSnapshotCommand)

func CreateOrg

func CreateOrg(c *middleware.Context, cmd m.CreateOrgCommand)

func DeleteApiKey

func DeleteApiKey(c *middleware.Context)

func DeleteDashboard

func DeleteDashboard(c *middleware.Context)

func DeleteDashboardSnapshot

func DeleteDashboardSnapshot(c *middleware.Context)

func DeleteDataSource

func DeleteDataSource(c *middleware.Context)

func GetApiKeys

func GetApiKeys(c *middleware.Context)

func GetDashboard

func GetDashboard(c *middleware.Context)

func GetDashboardSnapshot

func GetDashboardSnapshot(c *middleware.Context)

func GetDataSourceById

func GetDataSourceById(c *middleware.Context)

func GetDataSourcePlugins

func GetDataSourcePlugins(c *middleware.Context)

func GetDataSources

func GetDataSources(c *middleware.Context)

func GetFrontendSettings

func GetFrontendSettings(c *middleware.Context)

func GetHomeDashboard

func GetHomeDashboard(c *middleware.Context)

func GetOrg

func GetOrg(c *middleware.Context)

func GetOrgUsers

func GetOrgUsers(c *middleware.Context)

func GetTestMetrics

func GetTestMetrics(c *middleware.Context)

func GetUser

func GetUser(c *middleware.Context)

func GetUserOrgList

func GetUserOrgList(c *middleware.Context)

func Index

func Index(c *middleware.Context)

func LoginApiPing

func LoginApiPing(c *middleware.Context)

func LoginPost

func LoginPost(c *middleware.Context, cmd dtos.LoginCommand)

func LoginView

func LoginView(c *middleware.Context)

func Logout

func Logout(c *middleware.Context)

func NewReverseProxy

func NewReverseProxy(ds *m.DataSource, proxyPath string) *httputil.ReverseProxy

func NotFound

func NotFound(c *middleware.Context)

func OAuthLogin

func OAuthLogin(ctx *middleware.Context)

func PostDashboard

func PostDashboard(c *middleware.Context, cmd m.SaveDashboardCommand)

func ProxyDataSourceRequest

func ProxyDataSourceRequest(c *middleware.Context)

ProxyDataSourceRequest TODO need to cache datasources

func Register

func Register(r *macaron.Macaron)

Register adds http routes

func RemoveOrgUser

func RemoveOrgUser(c *middleware.Context)

func RenderToPng

func RenderToPng(c *middleware.Context)
func Search(c *middleware.Context)

func SignUp

func SignUp(c *middleware.Context, cmd m.CreateUserCommand)

POST /api/user/signup

func StarDashboard

func StarDashboard(c *middleware.Context)

func UnstarDashboard

func UnstarDashboard(c *middleware.Context)

func UpdateDataSource

func UpdateDataSource(c *middleware.Context, cmd m.UpdateDataSourceCommand)

func UpdateOrg

func UpdateOrg(c *middleware.Context, cmd m.UpdateOrgCommand)

func UpdateUser

func UpdateUser(c *middleware.Context, cmd m.UpdateUserCommand)

func UserSetUsingOrg

func UserSetUsingOrg(c *middleware.Context)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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