utils/

directory
v1.7.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0

Directories

Path Synopsis
checks
checkclose
Package checkclose - provides networkservice chain elements to check the Close received from the previous element in the chain
Package checkclose - provides networkservice chain elements to check the Close received from the previous element in the chain
checkconnection
Package checkconnection provides utilities for checking the returned connection from the next element in a chain
Package checkconnection provides utilities for checking the returned connection from the next element in a chain
checkcontext
Package checkcontext - provides networkservice chain elements for checking the context.Context passed on by the previous chain element
Package checkcontext - provides networkservice chain elements for checking the context.Context passed on by the previous chain element
checkcontextonreturn
Package checkcontextonreturn - provides a NetworkServiceClient chain element for checking the state of the context.Context
Package checkcontextonreturn - provides a NetworkServiceClient chain element for checking the state of the context.Context
checkerror
Package checkerror provides chain elements to check for errors during testing
Package checkerror provides chain elements to check for errors during testing
checkopts
Package checkopts - provides tools for checking to make sure that grpc.CallOptions are propagated through a client chain elements
Package checkopts - provides tools for checking to make sure that grpc.CallOptions are propagated through a client chain elements
checkrequest
Package checkrequest - provides networkservice chain elements to check the request received from the previous element in the chain
Package checkrequest - provides networkservice chain elements to check the request received from the previous element in the chain
checkresponse
Package checkresponse - provides networkservice chain elements to check the response received from the next element in the chain
Package checkresponse - provides networkservice chain elements to check the response received from the next element in the chain
Package count provides test chain elements for counting Requests/Closes
Package count provides test chain elements for counting Requests/Closes
inject
injectclock
Package injectclock can be used in testing to inject a mockClock into the context of the chain
Package injectclock can be used in testing to inject a mockClock into the context of the chain
injecterror
Package injecterror provides chain elements returning given error on Request, Close on given times
Package injecterror provides chain elements returning given error on Request, Close on given times
injectexcludedprefixes
Package injectexcludedprefixes provides a chain element injecting specified excluded prefixes on Request into IP context
Package injectexcludedprefixes provides a chain element injecting specified excluded prefixes on Request into IP context
injectipcontext
Package injectipcontext provides a chain element injecting specified IPContext on Request
Package injectipcontext provides a chain element injecting specified IPContext on Request
injectopts
Package injectopts - injects grpc.CallOptions by appending them to the end of the opts...
Package injectopts - injects grpc.CallOptions by appending them to the end of the opts...
Package metadata provides per Connection.Id metadata
Package metadata provides per Connection.Id metadata

Jump to

Keyboard shortcuts

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