manifest

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	Image string
	Tag   string

	ManifestV1 *schema1.SignedManifest
	ManifestV2 *schema2.DeserializedManifest
	// contains filtered or unexported fields
}

func Fetch

func Fetch(reg *registryclient.RegistryClient, image, tag string) (*Manifest, error)

func Load

func Load(reg *registryclient.RegistryClient, dir, image, tag string) (*Manifest, error)

func (*Manifest) Config

func (m *Manifest) Config() ([]byte, error)

func (*Manifest) ID

func (m *Manifest) ID() string

func (*Manifest) Layers

func (m *Manifest) Layers() []distribution.Descriptor

func (*Manifest) Save

func (m *Manifest) Save(dir string) error

Jump to

Keyboard shortcuts

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