Documentation
¶
Overview ¶
Package stallregistry serves an OCI registry that accepts every request and stops answering it (#697).
Index ¶
Constants ¶
View Source
const BodySize = 500
BodySize is the Content-Length of each response StartBody stalls.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
Start serves the registry over TLS until the test ends and returns its host and the count of requests for a repository; a request waits until its client abandons it or the test ends. The registry client copies http.DefaultTransport's TLS config (httpx.Transport), so Start trusts the registry there, and gives the test an empty credential store: the test must not run in parallel with another one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.