Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
50
type
PlatformParser
interface
{
51
Parse(platform string) (platforms.Platform, error)
52
DefaultSpec() platforms.Platform
53
}
54
55
type
platformParser
struct
{}
Callers
7
NewOCISpecPlatformSlice
Function · 0.65
FromArchive
Function · 0.65
Import
Function · 0.65
buildImageConfig
Function · 0.65
DefaultSpec
Method · 0.65
isMatchingRuntimePlatform
Function · 0.65
New
Function · 0.65
Implementers
2
platformParser
pkg/cmd/builder/build.go
fakePlatformParser
pkg/cmd/builder/build_test.go
Calls
no outgoing calls
Tested by
no test coverage detected