checkcontext

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package checkcontext - provides registry chain elements for checking the context.Context passed on by the previous chain element

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNSClient

func NewNSClient(t *testing.T, check func(*testing.T, context.Context)) registry.NetworkServiceRegistryClient

NewNSClient - returns NetworkServiceRegistryClient that checks the context passed in from the previous NSClient in the chain

t - *testing.T used for the check
check - function that checks the context.Context

func NewNSEClient

NewNSEClient - returns NetworkServiceEndpointRegistryClient that checks the context passed in from the previous NSClient in the chain

t - *testing.T used for the check
check - function that checks the context.Context

func NewNSEServer

NewNSEServer - returns NetworkServiceEndpointRegistryServer that checks the context passed in from the previous Server in the chain

t - *testing.T used for the check
check - function that checks the context.Context

func NewNSServer

func NewNSServer(t *testing.T, check func(*testing.T, context.Context)) registry.NetworkServiceRegistryServer

NewNSServer - returns NetworkServiceRegistryServer that checks the context passed in from the previous NSServer in the chain

t - *testing.T used for the check
check - function that checks the context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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