Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶ added in v1.15.0
type Dependencies interface { DatasetClient(string) downloads.DatasetClient FilterClient(string) downloads.FilterClient ImageClient(string) downloads.ImageClient S3Client(*config.Config) (content.S3Client, error) FilesClient(*config.Config) downloads.FilesClient HealthCheck(*config.Config, string, string, string) (HealthChecker, error) HttpServer(*config.Config, http.Handler) HTTPServer }
type Download ¶
type Download struct {
// contains filtered or unexported fields
}
Download represents the configuration to run the download service
type HTTPServer ¶ added in v1.16.0
HTTPServer defines the required methods from the HTTP server
type HealthChecker ¶ added in v1.15.0
type HealthChecker interface { AddCheck(string, healthcheck.Checker) error Start(context.Context) Stop() Handler(http.ResponseWriter, *http.Request) }
HealthChecker abstracts healthcheck.HealthCheck so we can create a mock. (interfaces for other dependencies are in ../downloads and ../content)
Click to show internal directories.
Click to hide internal directories.