schema1

package
v1.0.0-alpha0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2017 License: Apache-2.0, CC-BY-SA-4.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

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

Converter converts schema1 manifests to schema2 on fetch

func NewConverter

func NewConverter(contentStore content.Store, fetcher remotes.Fetcher) *Converter

func (*Converter) Convert

func (c *Converter) Convert(ctx context.Context) (ocispec.Descriptor, error)

func (*Converter) Handle

func (c *Converter) Handle(ctx context.Context, desc ocispec.Descriptor) ([]ocispec.Descriptor, error)

Jump to

Keyboard shortcuts

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