cachefakes

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MPL-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 FakeCache

type FakeCache struct {
	DeleteStub func(context.Context, string, string) error

	GetProfileValuesStub func(context.Context, string, string, string, string) ([]byte, error)

	ListAvailableVersionsForProfileStub func(context.Context, string, string, string) ([]string, error)

	ListProfilesStub func(context.Context, string, string) ([]*profiles.Profile, error)

	PutStub func(context.Context, string, string, cache.Data) error
	// contains filtered or unexported fields
}

func (*FakeCache) Delete

func (fake *FakeCache) Delete(arg1 context.Context, arg2 string, arg3 string) error

func (*FakeCache) DeleteArgsForCall

func (fake *FakeCache) DeleteArgsForCall(i int) (context.Context, string, string)

func (*FakeCache) DeleteCallCount

func (fake *FakeCache) DeleteCallCount() int

func (*FakeCache) DeleteCalls

func (fake *FakeCache) DeleteCalls(stub func(context.Context, string, string) error)

func (*FakeCache) DeleteReturns

func (fake *FakeCache) DeleteReturns(result1 error)

func (*FakeCache) DeleteReturnsOnCall

func (fake *FakeCache) DeleteReturnsOnCall(i int, result1 error)

func (*FakeCache) GetProfileValues

func (fake *FakeCache) GetProfileValues(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) ([]byte, error)

func (*FakeCache) GetProfileValuesArgsForCall

func (fake *FakeCache) GetProfileValuesArgsForCall(i int) (context.Context, string, string, string, string)

func (*FakeCache) GetProfileValuesCallCount

func (fake *FakeCache) GetProfileValuesCallCount() int

func (*FakeCache) GetProfileValuesCalls

func (fake *FakeCache) GetProfileValuesCalls(stub func(context.Context, string, string, string, string) ([]byte, error))

func (*FakeCache) GetProfileValuesReturns

func (fake *FakeCache) GetProfileValuesReturns(result1 []byte, result2 error)

func (*FakeCache) GetProfileValuesReturnsOnCall

func (fake *FakeCache) GetProfileValuesReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeCache) Invocations

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

func (*FakeCache) ListAvailableVersionsForProfile added in v0.7.0

func (fake *FakeCache) ListAvailableVersionsForProfile(arg1 context.Context, arg2 string, arg3 string, arg4 string) ([]string, error)

func (*FakeCache) ListAvailableVersionsForProfileArgsForCall added in v0.7.0

func (fake *FakeCache) ListAvailableVersionsForProfileArgsForCall(i int) (context.Context, string, string, string)

func (*FakeCache) ListAvailableVersionsForProfileCallCount added in v0.7.0

func (fake *FakeCache) ListAvailableVersionsForProfileCallCount() int

func (*FakeCache) ListAvailableVersionsForProfileCalls added in v0.7.0

func (fake *FakeCache) ListAvailableVersionsForProfileCalls(stub func(context.Context, string, string, string) ([]string, error))

func (*FakeCache) ListAvailableVersionsForProfileReturns added in v0.7.0

func (fake *FakeCache) ListAvailableVersionsForProfileReturns(result1 []string, result2 error)

func (*FakeCache) ListAvailableVersionsForProfileReturnsOnCall added in v0.7.0

func (fake *FakeCache) ListAvailableVersionsForProfileReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeCache) ListProfiles

func (fake *FakeCache) ListProfiles(arg1 context.Context, arg2 string, arg3 string) ([]*profiles.Profile, error)

func (*FakeCache) ListProfilesArgsForCall

func (fake *FakeCache) ListProfilesArgsForCall(i int) (context.Context, string, string)

func (*FakeCache) ListProfilesCallCount

func (fake *FakeCache) ListProfilesCallCount() int

func (*FakeCache) ListProfilesCalls

func (fake *FakeCache) ListProfilesCalls(stub func(context.Context, string, string) ([]*profiles.Profile, error))

func (*FakeCache) ListProfilesReturns

func (fake *FakeCache) ListProfilesReturns(result1 []*profiles.Profile, result2 error)

func (*FakeCache) ListProfilesReturnsOnCall

func (fake *FakeCache) ListProfilesReturnsOnCall(i int, result1 []*profiles.Profile, result2 error)

func (*FakeCache) Put

func (fake *FakeCache) Put(arg1 context.Context, arg2 string, arg3 string, arg4 cache.Data) error

func (*FakeCache) PutArgsForCall

func (fake *FakeCache) PutArgsForCall(i int) (context.Context, string, string, cache.Data)

func (*FakeCache) PutCallCount

func (fake *FakeCache) PutCallCount() int

func (*FakeCache) PutCalls

func (fake *FakeCache) PutCalls(stub func(context.Context, string, string, cache.Data) error)

func (*FakeCache) PutReturns

func (fake *FakeCache) PutReturns(result1 error)

func (*FakeCache) PutReturnsOnCall

func (fake *FakeCache) PutReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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