fakes

package
v0.0.0-...-ced0851 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeImage

type FakeImage struct {
	Hash v1.Hash
}

func (FakeImage) ConfigFile

func (f FakeImage) ConfigFile() (*v1.ConfigFile, error)

func (FakeImage) ConfigName

func (f FakeImage) ConfigName() (v1.Hash, error)

func (FakeImage) Digest

func (f FakeImage) Digest() (v1.Hash, error)

func (FakeImage) LayerByDiffID

func (f FakeImage) LayerByDiffID(v1.Hash) (v1.Layer, error)

func (FakeImage) LayerByDigest

func (f FakeImage) LayerByDigest(v1.Hash) (v1.Layer, error)

func (FakeImage) Layers

func (f FakeImage) Layers() ([]v1.Layer, error)

func (FakeImage) Manifest

func (f FakeImage) Manifest() (*v1.Manifest, error)

func (FakeImage) MediaType

func (f FakeImage) MediaType() (types.MediaType, error)

func (FakeImage) RawConfigFile

func (f FakeImage) RawConfigFile() ([]byte, error)

func (FakeImage) RawManifest

func (f FakeImage) RawManifest() ([]byte, error)

func (FakeImage) Size

func (f FakeImage) Size() (int64, error)

Jump to

Keyboard shortcuts

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