Documentation ¶
Index ¶
- Variables
- func AboutHandler(c buffalo.Context) error
- func App() *buffalo.App
- func PullHandler(c buffalo.Context) error
- func RunnersHandler(c buffalo.Context) error
- type ProjectsResource
- func (v ProjectsResource) Create(c buffalo.Context) error
- func (v ProjectsResource) Destroy(c buffalo.Context) error
- func (v ProjectsResource) List(c buffalo.Context) error
- func (v ProjectsResource) Logs(c buffalo.Context) error
- func (v ProjectsResource) Recreate(c buffalo.Context) error
- func (v ProjectsResource) Show(c buffalo.Context) error
- func (v ProjectsResource) Update(c buffalo.Context) error
Constants ¶
This section is empty.
Variables ¶
var ENV = envy.Get("GO_ENV", "development")
ENV is used to help switch settings based on where the application is being run. Default is "development".
Functions ¶
func AboutHandler ¶
AboutHandler is a default handler to serve up memory of 18.20.
func App ¶
App is where all routes and middleware for buffalo should be defined. This is the nerve center of your application.
func PullHandler ¶
PullHandler pulls the latest version of required images.
func RunnersHandler ¶
RunnersHandler sends request to specific ElRunner
Types ¶
type ProjectsResource ¶
ProjectsResource manages existing projects
func (ProjectsResource) Create ¶
func (v ProjectsResource) Create(c buffalo.Context) error
Create adds a project to the DB and creates its docker. This function is mapped to the path POST /projects
func (ProjectsResource) Destroy ¶
func (v ProjectsResource) Destroy(c buffalo.Context) error
Destroy deletes a project from the DB and its docker. This function is mapped to the path DELETE /projects/{project_id}
func (ProjectsResource) List ¶
func (v ProjectsResource) List(c buffalo.Context) error
List gets all projects. This function is mapped to the path GET /projects
func (ProjectsResource) Logs ¶
func (v ProjectsResource) Logs(c buffalo.Context) error
Logs returns project execution logs and errors. This function is mapped to the path GET /projects/{project_id}/logs
func (ProjectsResource) Recreate ¶
func (v ProjectsResource) Recreate(c buffalo.Context) error
Recreate creates project docker and stores their information. This function is mapped to the path GET /projects/{project_id}/recreate