controllers

package
v0.0.0-...-88c5504 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MPL-2.0 Imports: 19 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Secret string

Secret : TODO

Functions

func ActionHandler

func ActionHandler(c echo.Context) error

ActionHandler : handles different actions that can be triggered on an env

func AuthenticateHandler

func AuthenticateHandler(c echo.Context) error

AuthenticateHandler manages user authentication

func AuthenticatedUser

func AuthenticatedUser(c echo.Context) models.User

AuthenticatedUser : Get the authenticated user from the JWT Token

func CreateBuildHandler

func CreateBuildHandler(c echo.Context) error

CreateBuildHandler : Will receive a env application

func CreateDatacenterHandler

func CreateDatacenterHandler(c echo.Context) (err error)

CreateDatacenterHandler : responds to POST /projects/ by creating a project on the data store

func CreateEnvHandler

func CreateEnvHandler(c echo.Context) error

CreateEnvHandler : Will receive a env application

func CreateLoggerHandler

func CreateLoggerHandler(c echo.Context) (err error)

CreateLoggerHandler : responds to POST /loggers/ by creating a logger on the data store

func CreateNotificationHandler

func CreateNotificationHandler(c echo.Context) (err error)

CreateNotificationHandler : responds to POST /notifications/ by creating a notification on the data store

func CreatePolicyDocumentHandler

func CreatePolicyDocumentHandler(c echo.Context) (err error)

CreatePolicyDocumentHandler : responds to POST /policies/ by creating a policy on the data store

func CreatePolicyHandler

func CreatePolicyHandler(c echo.Context) (err error)

CreatePolicyHandler : responds to POST /policies/ by creating a policy on the data store

func CreateRoleHandler

func CreateRoleHandler(c echo.Context) (err error)

CreateRoleHandler : responds to POST /roles/ by creating a role on the data store

func CreateUserHandler

func CreateUserHandler(c echo.Context) error

CreateUserHandler : responds to POST /users/ by creating a user on the data store

func DeleteDatacenterHandler

func DeleteDatacenterHandler(c echo.Context) error

DeleteDatacenterHandler : responds to DELETE /projects/:id: by deleting an existing project

func DeleteEnvHandler

func DeleteEnvHandler(c echo.Context) error

DeleteEnvHandler : Deletes a env by name

func DeleteLoggerHandler

func DeleteLoggerHandler(c echo.Context) (err error)

DeleteLoggerHandler : responds to DELETE /loggers/:id: by deleting an existing logger

func DeleteNotificationHandler

func DeleteNotificationHandler(c echo.Context) (err error)

DeleteNotificationHandler : responds to DELETE /notifications/:id: by deleting an existing notification

func DeletePolicyHandler

func DeletePolicyHandler(c echo.Context) (err error)

DeletePolicyHandler : responds to DELETE /policies/:id: by deleting an existing policy

func DeleteRoleByIDHandler

func DeleteRoleByIDHandler(c echo.Context) error

DeleteRoleByIDHandler : responds to DELETE /roles/:id: by deleting an existing role

func DeleteRoleHandler

func DeleteRoleHandler(c echo.Context) error

DeleteRoleHandler : responds to DELETE /roles/:id: by deleting an existing role

func DeleteUserHandler

func DeleteUserHandler(c echo.Context) error

DeleteUserHandler : responds to DELETE /users/:id: by deleting an existing user

func ForceEnvDeletionHandler

func ForceEnvDeletionHandler(c echo.Context) error

ForceEnvDeletionHandler : Deletes an env by name forcing it

func GetBuildDefinitionHandler

func GetBuildDefinitionHandler(c echo.Context) error

GetBuildDefinitionHandler : gets the mapping of a build

func GetBuildHandler

func GetBuildHandler(c echo.Context) (err error)

GetBuildHandler : gets the details of a specific env build

func GetBuildMappingHandler

func GetBuildMappingHandler(c echo.Context) error

GetBuildMappingHandler : gets the mapping of a build

func GetBuildsHandler

func GetBuildsHandler(c echo.Context) error

GetBuildsHandler : gets the list of builds for the specified env

func GetDatacenterHandler

func GetDatacenterHandler(c echo.Context) (err error)

GetDatacenterHandler : responds to GET /projects/:id:/ with the specified projects details

func GetDatacentersHandler

func GetDatacentersHandler(c echo.Context) (err error)

GetDatacentersHandler : responds to GET /projects/ with a list of all projects

func GetDiffHandler

func GetDiffHandler(c echo.Context) error

GetDiffHandler : get a diff of two builds

func GetEnvHandler

func GetEnvHandler(c echo.Context) (err error)

GetEnvHandler : responds to GET /envs/:env with the details of an existing env

func GetEnvsHandler

func GetEnvsHandler(c echo.Context) (err error)

GetEnvsHandler : responds to GET /envs/envs/ with a list ahorized envs

func GetLoggersHandler

func GetLoggersHandler(c echo.Context) (err error)

GetLoggersHandler : responds to GET /loggers/ with a list of all loggers

func GetNotificationHandler

func GetNotificationHandler(c echo.Context) error

GetNotificationHandler : responds to GET /notifications/:id:/ with the specified user details

func GetNotificationsHandler

func GetNotificationsHandler(c echo.Context) (err error)

GetNotificationsHandler : responds to GET /notifications/ with a list of all notifications

func GetPoliciesHandler

func GetPoliciesHandler(c echo.Context) (err error)

GetPoliciesHandler : responds to GET /policies/ with a list of all policies

func GetPolicyDocumentHandler

func GetPolicyDocumentHandler(c echo.Context) error

GetPolicyDocumentHandler : responds to GET /policies/:id:/revisions/:rev:

func GetPolicyDocumentsHandler

func GetPolicyDocumentsHandler(c echo.Context) (err error)

GetPoliciesHandler : responds to GET /policies/ with a list of all policies

func GetPolicyHandler

func GetPolicyHandler(c echo.Context) error

GetPolicyHandler : responds to GET /policies/:id:/ with the specified user details

func GetRoleHandler

func GetRoleHandler(c echo.Context) error

GetRoleHandler : responds to GET /roles/:role/ with the role details

func GetRolesHandler

func GetRolesHandler(c echo.Context) error

GetRolesHandler : responds to GET /roles/ with a list of all roles for admin, and all roles in your group for other roles

func GetSessionsHandler

func GetSessionsHandler(c echo.Context) error

GetSessionsHandler : TODO

func GetStatusHandler

func GetStatusHandler(c echo.Context) (err error)

GetStatusHandler : responds to GET /status/

func GetUsageReportHandler

func GetUsageReportHandler(c echo.Context) (err error)

GetUsageReportHandler : ...

func GetUserHandler

func GetUserHandler(c echo.Context) error

GetUserHandler : responds to GET /users/:id:/ with the specified user details

func GetUsersHandler

func GetUsersHandler(c echo.Context) error

GetUsersHandler : responds to GET /users/ with a list of all users for admin, and all users in your group for other users

func SearchEnvsHandler

func SearchEnvsHandler(c echo.Context) error

SearchEnvsHandler : Finds all envs

func UpdateDatacenterHandler

func UpdateDatacenterHandler(c echo.Context) (err error)

UpdateDatacenterHandler : responds to PUT /projects/:id: by updating an existing project

func UpdateEnvHandler

func UpdateEnvHandler(c echo.Context) error

UpdateEnvHandler : Not implemented

func UpdateNotificationHandler

func UpdateNotificationHandler(c echo.Context) (err error)

UpdateNotificationHandler : ...

func UpdatePolicyHandler

func UpdatePolicyHandler(c echo.Context) (err error)

UpdatePolicyHandler : ...

func UpdateUserHandler

func UpdateUserHandler(c echo.Context) error

UpdateUserHandler : responds to PUT /users/:id: by updating an existing user

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