Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dcermak/skiff
/ functions
Functions
21 in github.com/dcermak/skiff
⨍
Functions
21
◇
Types & classes
2
↓ 10 callers
Method
Len
()
cmd/skiff/top.go:74
↓ 5 callers
Method
Pop
()
cmd/skiff/top.go:82
↓ 3 callers
Function
check_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 callers
Method
Push
(x interface{})
cmd/skiff/top.go:78
↓ 2 callers
Function
getLayersByDiffID
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 callers
Function
run_in_context
( context, cmd: tuple[str, ...] | list[str], can_fail=False, **run_args )
features/steps/common.py:37
↓ 1 callers
Function
ShowLayerUsage
(ctx context.Context, sysCtx *types.SystemContext, uri string, output io.Writer, fullDigest bool)
cmd/skiff/layers.go:16
↓ 1 callers
Function
analyzeLayers
analyzeLayers fetches layers for a given image reference reads the associated layer archives and lists file info
cmd/skiff/top.go:126
↓ 1 callers
Function
layersFromImageDigest
(store storage.Store, digest digest.Digest)
pkg/image.go:16
↓ 1 callers
Function
the_exit_code_is
(context, exitcode)
features/steps/common.py:59
Function
BlobInfoFromImage
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
Function
FormatDigest
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
Function
HumanReadableSize
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
Function
ImageAndLayersFromURI
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
Method
Less
(i, j int)
cmd/skiff/top.go:75
Method
Swap
(i, j int)
cmd/skiff/top.go:76
Function
TestFileHeap
(t *testing.T)
cmd/skiff/top_test.go:42
Function
TestGetLayersByDiffID
(t *testing.T)
cmd/skiff/top_test.go:92
Function
TestHumanReadableSize
(t *testing.T)
cmd/skiff/top_test.go:15
Function
main
()
cmd/skiff/main.go:15
Function
step_impl
(context, cmd: str)
features/steps/common.py:23