Documentation ¶
Index ¶
Constants ¶
View Source
const LocalConfigFilename = ".oci.config.json"
View Source
const LocalManifestFilename = ".oci.manifest.json"
Variables ¶
View Source
var ConfigMediaType = types.OCIConfigJSON
View Source
var ManifestMediaType = types.OCIManifestSchema1
https://opencontainers.org/posts/blog/2024-03-13-image-and-distribution-1-1/
Functions ¶
This section is empty.
Types ¶
type DirImage ¶
type DirImage struct { v1.Image BytesReadCount atomic.Int64 BytesWrittenCount atomic.Int64 BytesSkippedCount atomic.Int64 // contains filtered or unexported fields }
func (*DirImage) WriteConfigAndManifest ¶ added in v0.7.0
type Option ¶
type Option func(opts *options)
func WithChunkSize ¶
func WithLogFunction ¶
func WithOmitLayersContent ¶ added in v0.6.4
func WithOmitLayersContent() Option
func WithProgressChannel ¶
func WithProgressChannel(progress chan<- ProgressUpdate) Option
func WithWorkersCount ¶
type ProgressUpdate ¶
Click to show internal directories.
Click to hide internal directories.