productfakes

package
v0.0.77 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: Apache-2.0 Imports: 3 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 FakePivnetClient

type FakePivnetClient struct {
	FindProductForSlugStub func(string) (pivnet.Product, error)

	ProductsStub func() ([]pivnet.Product, error)

	SlugAliasStub func(string) (pivnet.SlugAliasResponse, error)
	// contains filtered or unexported fields
}

func (*FakePivnetClient) FindProductForSlug

func (fake *FakePivnetClient) FindProductForSlug(arg1 string) (pivnet.Product, error)

func (*FakePivnetClient) FindProductForSlugArgsForCall

func (fake *FakePivnetClient) FindProductForSlugArgsForCall(i int) string

func (*FakePivnetClient) FindProductForSlugCallCount

func (fake *FakePivnetClient) FindProductForSlugCallCount() int

func (*FakePivnetClient) FindProductForSlugCalls added in v0.0.69

func (fake *FakePivnetClient) FindProductForSlugCalls(stub func(string) (pivnet.Product, error))

func (*FakePivnetClient) FindProductForSlugReturns

func (fake *FakePivnetClient) FindProductForSlugReturns(result1 pivnet.Product, result2 error)

func (*FakePivnetClient) FindProductForSlugReturnsOnCall added in v0.0.57

func (fake *FakePivnetClient) FindProductForSlugReturnsOnCall(i int, result1 pivnet.Product, result2 error)

func (*FakePivnetClient) Invocations

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

func (*FakePivnetClient) Products

func (fake *FakePivnetClient) Products() ([]pivnet.Product, error)

func (*FakePivnetClient) ProductsCallCount

func (fake *FakePivnetClient) ProductsCallCount() int

func (*FakePivnetClient) ProductsCalls added in v0.0.69

func (fake *FakePivnetClient) ProductsCalls(stub func() ([]pivnet.Product, error))

func (*FakePivnetClient) ProductsReturns

func (fake *FakePivnetClient) ProductsReturns(result1 []pivnet.Product, result2 error)

func (*FakePivnetClient) ProductsReturnsOnCall added in v0.0.57

func (fake *FakePivnetClient) ProductsReturnsOnCall(i int, result1 []pivnet.Product, result2 error)

func (*FakePivnetClient) SlugAlias added in v0.0.69

func (fake *FakePivnetClient) SlugAlias(arg1 string) (pivnet.SlugAliasResponse, error)

func (*FakePivnetClient) SlugAliasArgsForCall added in v0.0.69

func (fake *FakePivnetClient) SlugAliasArgsForCall(i int) string

func (*FakePivnetClient) SlugAliasCallCount added in v0.0.69

func (fake *FakePivnetClient) SlugAliasCallCount() int

func (*FakePivnetClient) SlugAliasCalls added in v0.0.69

func (fake *FakePivnetClient) SlugAliasCalls(stub func(string) (pivnet.SlugAliasResponse, error))

func (*FakePivnetClient) SlugAliasReturns added in v0.0.69

func (fake *FakePivnetClient) SlugAliasReturns(result1 pivnet.SlugAliasResponse, result2 error)

func (*FakePivnetClient) SlugAliasReturnsOnCall added in v0.0.69

func (fake *FakePivnetClient) SlugAliasReturnsOnCall(i int, result1 pivnet.SlugAliasResponse, result2 error)

Jump to

Keyboard shortcuts

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