MCPcopy
hub / github.com/containerd/containerd / addNamespace

Method addNamespace

core/remotes/docker/resolver.go:594–599  ·  view source on GitHub ↗
(ns string)

Source from the content-addressed store, hash-verified

592const namespaceQueryArg = "ns"
593
594func (r *request) addNamespace(ns string) error {
595 if !r.host.isProxy(ns) {
596 return nil
597 }
598 return r.addQuery(namespaceQueryArg, ns)
599}
600
601type request struct {
602 method string

Callers 5

openReferrersMethod · 0.80
FetchMethod · 0.80
createGetReqMethod · 0.80
pushMethod · 0.80
ResolveMethod · 0.80

Calls 2

addQueryMethod · 0.95
isProxyMethod · 0.80

Tested by

no test coverage detected