MCPcopy Create free account
hub / github.com/containerd/nerdctl / DefaultSpec

Method DefaultSpec

pkg/cmd/builder/build.go:52–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50type PlatformParser interface {
51 Parse(platform string) (platforms.Platform, error)
52 DefaultSpec() platforms.Platform
53}
54
55type platformParser struct{}

Callers 7

NewOCISpecPlatformSliceFunction · 0.65
FromArchiveFunction · 0.65
ImportFunction · 0.65
buildImageConfigFunction · 0.65
DefaultSpecMethod · 0.65
NewFunction · 0.65

Implementers 2

platformParserpkg/cmd/builder/build.go
fakePlatformParserpkg/cmd/builder/build_test.go

Calls

no outgoing calls

Tested by

no test coverage detected