buildkit/image.go
buildkit/image.goBrowse 1970 files
119 tokens
566 bytes
Token encoding: o200k_base
Snapshot 21a254f
← Back to SKILL.md
1package buildkit2 3import specs "github.com/opencontainers/image-spec/specs-go/v1"4 5// Image is the JSON structure which describes some basic information about the image.6// This provides the `application/vnd.oci.image.config.v1+json` mediatype when marshalled to JSON.7type Image struct {8 specs.Image9 10 // Config defines the execution parameters which should be used as a base when running a container using the image.11 Config specs.ImageConfig `json:"config"`12 13 // Variant defines platform variant. To be added to OCI.14 Variant string `json:"variant,omitempty"`15}16