Documentation ¶
Index ¶
- func AddSamplesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func AddSamplesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func AddSamplesOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Sample)
- func AddSamplesUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func DeleteSamplesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func DeleteSamplesNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteSamplesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteSamplesUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ListSamplesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ListSamplesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ListSamplesOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.SamplesCollection)
- func ListSamplesUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func LoginAuthBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func LoginAuthNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func LoginAuthOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Auth)
- func ReauthenticateAuthBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ReauthenticateAuthNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ReauthenticateAuthOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Auth)
- func ShowSamplesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ShowSamplesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowSamplesOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Sample)
- func ShowSamplesUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func UpdateSamplesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func UpdateSamplesNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateSamplesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateSamplesUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSamplesBadRequest ¶
func AddSamplesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, payload *app.AddSamplesPayload) (http.ResponseWriter, error)
AddSamplesBadRequest runs the method Add 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 AddSamplesNotFound ¶
func AddSamplesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, payload *app.AddSamplesPayload) http.ResponseWriter
AddSamplesNotFound runs the method Add of the given controller with the given parameters and payload. 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 AddSamplesOK ¶
func AddSamplesOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, payload *app.AddSamplesPayload) (http.ResponseWriter, *app.Sample)
AddSamplesOK runs the method Add 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 AddSamplesUnauthorized ¶
func AddSamplesUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, payload *app.AddSamplesPayload) (http.ResponseWriter, error)
AddSamplesUnauthorized runs the method Add 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 DeleteSamplesBadRequest ¶
func DeleteSamplesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int) (http.ResponseWriter, error)
DeleteSamplesBadRequest 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 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 DeleteSamplesNoContent ¶
func DeleteSamplesNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int) http.ResponseWriter
DeleteSamplesNoContent 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 DeleteSamplesNotFound ¶
func DeleteSamplesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int) http.ResponseWriter
DeleteSamplesNotFound 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 DeleteSamplesUnauthorized ¶
func DeleteSamplesUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int) (http.ResponseWriter, error)
DeleteSamplesUnauthorized 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 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 ListSamplesBadRequest ¶
func ListSamplesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController) (http.ResponseWriter, error)
ListSamplesBadRequest 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 ListSamplesNotFound ¶
func ListSamplesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController) http.ResponseWriter
ListSamplesNotFound 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. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func ListSamplesOK ¶
func ListSamplesOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController) (http.ResponseWriter, app.SamplesCollection)
ListSamplesOK 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 ListSamplesUnauthorized ¶
func ListSamplesUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController) (http.ResponseWriter, error)
ListSamplesUnauthorized 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 LoginAuthBadRequest ¶
func LoginAuthBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.LoginAuthPayload) (http.ResponseWriter, error)
LoginAuthBadRequest runs the method Login 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 LoginAuthNotFound ¶
func LoginAuthNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.LoginAuthPayload) http.ResponseWriter
LoginAuthNotFound runs the method Login of the given controller with the given parameters and payload. 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 LoginAuthOK ¶
func LoginAuthOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.LoginAuthPayload) (http.ResponseWriter, *app.Auth)
LoginAuthOK runs the method Login 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 ReauthenticateAuthBadRequest ¶
func ReauthenticateAuthBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.ReauthenticateAuthPayload) (http.ResponseWriter, error)
ReauthenticateAuthBadRequest runs the method Reauthenticate 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 ReauthenticateAuthNotFound ¶
func ReauthenticateAuthNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.ReauthenticateAuthPayload) http.ResponseWriter
ReauthenticateAuthNotFound runs the method Reauthenticate of the given controller with the given parameters and payload. 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 ReauthenticateAuthOK ¶
func ReauthenticateAuthOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.ReauthenticateAuthPayload) (http.ResponseWriter, *app.Auth)
ReauthenticateAuthOK runs the method Reauthenticate 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 ShowSamplesBadRequest ¶
func ShowSamplesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int) (http.ResponseWriter, error)
ShowSamplesBadRequest 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 ShowSamplesNotFound ¶
func ShowSamplesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int) http.ResponseWriter
ShowSamplesNotFound 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 ShowSamplesOK ¶
func ShowSamplesOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int) (http.ResponseWriter, *app.Sample)
ShowSamplesOK 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 ShowSamplesUnauthorized ¶
func ShowSamplesUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int) (http.ResponseWriter, error)
ShowSamplesUnauthorized 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 UpdateSamplesBadRequest ¶
func UpdateSamplesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int, payload *app.UpdateSamplesPayload) (http.ResponseWriter, error)
UpdateSamplesBadRequest runs the method Update 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 UpdateSamplesNoContent ¶
func UpdateSamplesNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int, payload *app.UpdateSamplesPayload) http.ResponseWriter
UpdateSamplesNoContent runs the method Update of the given controller with the given parameters and payload. 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 UpdateSamplesNotFound ¶
func UpdateSamplesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int, payload *app.UpdateSamplesPayload) http.ResponseWriter
UpdateSamplesNotFound runs the method Update of the given controller with the given parameters and payload. 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 UpdateSamplesUnauthorized ¶
func UpdateSamplesUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SamplesController, id int, payload *app.UpdateSamplesPayload) (http.ResponseWriter, error)
UpdateSamplesUnauthorized runs the method Update 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.
Types ¶
This section is empty.