filestore

package
v0.0.0-...-744f0e7 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStore

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

func NewFileStore

func NewFileStore(dir string) (*FileStore, error)

func NewTmpFileStore

func NewTmpFileStore() (*FileStore, error)

func (*FileStore) Push

func (s *FileStore) Push(ctx context.Context, resolver remotes.Resolver, ref string, image *image.Descriptor) (*digest.Digest, error)

func (*FileStore) Write

func (s *FileStore) Write(ctx context.Context, ref string, descriptor ocispec.Descriptor, blob []byte) error

Jump to

Keyboard shortcuts

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