controllers

package
v0.0.0-...-75db7dd Latest Latest
Warning

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

Go to latest
Published: May 22, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToProjectMedia

func ToProjectMedia(job *persist.Job) *app.OctorunnerJob

Types

type JobController

type JobController struct {
	*goa.Controller
}

JobController implements the job resource.

func NewJobController

func NewJobController(service *goa.Service) *JobController

NewJobController creates a job controller.

func (*JobController) Show

func (c *JobController) Show(ctx *app.ShowJobContext) error

Show runs the show action.

func (*JobController) ShowLatest

func (c *JobController) ShowLatest(ctx *app.ShowLatestJobContext) error

ShowLatest runs the showLatest action.

type ProjectController

type ProjectController struct {
	*goa.Controller
}

ProjectController implements the project resource.

func NewProjectController

func NewProjectController(service *goa.Service) *ProjectController

NewProjectController creates a project controller.

func (*ProjectController) Jobs

Jobs runs the jobs action.

func (*ProjectController) List

List runs the list action.

func (*ProjectController) Show

Show runs the show action.

Jump to

Keyboard shortcuts

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