Registry / serialization / opencontainers-image-spec

opencontainers-image-spec

JSON →
library1.1.1gogounverified

Package image-spec provides Go types and utilities for the OCI Image Format Specification.

go get github.com/opencontainers/image-spec
INSTALL
IMPORT
SIG · OPENCONTAINERS-IMA
O
opencontainers-image-spec
serializationgov1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

v1
github.com/opencontainers/image-spec/specs-go/v1

Creates an OCI image configuration struct.

package main import ( "fmt" v1 "github.com/opencontainers/image-spec/specs-go/v1" ) func main() { img := v1.Image{ Config: v1.ImageConfig{ Cmd: []string{"sh"}, }, } fmt.Printf("Image config: %+v\n", img.Config) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
Resources
opencontainers-image-spec — go get opencontainers-image-spec · libregistry