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 ¶
func (m *MockReadParser) EXPECT() *MockReadParserMockRecorder
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.
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.
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.
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.