referenceclient

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string, inReader io.ReadCloser, outWriter, errWriter io.WriteCloser) error

Run runs the client according to a client config read from the 'in' reader. The result of the run is written to the 'out' writer, including any errors encountered during the actual run. Any error returned from this function is indicative of an issue with the reader or writer and should not be related to the actual run.

func RunInReferenceMode

func RunInReferenceMode(ctx context.Context, args []string, inReader io.ReadCloser, outWriter, errWriter io.WriteCloser, tracer *tracer.Tracer) error

RunInReferenceMode is just like Run except that it performs additional checks that only the conformance reference client runs. These checks do not work if the client is run as a client under test, only when run as a reference client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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