MCPcopy Create free account
hub / github.com/containers/image / ConfigInfo

Method ConfigInfo

types/types.go:401–401  ·  view source on GitHub ↗

ConfigInfo returns a complete BlobInfo for the separate config object, or a BlobInfo{Digest:""} if there isn't a separate object. Note that the config object may not exist in the underlying storage in the return value of UpdatedImage! Use ConfigBlob() below.

()

Source from the content-addressed store, hash-verified

399 // ConfigInfo returns a complete BlobInfo for the separate config object, or a BlobInfo{Digest:""} if there isn't a separate object.
400 // Note that the config object may not exist in the underlying storage in the return value of UpdatedImage! Use ConfigBlob() below.
401 ConfigInfo() BlobInfo
402 // ConfigBlob returns the blob described by ConfigInfo, if ConfigInfo().Digest != ""; nil otherwise.
403 // The result is cached; it is OK to call this however often you need.
404 ConfigBlob(context.Context) ([]byte, error)

Callers 2

TestWriteReadFunction · 0.95
copyConfigMethod · 0.65

Calls

no outgoing calls

Tested by 1

TestWriteReadFunction · 0.76