resourcemock

package
v1.11.13-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package resourcemock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	// contains filtered or unexported fields
}

User is a mock of User interface.

func NewUser

func NewUser(ctrl *gomock.Controller) *User

NewUser creates a new mock instance.

func (*User) AvailableDiskBytes

func (m *User) AvailableDiskBytes() uint64

AvailableDiskBytes mocks base method.

func (*User) CPUUsage

func (m *User) CPUUsage() float64

CPUUsage mocks base method.

func (*User) DiskUsage

func (m *User) DiskUsage() (float64, float64)

DiskUsage mocks base method.

func (*User) EXPECT

func (m *User) EXPECT() *UserMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type UserMockRecorder

type UserMockRecorder struct {
	// contains filtered or unexported fields
}

UserMockRecorder is the mock recorder for User.

func (*UserMockRecorder) AvailableDiskBytes

func (mr *UserMockRecorder) AvailableDiskBytes() *gomock.Call

AvailableDiskBytes indicates an expected call of AvailableDiskBytes.

func (*UserMockRecorder) CPUUsage

func (mr *UserMockRecorder) CPUUsage() *gomock.Call

CPUUsage indicates an expected call of CPUUsage.

func (*UserMockRecorder) DiskUsage

func (mr *UserMockRecorder) DiskUsage() *gomock.Call

DiskUsage indicates an expected call of DiskUsage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL