MCPcopy Create free account
hub / github.com/containers/image / detectProperties

Method detectProperties

docker/docker_client.go:948–951  ·  view source on GitHub ↗

detectProperties detects various properties of the registry. See the dockerClient documentation for members which are affected by this.

(ctx context.Context)

Source from the content-addressed store, hash-verified

946// detectProperties detects various properties of the registry.
947// See the dockerClient documentation for members which are affected by this.
948func (c *dockerClient) detectProperties(ctx context.Context) error {
949 c.detectPropertiesOnce.Do(func() { c.detectPropertiesError = c.detectPropertiesHelper(ctx) })
950 return c.detectPropertiesError
951}
952
953// fetchManifest fetches a manifest for (the repo of ref) + tagOrDigest.
954// The caller is responsible for ensuring tagOrDigest uses the expected format.

Callers 4

makeRequestMethod · 0.95
SupportsSignaturesMethod · 0.80

Calls 1

Tested by

no test coverage detected