Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type BundleKey
- type FakeBundle
- func (s *FakeBundle) Disable() error
- func (s *FakeBundle) Enable() (boshsys.FileSystem, string, error)
- func (s *FakeBundle) GetInstallPath() (boshsys.FileSystem, string, error)
- func (s *FakeBundle) Install(sourcePath string) (boshsys.FileSystem, string, error)
- func (s *FakeBundle) InstallWithoutContents() (boshsys.FileSystem, string, error)
- func (s *FakeBundle) IsInstalled() (bool, error)
- func (s *FakeBundle) Uninstall() error
- type FakeBundleCollection
- type FakeBundleInstallCallBack
- type FakeClock
- func (fake *FakeClock) After(d time.Duration) <-chan time.Time
- func (fake *FakeClock) AfterArgsForCall(i int) time.Duration
- func (fake *FakeClock) AfterCallCount() int
- func (fake *FakeClock) AfterReturns(result1 <-chan time.Time)
- func (fake *FakeClock) AfterReturnsOnCall(i int, result1 <-chan time.Time)
- func (fake *FakeClock) Invocations() map[string][][]interface{}
- func (fake *FakeClock) NewTicker(d time.Duration) clock.Ticker
- func (fake *FakeClock) NewTickerArgsForCall(i int) time.Duration
- func (fake *FakeClock) NewTickerCallCount() int
- func (fake *FakeClock) NewTickerReturns(result1 clock.Ticker)
- func (fake *FakeClock) NewTickerReturnsOnCall(i int, result1 clock.Ticker)
- func (fake *FakeClock) NewTimer(d time.Duration) clock.Timer
- func (fake *FakeClock) NewTimerArgsForCall(i int) time.Duration
- func (fake *FakeClock) NewTimerCallCount() int
- func (fake *FakeClock) NewTimerReturns(result1 clock.Timer)
- func (fake *FakeClock) NewTimerReturnsOnCall(i int, result1 clock.Timer)
- func (fake *FakeClock) Now() time.Time
- func (fake *FakeClock) NowCallCount() int
- func (fake *FakeClock) NowReturns(result1 time.Time)
- func (fake *FakeClock) NowReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeClock) Since(t time.Time) time.Duration
- func (fake *FakeClock) SinceArgsForCall(i int) time.Time
- func (fake *FakeClock) SinceCallCount() int
- func (fake *FakeClock) SinceExecutesOnCall(i int, f func())
- func (fake *FakeClock) SinceReturns(result1 time.Duration)
- func (fake *FakeClock) SinceReturnsOnCall(i int, result1 time.Duration)
- func (fake *FakeClock) Sleep(d time.Duration)
- func (fake *FakeClock) SleepArgsForCall(i int) time.Duration
- func (fake *FakeClock) SleepCallCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleKey ¶
func NewBundleKey ¶
func NewBundleKey(definition bc.BundleDefinition) BundleKey
type FakeBundle ¶
type FakeBundle struct { ActionsCalled []string InstallSourcePath string InstallCallBack FakeBundleInstallCallBack InstallFs boshsys.FileSystem InstallPath string InstallError error Installed bool IsInstalledErr error GetDirPath string GetDirFs boshsys.FileSystem GetDirError error EnablePath string EnableFs boshsys.FileSystem EnableError error Enabled bool DisableErr error UninstallErr error }
func NewFakeBundle ¶
func NewFakeBundle() (bundle *FakeBundle)
func (*FakeBundle) Disable ¶
func (s *FakeBundle) Disable() error
func (*FakeBundle) Enable ¶
func (s *FakeBundle) Enable() (boshsys.FileSystem, string, error)
func (*FakeBundle) GetInstallPath ¶
func (s *FakeBundle) GetInstallPath() (boshsys.FileSystem, string, error)
func (*FakeBundle) Install ¶
func (s *FakeBundle) Install(sourcePath string) (boshsys.FileSystem, string, error)
func (*FakeBundle) InstallWithoutContents ¶
func (s *FakeBundle) InstallWithoutContents() (boshsys.FileSystem, string, error)
func (*FakeBundle) IsInstalled ¶
func (s *FakeBundle) IsInstalled() (bool, error)
func (*FakeBundle) Uninstall ¶
func (s *FakeBundle) Uninstall() error
type FakeBundleCollection ¶
type FakeBundleCollection struct { ListBundles []bc.Bundle ListErr error GetErr error // contains filtered or unexported fields }
func NewFakeBundleCollection ¶
func NewFakeBundleCollection() *FakeBundleCollection
func (*FakeBundleCollection) FakeGet ¶
func (s *FakeBundleCollection) FakeGet(definition bc.BundleDefinition) *FakeBundle
func (*FakeBundleCollection) Get ¶
func (s *FakeBundleCollection) Get(definition bc.BundleDefinition) (bc.Bundle, error)
type FakeBundleInstallCallBack ¶
type FakeBundleInstallCallBack func()
type FakeClock ¶
type FakeClock struct { NowStub func() time.Time SleepStub func(d time.Duration) SinceStub func(t time.Time) time.Duration AfterStub func(d time.Duration) <-chan time.Time NewTimerStub func(d time.Duration) clock.Timer NewTickerStub func(d time.Duration) clock.Ticker // contains filtered or unexported fields }
func (*FakeClock) AfterCallCount ¶
func (*FakeClock) AfterReturns ¶
func (*FakeClock) AfterReturnsOnCall ¶
func (*FakeClock) Invocations ¶
func (*FakeClock) NewTickerArgsForCall ¶
func (*FakeClock) NewTickerCallCount ¶
func (*FakeClock) NewTickerReturns ¶
func (*FakeClock) NewTickerReturnsOnCall ¶
func (*FakeClock) NewTimerArgsForCall ¶
func (*FakeClock) NewTimerCallCount ¶
func (*FakeClock) NewTimerReturns ¶
func (*FakeClock) NewTimerReturnsOnCall ¶
func (*FakeClock) NowCallCount ¶
func (*FakeClock) NowReturns ¶
func (*FakeClock) NowReturnsOnCall ¶
func (*FakeClock) SinceCallCount ¶
func (*FakeClock) SinceExecutesOnCall ¶
func (*FakeClock) SinceReturns ¶
func (*FakeClock) SinceReturnsOnCall ¶
func (*FakeClock) SleepCallCount ¶
Click to show internal directories.
Click to hide internal directories.