registry

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageCache added in v0.0.8

type ImageCache struct {
	Name      string
	Path      string
	Image     *v1.Image
	ImagePath string
	Ref       *name.Reference
	// contains filtered or unexported fields
}

func ReadImage

func ReadImage(name string, path string) (*ImageCache, error)

func SaveImage

func SaveImage(image string, cli command.Cli) (*ImageCache, error)

SaveImage stores the v1.Image at path returned in OCI format

func (*ImageCache) Cleanup added in v0.0.8

func (c *ImageCache) Cleanup()

func (*ImageCache) StoreImage added in v0.0.8

func (c *ImageCache) StoreImage() error

type ImageId

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

func (ImageId) Context

func (i ImageId) Context() name.Repository

func (ImageId) Identifier

func (i ImageId) Identifier() string

func (ImageId) Name

func (i ImageId) Name() string

func (ImageId) Scope

func (i ImageId) Scope(s string) string

func (ImageId) String

func (i ImageId) String() string

Jump to

Keyboard shortcuts

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