mocks

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFileWriter

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

MockFileWriter is a mock of FileWriter interface.

func NewMockFileWriter

func NewMockFileWriter(ctrl *gomock.Controller) *MockFileWriter

NewMockFileWriter creates a new mock instance.

func (*MockFileWriter) CleanUp

func (m *MockFileWriter) CleanUp()

CleanUp mocks base method.

func (*MockFileWriter) CleanUpTemp

func (m *MockFileWriter) CleanUpTemp()

CleanUpTemp mocks base method.

func (*MockFileWriter) Create added in v0.13.0

Create mocks base method.

func (*MockFileWriter) Dir

func (m *MockFileWriter) Dir() string

Dir mocks base method.

func (*MockFileWriter) EXPECT

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

func (*MockFileWriter) TempDir added in v0.11.0

func (m *MockFileWriter) TempDir() string

TempDir mocks base method.

func (*MockFileWriter) WithDir

func (m *MockFileWriter) WithDir(arg0 string) (filewriter.FileWriter, error)

WithDir mocks base method.

func (*MockFileWriter) Write

func (m *MockFileWriter) Write(arg0 string, arg1 []byte, arg2 ...filewriter.FileOptionsFunc) (string, error)

Write mocks base method.

type MockFileWriterMockRecorder

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

MockFileWriterMockRecorder is the mock recorder for MockFileWriter.

func (*MockFileWriterMockRecorder) CleanUp

func (mr *MockFileWriterMockRecorder) CleanUp() *gomock.Call

CleanUp indicates an expected call of CleanUp.

func (*MockFileWriterMockRecorder) CleanUpTemp

func (mr *MockFileWriterMockRecorder) CleanUpTemp() *gomock.Call

CleanUpTemp indicates an expected call of CleanUpTemp.

func (*MockFileWriterMockRecorder) Create added in v0.13.0

func (mr *MockFileWriterMockRecorder) Create(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockFileWriterMockRecorder) Dir

Dir indicates an expected call of Dir.

func (*MockFileWriterMockRecorder) TempDir added in v0.11.0

func (mr *MockFileWriterMockRecorder) TempDir() *gomock.Call

TempDir indicates an expected call of TempDir.

func (*MockFileWriterMockRecorder) WithDir

func (mr *MockFileWriterMockRecorder) WithDir(arg0 interface{}) *gomock.Call

WithDir indicates an expected call of WithDir.

func (*MockFileWriterMockRecorder) Write

func (mr *MockFileWriterMockRecorder) Write(arg0, arg1 interface{}, arg2 ...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