testutils

package
v0.0.0-...-8540621 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPIClients

MockAPIClients is a struct containing all of the mock clients for the api env.

func CreateTestAPIEnv

func CreateTestAPIEnv(t *testing.T) (apienv.APIEnv, *MockAPIClients, func())

CreateTestAPIEnv creates a test environment and mock clients.

type MockCloudClients

MockCloudClients provides the mock grpc clients for the graphql test env.

func CreateTestGraphQLEnv

func CreateTestGraphQLEnv(t *testing.T) (controllers.GraphQLEnv, *MockCloudClients, func())

CreateTestGraphQLEnv creates a test graphql environment and mock clients.

Jump to

Keyboard shortcuts

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