// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/luxfi/node/utils/resource (interfaces: User)
//
// Generated by this command:
//
//	mockgen -package=resourcemock -destination=resourcemock/user.go -mock_names=User=User . User
//

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

import (
	reflect "reflect"

	gomock "go.uber.org/mock/gomock"
)

// User is a mock of User interface.
type User struct {
	ctrl     *gomock.Controller
	recorder *UserMockRecorder
	isgomock struct{}
}

// UserMockRecorder is the mock recorder for User.
type UserMockRecorder struct {
	mock *User
}

// NewUser creates a new mock instance.
func NewUser(ctrl *gomock.Controller) *User {
	mock := &User{ctrl: ctrl}
	mock.recorder = &UserMockRecorder{mock}
	return mock
}

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

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

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

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

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

// DiskUsage mocks base method.
func (m *User) DiskUsage() (float64, float64) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DiskUsage")
	ret0, _ := ret[0].(float64)
	ret1, _ := ret[1].(float64)
	return ret0, ret1
}

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