Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeUpgrader
- func (fake *FakeUpgrader) Invocations() map[string][][]interface{}
- func (fake *FakeUpgrader) NeedsUpgrade() (bool, error)
- func (fake *FakeUpgrader) NeedsUpgradeCallCount() int
- func (fake *FakeUpgrader) NeedsUpgradeCalls(stub func() (bool, error))
- func (fake *FakeUpgrader) NeedsUpgradeReturns(result1 bool, result2 error)
- func (fake *FakeUpgrader) NeedsUpgradeReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeUpgrader) Upgrade() error
- func (fake *FakeUpgrader) UpgradeCallCount() int
- func (fake *FakeUpgrader) UpgradeCalls(stub func() error)
- func (fake *FakeUpgrader) UpgradeReturns(result1 error)
- func (fake *FakeUpgrader) UpgradeReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeUpgrader ¶
type FakeUpgrader struct { NeedsUpgradeStub func() (bool, error) UpgradeStub func() error // contains filtered or unexported fields }
func (*FakeUpgrader) Invocations ¶
func (fake *FakeUpgrader) Invocations() map[string][][]interface{}
func (*FakeUpgrader) NeedsUpgrade ¶
func (fake *FakeUpgrader) NeedsUpgrade() (bool, error)
func (*FakeUpgrader) NeedsUpgradeCallCount ¶
func (fake *FakeUpgrader) NeedsUpgradeCallCount() int
func (*FakeUpgrader) NeedsUpgradeCalls ¶
func (fake *FakeUpgrader) NeedsUpgradeCalls(stub func() (bool, error))
func (*FakeUpgrader) NeedsUpgradeReturns ¶
func (fake *FakeUpgrader) NeedsUpgradeReturns(result1 bool, result2 error)
func (*FakeUpgrader) NeedsUpgradeReturnsOnCall ¶
func (fake *FakeUpgrader) NeedsUpgradeReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeUpgrader) Upgrade ¶
func (fake *FakeUpgrader) Upgrade() error
func (*FakeUpgrader) UpgradeCallCount ¶
func (fake *FakeUpgrader) UpgradeCallCount() int
func (*FakeUpgrader) UpgradeCalls ¶
func (fake *FakeUpgrader) UpgradeCalls(stub func() error)
func (*FakeUpgrader) UpgradeReturns ¶
func (fake *FakeUpgrader) UpgradeReturns(result1 error)
func (*FakeUpgrader) UpgradeReturnsOnCall ¶
func (fake *FakeUpgrader) UpgradeReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.