checkopts

package
v1.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package checkopts - provides tools for checking to make sure that grpc.CallOptions are propagated through a client chain elements

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPropogateOptsClient

func CheckPropogateOptsClient(t *testing.T, clientUnderTest networkservice.NetworkServiceClient) networkservice.NetworkServiceClient

CheckPropogateOptsClient - returns NetworkServiceClient that checks to make sure the clientUnderTest is passing through the grpc.CallOptions

func NewClient

NewClient - returns a NetworkServiceClient that checks for the specified opts... being passed into it

t - *testing.T for checks
opts... grpc.CallOptions expected at the end of the list of opts... passed to Request/Close

Types

This section is empty.

Jump to

Keyboard shortcuts

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