juju: github.com/juju/juju/apiserver/logsink/mocks Index | Files

package mocks

import "github.com/juju/juju/apiserver/logsink/mocks"

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

metrics_collector_mock.go metrics_mock.go

type MockCounter Uses

type MockCounter struct {
    // contains filtered or unexported fields
}

MockCounter is a mock of Counter interface

func NewMockCounter Uses

func NewMockCounter(ctrl *gomock.Controller) *MockCounter

NewMockCounter creates a new mock instance

func (*MockCounter) Add Uses

func (m *MockCounter) Add(arg0 float64)

Add mocks base method

func (*MockCounter) Collect Uses

func (m *MockCounter) Collect(arg0 chan<- prometheus.Metric)

Collect mocks base method

func (*MockCounter) Desc Uses

func (m *MockCounter) Desc() *prometheus.Desc

Desc mocks base method

func (*MockCounter) Describe Uses

func (m *MockCounter) Describe(arg0 chan<- *prometheus.Desc)

Describe mocks base method

func (*MockCounter) EXPECT Uses

func (m *MockCounter) EXPECT() *MockCounterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCounter) Inc Uses

func (m *MockCounter) Inc()

Inc mocks base method

func (*MockCounter) Write Uses

func (m *MockCounter) Write(arg0 *go0.Metric) error

Write mocks base method

type MockCounterMockRecorder Uses

type MockCounterMockRecorder struct {
    // contains filtered or unexported fields
}

MockCounterMockRecorder is the mock recorder for MockCounter

func (*MockCounterMockRecorder) Add Uses

func (mr *MockCounterMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockCounterMockRecorder) Collect Uses

func (mr *MockCounterMockRecorder) Collect(arg0 interface{}) *gomock.Call

Collect indicates an expected call of Collect

func (*MockCounterMockRecorder) Desc Uses

func (mr *MockCounterMockRecorder) Desc() *gomock.Call

Desc indicates an expected call of Desc

func (*MockCounterMockRecorder) Describe Uses

func (mr *MockCounterMockRecorder) Describe(arg0 interface{}) *gomock.Call

Describe indicates an expected call of Describe

func (*MockCounterMockRecorder) Inc Uses

func (mr *MockCounterMockRecorder) Inc() *gomock.Call

Inc indicates an expected call of Inc

func (*MockCounterMockRecorder) Write Uses

func (mr *MockCounterMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

type MockGauge Uses

type MockGauge struct {
    // contains filtered or unexported fields
}

MockGauge is a mock of Gauge interface

func NewMockGauge Uses

func NewMockGauge(ctrl *gomock.Controller) *MockGauge

NewMockGauge creates a new mock instance

func (*MockGauge) Add Uses

func (m *MockGauge) Add(arg0 float64)

Add mocks base method

func (*MockGauge) Collect Uses

func (m *MockGauge) Collect(arg0 chan<- prometheus.Metric)

Collect mocks base method

func (*MockGauge) Dec Uses

func (m *MockGauge) Dec()

Dec mocks base method

func (*MockGauge) Desc Uses

func (m *MockGauge) Desc() *prometheus.Desc

Desc mocks base method

func (*MockGauge) Describe Uses

func (m *MockGauge) Describe(arg0 chan<- *prometheus.Desc)

Describe mocks base method

func (*MockGauge) EXPECT Uses

func (m *MockGauge) EXPECT() *MockGaugeMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGauge) Inc Uses

func (m *MockGauge) Inc()

Inc mocks base method

func (*MockGauge) Set Uses

func (m *MockGauge) Set(arg0 float64)

Set mocks base method

func (*MockGauge) SetToCurrentTime Uses

func (m *MockGauge) SetToCurrentTime()

SetToCurrentTime mocks base method

func (*MockGauge) Sub Uses

func (m *MockGauge) Sub(arg0 float64)

Sub mocks base method

func (*MockGauge) Write Uses

func (m *MockGauge) Write(arg0 *go0.Metric) error

Write mocks base method

type MockGaugeMockRecorder Uses

type MockGaugeMockRecorder struct {
    // contains filtered or unexported fields
}

MockGaugeMockRecorder is the mock recorder for MockGauge

func (*MockGaugeMockRecorder) Add Uses

func (mr *MockGaugeMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockGaugeMockRecorder) Collect Uses

func (mr *MockGaugeMockRecorder) Collect(arg0 interface{}) *gomock.Call

