mocks

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 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 MockParser

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

MockParser is a mock of Parser interface.

func NewMockParser

func NewMockParser(ctrl *gomock.Controller) *MockParser

NewMockParser creates a new mock instance.

func (*MockParser) EXPECT

func (m *MockParser) EXPECT() *MockParserMockRecorder

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

func (*MockParser) Parse

func (m *MockParser) Parse(path string, data interface{}, options ...template.ParseOption) (*template.Content, error)

Parse mocks base method.

type MockParserMockRecorder

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

MockParserMockRecorder is the mock recorder for MockParser.

func (*MockParserMockRecorder) Parse

func (mr *MockParserMockRecorder) Parse(path, data interface{}, options ...interface{}) *gomock.Call

Parse indicates an expected call of Parse.

type MockReadParser

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

MockReadParser is a mock of ReadParser interface.

func NewMockReadParser

func NewMockReadParser(ctrl *gomock.Controller) *MockReadParser

NewMockReadParser creates a new mock instance.

func (*MockReadParser) EXPECT

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

func (*MockReadParser) Parse

func (m *MockReadParser) Parse(path string, data interface{}, options ...template.ParseOption) (*template.Content, error)

Parse mocks base method.

func (*MockReadParser) Read

func (m *MockReadParser) Read(path string) (*template.Content, error)

Read mocks base method.

type MockReadParserMockRecorder

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

MockReadParserMockRecorder is the mock recorder for MockReadParser.

func (*MockReadParserMockRecorder) Parse

func (mr *MockReadParserMockRecorder) Parse(path, data interface{}, options ...interface{}) *gomock.Call

Parse indicates an expected call of Parse.

func (*MockReadParserMockRecorder) Read

func (mr *MockReadParserMockRecorder) Read(path interface{}) *gomock.Call

Read indicates an expected call of Read.

type MockReader added in v1.20.0

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

MockReader is a mock of Reader interface.

func NewMockReader added in v1.20.0

func NewMockReader(ctrl *gomock.Controller) *MockReader

NewMockReader creates a new mock instance.

func (*MockReader) EXPECT added in v1.20.0

func (m *MockReader) EXPECT() *MockReaderMockRecorder

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

func (*MockReader) Read added in v1.20.0

func (m *MockReader) Read(path string) (*template.Content, error)

Read mocks base method.

type MockReaderMockRecorder added in v1.20.0

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

MockReaderMockRecorder is the mock recorder for MockReader.

func (*MockReaderMockRecorder) Read added in v1.20.0

func (mr *MockReaderMockRecorder) Read(path interface{}) *gomock.Call

Read indicates an expected call of Read.

type MockosFS added in v1.26.0

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

MockosFS is a mock of osFS interface.

func NewMockosFS added in v1.26.0

func NewMockosFS(ctrl *gomock.Controller) *MockosFS

NewMockosFS creates a new mock instance.

func (*MockosFS) EXPECT added in v1.26.0

func (m *MockosFS) EXPECT() *MockosFSMockRecorder

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

func (*MockosFS) Open added in v1.26.0

func (m *MockosFS) Open(name string) (fs.File, error)

Open mocks base method.

func (*MockosFS) ReadDir added in v1.26.0

func (m *MockosFS) ReadDir(name string) ([]fs.DirEntry, error)

ReadDir mocks base method.

func (*MockosFS) ReadFile added in v1.26.0

func (m *MockosFS) ReadFile(name string) ([]byte, error)

ReadFile mocks base method.

type MockosFSMockRecorder added in v1.26.0

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

MockosFSMockRecorder is the mock recorder for MockosFS.

func (*MockosFSMockRecorder) Open added in v1.26.0

func (mr *MockosFSMockRecorder) Open(name interface{}) *gomock.Call

Open indicates an expected call of Open.

func (*MockosFSMockRecorder) ReadDir added in v1.26.0

func (mr *MockosFSMockRecorder) ReadDir(name interface{}) *gomock.Call

ReadDir indicates an expected call of ReadDir.

func (*MockosFSMockRecorder) ReadFile added in v1.26.0

func (mr *MockosFSMockRecorder) ReadFile(name interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile.

Jump to

Keyboard shortcuts

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