test

package
v0.0.0-...-a8bf646 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPeersBadRequest

func AddPeersBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, payload *app.AddPeersPayload) (http.ResponseWriter, error)

AddPeersBadRequest 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 AddPeersCreated

func AddPeersCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, payload *app.AddPeersPayload) (http.ResponseWriter, *app.PeerCreated)

AddPeersCreated 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 AddPeersInternalServerError

func AddPeersInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, payload *app.AddPeersPayload) (http.ResponseWriter, error)

AddPeersInternalServerError 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 AddPeersNotFound

func AddPeersNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, payload *app.AddPeersPayload) (http.ResponseWriter, error)

AddPeersNotFound 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 AddPodsBadRequest

func AddPodsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, payload *app.AddPodsPayload) (http.ResponseWriter, error)

AddPodsBadRequest 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 AddPodsCreated

func AddPodsCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, payload *app.AddPodsPayload) (http.ResponseWriter, *app.PodCreated)

AddPodsCreated 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 AddPodsInternalServerError

func AddPodsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, payload *app.AddPodsPayload) (http.ResponseWriter, error)

AddPodsInternalServerError 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 AddUsersBadRequest

func AddUsersBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UsersController, payload *app.AddUsersPayload) (http.ResponseWriter, error)

AddUsersBadRequest 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 AddUsersCreated

func AddUsersCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UsersController, payload *app.AddUsersPayload) (http.ResponseWriter, *app.User)

AddUsersCreated 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 AddUsersInternalServerError

func AddUsersInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UsersController, payload *app.AddUsersPayload) (http.ResponseWriter, error)

AddUsersInternalServerError 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 AuthAuthInternalServerError

func AuthAuthInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.AuthAuthPayload) (http.ResponseWriter, error)

AuthAuthInternalServerError runs the method Auth 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 AuthAuthOK

AuthAuthOK runs the method Auth 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 AuthAuthUnauthorized

func AuthAuthUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.AuthAuthPayload) (http.ResponseWriter, error)

AuthAuthUnauthorized runs the method Auth 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 CurrentLocationPeersInternalServerError

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

CurrentLocationPeersInternalServerError runs the method CurrentLocation 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 CurrentLocationPeersNotFound

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

CurrentLocationPeersNotFound runs the method CurrentLocation 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 CurrentLocationPeersOK

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

CurrentLocationPeersOK runs the method CurrentLocation 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 ListPeersInternalServerError

func ListPeersInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, limit int, offset int) (http.ResponseWriter, error)

ListPeersInternalServerError 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 ListPeersNotFound

func ListPeersNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, limit int, offset int) (http.ResponseWriter, error)

ListPeersNotFound 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 ListPeersOK

func ListPeersOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, limit int, offset int) (http.ResponseWriter, app.PeerCollection)

ListPeersOK 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 ListPodsInternalServerError

func ListPodsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, limit int, offset int) (http.ResponseWriter, error)

ListPodsInternalServerError 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 ListPodsNotFound

func ListPodsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, limit int, offset int) (http.ResponseWriter, error)

ListPodsNotFound 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 ListPodsOK

func ListPodsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, limit int, offset int) (http.ResponseWriter, app.PodCollection)

ListPodsOK 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 ListUsersInternalServerError

func ListUsersInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UsersController, limit int, offset int) (http.ResponseWriter, error)

ListUsersInternalServerError 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 ListUsersNotFound

func ListUsersNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UsersController, limit int, offset int) (http.ResponseWriter, error)

ListUsersNotFound 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 ListUsersOK

func ListUsersOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UsersController, limit int, offset int) (http.ResponseWriter, app.UserCollection)

ListUsersOK 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 LocationsPeersInternalServerError

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

LocationsPeersInternalServerError runs the method Locations 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 LocationsPeersNotFound

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

LocationsPeersNotFound runs the method Locations 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 LocationsPeersOK

LocationsPeersOK runs the method Locations 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 PeersListPodsInternalServerError

func PeersListPodsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, id int, limit int, offset int) (http.ResponseWriter, error)

PeersListPodsInternalServerError runs the method PeersList 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 PeersListPodsNotFound

func PeersListPodsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, id int, limit int, offset int) (http.ResponseWriter, error)

PeersListPodsNotFound runs the method PeersList 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 PeersListPodsOK

func PeersListPodsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, id int, limit int, offset int) (http.ResponseWriter, app.PeerCollection)

PeersListPodsOK runs the method PeersList 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 ProfileAccountInternalServerError

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

ProfileAccountInternalServerError runs the method Profile 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 ProfileAccountNotFound

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

ProfileAccountNotFound runs the method Profile 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 ProfileAccountOK

func ProfileAccountOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController) (http.ResponseWriter, *app.User)

ProfileAccountOK runs the method Profile 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 RegenerateTokenPeersBadRequest

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

RegenerateTokenPeersBadRequest runs the method RegenerateToken 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 RegenerateTokenPeersInternalServerError

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

RegenerateTokenPeersInternalServerError runs the method RegenerateToken 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 RegenerateTokenPeersNotFound

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

RegenerateTokenPeersNotFound runs the method RegenerateToken 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 RegenerateTokenPeersOK

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

RegenerateTokenPeersOK runs the method RegenerateToken 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 RegenerateTokenPodsBadRequest

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

RegenerateTokenPodsBadRequest runs the method RegenerateToken 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 RegenerateTokenPodsInternalServerError

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