Collect indicates an expected call of Collect

func (*MockGaugeMockRecorder) Dec Uses

func (mr *MockGaugeMockRecorder) Dec() *gomock.Call

Dec indicates an expected call of Dec

func (*MockGaugeMockRecorder) Desc Uses

func (mr *MockGaugeMockRecorder) Desc() *gomock.Call

Desc indicates an expected call of Desc

func (*MockGaugeMockRecorder) Describe Uses

func (mr *MockGaugeMockRecorder) Describe(arg0 interface{}) *gomock.Call

Describe indicates an expected call of Describe

func (*MockGaugeMockRecorder) Inc Uses

func (mr *MockGaugeMockRecorder) Inc() *gomock.Call

Inc indicates an expected call of Inc

func (*MockGaugeMockRecorder) Set Uses

func (mr *MockGaugeMockRecorder) Set(arg0 interface{}) *gomock.Call

Set indicates an expected call of Set

func (*MockGaugeMockRecorder) SetToCurrentTime Uses

func (mr *MockGaugeMockRecorder) SetToCurrentTime() *gomock.Call

SetToCurrentTime indicates an expected call of SetToCurrentTime

func (*MockGaugeMockRecorder) Sub Uses

func (mr *MockGaugeMockRecorder) Sub(arg0 interface{}) *gomock.Call

Sub indicates an expected call of Sub

func (*MockGaugeMockRecorder) Write Uses

func (mr *MockGaugeMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

type MockMetricsCollector Uses

type MockMetricsCollector struct {
    // contains filtered or unexported fields
}

MockMetricsCollector is a mock of MetricsCollector interface

func NewMockMetricsCollector Uses

func NewMockMetricsCollector(ctrl *gomock.Controller) *MockMetricsCollector

NewMockMetricsCollector creates a new mock instance

func (*MockMetricsCollector) Connections Uses

func (m *MockMetricsCollector) Connections() prometheus.Gauge

Connections mocks base method

func (*MockMetricsCollector) EXPECT Uses

func (m *MockMetricsCollector) EXPECT() *MockMetricsCollectorMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMetricsCollector) LogReadCount Uses

func (m *MockMetricsCollector) LogReadCount(arg0, arg1 string) prometheus.Counter

LogReadCount mocks base method

func (*MockMetricsCollector) LogWriteCount Uses

func (m *MockMetricsCollector) LogWriteCount(arg0, arg1 string) prometheus.Counter

LogWriteCount mocks base method

func (*MockMetricsCollector) PingFailureCount Uses

func (m *MockMetricsCollector) PingFailureCount(arg0 string) prometheus.Counter

PingFailureCount mocks base method

func (*MockMetricsCollector) TotalConnections Uses

func (m *MockMetricsCollector) TotalConnections() prometheus.Counter

TotalConnections mocks base method

type MockMetricsCollectorMockRecorder Uses

type MockMetricsCollectorMockRecorder struct {
    // contains filtered or unexported fields
}

MockMetricsCollectorMockRecorder is the mock recorder for MockMetricsCollector

func (*MockMetricsCollectorMockRecorder) Connections Uses

func (mr *MockMetricsCollectorMockRecorder) Connections() *gomock.Call

Connections indicates an expected call of Connections

func (*MockMetricsCollectorMockRecorder) LogReadCount Uses

func (mr *MockMetricsCollectorMockRecorder) LogReadCount(arg0, arg1 interface{}) *gomock.Call

LogReadCount indicates an expected call of LogReadCount

func (*MockMetricsCollectorMockRecorder) LogWriteCount Uses

func (mr *MockMetricsCollectorMockRecorder) LogWriteCount(arg0, arg1 interface{}) *gomock.Call

LogWriteCount indicates an expected call of LogWriteCount

func (*MockMetricsCollectorMockRecorder) PingFailureCount Uses

func (mr *MockMetricsCollectorMockRecorder) PingFailureCount(arg0 interface{}) *gomock.Call

PingFailureCount indicates an expected call of PingFailureCount

func (*MockMetricsCollectorMockRecorder) TotalConnections Uses

func (mr *MockMetricsCollectorMockRecorder) TotalConnections() *gomock.Call

TotalConnections indicates an expected call of TotalConnections

Package mocks imports 4 packages (graph). Updated 2019-02-22. Refresh now. Tools for package owners.