package
0.0.0-20200822034855-8cfca6700fcd
Repository: https://github.com/googlecloudplatform/serverless-sample-tester.git
Documentation: pkg.go.dev

# Functions

ExecCommand executes an exec.Cmd.
LoadTestEndpoints loads a default test endpoint request (a GET / request expecting a 200 status code) into an openapi3.Swagger object (see github.com/getkin/kin-openapi).
ValidateEndpoints tests all paths (represented by openapi3.Paths) with all HTTP methods and given response bodies and make sure they respond with the expected status code.

# Variables

GcloudCommonFlags is a slice of common flags that should be added as arguments to all executions of the external gcloud command.