ocifakes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 6 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 FakeOciImplementation

type FakeOciImplementation struct {
	DownloadDocumentsStub func(options.Options, ocia.SignedEntity) ([]*vex.VEX, error)

	PurlToReferenceStub func(options.Options, packageurl.PackageURL) (name.Reference, error)

	ResolveImageReferenceStub func(options.Options, name.Reference) (ocia.SignedEntity, error)

	VerifyOptionsStub func(*options.Options) error
	// contains filtered or unexported fields
}

func (*FakeOciImplementation) DownloadDocuments

func (fake *FakeOciImplementation) DownloadDocuments(arg1 options.Options, arg2 ocia.SignedEntity) ([]*vex.VEX, error)

func (*FakeOciImplementation) DownloadDocumentsArgsForCall

func (fake *FakeOciImplementation) DownloadDocumentsArgsForCall(i int) (options.Options, ocia.SignedEntity)

func (*FakeOciImplementation) DownloadDocumentsCallCount

func (fake *FakeOciImplementation) DownloadDocumentsCallCount() int

func (*FakeOciImplementation) DownloadDocumentsCalls

func (fake *FakeOciImplementation) DownloadDocumentsCalls(stub func(options.Options, ocia.SignedEntity) ([]*vex.VEX, error))

func (*FakeOciImplementation) DownloadDocumentsReturns

func (fake *FakeOciImplementation) DownloadDocumentsReturns(result1 []*vex.VEX, result2 error)

func (*FakeOciImplementation) DownloadDocumentsReturnsOnCall

func (fake *FakeOciImplementation) DownloadDocumentsReturnsOnCall(i int, result1 []*vex.VEX, result2 error)

func (*FakeOciImplementation) Invocations

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

func (*FakeOciImplementation) PurlToReference

func (fake *FakeOciImplementation) PurlToReference(arg1 options.Options, arg2 packageurl.PackageURL) (name.Reference, error)

func (*FakeOciImplementation) PurlToReferenceArgsForCall

func (fake *FakeOciImplementation) PurlToReferenceArgsForCall(i int) (options.Options, packageurl.PackageURL)

func (*FakeOciImplementation) PurlToReferenceCallCount

func (fake *FakeOciImplementation) PurlToReferenceCallCount() int

func (*FakeOciImplementation) PurlToReferenceCalls

func (fake *FakeOciImplementation) PurlToReferenceCalls(stub func(options.Options, packageurl.PackageURL) (name.Reference, error))

func (*FakeOciImplementation) PurlToReferenceReturns

func (fake *FakeOciImplementation) PurlToReferenceReturns(result1 name.Reference, result2 error)

func (*FakeOciImplementation) PurlToReferenceReturnsOnCall

func (fake *FakeOciImplementation) PurlToReferenceReturnsOnCall(i int, result1 name.Reference, result2 error)

func (*FakeOciImplementation) ResolveImageReference

func (fake *FakeOciImplementation) ResolveImageReference(arg1 options.Options, arg2 name.Reference) (ocia.SignedEntity, error)

func (*FakeOciImplementation) ResolveImageReferenceArgsForCall

func (fake *FakeOciImplementation) ResolveImageReferenceArgsForCall(i int) (options.Options, name.Reference)

func (*FakeOciImplementation) ResolveImageReferenceCallCount

func (fake *FakeOciImplementation) ResolveImageReferenceCallCount() int

func (*FakeOciImplementation) ResolveImageReferenceCalls

func (fake *FakeOciImplementation) ResolveImageReferenceCalls(stub func(options.Options, name.Reference) (ocia.SignedEntity, error))

func (*FakeOciImplementation) ResolveImageReferenceReturns

func (fake *FakeOciImplementation) ResolveImageReferenceReturns(result1 ocia.SignedEntity, result2 error)

func (*FakeOciImplementation) ResolveImageReferenceReturnsOnCall

func (fake *FakeOciImplementation) ResolveImageReferenceReturnsOnCall(i int, result1 ocia.SignedEntity, result2 error)

func (*FakeOciImplementation) VerifyOptions

func (fake *FakeOciImplementation) VerifyOptions(arg1 *options.Options) error

func (*FakeOciImplementation) VerifyOptionsArgsForCall

func (fake *FakeOciImplementation) VerifyOptionsArgsForCall(i int) *options.Options

func (*FakeOciImplementation) VerifyOptionsCallCount

func (fake *FakeOciImplementation) VerifyOptionsCallCount() int

func (*FakeOciImplementation) VerifyOptionsCalls

func (fake *FakeOciImplementation) VerifyOptionsCalls(stub func(*options.Options) error)

func (*FakeOciImplementation) VerifyOptionsReturns

func (fake *FakeOciImplementation) VerifyOptionsReturns(result1 error)

func (*FakeOciImplementation) VerifyOptionsReturnsOnCall

func (fake *FakeOciImplementation) VerifyOptionsReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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