RegenerateTokenPodsInternalServerError runs the method RegenerateToken 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 RegenerateTokenPodsNotFound

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

RegenerateTokenPodsNotFound runs the method RegenerateToken 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 RegenerateTokenPodsOK

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

RegenerateTokenPodsOK runs the method RegenerateToken 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 SendLocationPeersBadRequest

func SendLocationPeersBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, id int, payload *app.SendLocationPeersPayload) (http.ResponseWriter, error)

SendLocationPeersBadRequest runs the method SendLocation 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 SendLocationPeersCreated

func SendLocationPeersCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, id int, payload *app.SendLocationPeersPayload) (http.ResponseWriter, *app.PeerApproaching)

SendLocationPeersCreated runs the method SendLocation 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 SendLocationPeersForbidden

func SendLocationPeersForbidden(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, id int, payload *app.SendLocationPeersPayload) (http.ResponseWriter, error)

SendLocationPeersForbidden runs the method SendLocation 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 SendLocationPeersInternalServerError

func SendLocationPeersInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, id int, payload *app.SendLocationPeersPayload) (http.ResponseWriter, error)

SendLocationPeersInternalServerError runs the method SendLocation 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 SendLocationPeersNotFound

func SendLocationPeersNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, id int, payload *app.SendLocationPeersPayload) (http.ResponseWriter, error)

SendLocationPeersNotFound runs the method SendLocation 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 ShowByTokenPeersInternalServerError

func ShowByTokenPeersInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, token string) (http.ResponseWriter, error)

ShowByTokenPeersInternalServerError runs the method ShowByToken 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 ShowByTokenPeersNotFound

func ShowByTokenPeersNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, token string) (http.ResponseWriter, error)

ShowByTokenPeersNotFound runs the method ShowByToken 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 ShowByTokenPeersOK

func ShowByTokenPeersOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, token string) (http.ResponseWriter, *app.Peer)

ShowByTokenPeersOK runs the method ShowByToken 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 ShowByTokenPodsInternalServerError

func ShowByTokenPodsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, token string) (http.ResponseWriter, error)

ShowByTokenPodsInternalServerError runs the method ShowByToken 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 ShowByTokenPodsNotFound

func ShowByTokenPodsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, token string) (http.ResponseWriter, error)

ShowByTokenPodsNotFound runs the method ShowByToken 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 ShowByTokenPodsOK

func ShowByTokenPodsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, token string) (http.ResponseWriter, *app.Pod)

ShowByTokenPodsOK runs the method ShowByToken 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 ShowPeersInternalServerError

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

ShowPeersInternalServerError 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 ShowPeersNotFound

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

ShowPeersNotFound 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 ShowPeersOK

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

ShowPeersOK 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 ShowPodsInternalServerError

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

ShowPodsInternalServerError 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 ShowPodsNotFound

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

ShowPodsNotFound 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 ShowPodsOK

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

ShowPodsOK 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 ShowUsersInternalServerError

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

ShowUsersInternalServerError 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 ShowUsersNotFound

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

ShowUsersNotFound 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 ShowUsersOK

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

ShowUsersOK 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 UpdatePasswordAccountBadRequest

func UpdatePasswordAccountBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, payload *app.UpdatePasswordAccountPayload) (http.ResponseWriter, error)

UpdatePasswordAccountBadRequest runs the method UpdatePassword 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 UpdatePasswordAccountInternalServerError

func UpdatePasswordAccountInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, payload *app.UpdatePasswordAccountPayload) (http.ResponseWriter, error)

UpdatePasswordAccountInternalServerError runs the method UpdatePassword 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 UpdatePasswordAccountNoContent

func UpdatePasswordAccountNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, payload *app.UpdatePasswordAccountPayload) http.ResponseWriter

UpdatePasswordAccountNoContent runs the method UpdatePassword 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 UpdatePasswordAccountNotFound

func UpdatePasswordAccountNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AccountController, payload *app.UpdatePasswordAccountPayload) (http.ResponseWriter, error)

UpdatePasswordAccountNotFound runs the method UpdatePassword 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 UpdatePeersBadRequest

func UpdatePeersBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, id int, payload *app.UpdatePeersPayload) (http.ResponseWriter, error)

UpdatePeersBadRequest 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 UpdatePeersInternalServerError

func UpdatePeersInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, id int, payload *app.UpdatePeersPayload) (http.ResponseWriter, error)

UpdatePeersInternalServerError 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 UpdatePeersNoContent

func UpdatePeersNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, id int, payload *app.UpdatePeersPayload) http.ResponseWriter

UpdatePeersNoContent 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 UpdatePeersNotFound

func UpdatePeersNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PeersController, id int, payload *app.UpdatePeersPayload) (http.ResponseWriter, error)

UpdatePeersNotFound 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 UpdatePodsBadRequest

func UpdatePodsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, id int, payload *app.UpdatePodsPayload) (http.ResponseWriter, error)

UpdatePodsBadRequest 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 UpdatePodsInternalServerError

func UpdatePodsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, id int, payload *app.UpdatePodsPayload) (http.ResponseWriter, error)

UpdatePodsInternalServerError 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 UpdatePodsNoContent

func UpdatePodsNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, id int, payload *app.UpdatePodsPayload) http.ResponseWriter

UpdatePodsNoContent 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 UpdatePodsNotFound

func UpdatePodsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PodsController, id int, payload *app.UpdatePodsPayload) (http.ResponseWriter, error)

UpdatePodsNotFound 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.

Jump to

Keyboard shortcuts

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