Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var ( MockId = MockLib{/* contains filtered or unexported fields */} MockPath string )
Functions ¶
func SetGrpcClient ¶
func SetGrpcClient(c GrpcClient)
avoids circular dependency between mock and keploy packages
Types ¶
type Context ¶
type GrpcClient ¶
type GrpcClient proto.RegressionServiceClient
func GetGrpcClient ¶
func GetGrpcClient() GrpcClient
type Mode ¶
type Mode string
Mode represents the mode at which the SDK is operating MODE_RECORD is for recording API calls to generate testcases MODE_TEST is for testing the application on previous recorded testcases MODE_OFF disables keploy SDK automatically from the application
func GetModeFromContext ¶
GetModeFromContext returns the mode on which SDK is configured by accessing environment variable.
Click to show internal directories.
Click to hide internal directories.