test

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JobsProjectNotFound

func JobsProjectNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ProjectController, projectID int) http.ResponseWriter

JobsProjectNotFound runs the method Jobs of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func JobsProjectOK

JobsProjectOK runs the method Jobs of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func JobsProjectOKLight

func JobsProjectOKLight(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ProjectController, projectID int) (http.ResponseWriter, app.OctorunnerJobLightCollection)

JobsProjectOKLight runs the method Jobs of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListProjectOK

ListProjectOK runs the method List of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowJobNotFound

func ShowJobNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.JobController, jobID int) http.ResponseWriter

ShowJobNotFound runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowJobOK

func ShowJobOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.JobController, jobID int) (http.ResponseWriter, *app.OctorunnerJob)

ShowJobOK runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowJobOKLight

func ShowJobOKLight(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.JobController, jobID int) (http.ResponseWriter, *app.OctorunnerJobLight)

ShowJobOKLight runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowLatestJobNotFound

func ShowLatestJobNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.JobController) http.ResponseWriter

ShowLatestJobNotFound runs the method ShowLatest of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowLatestJobOK

func ShowLatestJobOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.JobController) (http.ResponseWriter, *app.OctorunnerJob)

ShowLatestJobOK runs the method ShowLatest of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowLatestJobOKLight

func ShowLatestJobOKLight(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.JobController) (http.ResponseWriter, *app.OctorunnerJobLight)

ShowLatestJobOKLight runs the method ShowLatest of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowProjectNotFound

func ShowProjectNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ProjectController, projectID int) http.ResponseWriter

ShowProjectNotFound runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowProjectOK

func ShowProjectOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ProjectController, projectID int) (http.ResponseWriter, *app.OctorunnerProject)

ShowProjectOK runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

Types

This section is empty.

Jump to

Keyboard shortcuts

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