// Code generated by MockGen. DO NOT EDIT.
// Source: ./pkg/common/clustercli/interface.go
//
// Generated by this command:
//
//	mockgen -destination ./test/service/mockclustercli/client.go -package mockclustercli -source ./pkg/common/clustercli/interface.go
//

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

import (
	context "context"
	reflect "reflect"

	cluster_controllerv1 "github.com/tidbcloud/infra-provider/api/tidbcloud/cluster-server/v1"
	gomock "go.uber.org/mock/gomock"
)

// MockClusterClient is a mock of ClusterClient interface.
type MockClusterClient struct {
	ctrl     *gomock.Controller
	recorder *MockClusterClientMockRecorder
}

// MockClusterClientMockRecorder is the mock recorder for MockClusterClient.
type MockClusterClientMockRecorder struct {
	mock *MockClusterClient
}

// NewMockClusterClient creates a new mock instance.
func NewMockClusterClient(ctrl *gomock.Controller) *MockClusterClient {
	mock := &MockClusterClient{ctrl: ctrl}
	mock.recorder = &MockClusterClientMockRecorder{mock}
	return mock
}

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

// CreateCluster mocks base method.
func (m *MockClusterClient) CreateCluster(arg0 context.Context, in *cluster_controllerv1.CreateClusterRequest) (*cluster_controllerv1.Cluster, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateCluster", arg0, in)
	ret0, _ := ret[0].(*cluster_controllerv1.Cluster)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// CreateCluster indicates an expected call of CreateCluster.
func (mr *MockClusterClientMockRecorder) CreateCluster(arg0, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCluster", reflect.TypeOf((*MockClusterClient)(nil).CreateCluster), arg0, in)
}

// DeleteCluster mocks base method.
func (m *MockClusterClient) DeleteCluster(arg0 context.Context, in *cluster_controllerv1.DeleteClusterRequest) (*cluster_controllerv1.Cluster, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteCluster", arg0, in)
	ret0, _ := ret[0].(*cluster_controllerv1.Cluster)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// DeleteCluster indicates an expected call of DeleteCluster.
func (mr *MockClusterClientMockRecorder) DeleteCluster(arg0, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCluster", reflect.TypeOf((*MockClusterClient)(nil).DeleteCluster), arg0, in)
}

// GetCluster mocks base method.
func (m *MockClusterClient) GetCluster(arg0 context.Context, in *cluster_controllerv1.GetClusterRequest) (*cluster_controllerv1.Cluster, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetCluster", arg0, in)
	ret0, _ := ret[0].(*cluster_controllerv1.Cluster)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetCluster indicates an expected call of GetCluster.
func (mr *MockClusterClientMockRecorder) GetCluster(arg0, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCluster", reflect.TypeOf((*MockClusterClient)(nil).GetCluster), arg0, in)
}

// GetClusterRole mocks base method.
func (m *MockClusterClient) GetClusterRole(arg0 context.Context, in *cluster_controllerv1.GetClusterRoleRequest) (*cluster_controllerv1.ClusterRole, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetClusterRole", arg0, in)
	ret0, _ := ret[0].(*cluster_controllerv1.ClusterRole)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetClusterRole indicates an expected call of GetClusterRole.
func (mr *MockClusterClientMockRecorder) GetClusterRole(arg0, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRole", reflect.TypeOf((*MockClusterClient)(nil).GetClusterRole), arg0, in)
}

// GetComponentNodeInfos mocks base method.
func (m *MockClusterClient) GetComponentNodeInfos(arg0 context.Context, in *cluster_controllerv1.GetComponentNodeInfosRequest) (*cluster_controllerv1.GetComponentNodeInfosResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetComponentNodeInfos", arg0, in)
	ret0, _ := ret[0].(*cluster_controllerv1.GetComponentNodeInfosResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetComponentNodeInfos indicates an expected call of GetComponentNodeInfos.
func (mr *MockClusterClientMockRecorder) GetComponentNodeInfos(arg0, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetComponentNodeInfos", reflect.TypeOf((*MockClusterClient)(nil).GetComponentNodeInfos), arg0, in)
}

// GetInfraInformation mocks base method.
func (m *MockClusterClient) GetInfraInformation(arg0 context.Context, in *cluster_controllerv1.GetInfraInformationRequest) (*cluster_controllerv1.InfraInformation, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetInfraInformation", arg0, in)
	ret0, _ := ret[0].(*cluster_controllerv1.InfraInformation)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetInfraInformation indicates an expected call of GetInfraInformation.
func (mr *MockClusterClientMockRecorder) GetInfraInformation(arg0, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInfraInformation", reflect.TypeOf((*MockClusterClient)(nil).GetInfraInformation), arg0, in)
}

// GetTidbGroup mocks base method.
func (m *MockClusterClient) GetTidbGroup(arg0 context.Context, in *cluster_controllerv1.GetTidbGroupRequest) (*cluster_controllerv1.TidbGroup, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetTidbGroup", arg0, in)
	ret0, _ := ret[0].(*cluster_controllerv1.TidbGroup)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetTidbGroup indicates an expected call of GetTidbGroup.
func (mr *MockClusterClientMockRecorder) GetTidbGroup(arg0, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTidbGroup", reflect.TypeOf((*MockClusterClient)(nil).GetTidbGroup), arg0, in)
}

// GetVersionAndConfigurations mocks base method.
func (m *MockClusterClient) GetVersionAndConfigurations(arg0 context.Context, in *cluster_controllerv1.GetVersionAndConfigurationsRequest) (*cluster_controllerv1.GetVersionAndConfigurationsResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetVersionAndConfigurations", arg0, in)
	ret0, _ := ret[0].(*cluster_controllerv1.GetVersionAndConfigurationsResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetVersionAndConfigurations indicates an expected call of GetVersionAndConfigurations.
func (mr *MockClusterClientMockRecorder) GetVersionAndConfigurations(arg0, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVersionAndConfigurations", reflect.TypeOf((*MockClusterClient)(nil).GetVersionAndConfigurations), arg0, in)
}

// ListTidbGroups mocks base method.
func (m *MockClusterClient) ListTidbGroups(ctx context.Context, in *cluster_controllerv1.ListTidbGroupsRequest) (*cluster_controllerv1.ListTidbGroupsResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ListTidbGroups", ctx, in)
	ret0, _ := ret[0].(*cluster_controllerv1.ListTidbGroupsResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ListTidbGroups indicates an expected call of ListTidbGroups.
func (mr *MockClusterClientMockRecorder) ListTidbGroups(ctx, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTidbGroups", reflect.TypeOf((*MockClusterClient)(nil).ListTidbGroups), ctx, in)
}

// UpdateClusterAWSCloud mocks base method.
func (m *MockClusterClient) UpdateClusterAWSCloud(arg0 context.Context, in *cluster_controllerv1.UpdateClusterAWSCloudRequest) (*cluster_controllerv1.Cluster, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateClusterAWSCloud", arg0, in)
	ret0, _ := ret[0].(*cluster_controllerv1.Cluster)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// UpdateClusterAWSCloud indicates an expected call of UpdateClusterAWSCloud.
func (mr *MockClusterClientMockRecorder) UpdateClusterAWSCloud(arg0, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateClusterAWSCloud", reflect.TypeOf((*MockClusterClient)(nil).UpdateClusterAWSCloud), arg0, in)
}

// UpgradeNodes mocks base method.
func (m *MockClusterClient) UpgradeNodes(arg0 context.Context, in *cluster_controllerv1.UpgradeNodesRequest) (*cluster_controllerv1.UpgradeNodesResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpgradeNodes", arg0, in)
	ret0, _ := ret[0].(*cluster_controllerv1.UpgradeNodesResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// UpgradeNodes indicates an expected call of UpgradeNodes.
func (mr *MockClusterClientMockRecorder) UpgradeNodes(arg0, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpgradeNodes", reflect.TypeOf((*MockClusterClient)(nil).UpgradeNodes), arg0, in)
}
