Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitOpts ¶
type ExportOpts ¶
type ExportRequest ¶
type ExportResponse ¶
type ExportResponse struct {
RootDesc ocispecs.Descriptor
Platforms []ExportedPlatform
ImageNames []string
}
func Export ¶
func Export( ctx context.Context, deps Deps, req *ExportRequest, opts ExportOpts, ) (*ExportResponse, error)
type ExportedImage ¶
type ExportedImage struct {
RootDesc ocispecs.Descriptor
Platforms []ExportedPlatform
Provider content.InfoReaderProvider
SourceAnnotations map[digest.Digest]map[string]string
}
type ExportedPlatform ¶
type ExportedPlatform struct {
Key string
Platform ocispecs.Platform
ManifestDesc ocispecs.Descriptor
ConfigDesc ocispecs.Descriptor
}
type PlatformExportInput ¶
type PlatformExportInput struct {
Key string
Platform ocispecs.Platform
Ref cache.ImmutableRef
Config dockerspec.DockerOCIImage
BaseImage *dockerspec.DockerOCIImage
ManifestAnnotations map[string]string
ManifestDescriptorAnnotations map[string]string
}
type RegistryPusher ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) Assemble ¶
func (w *Writer) Assemble( ctx context.Context, req *ExportRequest, opts CommitOpts, ) (*ExportedImage, error)
Click to show internal directories.
Click to hide internal directories.