mock_utils

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_utils is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFileUtilsInterface

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

MockFileUtilsInterface is a mock of FileUtilsInterface interface.

func NewMockFileUtilsInterface

func NewMockFileUtilsInterface(ctrl *gomock.Controller) *MockFileUtilsInterface

NewMockFileUtilsInterface creates a new mock instance.

func (*MockFileUtilsInterface) EXPECT

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

func (*MockFileUtilsInterface) MkDir

func (m *MockFileUtilsInterface) MkDir(path string) error

MkDir mocks base method.

func (*MockFileUtilsInterface) ReadFile

func (m *MockFileUtilsInterface) ReadFile(path string) ([]byte, error)

ReadFile mocks base method.

func (*MockFileUtilsInterface) UserHomeDir

func (m *MockFileUtilsInterface) UserHomeDir() (string, error)

UserHomeDir mocks base method.

func (*MockFileUtilsInterface) WriteFile

func (m *MockFileUtilsInterface) WriteFile(path string, contents []byte) error

WriteFile mocks base method.

type MockFileUtilsInterfaceMockRecorder

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

MockFileUtilsInterfaceMockRecorder is the mock recorder for MockFileUtilsInterface.

func (*MockFileUtilsInterfaceMockRecorder) MkDir

func (mr *MockFileUtilsInterfaceMockRecorder) MkDir(path interface{}) *gomock.Call

MkDir indicates an expected call of MkDir.

func (*MockFileUtilsInterfaceMockRecorder) ReadFile

func (mr *MockFileUtilsInterfaceMockRecorder) ReadFile(path interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile.

func (*MockFileUtilsInterfaceMockRecorder) UserHomeDir

func (mr *MockFileUtilsInterfaceMockRecorder) UserHomeDir() *gomock.Call

UserHomeDir indicates an expected call of UserHomeDir.

func (*MockFileUtilsInterfaceMockRecorder) WriteFile

func (mr *MockFileUtilsInterfaceMockRecorder) WriteFile(path, contents interface{}) *gomock.Call

WriteFile indicates an expected call of WriteFile.

Jump to

Keyboard shortcuts

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