store

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func New

func New(path string) (*Store, error)

func (*Store) Delete

func (s *Store) Delete(ctx context.Context, ref string) error

func (*Store) Layout

func (s *Store) Layout() *layout.Layout

func (*Store) Push

func (s *Store) Push(ctx context.Context, ref string, img image.Image) error

func (*Store) Put

func (s *Store) Put(ctx context.Context, img image.Image) error

func (*Store) Resolve

func (s *Store) Resolve(ctx context.Context, ref string) (image.Image, error)

func (*Store) Tag

func (s *Store) Tag(ctx context.Context, srcRef, dstRef string) error

func (*Store) Untag

func (s *Store) Untag(ctx context.Context, ref string) error

Jump to

Keyboard shortcuts

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