{"modulePath":"code.cloudfoundry.org/dockerdriver","version":"v0.118.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package driverhttp\n\n## Constants\n\n```go\nconst (\n\tStatusInternalServerError = http.StatusOK\n\tStatusOK                  = http.StatusOK\n)\n```\nAt present, Docker ignores HTTP status codes, and requires errors to be returned in the response body.  To comply with this API, we will return 200 in all cases\n\n## Functions\n\n```go\nfunc EnvWithContext(ctx context.Context, env dockerdriver.Env) dockerdriver.Env\n```\n\n```go\nfunc EnvWithLogger(logger lager.Logger, env dockerdriver.Env) dockerdriver.Env\n```\n\n```go\nfunc EnvWithMonitor(logger lager.Logger, ctx context.Context, res http.ResponseWriter) dockerdriver.Env\n```\n\n```go\nfunc NewHandler(logger lager.Logger, client dockerdriver.Driver) (http.Handler, error)\n```\n\n```go\nfunc NewHttpDriverEnv(logger lager.Logger, ctx context.Context) dockerdriver.Env\n```\n\n```go\nfunc NewRemoteClient(url string, tls *dockerdriver.TLSConfig) (*remoteClient, error)\n```\n\n```go\nfunc NewRemoteClientWithClient(url string, tls *dockerdriver.TLSConfig, client http_wrap.Client, clock clock.Clock) *remoteClient\n```\n\n## Types\n\n```go\ntype RemoteClientFactory interface {\n\tNewRemoteClient(url string, tls *dockerdriver.TLSConfig) (dockerdriver.Driver, error)\n}\n```\n\n```go\nfunc NewRemoteClientFactory() RemoteClientFactory\n```\n\n","path":"code.cloudfoundry.org/dockerdriver/driverhttp","name":"driverhttp","synopsis":"","isRedistributable":true}
