func (m *MockGateway) Shutdown() error {
	ret := m.ctrl.Call(m, "Shutdown")
	ret0, _ := ret[0].(error)
	return ret0
}
Shutdown mocks base method
package mocks
import (
	context "context"
	go_dqlite "github.com/CanonicalLtd/go-dqlite"
	gomock "github.com/golang/mock/gomock"
	cert "github.com/spoke-d/thermionic/internal/cert"
	membership "github.com/spoke-d/thermionic/internal/cluster/membership"
	db "github.com/spoke-d/thermionic/internal/db"
	cluster "github.com/spoke-d/thermionic/internal/db/cluster"
	reflect "reflect"
)
type MockGateway struct {
	ctrl     *gomock.Controller
	recorder *MockGatewayMockRecorder
}
type MockGatewayMockRecorder struct {
	mock *MockGateway
}
func NewMockGateway(ctrl *gomock.Controller) *MockGateway {
	mock := &MockGateway{ctrl: ctrl}
	mock.recorder = &MockGatewayMockRecorder{mock}
	return mock
}
func (m *MockGateway) EXPECT() *MockGatewayMockRecorder {
	return m.recorder
}
func (m *MockGateway) Cert() *cert.Info {
	ret := m.ctrl.Call(m, "Cert")
	ret0, _ := ret[0].(*cert.Info)
	return ret0
}
func (mr *MockGatewayMockRecorder) Cert() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Cert", reflect.TypeOf((*MockGateway)(nil).Cert))
}
func (m *MockGateway) Context() context.Context {
	ret := m.ctrl.Call(m, "Context")
	ret0, _ := ret[0].(context.Context)
	return ret0
}
func (mr *MockGatewayMockRecorder) Context() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockGateway)(nil).Context))
}
func (m *MockGateway) DB() membership.Node {
	ret := m.ctrl.Call(m, "DB")
	ret0, _ := ret[0].(membership.Node)
	return ret0
}
func (mr *MockGatewayMockRecorder) DB() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DB", reflect.TypeOf((*MockGateway)(nil).DB))
}
func (m *MockGateway) DialFunc() go_dqlite.DialFunc {
	ret := m.ctrl.Call(m, "DialFunc")
	ret0, _ := ret[0].(go_dqlite.DialFunc)
	return ret0
}
func (mr *MockGatewayMockRecorder) DialFunc() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DialFunc", reflect.TypeOf((*MockGateway)(nil).DialFunc))
}
func (m *MockGateway) Init(arg0 *cert.Info) error {
	ret := m.ctrl.Call(m, "Init", arg0)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockGatewayMockRecorder) Init(arg0 interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockGateway)(nil).Init), arg0)
}
func (m *MockGateway) IsDatabaseNode() bool {
	ret := m.ctrl.Call(m, "IsDatabaseNode")
	ret0, _ := ret[0].(bool)
	return ret0
}
func (mr *MockGatewayMockRecorder) IsDatabaseNode() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsDatabaseNode", reflect.TypeOf((*MockGateway)(nil).IsDatabaseNode))
}
func (m *MockGateway) Raft() membership.RaftInstance {
	ret := m.ctrl.Call(m, "Raft")
	ret0, _ := ret[0].(membership.RaftInstance)
	return ret0
}
func (mr *MockGatewayMockRecorder) Raft() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Raft", reflect.TypeOf((*MockGateway)(nil).Raft))
}
func (m *MockGateway) RaftNodes() ([]db.RaftNode, error) {
	ret := m.ctrl.Call(m, "RaftNodes")
	ret0, _ := ret[0].([]db.RaftNode)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockGatewayMockRecorder) RaftNodes() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RaftNodes", reflect.TypeOf((*MockGateway)(nil).RaftNodes))
}
func (m *MockGateway) Reset(arg0 *cert.Info) error {
	ret := m.ctrl.Call(m, "Reset", arg0)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockGatewayMockRecorder) Reset(arg0 interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockGateway)(nil).Reset), arg0)
}
func (m *MockGateway) ServerStore() cluster.ServerStore {
	ret := m.ctrl.Call(m, "ServerStore")
	ret0, _ := ret[0].(cluster.ServerStore)
	return ret0
}
func (mr *MockGatewayMockRecorder) ServerStore() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServerStore", reflect.TypeOf((*MockGateway)(nil).ServerStore))
}