store

package
v0.0.0-...-fb0e841 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerPackageManifestItem

type DockerPackageManifestItem struct {
	Config string `json:"Config"`

	RepoTags []string `json:"RepoTags"`

	// Layers is an indexed list of layers referenced by the manifest.
	Layers []string `json:"Layers"`

	Type kii.ImageType `json:"Type"`
}

type Store

type Store interface {
	CheckImageExist(image *kii.ImageName) bool
	MountImage(image *kii.ImageName, mountType kii.MountType, workingDir, targetDir string) error
	UmountImage(workingDir string) error
	GetImageManifest(image *kii.ImageName) (*kii.Manifest, error)
	TagImage(sourceImage, targetImage *kii.ImageName) error
	LoadImage(imageReader io.Reader) error
	RegisterImage(image, manifest string) error
}

func NewStore

func NewStore(rootDir string) (Store, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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