fakes

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OCIDirectory

type OCIDirectory struct {
	AddBlobStub func(srcPath string, blobDescriptor oci.Descriptor) error

	RemoveTopBlobStub func(sha256 string) error

	ClearMetadataStub func() error

	ReadMetadataStub func() (oci.Manifest, oci.Image, error)

	WriteMetadataStub func(layers []oci.Descriptor, diffIds []digest.Digest, layerAdded bool) error
	// contains filtered or unexported fields
}

func (*OCIDirectory) AddBlob

func (fake *OCIDirectory) AddBlob(srcPath string, blobDescriptor oci.Descriptor) error

func (*OCIDirectory) AddBlobArgsForCall

func (fake *OCIDirectory) AddBlobArgsForCall(i int) (string, oci.Descriptor)

func (*OCIDirectory) AddBlobCallCount

func (fake *OCIDirectory) AddBlobCallCount() int

func (*OCIDirectory) AddBlobReturns

func (fake *OCIDirectory) AddBlobReturns(result1 error)

func (*OCIDirectory) AddBlobReturnsOnCall

func (fake *OCIDirectory) AddBlobReturnsOnCall(i int, result1 error)

func (*OCIDirectory) ClearMetadata

func (fake *OCIDirectory) ClearMetadata() error

func (*OCIDirectory) ClearMetadataCallCount

func (fake *OCIDirectory) ClearMetadataCallCount() int

func (*OCIDirectory) ClearMetadataReturns

func (fake *OCIDirectory) ClearMetadataReturns(result1 error)

func (*OCIDirectory) ClearMetadataReturnsOnCall

func (fake *OCIDirectory) ClearMetadataReturnsOnCall(i int, result1 error)

func (*OCIDirectory) Invocations

func (fake *OCIDirectory) Invocations() map[string][][]interface{}

func (*OCIDirectory) ReadMetadata

func (fake *OCIDirectory) ReadMetadata() (oci.Manifest, oci.Image, error)

func (*OCIDirectory) ReadMetadataCallCount

func (fake *OCIDirectory) ReadMetadataCallCount() int

func (*OCIDirectory) ReadMetadataReturns

func (fake *OCIDirectory) ReadMetadataReturns(result1 oci.Manifest, result2 oci.Image, result3 error)

func (*OCIDirectory) ReadMetadataReturnsOnCall

func (fake *OCIDirectory) ReadMetadataReturnsOnCall(i int, result1 oci.Manifest, result2 oci.Image, result3 error)

func (*OCIDirectory) RemoveTopBlob

func (fake *OCIDirectory) RemoveTopBlob(sha256 string) error

func (*OCIDirectory) RemoveTopBlobArgsForCall

func (fake *OCIDirectory) RemoveTopBlobArgsForCall(i int) string

func (*OCIDirectory) RemoveTopBlobCallCount

func (fake *OCIDirectory) RemoveTopBlobCallCount() int

func (*OCIDirectory) RemoveTopBlobReturns

func (fake *OCIDirectory) RemoveTopBlobReturns(result1 error)

func (*OCIDirectory) RemoveTopBlobReturnsOnCall

func (fake *OCIDirectory) RemoveTopBlobReturnsOnCall(i int, result1 error)

func (*OCIDirectory) WriteMetadata

func (fake *OCIDirectory) WriteMetadata(layers []oci.Descriptor, diffIds []digest.Digest, layerAdded bool) error

func (*OCIDirectory) WriteMetadataArgsForCall

func (fake *OCIDirectory) WriteMetadataArgsForCall(i int) ([]oci.Descriptor, []digest.Digest, bool)

func (*OCIDirectory) WriteMetadataCallCount

func (fake *OCIDirectory) WriteMetadataCallCount() int

func (*OCIDirectory) WriteMetadataReturns

func (fake *OCIDirectory) WriteMetadataReturns(result1 error)

func (*OCIDirectory) WriteMetadataReturnsOnCall

func (fake *OCIDirectory) WriteMetadataReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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