// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/tidbcloud/devops/pkg/service/clusterctl (interfaces: ClusterCtlService)
//
// Generated by this command:
//
//	mockgen -destination clusterctl_service_mock.go -package=clusterctl github.com/tidbcloud/devops/pkg/service/clusterctl ClusterCtlService
//

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

import (
	context "context"
	reflect "reflect"

	entity "github.com/tidbcloud/devops/entity"
	gomock "go.uber.org/mock/gomock"
)

// MockClusterCtlService is a mock of ClusterCtlService interface.
type MockClusterCtlService struct {
	ctrl     *gomock.Controller
	recorder *MockClusterCtlServiceMockRecorder
	isgomock struct{}
}

// MockClusterCtlServiceMockRecorder is the mock recorder for MockClusterCtlService.
type MockClusterCtlServiceMockRecorder struct {
	mock *MockClusterCtlService
}

// NewMockClusterCtlService creates a new mock instance.
func NewMockClusterCtlService(ctrl *gomock.Controller) *MockClusterCtlService {
	mock := &MockClusterCtlService{ctrl: ctrl}
	mock.recorder = &MockClusterCtlServiceMockRecorder{mock}
	return mock
}

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

// DisableRun mocks base method.
func (m *MockClusterCtlService) DisableRun() bool {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DisableRun")
	ret0, _ := ret[0].(bool)
	return ret0
}

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

// Dummy mocks base method.
func (m *MockClusterCtlService) Dummy() bool {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Dummy")
	ret0, _ := ret[0].(bool)
	return ret0
}

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

// ExecuteCtl mocks base method.
func (m *MockClusterCtlService) ExecuteCtl(ctx context.Context, clusterID, command string) (string, string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ExecuteCtl", ctx, clusterID, command)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(string)
	ret2, _ := ret[2].(error)
	return ret0, ret1, ret2
}

// ExecuteCtl indicates an expected call of ExecuteCtl.
func (mr *MockClusterCtlServiceMockRecorder) ExecuteCtl(ctx, clusterID, command any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecuteCtl", reflect.TypeOf((*MockClusterCtlService)(nil).ExecuteCtl), ctx, clusterID, command)
}

// GetTopology mocks base method.
func (m *MockClusterCtlService) GetTopology(ctx context.Context, clusterID string) (entity.Topology, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetTopology", ctx, clusterID)
	ret0, _ := ret[0].(entity.Topology)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetTopology indicates an expected call of GetTopology.
func (mr *MockClusterCtlServiceMockRecorder) GetTopology(ctx, clusterID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTopology", reflect.TypeOf((*MockClusterCtlService)(nil).GetTopology), ctx, clusterID)
}

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

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