test

package
v0.0.0-...-c65c6a6 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAccountsBadRequest

func AddAccountsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsController, payload *app.AddAccountsPayload) (http.ResponseWriter, error)

AddAccountsBadRequest 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 AddAccountsDataBadRequest

func AddAccountsDataBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsDataController, payload *app.AddAccountsDataPayload) (http.ResponseWriter, error)

AddAccountsDataBadRequest 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 AddAccountsDataOK

AddAccountsDataOK 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 AddAccountsOK

AddAccountsOK 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 AddBottlesBadRequest

func AddBottlesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, payload *app.AddBottlesPayload) (http.ResponseWriter, error)

AddBottlesBadRequest 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 AddBottlesCreated

func AddBottlesCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, payload *app.AddBottlesPayload) http.ResponseWriter

AddBottlesCreated 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 AddBottlesDataBadRequest

func AddBottlesDataBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController, payload *app.AddBottlesDataPayload) (http.ResponseWriter, error)

AddBottlesDataBadRequest 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 AddBottlesDataCreated

func AddBottlesDataCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController, payload *app.AddBottlesDataPayload) http.ResponseWriter

AddBottlesDataCreated 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 ArrayResponseBadRequest

func ArrayResponseBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResponseController) (http.ResponseWriter, error)

ArrayResponseBadRequest runs the method Array 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 ArrayResponseOK

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

ArrayResponseOK runs the method Array 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 DeleteAccountsBadRequest

func DeleteAccountsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsController, id int) (http.ResponseWriter, error)

DeleteAccountsBadRequest 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 DeleteAccountsDataBadRequest

func DeleteAccountsDataBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsDataController, id int) (http.ResponseWriter, error)

DeleteAccountsDataBadRequest 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 DeleteAccountsDataNotFound

func DeleteAccountsDataNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsDataController, id int) http.ResponseWriter

DeleteAccountsDataNotFound 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 DeleteAccountsDataOK

func DeleteAccountsDataOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsDataController, id int) http.ResponseWriter

DeleteAccountsDataOK 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 DeleteAccountsNotFound

func DeleteAccountsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsController, id int) http.ResponseWriter

DeleteAccountsNotFound 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 DeleteAccountsOK

func DeleteAccountsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsController, id int) http.ResponseWriter

DeleteAccountsOK 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 DeleteBottlesBadRequest

func DeleteBottlesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, id int) (http.ResponseWriter, error)

DeleteBottlesBadRequest 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 DeleteBottlesDataBadRequest

func DeleteBottlesDataBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController, id int) (http.ResponseWriter, error)

DeleteBottlesDataBadRequest 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 DeleteBottlesDataNotFound

func DeleteBottlesDataNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController, id int) http.ResponseWriter

DeleteBottlesDataNotFound 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 DeleteBottlesDataOK

func DeleteBottlesDataOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController, id int) http.ResponseWriter

DeleteBottlesDataOK 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 DeleteBottlesNotFound

func DeleteBottlesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, id int) http.ResponseWriter

DeleteBottlesNotFound 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 DeleteBottlesOK

func DeleteBottlesOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, id int) http.ResponseWriter

DeleteBottlesOK 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 EtcMethodBadRequest

func EtcMethodBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController, id int, type_ int) (http.ResponseWriter, error)

EtcMethodBadRequest runs the method Etc 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 EtcMethodOK

func EtcMethodOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController, id int, type_ int) http.ResponseWriter

EtcMethodOK runs the method Etc 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 FollowMethodBadRequest

func FollowMethodBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, error)

FollowMethodBadRequest runs the method Follow 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 FollowMethodBadRequest1

func FollowMethodBadRequest1(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, error)

FollowMethodBadRequest1 runs the method Follow 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 FollowMethodOK

func FollowMethodOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, *app.Message)

FollowMethodOK runs the method Follow 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 FollowMethodOK1

func FollowMethodOK1(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, *app.Message)

FollowMethodOK1 runs the method Follow 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 HashResponseBadRequest

func HashResponseBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResponseController) (http.ResponseWriter, error)

HashResponseBadRequest runs the method Hash 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 HashResponseOK

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

HashResponseOK runs the method Hash 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 HelloActionsBadRequest

func HelloActionsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ActionsController, name string) (http.ResponseWriter, error)

HelloActionsBadRequest runs the method Hello 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 HelloActionsOK

func HelloActionsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ActionsController, name string) (http.ResponseWriter, *app.Message)

HelloActionsOK runs the method Hello 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 IDActionsBadRequest

func IDActionsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ActionsController, id int) (http.ResponseWriter, error)

IDActionsBadRequest runs the method ID 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 IDActionsNotFound

func IDActionsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ActionsController, id int) http.ResponseWriter

IDActionsNotFound runs the method ID 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 IDActionsOK

func IDActionsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ActionsController, id int) (http.ResponseWriter, *app.Integer)

IDActionsOK runs the method ID 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 ListAccountsBadRequest

func ListAccountsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsController) (http.ResponseWriter, error)

ListAccountsBadRequest 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 ListAccountsDataBadRequest

func ListAccountsDataBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsDataController) (http.ResponseWriter, error)

ListAccountsDataBadRequest 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 ListAccountsDataOK

ListAccountsDataOK 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 ListAccountsOK

ListAccountsOK 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 ListBottlesBadRequest

func ListBottlesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController) (http.ResponseWriter, error)

ListBottlesBadRequest 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 ListBottlesDataBadRequest

func ListBottlesDataBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController) (http.ResponseWriter, error)

ListBottlesDataBadRequest 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 ListBottlesDataOK

ListBottlesDataOK 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 ListBottlesOK

ListBottlesOK 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 ListBottlesOKRelation

ListBottlesOKRelation 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 ListMethodBadRequest

func ListMethodBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, error)

ListMethodBadRequest 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 ListMethodBadRequest1

func ListMethodBadRequest1(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, error)

ListMethodBadRequest1 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 ListMethodBadRequest2

func ListMethodBadRequest2(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, error)

ListMethodBadRequest2 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 ListMethodOK

ListMethodOK 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 ListMethodOK1

ListMethodOK1 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 ListMethodOK1Tiny

ListMethodOK1Tiny 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 ListMethodOK2

ListMethodOK2 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 ListMethodOK2Tiny

ListMethodOK2Tiny 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 ListMethodOKTiny

ListMethodOKTiny 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 ListRelationBottlesBadRequest

func ListRelationBottlesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController) (http.ResponseWriter, error)

ListRelationBottlesBadRequest runs the method ListRelation 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 ListRelationBottlesOK

func ListRelationBottlesOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController) (http.ResponseWriter, app.BottleCollection)

ListRelationBottlesOK runs the method ListRelation 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 ListRelationBottlesOKRelation

func ListRelationBottlesOKRelation(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController) (http.ResponseWriter, app.BottleRelationCollection)

ListRelationBottlesOKRelation runs the method ListRelation 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 ListResponseBadRequest

func ListResponseBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResponseController) (http.ResponseWriter, error)

ListResponseBadRequest 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 ListResponseOK

ListResponseOK 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 ListResponseOKTiny

ListResponseOKTiny 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 MethodMethodBadRequest

func MethodMethodBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, error)

MethodMethodBadRequest runs the method Method 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 MethodMethodBadRequest1

func MethodMethodBadRequest1(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, error)

MethodMethodBadRequest1 runs the method Method 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 MethodMethodBadRequest2

func MethodMethodBadRequest2(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, error)

MethodMethodBadRequest2 runs the method Method 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 MethodMethodBadRequest3

func MethodMethodBadRequest3(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, error)

MethodMethodBadRequest3 runs the method Method 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 MethodMethodOK

func MethodMethodOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, *app.Message)

MethodMethodOK runs the method Method 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 MethodMethodOK1

func MethodMethodOK1(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, *app.Message)

MethodMethodOK1 runs the method Method 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 MethodMethodOK2

func MethodMethodOK2(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, *app.Message)

MethodMethodOK2 runs the method Method 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 MethodMethodOK3

func MethodMethodOK3(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MethodController) (http.ResponseWriter, *app.Message)

MethodMethodOK3 runs the method Method 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 NestedResponseBadRequest

func NestedResponseBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResponseController, test string) (http.ResponseWriter, *app.Error)

NestedResponseBadRequest runs the method Nested 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 NestedResponseOK

func NestedResponseOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResponseController, test string) (http.ResponseWriter, *app.Article)

NestedResponseOK runs the method Nested 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 PingActionsBadRequest

func PingActionsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ActionsController) (http.ResponseWriter, error)

PingActionsBadRequest runs the method Ping 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 PingActionsOK

func PingActionsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ActionsController) (http.ResponseWriter, *app.Message)

PingActionsOK runs the method Ping 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 SecuritySecurityBadRequest

func SecuritySecurityBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SecurityController) (http.ResponseWriter, error)

SecuritySecurityBadRequest runs the method Security 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 SecuritySecurityOK

func SecuritySecurityOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SecurityController) (http.ResponseWriter, *app.Message)

SecuritySecurityOK runs the method Security 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 SecuritySecurityUnauthorized

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

SecuritySecurityUnauthorized runs the method Security 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 ShowAccountsBadRequest

func ShowAccountsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsController, id int) (http.ResponseWriter, error)

ShowAccountsBadRequest 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 ShowAccountsDataBadRequest

func ShowAccountsDataBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsDataController, id int) (http.ResponseWriter, error)

ShowAccountsDataBadRequest 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 ShowAccountsDataNotFound

func ShowAccountsDataNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsDataController, id int) http.ResponseWriter

ShowAccountsDataNotFound 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 ShowAccountsDataOK

func ShowAccountsDataOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsDataController, id int) (http.ResponseWriter, *app.Accountmedia)

ShowAccountsDataOK 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 ShowAccountsNotFound

func ShowAccountsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsController, id int) http.ResponseWriter

ShowAccountsNotFound 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 ShowAccountsOK

func ShowAccountsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsController, id int) (http.ResponseWriter, *app.Account)

ShowAccountsOK 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 ShowBottlesBadRequest

func ShowBottlesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, id int) (http.ResponseWriter, error)

ShowBottlesBadRequest 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 ShowBottlesDataBadRequest

func ShowBottlesDataBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController, id int) (http.ResponseWriter, error)

ShowBottlesDataBadRequest 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 ShowBottlesDataNotFound

func ShowBottlesDataNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController, id int) http.ResponseWriter

ShowBottlesDataNotFound 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 ShowBottlesDataOK

func ShowBottlesDataOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController, id int) (http.ResponseWriter, *app.Bottlemedia)

ShowBottlesDataOK 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 ShowBottlesNotFound

func ShowBottlesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, id int) http.ResponseWriter

ShowBottlesNotFound 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 ShowBottlesOK

func ShowBottlesOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, id int) (http.ResponseWriter, *app.Bottle)

ShowBottlesOK 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 ShowBottlesOKRelation

func ShowBottlesOKRelation(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, id int) (http.ResponseWriter, *app.BottleRelation)

ShowBottlesOKRelation 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 ShowResponseBadRequest

func ShowResponseBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResponseController, id string) (http.ResponseWriter, error)

ShowResponseBadRequest 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 ShowResponseOK

func ShowResponseOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResponseController, id string) (http.ResponseWriter, *app.User)

ShowResponseOK 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 ShowResponseOKTiny

func ShowResponseOKTiny(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResponseController, id string) (http.ResponseWriter, *app.UserTiny)

ShowResponseOKTiny 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 UpdateAccountsBadRequest

func UpdateAccountsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsController, id int, payload *app.UpdateAccountsPayload) (http.ResponseWriter, error)

UpdateAccountsBadRequest 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 UpdateAccountsDataBadRequest

func UpdateAccountsDataBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsDataController, id int, payload *app.UpdateAccountsDataPayload) (http.ResponseWriter, error)

UpdateAccountsDataBadRequest 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 UpdateAccountsDataNotFound

func UpdateAccountsDataNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsDataController, id int, payload *app.UpdateAccountsDataPayload) http.ResponseWriter

UpdateAccountsDataNotFound 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 UpdateAccountsDataOK

func UpdateAccountsDataOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsDataController, id int, payload *app.UpdateAccountsDataPayload) http.ResponseWriter

UpdateAccountsDataOK 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 UpdateAccountsNotFound

func UpdateAccountsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsController, id int, payload *app.UpdateAccountsPayload) http.ResponseWriter

UpdateAccountsNotFound 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 UpdateAccountsOK

func UpdateAccountsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountsController, id int, payload *app.UpdateAccountsPayload) http.ResponseWriter

UpdateAccountsOK 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 UpdateBottlesBadRequest

func UpdateBottlesBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, id int, payload *app.UpdateBottlesPayload) (http.ResponseWriter, error)

UpdateBottlesBadRequest 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 UpdateBottlesDataBadRequest

func UpdateBottlesDataBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController, id int, payload *app.UpdateBottlesDataPayload) (http.ResponseWriter, error)

UpdateBottlesDataBadRequest 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 UpdateBottlesDataNotFound

func UpdateBottlesDataNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController, id int, payload *app.UpdateBottlesDataPayload) http.ResponseWriter

UpdateBottlesDataNotFound 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 UpdateBottlesDataOK

func UpdateBottlesDataOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesDataController, id int, payload *app.UpdateBottlesDataPayload) http.ResponseWriter

UpdateBottlesDataOK 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 UpdateBottlesNotFound

func UpdateBottlesNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, id int, payload *app.UpdateBottlesPayload) http.ResponseWriter

UpdateBottlesNotFound 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 UpdateBottlesOK

func UpdateBottlesOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottlesController, id int, payload *app.UpdateBottlesPayload) http.ResponseWriter

UpdateBottlesOK 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 ValidationValidationBadRequest

func ValidationValidationBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ValidationController, defaultType string, email string, enumType string, id int, integerType int, reg string, stringType string) (http.ResponseWriter, error)

ValidationValidationBadRequest runs the method Validation 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 ValidationValidationOK

func ValidationValidationOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ValidationController, defaultType string, email string, enumType string, id int, integerType int, reg string, stringType string) (http.ResponseWriter, *app.Validation)

ValidationValidationOK runs the method Validation 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