MCPcopy Create free account
hub / github.com/devfile/devworkspace-operator / HTTPGetter

Interface HTTPGetter

pkg/library/flatten/network/fetch.go:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25)
26
27type HTTPGetter interface {
28 Get(location string) (*http.Response, error)
29}
30
31func FetchDevWorkspaceTemplate(location string, httpClient HTTPGetter) (*dw.DevWorkspaceTemplateSpec, error) {
32 resp, err := httpClient.Get(location)

Callers 8

deleteServiceFunction · 0.65
deleteRouteFunction · 0.65
deleteIngressFunction · 0.65
deleteObjectFunction · 0.65
ReconcileMethod · 0.65

Implementers 3

FakeHTTPGetterpkg/library/flatten/internal/testutil/
FakeK8sClientpkg/library/flatten/internal/testutil/
errorOnNameClientpkg/secrets/backup_test.go

Calls

no outgoing calls

Tested by

no test coverage detected