MCPcopy
hub / github.com/hasura/graphql-engine / Fetcher

Interface Fetcher

cli/plugins/download/fetch.go:27–30  ·  view source on GitHub ↗

Fetcher is used to get files from a URI.

Source from the content-addressed store, hash-verified

25
26// Fetcher is used to get files from a URI.
27type Fetcher interface {
28 // Get gets the file and returns an stream to read the file.
29 Get(uri string) (io.ReadCloser, error)
30}
31
32var _ Fetcher = HTTPFetcher{}
33

Callers 8

GetQueryParamsMethod · 0.65
OpenMethod · 0.65
MetadataAPIFunction · 0.65
MigrateAPIFunction · 0.65
SettingsAPIFunction · 0.65
SquashCreateAPIFunction · 0.65
SquashDeleteAPIFunction · 0.65
getLatestVersionFunction · 0.65

Implementers 5

CLICatalogStatecli/internal/statestore/statestore.go
ClientCatalogStatecli/internal/hasura/catalogstate/catal
HTTPFetchercli/plugins/download/fetch.go
fileFetchercli/plugins/download/fetch.go
Downloadercli/plugins/download/downloader.go

Calls

no outgoing calls

Tested by

no test coverage detected