MCPcopy Create free account

hub / github.com/dcermak/skiff / functions

Functions21 in github.com/dcermak/skiff

↓ 10 callersMethodLen
()
cmd/skiff/top.go:74
↓ 5 callersMethodPop
()
cmd/skiff/top.go:82
↓ 3 callersFunctioncheck_exit_code
Check if the previous command finished successfully or if the exit code was tested in a scenario.
features/steps/common.py:8
↓ 2 callersMethodPush
(x interface{})
cmd/skiff/top.go:78
↓ 2 callersFunctiongetLayersByDiffID
getLayersByDiffID returns layer blob infos filtered by user-provided diffIDs by looking up diffIDs and mapping to manifest layers
cmd/skiff/top.go:92
↓ 2 callersFunctionrun_in_context
( context, cmd: tuple[str, ...] | list[str], can_fail=False, **run_args )
features/steps/common.py:37
↓ 1 callersFunctionShowLayerUsage
(ctx context.Context, sysCtx *types.SystemContext, uri string, output io.Writer, fullDigest bool)
cmd/skiff/layers.go:16
↓ 1 callersFunctionanalyzeLayers
analyzeLayers fetches layers for a given image reference reads the associated layer archives and lists file info
cmd/skiff/top.go:126
↓ 1 callersFunctionlayersFromImageDigest
(store storage.Store, digest digest.Digest)
pkg/image.go:16
↓ 1 callersFunctionthe_exit_code_is
(context, exitcode)
features/steps/common.py:59
FunctionBlobInfoFromImage
BlobInfoFromImage extracts layer blob information that can be later used with `GetBlob` from a container image, handling different transport types app
pkg/image.go:124
FunctionFormatDigest
FormatDigest returns either the digest if `fullDigest` is `true` or the first twelve characters of the hash/encoded value if `fullDigest` is `false`.
pkg/image.go:151
FunctionHumanReadableSize
HumanReadableSize converts a byte count to a human readable string From https://yourbasic.org/golang/formatting-byte-size-to-human-readable-format/
pkg/image.go:165
FunctionImageAndLayersFromURI
ImageAndLayersFromURI tries to obtain the image from the "most likely source" If the uri includes a transport, then the uri is parsed and an Image in
pkg/image.go:57
MethodLess
(i, j int)
cmd/skiff/top.go:75
MethodSwap
(i, j int)
cmd/skiff/top.go:76
FunctionTestFileHeap
(t *testing.T)
cmd/skiff/top_test.go:42
FunctionTestGetLayersByDiffID
(t *testing.T)
cmd/skiff/top_test.go:92
FunctionTestHumanReadableSize
(t *testing.T)
cmd/skiff/top_test.go:15
Functionmain
()
cmd/skiff/main.go:15
Functionstep_impl
(context, cmd: str)
features/steps/common.py:23