oci_registry

package
v0.0.0-...-cc4ef14 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitsImageManager

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

func NewBitsImageManager

func NewBitsImageManager(
	rootFSBlobstore bitsgo.Blobstore,
	dropletBlobstore bitsgo.Blobstore,
	digestLookupStore bitsgo.Blobstore) *BitsImageManager

func (*BitsImageManager) DeleteArtifacts

func (b *BitsImageManager) DeleteArtifacts(dropletGUID, dropletHash string) error

func (*BitsImageManager) GetBlob

func (b *BitsImageManager) GetBlob(name string, digest string) io.ReadCloser

NOTE: name is currently not used.

func (*BitsImageManager) GetManifest

func (b *BitsImageManager) GetManifest(dropletGUID string, dropletHash string) *docker.Manifest

func (*BitsImageManager) GetManifestList

func (b *BitsImageManager) GetManifestList(dropletGUID string, dropletHash string) *docker.ManifestList

type ImageHandler

type ImageHandler struct {
	ImageManager *BitsImageManager
}

func (*ImageHandler) ServeAPIVersion

func (m *ImageHandler) ServeAPIVersion(w http.ResponseWriter, r *http.Request)

func (*ImageHandler) ServeBlob

func (m *ImageHandler) ServeBlob(w http.ResponseWriter, r *http.Request)

func (*ImageHandler) ServeManifest

func (m *ImageHandler) ServeManifest(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis
models

Jump to

Keyboard shortcuts

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