mock_diskutil

package
v0.0.0-...-4ddf654 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_diskutil is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDiskUtil

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

MockDiskUtil is a mock of DiskUtil interface.

func NewMockDiskUtil

func NewMockDiskUtil(ctrl *gomock.Controller) *MockDiskUtil

NewMockDiskUtil creates a new mock instance.

func (*MockDiskUtil) EXPECT

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

func (*MockDiskUtil) Info

func (m *MockDiskUtil) Info(arg0 context.Context, arg1 string) (*types.DiskInfo, error)

Info mocks base method.

func (*MockDiskUtil) List

func (m *MockDiskUtil) List(arg0 context.Context, arg1 []string) (*types.SystemPartitions, error)

List mocks base method.

func (*MockDiskUtil) RepairDisk

func (m *MockDiskUtil) RepairDisk(arg0 context.Context, arg1 string) (string, error)

RepairDisk mocks base method.

func (*MockDiskUtil) ResizeContainer

func (m *MockDiskUtil) ResizeContainer(arg0 context.Context, arg1, arg2 string) (string, error)

ResizeContainer mocks base method.

type MockDiskUtilMockRecorder

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

MockDiskUtilMockRecorder is the mock recorder for MockDiskUtil.

func (*MockDiskUtilMockRecorder) Info

func (mr *MockDiskUtilMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockDiskUtilMockRecorder) List

func (mr *MockDiskUtilMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockDiskUtilMockRecorder) RepairDisk

func (mr *MockDiskUtilMockRecorder) RepairDisk(arg0, arg1 interface{}) *gomock.Call

RepairDisk indicates an expected call of RepairDisk.

func (*MockDiskUtilMockRecorder) ResizeContainer

func (mr *MockDiskUtilMockRecorder) ResizeContainer(arg0, arg1, arg2 interface{}) *gomock.Call

ResizeContainer indicates an expected call of ResizeContainer.

Jump to

Keyboard shortcuts

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