MCPcopy Create free account
hub / github.com/docker/cli / BaseURL

Method BaseURL

internal/registryclient/endpoint.go:26–28  ·  view source on GitHub ↗

BaseURL returns the endpoint url

()

Source from the content-addressed store, hash-verified

24
25// BaseURL returns the endpoint url
26func (r repositoryEndpoint) BaseURL() string {
27 return r.endpoint.URL.String()
28}
29
30func newDefaultRepositoryEndpoint(ref reference.Named, insecure bool) (repositoryEndpoint, error) {
31 indexInfo := registry.NewIndexInfo(ref)

Callers 1

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected