MCPcopy Create free account

hub / github.com/containers/nydus-storage-plugin / functions

Functions59 in github.com/containers/nydus-storage-plugin

↓ 10 callersFunctioncopyAttr
Ported from stargz-snapshotter, copyright The stargz-snapshotter Authors. https://github.com/containerd/stargz-snapshotter/blob/efc4166e93a22804b90e27
pkg/fs/utils.go:25
↓ 6 callersMethodnewInodeWithID
(ctx context.Context, p func(uint32) fusefs.InodeEmbedder)
pkg/fs/fs.go:113
↓ 4 callersMethodinc
()
pkg/cache/lrucache.go:104
↓ 3 callersMethoddecreaseOnceFunc
(rc *refCounter)
pkg/cache/lrucache.go:82
↓ 3 callersFunctiondefaultDirAttr
Ported from stargz-snapshotter, copyright The stargz-snapshotter Authors. https://github.com/containerd/stargz-snapshotter/blob/efc4166e93a22804b90e27
pkg/fs/utils.go:80
↓ 3 callersMethodmetadataDir
(refspec reference.Spec)
pkg/manager/ref_pool.go:219
↓ 2 callersMethodAdd
Add adds object to the cache and returns the cached contents with incrementing the reference count. If the specified content already exists in the cac
pkg/cache/lrucache.go:55
↓ 2 callersMethodCreate
Create marks this layer as "using". We don't use refnode.Mkdir because Mkdir event doesn't reach here if layernode already exists.
pkg/fs/layer_node.go:35
↓ 2 callersMethodOpen
(ctx context.Context, flags uint32)
pkg/fs/blob_node.go:23
↓ 2 callersFunctionValidateMediaType
ValidateMediaType returns an error if the byte slice is invalid JSON or if the media type identifies the blob as one format but it contains elements o
pkg/utils/manifest.go:29
↓ 2 callersMethodconfigFile
(refspec reference.Spec)
pkg/manager/ref_pool.go:227
↓ 2 callersMethoddec
()
pkg/cache/lrucache.go:110
↓ 2 callersMethodloadRef
(ctx context.Context, refspec reference.Spec)
pkg/manager/ref_pool.go:70
↓ 2 callersMethodmanifestFile
(refspec reference.Spec)
pkg/manager/ref_pool.go:223
↓ 2 callersMethodreleasable
()
pkg/fs/fs.go:35
↓ 1 callersMethodGet
Get retrieves the specified object from the cache and increments the reference counter of the target content. Client must call `done` callback to decr
pkg/cache/lrucache.go:39
↓ 1 callersMethodGetLayerInfo
(ctx context.Context, refspec reference.Spec, dgst digest.Digest)
pkg/manager/manager.go:105
↓ 1 callersMethodGetattr
(ctx context.Context, out *fuse.AttrOut)
pkg/fs/blob_file.go:31
↓ 1 callersFunctionMount
(ctx context.Context, mountPoint string, rootDir string, debug bool, layManager *manager.LayerManager)
pkg/fs/fs.go:81
↓ 1 callersFunctionNewDockerconfigKeychain
Ported from stargz-snapshotter, copyright The stargz-snapshotter Authors. https://github.com/containerd/stargz-snapshotter/blob/923399007a8cde1ec87107
pkg/services/keychain/dockerconfig/dockerconfig.go:15
↓ 1 callersFunctionNewLRUCache
NewLRUCache creates new lru cache.
pkg/cache/lrucache.go:24
↓ 1 callersFunctionNewLayerManager
(ctx context.Context, rootDir string, hosts source.RegistryHosts, cfg *config.Config)
pkg/manager/manager.go:32
↓ 1 callersMethodRefRoot
()
pkg/manager/manager.go:270
↓ 1 callersFunctionRegistryHostsFromConfig
RegistryHostsFromConfig creates RegistryHosts (a set of registry configuration) from Config.
pkg/services/resolver/resolver.go:43
↓ 1 callersMethodRelease
(ctx context.Context, refspec reference.Spec, dgst digest.Digest, snapshotID string)
pkg/manager/manager.go:205
↓ 1 callersMethodReleaseAll
(ctx context.Context)
pkg/manager/manager.go:240
↓ 1 callersMethodResolverMetaLayer
(ctx context.Context, refspec reference.Spec, snapshotID string, digest digest.Digest)
pkg/manager/manager.go:113
↓ 1 callersMethodUse
(refspec reference.Spec, dgst digest.Digest)
pkg/manager/manager.go:250
↓ 1 callersMethodadd
port from stargz-snapshooter. add reserves an unique uint32 object for the provided releasable object. when that object become releasable, that ID wil
pkg/fs/id_map.go:23
↓ 1 callersFunctioncolon2dash
(s string)
pkg/manager/manager.go:274
↓ 1 callersFunctiondefaultFileAttr
Ported from stargz-snapshotter, copyright The stargz-snapshotter Authors. https://github.com/containerd/stargz-snapshotter/blob/efc4166e93a22804b90e27
pkg/fs/utils.go:63
↓ 1 callersFunctiondefaultLinkAttr
Ported from stargz-snapshotter, copyright The stargz-snapshotter Authors. https://github.com/containerd/stargz-snapshotter/blob/efc4166e93a22804b90e27
pkg/fs/utils.go:91
↓ 1 callersMethodfetchManifestAndConfig
(ctx context.Context, refspec reference.Spec)
pkg/manager/ref_pool.go:178
↓ 1 callersFunctionfetchManifestPlatform
(ctx context.Context, fetcher remotes.Fetcher, desc ocispec.Descriptor, platform ocispec.Platform)
pkg/manager/ref_pool.go:231
↓ 1 callersMethodfinalize
()
pkg/cache/lrucache.go:124
↓ 1 callersFunctiongenLayerInfo
(dgst digest.Digest, manifest ocispec.Manifest, config ocispec.Image)
pkg/manager/manager.go:292
↓ 1 callersMethodinitialize
()
pkg/cache/lrucache.go:120
↓ 1 callersFunctionisForgotten
Ported from stargz-snapshotter, copyright The stargz-snapshotter Authors. https://github.com/containerd/stargz-snapshotter/blob/efc4166e93a22804b90e27
pkg/fs/utils.go:11
↓ 1 callersFunctionlayerToAttr
Ported from stargz-snapshotter, copyright The stargz-snapshotter Authors. https://github.com/containerd/stargz-snapshotter/blob/efc4166e93a22804b90e27
pkg/fs/utils.go:45
↓ 1 callersFunctionmultiCredsFuncs
(ref reference.Spec, credsFuncs ...Credential)
pkg/services/resolver/resolver.go:81
↓ 1 callersFunctionnewRefPool
(ctx context.Context, root string, hosts source.RegistryHosts)
pkg/manager/ref_pool.go:34
↓ 1 callersMethodreadManifestAndConfig
(refspec reference.Spec)
pkg/manager/ref_pool.go:132
↓ 1 callersMethodrelease
()
pkg/fs/fs.go:67
↓ 1 callersMethodrelease
(refspec reference.Spec)
pkg/manager/ref_pool.go:115
↓ 1 callersMethodroot
()
pkg/manager/ref_pool.go:215
↓ 1 callersMethoduse
(refspec reference.Spec)
pkg/manager/ref_pool.go:98
↓ 1 callersFunctionwaitForSIGINT
()
cmd/store/main.go:23
↓ 1 callersMethodwriteManifestAndConfig
(refspec reference.Spec, manifest ocispec.Manifest, config ocispec.Image)
pkg/manager/ref_pool.go:153
MethodGetattr
(ctx context.Context, f fusefs.FileHandle, out *fuse.AttrOut)
pkg/fs/diff_node.go:18
MethodLookup
(ctx context.Context, name string, out *fuse.EntryOut)
pkg/fs/ref_node.go:29
MethodLookup
Lookup loads manifest and config of specified name (image reference) and returns refnode of the specified name
pkg/fs/root_node.go:28
MethodLookup
Lookup routes to the target file stored in the pool, based on the specified file name.
pkg/fs/layer_node.go:44
MethodRead
(ctx context.Context, dest []byte, off int64)
pkg/fs/blob_file.go:17
MethodRemove
Remove removes the specified contents from the cache. OnEvicted callback will be called when nobody refers to the removed content.
pkg/cache/lrucache.go:76
MethodRmdir
(ctx context.Context, name string)
pkg/fs/ref_node.go:63
MethodRmdir
(ctx context.Context, name string)
pkg/fs/diff_node.go:23
Functionmain
()
cmd/store/main.go:29
Methodreleasable
()
pkg/fs/fs.go:60
Methodreleasable
()
pkg/fs/fs.go:77