Documentation ¶
Index ¶
- func CreateCourseBadRequest(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *goa.Error)
- func CreateCourseCreated(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.CourseMedia)
- func CreateCourseCreatedLink(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.CourseMediaLink)
- func CreateRegistrationBadRequest(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *goa.Error)
- func CreateRegistrationCreated(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.RegistrationMedia)
- func CreateRegistrationCreatedExtended(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.RegistrationMediaExtended)
- func DeleteCourseNoContent(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteCourseNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ListRegistrationOK(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.RegistrationMediaCollection)
- func ListRegistrationOKExtended(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.RegistrationMediaExtendedCollection)
- func ShowCourseBadRequest(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *goa.Error)
- func ShowCourseNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowCourseOK(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.CourseMedia)
- func ShowCourseOKLink(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.CourseMediaLink)
- func ShowRegistrationBadRequest(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *goa.Error)
- func ShowRegistrationNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowRegistrationOK(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.RegistrationMedia)
- func ShowRegistrationOKExtended(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.RegistrationMediaExtended)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCourseBadRequest ¶
func CreateCourseBadRequest(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.CourseController, payload *app.CreateCoursePayload) (http.ResponseWriter, *goa.Error)
CreateCourseBadRequest Create runs the method Create of the given controller with the given parameters and payload. 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 CreateCourseCreated ¶
func CreateCourseCreated(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.CourseController, payload *app.CreateCoursePayload) (http.ResponseWriter, *app.CourseMedia)
CreateCourseCreated Create runs the method Create of the given controller with the given parameters and payload. 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 CreateCourseCreatedLink ¶
func CreateCourseCreatedLink(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.CourseController, payload *app.CreateCoursePayload) (http.ResponseWriter, *app.CourseMediaLink)
CreateCourseCreatedLink Create runs the method Create of the given controller with the given parameters and payload. 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 CreateRegistrationBadRequest ¶
func CreateRegistrationBadRequest(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.RegistrationController, payload *app.CreateRegistrationPayload) (http.ResponseWriter, *goa.Error)
CreateRegistrationBadRequest Create runs the method Create of the given controller with the given parameters and payload. 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 CreateRegistrationCreated ¶
func CreateRegistrationCreated(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.RegistrationController, payload *app.CreateRegistrationPayload) (http.ResponseWriter, *app.RegistrationMedia)
CreateRegistrationCreated Create runs the method Create of the given controller with the given parameters and payload. 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 CreateRegistrationCreatedExtended ¶
func CreateRegistrationCreatedExtended(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.RegistrationController, payload *app.CreateRegistrationPayload) (http.ResponseWriter, *app.RegistrationMediaExtended)
CreateRegistrationCreatedExtended Create runs the method Create of the given controller with the given parameters and payload. 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 DeleteCourseNoContent ¶
func DeleteCourseNoContent(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.CourseController, id int) http.ResponseWriter
DeleteCourseNoContent Delete runs the method Delete 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 DeleteCourseNotFound ¶
func DeleteCourseNotFound(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.CourseController, id int) http.ResponseWriter
DeleteCourseNotFound Delete runs the method Delete 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 ListRegistrationOK ¶
func ListRegistrationOK(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.RegistrationController, courseID *int) (http.ResponseWriter, app.RegistrationMediaCollection)
ListRegistrationOK List 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 ListRegistrationOKExtended ¶
func ListRegistrationOKExtended(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.RegistrationController, courseID *int) (http.ResponseWriter, app.RegistrationMediaExtendedCollection)
ListRegistrationOKExtended List 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 ShowCourseBadRequest ¶
func ShowCourseBadRequest(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.CourseController, id int) (http.ResponseWriter, *goa.Error)
ShowCourseBadRequest Show 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 ShowCourseNotFound ¶
func ShowCourseNotFound(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.CourseController, id int) http.ResponseWriter
ShowCourseNotFound Show 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 ShowCourseOK ¶
func ShowCourseOK(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.CourseController, id int) (http.ResponseWriter, *app.CourseMedia)
ShowCourseOK Show 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 ShowCourseOKLink ¶
func ShowCourseOKLink(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.CourseController, id int) (http.ResponseWriter, *app.CourseMediaLink)
ShowCourseOKLink Show 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 ShowRegistrationBadRequest ¶
func ShowRegistrationBadRequest(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.RegistrationController, id int, view *string) (http.ResponseWriter, *goa.Error)
ShowRegistrationBadRequest Show 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 ShowRegistrationNotFound ¶
func ShowRegistrationNotFound(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.RegistrationController, id int, view *string) http.ResponseWriter
ShowRegistrationNotFound Show 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 ShowRegistrationOK ¶
func ShowRegistrationOK(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.RegistrationController, id int, view *string) (http.ResponseWriter, *app.RegistrationMedia)
ShowRegistrationOK Show 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 ShowRegistrationOKExtended ¶
func ShowRegistrationOKExtended(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.RegistrationController, id int, view *string) (http.ResponseWriter, *app.RegistrationMediaExtended)
ShowRegistrationOKExtended Show 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.