// Code generated by MockGen. DO NOT EDIT.
// Source: ipset/ipset.go

// Package mocks is a generated GoMock package.
package mocks

import (
	daemonmetrics "a.yandex-team.ru/balancer/production/x/iptables_daemon/daemonmetrics"
	ipset "a.yandex-team.ru/balancer/production/x/iptables_daemon/ipset"
	log "a.yandex-team.ru/library/go/core/log"
	gomock "github.com/golang/mock/gomock"
	io "io"
	reflect "reflect"
)

// MockIIPSet is a mock of IIPSet interface.
type MockIIPSet struct {
	ctrl     *gomock.Controller
	recorder *MockIIPSetMockRecorder
}

// MockIIPSetMockRecorder is the mock recorder for MockIIPSet.
type MockIIPSetMockRecorder struct {
	mock *MockIIPSet
}

// NewMockIIPSet creates a new mock instance.
func NewMockIIPSet(ctrl *gomock.Controller) *MockIIPSet {
	mock := &MockIIPSet{ctrl: ctrl}
	mock.recorder = &MockIIPSetMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockIIPSet) EXPECT() *MockIIPSetMockRecorder {
	return m.recorder
}

// RemoveSetsAndPurgeRules mocks base method.
func (m *MockIIPSet) RemoveSetsAndPurgeRules(arg0 log.Logger) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "RemoveSetsAndPurgeRules", arg0)
}

// RemoveSetsAndPurgeRules indicates an expected call of RemoveSetsAndPurgeRules.
func (mr *MockIIPSetMockRecorder) RemoveSetsAndPurgeRules(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveSetsAndPurgeRules", reflect.TypeOf((*MockIIPSet)(nil).RemoveSetsAndPurgeRules), arg0)
}

// CheckInstalledModules mocks base method.
func (m *MockIIPSet) CheckInstalledModules(arg0 log.Logger) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "CheckInstalledModules", arg0)
}

// CheckInstalledModules indicates an expected call of CheckInstalledModules.
func (mr *MockIIPSetMockRecorder) CheckInstalledModules(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckInstalledModules", reflect.TypeOf((*MockIIPSet)(nil).CheckInstalledModules), arg0)
}

// ProcessCBBResponse mocks base method.
func (m *MockIIPSet) ProcessCBBResponse(arg0 io.ReadCloser, arg1 io.WriteCloser, arg2 daemonmetrics.IMetrics, arg3 log.Logger) uint64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ProcessCBBResponse", arg0, arg1, arg2, arg3)
	ret0, _ := ret[0].(uint64)
	return ret0
}

// ProcessCBBResponse indicates an expected call of ProcessCBBResponse.
func (mr *MockIIPSetMockRecorder) ProcessCBBResponse(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ProcessCBBResponse", reflect.TypeOf((*MockIIPSet)(nil).ProcessCBBResponse), arg0, arg1, arg2, arg3)
}

// Setup mocks base method.
func (m *MockIIPSet) Setup(arg0 log.Logger) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "Setup", arg0)
}

// Setup indicates an expected call of Setup.
func (mr *MockIIPSetMockRecorder) Setup(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Setup", reflect.TypeOf((*MockIIPSet)(nil).Setup), arg0)
}

// UpdateIpsetMetrics mocks base method.
func (m *MockIIPSet) UpdateIpsetMetrics(arg0 daemonmetrics.IMetrics, arg1 log.Logger) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "UpdateIpsetMetrics", arg0, arg1)
}

// UpdateIpsetMetrics indicates an expected call of UpdateIpsetMetrics.
func (mr *MockIIPSetMockRecorder) UpdateIpsetMetrics(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateIpsetMetrics", reflect.TypeOf((*MockIIPSet)(nil).UpdateIpsetMetrics), arg0, arg1)
}

// UpdateIptablesDropMetrics mocks base method.
func (m *MockIIPSet) UpdateIptablesDropMetrics(arg0 daemonmetrics.IMetrics, arg1 log.Logger) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "UpdateIptablesDropMetrics", arg0, arg1)
}

// UpdateIptablesDropMetrics indicates an expected call of UpdateIptablesDropMetrics.
func (mr *MockIIPSetMockRecorder) UpdateIptablesDropMetrics(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateIptablesDropMetrics", reflect.TypeOf((*MockIIPSet)(nil).UpdateIptablesDropMetrics), arg0, arg1)
}

