Documentation
¶
Index ¶
- func SetupCloudFunctionsGen2(ctx context.Context, args *e2etesting.Args, logger *log.Logger) (*testclient.Client, e2etesting.Cleanup, error)
- func SetupCloudRun(ctx context.Context, args *e2etesting.Args, logger *log.Logger) (*testclient.Client, e2etesting.Cleanup, error)
- func SetupGae(ctx context.Context, args *e2etesting.Args, logger *log.Logger) (*testclient.Client, e2etesting.Cleanup, error)
- func SetupGaeStandard(ctx context.Context, args *e2etesting.Args, logger *log.Logger) (*testclient.Client, e2etesting.Cleanup, error)
- func SetupGce(ctx context.Context, args *e2etesting.Args, logger *log.Logger) (*testclient.Client, e2etesting.Cleanup, error)
- func SetupGke(ctx context.Context, args *e2etesting.Args, logger *log.Logger) (*testclient.Client, e2etesting.Cleanup, error)
- func SetupLocal(ctx context.Context, args *e2etesting.Args, logger *log.Logger) (*testclient.Client, e2etesting.Cleanup, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupCloudFunctionsGen2 ¶
func SetupCloudFunctionsGen2( ctx context.Context, args *e2etesting.Args, logger *log.Logger, ) (*testclient.Client, e2etesting.Cleanup, error)
SetupCloudFunctionsGen2 sets up the instrumented test server to run in Cloud Functions (2nd Gen). Creates a new Cloud Function and runs the specified source zip containing the code that needs to be run. The returned cleanup function tears down everything.
func SetupCloudRun ¶
func SetupCloudRun( ctx context.Context, args *e2etesting.Args, logger *log.Logger, ) (*testclient.Client, e2etesting.Cleanup, error)
SetupCloudRun sets up the instrumented test server to run in Cloud Run. Creates a new service and runs the specified container image as a revision. The returned cleanup function tears down everything.
func SetupGae ¶
func SetupGae( ctx context.Context, args *e2etesting.Args, logger *log.Logger, ) (*testclient.Client, e2etesting.Cleanup, error)
func SetupGaeStandard ¶
func SetupGaeStandard( ctx context.Context, args *e2etesting.Args, logger *log.Logger, ) (*testclient.Client, e2etesting.Cleanup, error)
func SetupGce ¶
func SetupGce( ctx context.Context, args *e2etesting.Args, logger *log.Logger, ) (*testclient.Client, e2etesting.Cleanup, error)
Set up the instrumented test server to run in GCE container. Creates a new GCE VM + pubsub resources, and runs the specified container image. The returned cleanup function tears down the VM.
func SetupGke ¶
func SetupGke( ctx context.Context, args *e2etesting.Args, logger *log.Logger, ) (*testclient.Client, e2etesting.Cleanup, error)
Set up the instrumented test server to run in GKE. Creates a new GKE cluster and runs the specified container image in a pod. The returned cleanup function tears down the whole cluster.
func SetupLocal ¶
func SetupLocal( ctx context.Context, args *e2etesting.Args, logger *log.Logger, ) (*testclient.Client, e2etesting.Cleanup, error)
Set up the instrumented test server for a local run by running in a docker container on the local host
Types ¶
This section is empty.