test

package
v0.0.0-...-bcded96 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthcheckHealthOK

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

HealthcheckHealthOK runs the method Healthcheck 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 ListKeysBadRequest

func ListKeysBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.KeysController, payload app.ListKeysPayload) (http.ResponseWriter, error)

ListKeysBadRequest runs the method List 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 ListKeysGatewayTimeout

func ListKeysGatewayTimeout(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.KeysController, payload app.ListKeysPayload) (http.ResponseWriter, error)

ListKeysGatewayTimeout runs the method List 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 ListKeysInternalServerError

func ListKeysInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.KeysController, payload app.ListKeysPayload) http.ResponseWriter

ListKeysInternalServerError runs the method List 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 ListKeysOK

ListKeysOK runs the method List 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