//go:build !ignore_autogenerated
// +build !ignore_autogenerated

// Code generated by mga tool. DO NOT EDIT.

package pkeservice

import (
	"context"
	"github.com/banzaicloud/pipeline/internal/cluster"
	"github.com/stretchr/testify/mock"
)

// MockService is an autogenerated mock for the Service type.
type MockService struct {
	mock.Mock
}

// RegisterNodeStatus provides a mock function.
func (_m *MockService) RegisterNodeStatus(ctx context.Context, clusterIdentifier cluster.Identifier, nodeStatus NodeStatus) (resp RegisterNodeStatusResponse, err error) {
	ret := _m.Called(ctx, clusterIdentifier, nodeStatus)

	var r0 RegisterNodeStatusResponse
	if rf, ok := ret.Get(0).(func(context.Context, cluster.Identifier, NodeStatus) RegisterNodeStatusResponse); ok {
		r0 = rf(ctx, clusterIdentifier, nodeStatus)
	} else {
		r0 = ret.Get(0).(RegisterNodeStatusResponse)
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, cluster.Identifier, NodeStatus) error); ok {
		r1 = rf(ctx, clusterIdentifier, nodeStatus)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
