test

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogResultsBadRequest

func GetLogResultsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResultsController, date string, scan string, check string) http.ResponseWriter

GetLogResultsBadRequest runs the method GetLog 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 GetLogResultsOK

func GetLogResultsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResultsController, date string, scan string, check string) http.ResponseWriter

GetLogResultsOK runs the method GetLog 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 GetReportResultsBadRequest

func GetReportResultsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResultsController, date string, scan string, check string) http.ResponseWriter

GetReportResultsBadRequest runs the method GetReport 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 GetReportResultsOK

func GetReportResultsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResultsController, date string, scan string, check string) http.ResponseWriter

GetReportResultsOK runs the method GetReport 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 RawResultsBadRequest

func RawResultsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResultsController, payload *app.RawPayload) http.ResponseWriter

RawResultsBadRequest runs the method Raw 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 RawResultsCreated

func RawResultsCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResultsController, payload *app.RawPayload) http.ResponseWriter

RawResultsCreated runs the method Raw 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 ReportResultsBadRequest

func ReportResultsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResultsController, payload *app.ReportPayload) http.ResponseWriter

ReportResultsBadRequest runs the method Report 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 ReportResultsCreated

func ReportResultsCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ResultsController, payload *app.ReportPayload) http.ResponseWriter

ReportResultsCreated runs the method Report 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 ShowHealthcheckOK

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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