Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeGatherer
- func (fake *FakeGatherer) BrokerStats() (map[string]string, error)
- func (fake *FakeGatherer) BrokerStatsCallCount() int
- func (fake *FakeGatherer) BrokerStatsCalls(stub func() (map[string]string, error))
- func (fake *FakeGatherer) BrokerStatsReturns(result1 map[string]string, result2 error)
- func (fake *FakeGatherer) BrokerStatsReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeGatherer) CPUStats() (map[string]string, error)
- func (fake *FakeGatherer) CPUStatsCallCount() int
- func (fake *FakeGatherer) CPUStatsCalls(stub func() (map[string]string, error))
- func (fake *FakeGatherer) CPUStatsReturns(result1 map[string]string, result2 error)
- func (fake *FakeGatherer) CPUStatsReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeGatherer) DatabaseMetadata() (map[string]string, map[string]string, error)
- func (fake *FakeGatherer) DatabaseMetadataCallCount() int
- func (fake *FakeGatherer) DatabaseMetadataCalls(stub func() (map[string]string, map[string]string, error))
- func (fake *FakeGatherer) DatabaseMetadataReturns(result1 map[string]string, result2 map[string]string, result3 error)
- func (fake *FakeGatherer) DatabaseMetadataReturnsOnCall(i int, result1 map[string]string, result2 map[string]string, result3 error)
- func (fake *FakeGatherer) DiskStats() (map[string]string, error)
- func (fake *FakeGatherer) DiskStatsCallCount() int
- func (fake *FakeGatherer) DiskStatsCalls(stub func() (map[string]string, error))
- func (fake *FakeGatherer) DiskStatsReturns(result1 map[string]string, result2 error)
- func (fake *FakeGatherer) DiskStatsReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeGatherer) FollowerMetadata() (map[string]string, map[string]string, error)
- func (fake *FakeGatherer) FollowerMetadataCallCount() int
- func (fake *FakeGatherer) FollowerMetadataCalls(stub func() (map[string]string, map[string]string, error))
- func (fake *FakeGatherer) FollowerMetadataReturns(result1 map[string]string, result2 map[string]string, result3 error)
- func (fake *FakeGatherer) FollowerMetadataReturnsOnCall(i int, result1 map[string]string, result2 map[string]string, result3 error)
- func (fake *FakeGatherer) Invocations() map[string][][]interface{}
- func (fake *FakeGatherer) IsDatabaseAvailable() bool
- func (fake *FakeGatherer) IsDatabaseAvailableCallCount() int
- func (fake *FakeGatherer) IsDatabaseAvailableCalls(stub func() bool)
- func (fake *FakeGatherer) IsDatabaseAvailableReturns(result1 bool)
- func (fake *FakeGatherer) IsDatabaseAvailableReturnsOnCall(i int, result1 bool)
- func (fake *FakeGatherer) IsDatabaseFollower() (bool, error)
- func (fake *FakeGatherer) IsDatabaseFollowerCallCount() int
- func (fake *FakeGatherer) IsDatabaseFollowerCalls(stub func() (bool, error))
- func (fake *FakeGatherer) IsDatabaseFollowerReturns(result1 bool, result2 error)
- func (fake *FakeGatherer) IsDatabaseFollowerReturnsOnCall(i int, result1 bool, result2 error)
- type FakeLogger
- func (fake *FakeLogger) Debug(arg1 string, arg2 map[string]interface{})
- func (fake *FakeLogger) DebugArgsForCall(i int) (string, map[string]interface{})
- func (fake *FakeLogger) DebugCallCount() int
- func (fake *FakeLogger) DebugCalls(stub func(string, map[string]interface{}))
- func (fake *FakeLogger) Error(arg1 string, arg2 error)
- func (fake *FakeLogger) ErrorArgsForCall(i int) (string, error)
- func (fake *FakeLogger) ErrorCallCount() int
- func (fake *FakeLogger) ErrorCalls(stub func(string, error))
- func (fake *FakeLogger) Invocations() map[string][][]interface{}
- type FakeMetricsComputer
- func (fake *FakeMetricsComputer) ComputeAvailabilityMetric(arg1 bool) *metrics.Metric
- func (fake *FakeMetricsComputer) ComputeAvailabilityMetricArgsForCall(i int) bool
- func (fake *FakeMetricsComputer) ComputeAvailabilityMetricCallCount() int
- func (fake *FakeMetricsComputer) ComputeAvailabilityMetricCalls(stub func(bool) *metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeAvailabilityMetricReturns(result1 *metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeAvailabilityMetricReturnsOnCall(i int, result1 *metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeBrokerMetrics(arg1 map[string]string) []*metrics.Metric
- func (fake *FakeMetricsComputer) ComputeBrokerMetricsArgsForCall(i int) map[string]string
- func (fake *FakeMetricsComputer) ComputeBrokerMetricsCallCount() int
- func (fake *FakeMetricsComputer) ComputeBrokerMetricsCalls(stub func(map[string]string) []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeBrokerMetricsReturns(result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeBrokerMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeCPUMetrics(arg1 map[string]string) []*metrics.Metric
- func (fake *FakeMetricsComputer) ComputeCPUMetricsArgsForCall(i int) map[string]string
- func (fake *FakeMetricsComputer) ComputeCPUMetricsCallCount() int
- func (fake *FakeMetricsComputer) ComputeCPUMetricsCalls(stub func(map[string]string) []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeCPUMetricsReturns(result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeCPUMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeDiskMetrics(arg1 map[string]string) []*metrics.Metric
- func (fake *FakeMetricsComputer) ComputeDiskMetricsArgsForCall(i int) map[string]string
- func (fake *FakeMetricsComputer) ComputeDiskMetricsCallCount() int
- func (fake *FakeMetricsComputer) ComputeDiskMetricsCalls(stub func(map[string]string) []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeDiskMetricsReturns(result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeDiskMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeGaleraMetrics(arg1 map[string]string) []*metrics.Metric
- func (fake *FakeMetricsComputer) ComputeGaleraMetricsArgsForCall(i int) map[string]string
- func (fake *FakeMetricsComputer) ComputeGaleraMetricsCallCount() int
- func (fake *FakeMetricsComputer) ComputeGaleraMetricsCalls(stub func(map[string]string) []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeGaleraMetricsReturns(result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeGaleraMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeGlobalMetrics(arg1 map[string]string) []*metrics.Metric
- func (fake *FakeMetricsComputer) ComputeGlobalMetricsArgsForCall(i int) map[string]string
- func (fake *FakeMetricsComputer) ComputeGlobalMetricsCallCount() int
- func (fake *FakeMetricsComputer) ComputeGlobalMetricsCalls(stub func(map[string]string) []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeGlobalMetricsReturns(result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeGlobalMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeIsFollowerMetric(arg1 bool) *metrics.Metric
- func (fake *FakeMetricsComputer) ComputeIsFollowerMetricArgsForCall(i int) bool
- func (fake *FakeMetricsComputer) ComputeIsFollowerMetricCallCount() int
- func (fake *FakeMetricsComputer) ComputeIsFollowerMetricCalls(stub func(bool) *metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeIsFollowerMetricReturns(result1 *metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeIsFollowerMetricReturnsOnCall(i int, result1 *metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetrics(arg1 map[string]string) []*metrics.Metric
- func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetricsArgsForCall(i int) map[string]string
- func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetricsCallCount() int
- func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetricsCalls(stub func(map[string]string) []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetricsReturns(result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
- func (fake *FakeMetricsComputer) Invocations() map[string][][]interface{}
- type FakeSender
- func (fake *FakeSender) Invocations() map[string][][]interface{}
- func (fake *FakeSender) SendValue(arg1 string, arg2 float64, arg3 string) error
- func (fake *FakeSender) SendValueArgsForCall(i int) (string, float64, string)
- func (fake *FakeSender) SendValueCallCount() int
- func (fake *FakeSender) SendValueCalls(stub func(string, float64, string) error)
- func (fake *FakeSender) SendValueReturns(result1 error)
- func (fake *FakeSender) SendValueReturnsOnCall(i int, result1 error)
- type FakeWriter
- func (fake *FakeWriter) Invocations() map[string][][]interface{}
- func (fake *FakeWriter) Write(arg1 []*metrics.Metric) error
- func (fake *FakeWriter) WriteArgsForCall(i int) []*metrics.Metric
- func (fake *FakeWriter) WriteCallCount() int
- func (fake *FakeWriter) WriteCalls(stub func([]*metrics.Metric) error)
- func (fake *FakeWriter) WriteReturns(result1 error)
- func (fake *FakeWriter) WriteReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGatherer ¶
type FakeGatherer struct { BrokerStatsStub func() (map[string]string, error) CPUStatsStub func() (map[string]string, error) DatabaseMetadataStub func() (map[string]string, map[string]string, error) DiskStatsStub func() (map[string]string, error) FollowerMetadataStub func() (map[string]string, map[string]string, error) IsDatabaseAvailableStub func() bool IsDatabaseFollowerStub func() (bool, error) // contains filtered or unexported fields }
func (*FakeGatherer) BrokerStats ¶
func (fake *FakeGatherer) BrokerStats() (map[string]string, error)
func (*FakeGatherer) BrokerStatsCallCount ¶
func (fake *FakeGatherer) BrokerStatsCallCount() int
func (*FakeGatherer) BrokerStatsCalls ¶
func (fake *FakeGatherer) BrokerStatsCalls(stub func() (map[string]string, error))
func (*FakeGatherer) BrokerStatsReturns ¶
func (fake *FakeGatherer) BrokerStatsReturns(result1 map[string]string, result2 error)
func (*FakeGatherer) BrokerStatsReturnsOnCall ¶
func (fake *FakeGatherer) BrokerStatsReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeGatherer) CPUStatsCallCount ¶
func (fake *FakeGatherer) CPUStatsCallCount() int
func (*FakeGatherer) CPUStatsCalls ¶
func (fake *FakeGatherer) CPUStatsCalls(stub func() (map[string]string, error))
func (*FakeGatherer) CPUStatsReturns ¶
func (fake *FakeGatherer) CPUStatsReturns(result1 map[string]string, result2 error)
func (*FakeGatherer) CPUStatsReturnsOnCall ¶
func (fake *FakeGatherer) CPUStatsReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeGatherer) DatabaseMetadata ¶
func (*FakeGatherer) DatabaseMetadataCallCount ¶
func (fake *FakeGatherer) DatabaseMetadataCallCount() int
func (*FakeGatherer) DatabaseMetadataCalls ¶
func (*FakeGatherer) DatabaseMetadataReturns ¶
func (*FakeGatherer) DatabaseMetadataReturnsOnCall ¶
func (*FakeGatherer) DiskStatsCallCount ¶
func (fake *FakeGatherer) DiskStatsCallCount() int
func (*FakeGatherer) DiskStatsCalls ¶
func (fake *FakeGatherer) DiskStatsCalls(stub func() (map[string]string, error))
func (*FakeGatherer) DiskStatsReturns ¶
func (fake *FakeGatherer) DiskStatsReturns(result1 map[string]string, result2 error)
func (*FakeGatherer) DiskStatsReturnsOnCall ¶
func (fake *FakeGatherer) DiskStatsReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeGatherer) FollowerMetadata ¶
func (*FakeGatherer) FollowerMetadataCallCount ¶
func (fake *FakeGatherer) FollowerMetadataCallCount() int
func (*FakeGatherer) FollowerMetadataCalls ¶
func (*FakeGatherer) FollowerMetadataReturns ¶
func (*FakeGatherer) FollowerMetadataReturnsOnCall ¶
func (*FakeGatherer) Invocations ¶
func (fake *FakeGatherer) Invocations() map[string][][]interface{}
func (*FakeGatherer) IsDatabaseAvailable ¶
func (fake *FakeGatherer) IsDatabaseAvailable() bool
func (*FakeGatherer) IsDatabaseAvailableCallCount ¶
func (fake *FakeGatherer) IsDatabaseAvailableCallCount() int
func (*FakeGatherer) IsDatabaseAvailableCalls ¶
func (fake *FakeGatherer) IsDatabaseAvailableCalls(stub func() bool)
func (*FakeGatherer) IsDatabaseAvailableReturns ¶
func (fake *FakeGatherer) IsDatabaseAvailableReturns(result1 bool)
func (*FakeGatherer) IsDatabaseAvailableReturnsOnCall ¶
func (fake *FakeGatherer) IsDatabaseAvailableReturnsOnCall(i int, result1 bool)
func (*FakeGatherer) IsDatabaseFollower ¶
func (fake *FakeGatherer) IsDatabaseFollower() (bool, error)
func (*FakeGatherer) IsDatabaseFollowerCallCount ¶
func (fake *FakeGatherer) IsDatabaseFollowerCallCount() int
func (*FakeGatherer) IsDatabaseFollowerCalls ¶
func (fake *FakeGatherer) IsDatabaseFollowerCalls(stub func() (bool, error))
func (*FakeGatherer) IsDatabaseFollowerReturns ¶
func (fake *FakeGatherer) IsDatabaseFollowerReturns(result1 bool, result2 error)
func (*FakeGatherer) IsDatabaseFollowerReturnsOnCall ¶
func (fake *FakeGatherer) IsDatabaseFollowerReturnsOnCall(i int, result1 bool, result2 error)
type FakeLogger ¶
type FakeLogger struct { DebugStub func(string, map[string]interface{}) ErrorStub func(string, error) // contains filtered or unexported fields }
func (*FakeLogger) Debug ¶
func (fake *FakeLogger) Debug(arg1 string, arg2 map[string]interface{})
func (*FakeLogger) DebugArgsForCall ¶
func (fake *FakeLogger) DebugArgsForCall(i int) (string, map[string]interface{})
func (*FakeLogger) DebugCallCount ¶
func (fake *FakeLogger) DebugCallCount() int
func (*FakeLogger) DebugCalls ¶
func (fake *FakeLogger) DebugCalls(stub func(string, map[string]interface{}))
func (*FakeLogger) Error ¶
func (fake *FakeLogger) Error(arg1 string, arg2 error)
func (*FakeLogger) ErrorArgsForCall ¶
func (fake *FakeLogger) ErrorArgsForCall(i int) (string, error)
func (*FakeLogger) ErrorCallCount ¶
func (fake *FakeLogger) ErrorCallCount() int
func (*FakeLogger) ErrorCalls ¶
func (fake *FakeLogger) ErrorCalls(stub func(string, error))
func (*FakeLogger) Invocations ¶
func (fake *FakeLogger) Invocations() map[string][][]interface{}
type FakeMetricsComputer ¶
type FakeMetricsComputer struct { ComputeAvailabilityMetricStub func(bool) *metrics.Metric ComputeBrokerMetricsStub func(map[string]string) []*metrics.Metric ComputeCPUMetricsStub func(map[string]string) []*metrics.Metric ComputeDiskMetricsStub func(map[string]string) []*metrics.Metric ComputeGaleraMetricsStub func(map[string]string) []*metrics.Metric ComputeGlobalMetricsStub func(map[string]string) []*metrics.Metric ComputeIsFollowerMetricStub func(bool) *metrics.Metric ComputeLeaderFollowerMetricsStub func(map[string]string) []*metrics.Metric // contains filtered or unexported fields }
func (*FakeMetricsComputer) ComputeAvailabilityMetric ¶
func (fake *FakeMetricsComputer) ComputeAvailabilityMetric(arg1 bool) *metrics.Metric
func (*FakeMetricsComputer) ComputeAvailabilityMetricArgsForCall ¶
func (fake *FakeMetricsComputer) ComputeAvailabilityMetricArgsForCall(i int) bool
func (*FakeMetricsComputer) ComputeAvailabilityMetricCallCount ¶
func (fake *FakeMetricsComputer) ComputeAvailabilityMetricCallCount() int
func (*FakeMetricsComputer) ComputeAvailabilityMetricCalls ¶
func (fake *FakeMetricsComputer) ComputeAvailabilityMetricCalls(stub func(bool) *metrics.Metric)
func (*FakeMetricsComputer) ComputeAvailabilityMetricReturns ¶
func (fake *FakeMetricsComputer) ComputeAvailabilityMetricReturns(result1 *metrics.Metric)
func (*FakeMetricsComputer) ComputeAvailabilityMetricReturnsOnCall ¶
func (fake *FakeMetricsComputer) ComputeAvailabilityMetricReturnsOnCall(i int, result1 *metrics.Metric)
func (*FakeMetricsComputer) ComputeBrokerMetrics ¶
func (fake *FakeMetricsComputer) ComputeBrokerMetrics(arg1 map[string]string) []*metrics.Metric
func (*FakeMetricsComputer) ComputeBrokerMetricsArgsForCall ¶
func (fake *FakeMetricsComputer) ComputeBrokerMetricsArgsForCall(i int) map[string]string
func (*FakeMetricsComputer) ComputeBrokerMetricsCallCount ¶
func (fake *FakeMetricsComputer) ComputeBrokerMetricsCallCount() int
func (*FakeMetricsComputer) ComputeBrokerMetricsCalls ¶
func (fake *FakeMetricsComputer) ComputeBrokerMetricsCalls(stub func(map[string]string) []*metrics.Metric)
func (*FakeMetricsComputer) ComputeBrokerMetricsReturns ¶
func (fake *FakeMetricsComputer) ComputeBrokerMetricsReturns(result1 []*metrics.Metric)
func (*FakeMetricsComputer) ComputeBrokerMetricsReturnsOnCall ¶
func (fake *FakeMetricsComputer) ComputeBrokerMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
func (*FakeMetricsComputer) ComputeCPUMetrics ¶
func (fake *FakeMetricsComputer) ComputeCPUMetrics(arg1 map[string]string) []*metrics.Metric
func (*FakeMetricsComputer) ComputeCPUMetricsArgsForCall ¶
func (fake *FakeMetricsComputer) ComputeCPUMetricsArgsForCall(i int) map[string]string
func (*FakeMetricsComputer) ComputeCPUMetricsCallCount ¶
func (fake *FakeMetricsComputer) ComputeCPUMetricsCallCount() int
func (*FakeMetricsComputer) ComputeCPUMetricsCalls ¶
func (fake *FakeMetricsComputer) ComputeCPUMetricsCalls(stub func(map[string]string) []*metrics.Metric)
func (*FakeMetricsComputer) ComputeCPUMetricsReturns ¶
func (fake *FakeMetricsComputer) ComputeCPUMetricsReturns(result1 []*metrics.Metric)
func (*FakeMetricsComputer) ComputeCPUMetricsReturnsOnCall ¶
func (fake *FakeMetricsComputer) ComputeCPUMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
func (*FakeMetricsComputer) ComputeDiskMetrics ¶
func (fake *FakeMetricsComputer) ComputeDiskMetrics(arg1 map[string]string) []*metrics.Metric
func (*FakeMetricsComputer) ComputeDiskMetricsArgsForCall ¶
func (fake *FakeMetricsComputer) ComputeDiskMetricsArgsForCall(i int) map[string]string
func (*FakeMetricsComputer) ComputeDiskMetricsCallCount ¶
func (fake *FakeMetricsComputer) ComputeDiskMetricsCallCount() int
func (*FakeMetricsComputer) ComputeDiskMetricsCalls ¶
func (fake *FakeMetricsComputer) ComputeDiskMetricsCalls(stub func(map[string]string) []*metrics.Metric)
func (*FakeMetricsComputer) ComputeDiskMetricsReturns ¶
func (fake *FakeMetricsComputer) ComputeDiskMetricsReturns(result1 []*metrics.Metric)
func (*FakeMetricsComputer) ComputeDiskMetricsReturnsOnCall ¶
func (fake *FakeMetricsComputer) ComputeDiskMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
func (*FakeMetricsComputer) ComputeGaleraMetrics ¶
func (fake *FakeMetricsComputer) ComputeGaleraMetrics(arg1 map[string]string) []*metrics.Metric
func (*FakeMetricsComputer) ComputeGaleraMetricsArgsForCall ¶
func (fake *FakeMetricsComputer) ComputeGaleraMetricsArgsForCall(i int) map[string]string
func (*FakeMetricsComputer) ComputeGaleraMetricsCallCount ¶
func (fake *FakeMetricsComputer) ComputeGaleraMetricsCallCount() int
func (*FakeMetricsComputer) ComputeGaleraMetricsCalls ¶
func (fake *FakeMetricsComputer) ComputeGaleraMetricsCalls(stub func(map[string]string) []*metrics.Metric)
func (*FakeMetricsComputer) ComputeGaleraMetricsReturns ¶
func (fake *FakeMetricsComputer) ComputeGaleraMetricsReturns(result1 []*metrics.Metric)
func (*FakeMetricsComputer) ComputeGaleraMetricsReturnsOnCall ¶
func (fake *FakeMetricsComputer) ComputeGaleraMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
func (*FakeMetricsComputer) ComputeGlobalMetrics ¶
func (fake *FakeMetricsComputer) ComputeGlobalMetrics(arg1 map[string]string) []*metrics.Metric
func (*FakeMetricsComputer) ComputeGlobalMetricsArgsForCall ¶
func (fake *FakeMetricsComputer) ComputeGlobalMetricsArgsForCall(i int) map[string]string
func (*FakeMetricsComputer) ComputeGlobalMetricsCallCount ¶
func (fake *FakeMetricsComputer) ComputeGlobalMetricsCallCount() int
func (*FakeMetricsComputer) ComputeGlobalMetricsCalls ¶
func (fake *FakeMetricsComputer) ComputeGlobalMetricsCalls(stub func(map[string]string) []*metrics.Metric)
func (*FakeMetricsComputer) ComputeGlobalMetricsReturns ¶
func (fake *FakeMetricsComputer) ComputeGlobalMetricsReturns(result1 []*metrics.Metric)
func (*FakeMetricsComputer) ComputeGlobalMetricsReturnsOnCall ¶
func (fake *FakeMetricsComputer) ComputeGlobalMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
func (*FakeMetricsComputer) ComputeIsFollowerMetric ¶
func (fake *FakeMetricsComputer) ComputeIsFollowerMetric(arg1 bool) *metrics.Metric
func (*FakeMetricsComputer) ComputeIsFollowerMetricArgsForCall ¶
func (fake *FakeMetricsComputer) ComputeIsFollowerMetricArgsForCall(i int) bool
func (*FakeMetricsComputer) ComputeIsFollowerMetricCallCount ¶
func (fake *FakeMetricsComputer) ComputeIsFollowerMetricCallCount() int
func (*FakeMetricsComputer) ComputeIsFollowerMetricCalls ¶
func (fake *FakeMetricsComputer) ComputeIsFollowerMetricCalls(stub func(bool) *metrics.Metric)
func (*FakeMetricsComputer) ComputeIsFollowerMetricReturns ¶
func (fake *FakeMetricsComputer) ComputeIsFollowerMetricReturns(result1 *metrics.Metric)
func (*FakeMetricsComputer) ComputeIsFollowerMetricReturnsOnCall ¶
func (fake *FakeMetricsComputer) ComputeIsFollowerMetricReturnsOnCall(i int, result1 *metrics.Metric)
func (*FakeMetricsComputer) ComputeLeaderFollowerMetrics ¶
func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetrics(arg1 map[string]string) []*metrics.Metric
func (*FakeMetricsComputer) ComputeLeaderFollowerMetricsArgsForCall ¶
func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetricsArgsForCall(i int) map[string]string
func (*FakeMetricsComputer) ComputeLeaderFollowerMetricsCallCount ¶
func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetricsCallCount() int
func (*FakeMetricsComputer) ComputeLeaderFollowerMetricsCalls ¶
func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetricsCalls(stub func(map[string]string) []*metrics.Metric)
func (*FakeMetricsComputer) ComputeLeaderFollowerMetricsReturns ¶
func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetricsReturns(result1 []*metrics.Metric)
func (*FakeMetricsComputer) ComputeLeaderFollowerMetricsReturnsOnCall ¶
func (fake *FakeMetricsComputer) ComputeLeaderFollowerMetricsReturnsOnCall(i int, result1 []*metrics.Metric)
func (*FakeMetricsComputer) Invocations ¶
func (fake *FakeMetricsComputer) Invocations() map[string][][]interface{}
type FakeSender ¶
type FakeSender struct { SendValueStub func(string, float64, string) error // contains filtered or unexported fields }
func (*FakeSender) Invocations ¶
func (fake *FakeSender) Invocations() map[string][][]interface{}
func (*FakeSender) SendValue ¶
func (fake *FakeSender) SendValue(arg1 string, arg2 float64, arg3 string) error
func (*FakeSender) SendValueArgsForCall ¶
func (fake *FakeSender) SendValueArgsForCall(i int) (string, float64, string)
func (*FakeSender) SendValueCallCount ¶
func (fake *FakeSender) SendValueCallCount() int
func (*FakeSender) SendValueCalls ¶
func (fake *FakeSender) SendValueCalls(stub func(string, float64, string) error)
func (*FakeSender) SendValueReturns ¶
func (fake *FakeSender) SendValueReturns(result1 error)
func (*FakeSender) SendValueReturnsOnCall ¶
func (fake *FakeSender) SendValueReturnsOnCall(i int, result1 error)
type FakeWriter ¶
type FakeWriter struct { WriteStub func([]*metrics.Metric) error // contains filtered or unexported fields }
func (*FakeWriter) Invocations ¶
func (fake *FakeWriter) Invocations() map[string][][]interface{}
func (*FakeWriter) WriteArgsForCall ¶
func (fake *FakeWriter) WriteArgsForCall(i int) []*metrics.Metric
func (*FakeWriter) WriteCallCount ¶
func (fake *FakeWriter) WriteCallCount() int
func (*FakeWriter) WriteCalls ¶
func (fake *FakeWriter) WriteCalls(stub func([]*metrics.Metric) error)
func (*FakeWriter) WriteReturns ¶
func (fake *FakeWriter) WriteReturns(result1 error)
func (*FakeWriter) WriteReturnsOnCall ¶
func (fake *FakeWriter) WriteReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.