// GetCmdExecutor mocks base method.
func (m *MockIIPSet) GetCmdExecutor() ipset.ICmdExecutor {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetCmdExecutor")
	ret0, _ := ret[0].(ipset.ICmdExecutor)
	return ret0
}

// GetCmdExecutor indicates an expected call of GetCmdExecutor.
func (mr *MockIIPSetMockRecorder) GetCmdExecutor() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCmdExecutor", reflect.TypeOf((*MockIIPSet)(nil).GetCmdExecutor))
}

// MockICmdExecutor is a mock of ICmdExecutor interface.
type MockICmdExecutor struct {
	ctrl     *gomock.Controller
	recorder *MockICmdExecutorMockRecorder
}

// MockICmdExecutorMockRecorder is the mock recorder for MockICmdExecutor.
type MockICmdExecutorMockRecorder struct {
	mock *MockICmdExecutor
}

// NewMockICmdExecutor creates a new mock instance.
func NewMockICmdExecutor(ctrl *gomock.Controller) *MockICmdExecutor {
	mock := &MockICmdExecutor{ctrl: ctrl}
	mock.recorder = &MockICmdExecutorMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockICmdExecutor) EXPECT() *MockICmdExecutorMockRecorder {
	return m.recorder
}

// ExecCmd mocks base method.
func (m *MockICmdExecutor) ExecCmd(arg0 string) ipset.CmdRunResult {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ExecCmd", arg0)
	ret0, _ := ret[0].(ipset.CmdRunResult)
	return ret0
}

// ExecCmd indicates an expected call of ExecCmd.
func (mr *MockICmdExecutorMockRecorder) ExecCmd(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecCmd", reflect.TypeOf((*MockICmdExecutor)(nil).ExecCmd), arg0)
}

// NewCmdWithPipe mocks base method.
func (m *MockICmdExecutor) NewCmdWithPipe(arg0 string, arg1 ...string) (ipset.ICmdWithPipe, error) {
	m.ctrl.T.Helper()
	varargs := []interface{}{arg0}
	for _, a := range arg1 {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "NewCmdWithPipe", varargs...)
	ret0, _ := ret[0].(ipset.ICmdWithPipe)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// NewCmdWithPipe indicates an expected call of NewCmdWithPipe.
func (mr *MockICmdExecutorMockRecorder) NewCmdWithPipe(arg0 interface{}, arg1 ...interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]interface{}{arg0}, arg1...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewCmdWithPipe", reflect.TypeOf((*MockICmdExecutor)(nil).NewCmdWithPipe), varargs...)
}

// MockICmdWithPipe is a mock of ICmdWithPipe interface.
type MockICmdWithPipe struct {
	ctrl     *gomock.Controller
	recorder *MockICmdWithPipeMockRecorder
}

// MockICmdWithPipeMockRecorder is the mock recorder for MockICmdWithPipe.
type MockICmdWithPipeMockRecorder struct {
	mock *MockICmdWithPipe
}

// NewMockICmdWithPipe creates a new mock instance.
func NewMockICmdWithPipe(ctrl *gomock.Controller) *MockICmdWithPipe {
	mock := &MockICmdWithPipe{ctrl: ctrl}
	mock.recorder = &MockICmdWithPipeMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockICmdWithPipe) EXPECT() *MockICmdWithPipeMockRecorder {
	return m.recorder
}

// Wait mocks base method.
func (m *MockICmdWithPipe) Wait() ipset.CmdRunResult {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Wait")
	ret0, _ := ret[0].(ipset.CmdRunResult)
	return ret0
}

// Wait indicates an expected call of Wait.
func (mr *MockICmdWithPipeMockRecorder) Wait() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Wait", reflect.TypeOf((*MockICmdWithPipe)(nil).Wait))
}

// GetWritePipe mocks base method.
func (m *MockICmdWithPipe) GetWritePipe() io.WriteCloser {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetWritePipe")
	ret0, _ := ret[0].(io.WriteCloser)
	return ret0
}

// GetWritePipe indicates an expected call of GetWritePipe.
func (mr *MockICmdWithPipeMockRecorder) GetWritePipe() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetWritePipe", reflect.TypeOf((*MockICmdWithPipe)(nil).GetWritePipe))
}
