Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCpuStater
- func (fake *FakeCpuStater) GetPercentage() (int, error)
- func (fake *FakeCpuStater) GetPercentageCallCount() int
- func (fake *FakeCpuStater) GetPercentageReturns(result1 int, result2 error)
- func (fake *FakeCpuStater) GetPercentageReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeCpuStater) Invocations() map[string][][]interface{}
- type FakeDatabaseClient
- func (fake *FakeDatabaseClient) HeartbeatStatus() (map[string]string, error)
- func (fake *FakeDatabaseClient) HeartbeatStatusCallCount() int
- func (fake *FakeDatabaseClient) HeartbeatStatusReturns(result1 map[string]string, result2 error)
- func (fake *FakeDatabaseClient) HeartbeatStatusReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeDatabaseClient) Invocations() map[string][][]interface{}
- func (fake *FakeDatabaseClient) IsAvailable() bool
- func (fake *FakeDatabaseClient) IsAvailableCallCount() int
- func (fake *FakeDatabaseClient) IsAvailableReturns(result1 bool)
- func (fake *FakeDatabaseClient) IsAvailableReturnsOnCall(i int, result1 bool)
- func (fake *FakeDatabaseClient) IsFollower() (bool, error)
- func (fake *FakeDatabaseClient) IsFollowerCallCount() int
- func (fake *FakeDatabaseClient) IsFollowerReturns(result1 bool, result2 error)
- func (fake *FakeDatabaseClient) IsFollowerReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeDatabaseClient) ServicePlansDiskAllocated() (map[string]string, error)
- func (fake *FakeDatabaseClient) ServicePlansDiskAllocatedCallCount() int
- func (fake *FakeDatabaseClient) ServicePlansDiskAllocatedReturns(result1 map[string]string, result2 error)
- func (fake *FakeDatabaseClient) ServicePlansDiskAllocatedReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeDatabaseClient) ShowGlobalStatus() (map[string]string, error)
- func (fake *FakeDatabaseClient) ShowGlobalStatusCallCount() int
- func (fake *FakeDatabaseClient) ShowGlobalStatusReturns(result1 map[string]string, result2 error)
- func (fake *FakeDatabaseClient) ShowGlobalStatusReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeDatabaseClient) ShowGlobalVariables() (map[string]string, error)
- func (fake *FakeDatabaseClient) ShowGlobalVariablesCallCount() int
- func (fake *FakeDatabaseClient) ShowGlobalVariablesReturns(result1 map[string]string, result2 error)
- func (fake *FakeDatabaseClient) ShowGlobalVariablesReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeDatabaseClient) ShowSlaveStatus() (map[string]string, error)
- func (fake *FakeDatabaseClient) ShowSlaveStatusCallCount() int
- func (fake *FakeDatabaseClient) ShowSlaveStatusReturns(result1 map[string]string, result2 error)
- func (fake *FakeDatabaseClient) ShowSlaveStatusReturnsOnCall(i int, result1 map[string]string, result2 error)
- type FakeStater
- func (fake *FakeStater) Invocations() map[string][][]interface{}
- func (fake *FakeStater) Stats(path string) (bytesFree, bytesTotal, inodesFree, inodesTotal uint64, err error)
- func (fake *FakeStater) StatsArgsForCall(i int) string
- func (fake *FakeStater) StatsCallCount() int
- func (fake *FakeStater) StatsReturns(result1 uint64, result2 uint64, result3 uint64, result4 uint64, result5 error)
- func (fake *FakeStater) StatsReturnsOnCall(i int, result1 uint64, result2 uint64, result3 uint64, result4 uint64, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCpuStater ¶
type FakeCpuStater struct { GetPercentageStub func() (int, error) // contains filtered or unexported fields }
func (*FakeCpuStater) GetPercentage ¶
func (fake *FakeCpuStater) GetPercentage() (int, error)
func (*FakeCpuStater) GetPercentageCallCount ¶
func (fake *FakeCpuStater) GetPercentageCallCount() int
func (*FakeCpuStater) GetPercentageReturns ¶
func (fake *FakeCpuStater) GetPercentageReturns(result1 int, result2 error)
func (*FakeCpuStater) GetPercentageReturnsOnCall ¶
func (fake *FakeCpuStater) GetPercentageReturnsOnCall(i int, result1 int, result2 error)
func (*FakeCpuStater) Invocations ¶
func (fake *FakeCpuStater) Invocations() map[string][][]interface{}
type FakeDatabaseClient ¶
type FakeDatabaseClient struct { ShowGlobalStatusStub func() (map[string]string, error) ShowGlobalVariablesStub func() (map[string]string, error) ShowSlaveStatusStub func() (map[string]string, error) HeartbeatStatusStub func() (map[string]string, error) ServicePlansDiskAllocatedStub func() (map[string]string, error) IsAvailableStub func() bool IsFollowerStub func() (bool, error) // contains filtered or unexported fields }
func (*FakeDatabaseClient) HeartbeatStatus ¶
func (fake *FakeDatabaseClient) HeartbeatStatus() (map[string]string, error)
func (*FakeDatabaseClient) HeartbeatStatusCallCount ¶
func (fake *FakeDatabaseClient) HeartbeatStatusCallCount() int
func (*FakeDatabaseClient) HeartbeatStatusReturns ¶
func (fake *FakeDatabaseClient) HeartbeatStatusReturns(result1 map[string]string, result2 error)
func (*FakeDatabaseClient) HeartbeatStatusReturnsOnCall ¶
func (fake *FakeDatabaseClient) HeartbeatStatusReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeDatabaseClient) Invocations ¶
func (fake *FakeDatabaseClient) Invocations() map[string][][]interface{}
func (*FakeDatabaseClient) IsAvailable ¶
func (fake *FakeDatabaseClient) IsAvailable() bool
func (*FakeDatabaseClient) IsAvailableCallCount ¶
func (fake *FakeDatabaseClient) IsAvailableCallCount() int
func (*FakeDatabaseClient) IsAvailableReturns ¶
func (fake *FakeDatabaseClient) IsAvailableReturns(result1 bool)
func (*FakeDatabaseClient) IsAvailableReturnsOnCall ¶
func (fake *FakeDatabaseClient) IsAvailableReturnsOnCall(i int, result1 bool)
func (*FakeDatabaseClient) IsFollower ¶
func (fake *FakeDatabaseClient) IsFollower() (bool, error)
func (*FakeDatabaseClient) IsFollowerCallCount ¶
func (fake *FakeDatabaseClient) IsFollowerCallCount() int
func (*FakeDatabaseClient) IsFollowerReturns ¶
func (fake *FakeDatabaseClient) IsFollowerReturns(result1 bool, result2 error)
func (*FakeDatabaseClient) IsFollowerReturnsOnCall ¶
func (fake *FakeDatabaseClient) IsFollowerReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeDatabaseClient) ServicePlansDiskAllocated ¶
func (fake *FakeDatabaseClient) ServicePlansDiskAllocated() (map[string]string, error)
func (*FakeDatabaseClient) ServicePlansDiskAllocatedCallCount ¶
func (fake *FakeDatabaseClient) ServicePlansDiskAllocatedCallCount() int
func (*FakeDatabaseClient) ServicePlansDiskAllocatedReturns ¶
func (fake *FakeDatabaseClient) ServicePlansDiskAllocatedReturns(result1 map[string]string, result2 error)
func (*FakeDatabaseClient) ServicePlansDiskAllocatedReturnsOnCall ¶
func (fake *FakeDatabaseClient) ServicePlansDiskAllocatedReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeDatabaseClient) ShowGlobalStatus ¶
func (fake *FakeDatabaseClient) ShowGlobalStatus() (map[string]string, error)
func (*FakeDatabaseClient) ShowGlobalStatusCallCount ¶
func (fake *FakeDatabaseClient) ShowGlobalStatusCallCount() int
func (*FakeDatabaseClient) ShowGlobalStatusReturns ¶
func (fake *FakeDatabaseClient) ShowGlobalStatusReturns(result1 map[string]string, result2 error)
func (*FakeDatabaseClient) ShowGlobalStatusReturnsOnCall ¶
func (fake *FakeDatabaseClient) ShowGlobalStatusReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeDatabaseClient) ShowGlobalVariables ¶
func (fake *FakeDatabaseClient) ShowGlobalVariables() (map[string]string, error)
func (*FakeDatabaseClient) ShowGlobalVariablesCallCount ¶
func (fake *FakeDatabaseClient) ShowGlobalVariablesCallCount() int
func (*FakeDatabaseClient) ShowGlobalVariablesReturns ¶
func (fake *FakeDatabaseClient) ShowGlobalVariablesReturns(result1 map[string]string, result2 error)
func (*FakeDatabaseClient) ShowGlobalVariablesReturnsOnCall ¶
func (fake *FakeDatabaseClient) ShowGlobalVariablesReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeDatabaseClient) ShowSlaveStatus ¶
func (fake *FakeDatabaseClient) ShowSlaveStatus() (map[string]string, error)
func (*FakeDatabaseClient) ShowSlaveStatusCallCount ¶
func (fake *FakeDatabaseClient) ShowSlaveStatusCallCount() int
func (*FakeDatabaseClient) ShowSlaveStatusReturns ¶
func (fake *FakeDatabaseClient) ShowSlaveStatusReturns(result1 map[string]string, result2 error)
func (*FakeDatabaseClient) ShowSlaveStatusReturnsOnCall ¶
func (fake *FakeDatabaseClient) ShowSlaveStatusReturnsOnCall(i int, result1 map[string]string, result2 error)
type FakeStater ¶
type FakeStater struct { StatsStub func(path string) (bytesFree, bytesTotal, inodesFree, inodesTotal uint64, err error) // contains filtered or unexported fields }
func (*FakeStater) Invocations ¶
func (fake *FakeStater) Invocations() map[string][][]interface{}
func (*FakeStater) Stats ¶
func (fake *FakeStater) Stats(path string) (bytesFree, bytesTotal, inodesFree, inodesTotal uint64, err error)
func (*FakeStater) StatsArgsForCall ¶
func (fake *FakeStater) StatsArgsForCall(i int) string
func (*FakeStater) StatsCallCount ¶
func (fake *FakeStater) StatsCallCount() int
func (*FakeStater) StatsReturns ¶
func (*FakeStater) StatsReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.