urlfakes

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT 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 FakeLoader

type FakeLoader struct {
	LoadURLStub func(metalink.URL) (file.Reference, error)

	SupportsURLStub func(metalink.URL) bool
	// contains filtered or unexported fields
}

func (*FakeLoader) Invocations

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

func (*FakeLoader) LoadURL added in v0.5.0

func (fake *FakeLoader) LoadURL(arg1 metalink.URL) (file.Reference, error)

func (*FakeLoader) LoadURLArgsForCall added in v0.5.0

func (fake *FakeLoader) LoadURLArgsForCall(i int) metalink.URL

func (*FakeLoader) LoadURLCallCount added in v0.5.0

func (fake *FakeLoader) LoadURLCallCount() int

func (*FakeLoader) LoadURLCalls added in v0.5.0

func (fake *FakeLoader) LoadURLCalls(stub func(metalink.URL) (file.Reference, error))

func (*FakeLoader) LoadURLReturns added in v0.5.0

func (fake *FakeLoader) LoadURLReturns(result1 file.Reference, result2 error)

func (*FakeLoader) LoadURLReturnsOnCall added in v0.5.0

func (fake *FakeLoader) LoadURLReturnsOnCall(i int, result1 file.Reference, result2 error)

func (*FakeLoader) SupportsURL added in v0.5.0

func (fake *FakeLoader) SupportsURL(arg1 metalink.URL) bool

func (*FakeLoader) SupportsURLArgsForCall added in v0.5.0

func (fake *FakeLoader) SupportsURLArgsForCall(i int) metalink.URL

func (*FakeLoader) SupportsURLCallCount added in v0.5.0

func (fake *FakeLoader) SupportsURLCallCount() int

func (*FakeLoader) SupportsURLCalls added in v0.5.0

func (fake *FakeLoader) SupportsURLCalls(stub func(metalink.URL) bool)

func (*FakeLoader) SupportsURLReturns added in v0.5.0

func (fake *FakeLoader) SupportsURLReturns(result1 bool)

func (*FakeLoader) SupportsURLReturnsOnCall added in v0.5.0

func (fake *FakeLoader) SupportsURLReturnsOnCall(i int, result1 bool)

Jump to

Keyboard shortcuts

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