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) GetPercentageCalls(stub func() (int, error))
- 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) HeartbeatStatusCalls(stub func() (map[string]string, error))
- 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) IsAvailableCalls(stub func() bool)
- 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) IsFollowerCalls(stub func() (bool, error))
- 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) ServicePlansDiskAllocatedCalls(stub func() (map[string]string, error))
- 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) ShowGlobalStatusCalls(stub func() (map[string]string, error))
- 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) ShowGlobalVariablesCalls(stub func() (map[string]string, error))
- 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) ShowSlaveStatusCalls(stub func() (map[string]string, error))
- 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(arg1 string) (uint64, uint64, uint64, uint64, error)
- func (fake *FakeStater) StatsArgsForCall(i int) string
- func (fake *FakeStater) StatsCallCount() int
- func (fake *FakeStater) StatsCalls(stub func(string) (uint64, uint64, uint64, uint64, error))
- 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) GetPercentageCalls ¶
func (fake *FakeCpuStater) GetPercentageCalls(stub func() (int, error))
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 { HeartbeatStatusStub func() (map[string]string, error) IsAvailableStub func() bool IsFollowerStub func() (bool, error) ServicePlansDiskAllocatedStub func() (map[string]string, error) ShowGlobalStatusStub func() (map[string]string, error) ShowGlobalVariablesStub func() (map[string]string, error) ShowSlaveStatusStub func() (map[string]string, 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) HeartbeatStatusCalls ¶
func (fake *FakeDatabaseClient) HeartbeatStatusCalls(stub func() (map[string]string, error))
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) IsAvailableCalls ¶
func (fake *FakeDatabaseClient) IsAvailableCalls(stub func() bool)
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) IsFollowerCalls ¶
func (fake *FakeDatabaseClient) IsFollowerCalls(stub func() (bool, error))
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) ServicePlansDiskAllocatedCalls ¶
func (fake *FakeDatabaseClient) ServicePlansDiskAllocatedCalls(stub func() (map[string]string, error))
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) ShowGlobalStatusCalls ¶
func (fake *FakeDatabaseClient) ShowGlobalStatusCalls(stub func() (map[string]string, error))
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) ShowGlobalVariablesCalls ¶
func (fake *FakeDatabaseClient) ShowGlobalVariablesCalls(stub func() (map[string]string, error))
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) ShowSlaveStatusCalls ¶
func (fake *FakeDatabaseClient) ShowSlaveStatusCalls(stub func() (map[string]string, error))
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(string) (uint64, uint64, uint64, uint64, error) // contains filtered or unexported fields }
func (*FakeStater) Invocations ¶
func (fake *FakeStater) Invocations() map[string][][]interface{}
func (*FakeStater) StatsArgsForCall ¶
func (fake *FakeStater) StatsArgsForCall(i int) string
func (*FakeStater) StatsCallCount ¶
func (fake *FakeStater) StatsCallCount() int
func (*FakeStater) StatsCalls ¶
func (*FakeStater) StatsReturns ¶
func (*FakeStater) StatsReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.