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

Method Get

pkg/library/flatten/network/fetch.go:28–28  ·  view source on GitHub ↗
(location string)

Source from the content-addressed store, hash-verified

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

Callers 15

deleteServiceFunction · 0.65
deleteRouteFunction · 0.65
deleteIngressFunction · 0.65
deleteObjectFunction · 0.65
ReconcileMethod · 0.65
readCertificatesMethod · 0.65
createDevWorkspaceFunction · 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 15

deleteServiceFunction · 0.52
deleteRouteFunction · 0.52
deleteIngressFunction · 0.52
deleteObjectFunction · 0.52
createDevWorkspaceFunction · 0.52
getExistingDevWorkspaceFunction · 0.52
deleteDevWorkspaceFunction · 0.52
cleanupPVCFunction · 0.52