mock_fileio

package
v0.0.0-...-0ab759d Latest Latest
Warning

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

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

Documentation

Overview

Package mock_fileio is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDisk

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

MockDisk is a mock of Disk interface

func NewMockDisk

func NewMockDisk(ctrl *gomock.Controller) *MockDisk

NewMockDisk creates a new mock instance

func (*MockDisk) EXPECT

func (m *MockDisk) EXPECT() *MockDiskMockRecorder

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

func (*MockDisk) Lines

func (m *MockDisk) Lines(filename string) ([]string, error)

Lines mocks base method

func (*MockDisk) Write

func (m *MockDisk) Write(filename string, lines []string) error

Write mocks base method

type MockDiskMockRecorder

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

MockDiskMockRecorder is the mock recorder for MockDisk

func (*MockDiskMockRecorder) Lines

func (mr *MockDiskMockRecorder) Lines(filename interface{}) *gomock.Call

Lines indicates an expected call of Lines

func (*MockDiskMockRecorder) Write

func (mr *MockDiskMockRecorder) Write(filename, lines interface{}) *gomock.Call

Write indicates an expected call of Write

Jump to

Keyboard shortcuts

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