directory

package
v0.0.0-...-8ff5732 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(oid string) *Handler

func (*Handler) AddBlob

func (h *Handler) AddBlob(srcBlobPath string, blobDescriptor oci.Descriptor) error

func (*Handler) ClearMetadata

func (h *Handler) ClearMetadata() error

func (*Handler) ReadMetadata

func (h *Handler) ReadMetadata() (oci.Manifest, oci.Image, error)

func (*Handler) RemoveTopBlob

func (h *Handler) RemoveTopBlob(sha256 string) error

func (*Handler) WriteMetadata

func (h *Handler) WriteMetadata(layers []oci.Descriptor, diffIds []digest.Digest, layerAdded bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL