user_fake

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 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 FakeUser

type FakeUser struct {
	CurrentStub func() (*user.User, error)

	LookupStub func(string) (*user.User, error)

	LookupGroupStub func(string) (*user.Group, error)

	LookupGroupIdStub func(string) (*user.Group, error)

	LookupIdStub func(string) (*user.User, error)
	// contains filtered or unexported fields
}

func (*FakeUser) Current

func (fake *FakeUser) Current() (*user.User, error)

func (*FakeUser) CurrentCallCount

func (fake *FakeUser) CurrentCallCount() int

func (*FakeUser) CurrentCalls

func (fake *FakeUser) CurrentCalls(stub func() (*user.User, error))

func (*FakeUser) CurrentReturns

func (fake *FakeUser) CurrentReturns(result1 *user.User, result2 error)

func (*FakeUser) CurrentReturnsOnCall

func (fake *FakeUser) CurrentReturnsOnCall(i int, result1 *user.User, result2 error)

func (*FakeUser) Invocations

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

func (*FakeUser) Lookup

func (fake *FakeUser) Lookup(arg1 string) (*user.User, error)

func (*FakeUser) LookupArgsForCall

func (fake *FakeUser) LookupArgsForCall(i int) string

func (*FakeUser) LookupCallCount

func (fake *FakeUser) LookupCallCount() int

func (*FakeUser) LookupCalls

func (fake *FakeUser) LookupCalls(stub func(string) (*user.User, error))

func (*FakeUser) LookupGroup

func (fake *FakeUser) LookupGroup(arg1 string) (*user.Group, error)

func (*FakeUser) LookupGroupArgsForCall

func (fake *FakeUser) LookupGroupArgsForCall(i int) string

func (*FakeUser) LookupGroupCallCount

func (fake *FakeUser) LookupGroupCallCount() int

func (*FakeUser) LookupGroupCalls

func (fake *FakeUser) LookupGroupCalls(stub func(string) (*user.Group, error))

func (*FakeUser) LookupGroupId

func (fake *FakeUser) LookupGroupId(arg1 string) (*user.Group, error)

func (*FakeUser) LookupGroupIdArgsForCall

func (fake *FakeUser) LookupGroupIdArgsForCall(i int) string

func (*FakeUser) LookupGroupIdCallCount

func (fake *FakeUser) LookupGroupIdCallCount() int

func (*FakeUser) LookupGroupIdCalls

func (fake *FakeUser) LookupGroupIdCalls(stub func(string) (*user.Group, error))

func (*FakeUser) LookupGroupIdReturns

func (fake *FakeUser) LookupGroupIdReturns(result1 *user.Group, result2 error)

func (*FakeUser) LookupGroupIdReturnsOnCall

func (fake *FakeUser) LookupGroupIdReturnsOnCall(i int, result1 *user.Group, result2 error)

func (*FakeUser) LookupGroupReturns

func (fake *FakeUser) LookupGroupReturns(result1 *user.Group, result2 error)

func (*FakeUser) LookupGroupReturnsOnCall

func (fake *FakeUser) LookupGroupReturnsOnCall(i int, result1 *user.Group, result2 error)

func (*FakeUser) LookupId

func (fake *FakeUser) LookupId(arg1 string) (*user.User, error)

func (*FakeUser) LookupIdArgsForCall

func (fake *FakeUser) LookupIdArgsForCall(i int) string

func (*FakeUser) LookupIdCallCount

func (fake *FakeUser) LookupIdCallCount() int

func (*FakeUser) LookupIdCalls

func (fake *FakeUser) LookupIdCalls(stub func(string) (*user.User, error))

func (*FakeUser) LookupIdReturns

func (fake *FakeUser) LookupIdReturns(result1 *user.User, result2 error)

func (*FakeUser) LookupIdReturnsOnCall

func (fake *FakeUser) LookupIdReturnsOnCall(i int, result1 *user.User, result2 error)

func (*FakeUser) LookupReturns

func (fake *FakeUser) LookupReturns(result1 *user.User, result2 error)

func (*FakeUser) LookupReturnsOnCall

func (fake *FakeUser) LookupReturnsOnCall(i int, result1 *user.User, result2 error)

Jump to

Keyboard shortcuts

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