Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpRequests ¶
DumpRequests wraps the underlying http.Client transport to logs all requests/responses to the log.
func DumpTraces ¶
DumpTraces attaches HTTP events tracer to the client's transport.
func NewDebugClientTrace ¶
func NewDebugClientTrace(ctx context.Context) *httptrace.ClientTrace
NewDebugClientTrace returns a Go http trace client predefined to write DNS and connection information to the log. This is used via the --http-trace flag on push and pull operations in ctr.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.