Documentation ¶
Index ¶
- func CreateAccountBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func CreateAccountCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func CreateBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func CreateBottleCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func CreateBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteAccountBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func DeleteAccountNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteAccountNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func DeleteBottleNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func HealthHealthOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ListAccountOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.AccountCollection)
- func ListAccountOKLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.AccountLinkCollection)
- func ListAccountOKTiny(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.AccountTinyCollection)
- func ListBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ListBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ListBottleOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.BottleCollection)
- func ListBottleOKTiny(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.BottleTinyCollection)
- func RateBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func RateBottleNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func RateBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowAccountBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ShowAccountNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowAccountOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Account)
- func ShowAccountOKLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.AccountLink)
- func ShowAccountOKTiny(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.AccountTiny)
- func ShowBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ShowBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowBottleOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Bottle)
- func ShowBottleOKFull(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.BottleFull)
- func ShowBottleOKTiny(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.BottleTiny)
- func UpdateAccountBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func UpdateAccountNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateAccountNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func UpdateBottleNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func WatchBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccountBadRequest ¶
func CreateAccountBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, payload *app.CreateAccountPayload) (http.ResponseWriter, error)
CreateAccountBadRequest 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 CreateAccountCreated ¶
func CreateAccountCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, payload *app.CreateAccountPayload) http.ResponseWriter
CreateAccountCreated 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. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func CreateBottleBadRequest ¶
func CreateBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, payload *app.CreateBottlePayload) (http.ResponseWriter, error)
CreateBottleBadRequest 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 CreateBottleCreated ¶
func CreateBottleCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, payload *app.CreateBottlePayload) http.ResponseWriter
CreateBottleCreated 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. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func CreateBottleNotFound ¶
func CreateBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, payload *app.CreateBottlePayload) http.ResponseWriter
CreateBottleNotFound 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. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func DeleteAccountBadRequest ¶
func DeleteAccountBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, accountID int) (http.ResponseWriter, error)
DeleteAccountBadRequest 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 DeleteAccountNoContent ¶
func DeleteAccountNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, accountID int) http.ResponseWriter
DeleteAccountNoContent 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 DeleteAccountNotFound ¶
func DeleteAccountNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, accountID int) http.ResponseWriter
DeleteAccountNotFound 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 DeleteBottleBadRequest ¶
func DeleteBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int) (http.ResponseWriter, error)
DeleteBottleBadRequest 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 DeleteBottleNoContent ¶
func DeleteBottleNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int) http.ResponseWriter
DeleteBottleNoContent 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 DeleteBottleNotFound ¶
func DeleteBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int) http.ResponseWriter
DeleteBottleNotFound 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 HealthHealthOK ¶
func HealthHealthOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.HealthController) http.ResponseWriter
HealthHealthOK runs the method Health 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 ListAccountOK ¶
func ListAccountOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController) (http.ResponseWriter, app.AccountCollection)
ListAccountOK 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 ListAccountOKLink ¶
func ListAccountOKLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController) (http.ResponseWriter, app.AccountLinkCollection)
ListAccountOKLink 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 ListAccountOKTiny ¶
func ListAccountOKTiny(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController) (http.ResponseWriter, app.AccountTinyCollection)
ListAccountOKTiny 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 ListBottleBadRequest ¶
func ListBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, years []int) (http.ResponseWriter, error)
ListBottleBadRequest 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 ListBottleNotFound ¶
func ListBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, years []int) http.ResponseWriter
ListBottleNotFound 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 ListBottleOK ¶
func ListBottleOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, years []int) (http.ResponseWriter, app.BottleCollection)
ListBottleOK 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 ListBottleOKTiny ¶
func ListBottleOKTiny(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, years []int) (http.ResponseWriter, app.BottleTinyCollection)
ListBottleOKTiny 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 RateBottleBadRequest ¶
func RateBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int, payload *app.RateBottlePayload) (http.ResponseWriter, error)
RateBottleBadRequest runs the method Rate 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 RateBottleNoContent ¶
func RateBottleNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int, payload *app.RateBottlePayload) http.ResponseWriter
RateBottleNoContent runs the method Rate 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 RateBottleNotFound ¶
func RateBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int, payload *app.RateBottlePayload) http.ResponseWriter
RateBottleNotFound runs the method Rate 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 ShowAccountBadRequest ¶
func ShowAccountBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, accountID int) (http.ResponseWriter, error)
ShowAccountBadRequest 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 ShowAccountNotFound ¶
func ShowAccountNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, accountID int) http.ResponseWriter
ShowAccountNotFound 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 ShowAccountOK ¶
func ShowAccountOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, accountID int) (http.ResponseWriter, *app.Account)
ShowAccountOK 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 ShowAccountOKLink ¶
func ShowAccountOKLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, accountID int) (http.ResponseWriter, *app.AccountLink)
ShowAccountOKLink 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 ShowAccountOKTiny ¶
func ShowAccountOKTiny(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, accountID int) (http.ResponseWriter, *app.AccountTiny)
ShowAccountOKTiny 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 ShowBottleBadRequest ¶
func ShowBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int) (http.ResponseWriter, error)
ShowBottleBadRequest 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 ShowBottleNotFound ¶
func ShowBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int) http.ResponseWriter
ShowBottleNotFound 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 ShowBottleOK ¶
func ShowBottleOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int) (http.ResponseWriter, *app.Bottle)
ShowBottleOK 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 ShowBottleOKFull ¶
func ShowBottleOKFull(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int) (http.ResponseWriter, *app.BottleFull)
ShowBottleOKFull 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 ShowBottleOKTiny ¶
func ShowBottleOKTiny(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int) (http.ResponseWriter, *app.BottleTiny)
ShowBottleOKTiny 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 UpdateAccountBadRequest ¶
func UpdateAccountBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, accountID int, payload *app.UpdateAccountPayload) (http.ResponseWriter, error)
UpdateAccountBadRequest 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 UpdateAccountNoContent ¶
func UpdateAccountNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, accountID int, payload *app.UpdateAccountPayload) http.ResponseWriter
UpdateAccountNoContent 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 UpdateAccountNotFound ¶
func UpdateAccountNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, accountID int, payload *app.UpdateAccountPayload) http.ResponseWriter
UpdateAccountNotFound 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 UpdateBottleBadRequest ¶
func UpdateBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int, payload *app.BottlePayload) (http.ResponseWriter, error)
UpdateBottleBadRequest 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 UpdateBottleNoContent ¶
func UpdateBottleNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int, payload *app.BottlePayload) http.ResponseWriter
UpdateBottleNoContent 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 UpdateBottleNotFound ¶
func UpdateBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int, payload *app.BottlePayload) http.ResponseWriter
UpdateBottleNotFound 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 WatchBottleBadRequest ¶
func WatchBottleBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, accountID int, bottleID int) (http.ResponseWriter, error)
WatchBottleBadRequest runs the method Watch 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.