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) (retErr 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 RunWithTrace ¶
func RunWithTrace(ctx context.Context, args []string, inReader io.ReadCloser, outWriter, _ io.WriteCloser, trace *tracer.Tracer) (retErr error)
RunWithTrace is just like Run above, but it will collect request traces and send them to the given tracer if it is not nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.