Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockYAML
- func (m *MockYAML) EXPECT() *MockYAMLMockRecorder
- func (m *MockYAML) Marshal(v interface{}) ([]byte, error)
- func (m *MockYAML) MarshalWrite(destPath string, v interface{}) error
- func (m *MockYAML) Unmarshal(data []byte, v interface{}) error
- func (m *MockYAML) UnmarshalRead(srcPath string, v interface{}) error
- type MockYAMLMockRecorder
- func (mr *MockYAMLMockRecorder) Marshal(v interface{}) *gomock.Call
- func (mr *MockYAMLMockRecorder) MarshalWrite(destPath, v interface{}) *gomock.Call
- func (mr *MockYAMLMockRecorder) Unmarshal(data, v interface{}) *gomock.Call
- func (mr *MockYAMLMockRecorder) UnmarshalRead(srcPath, v interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockYAML ¶ added in v1.0.1
type MockYAML struct {
// contains filtered or unexported fields
}
MockYAML is a mock of YAML interface.
func NewMockYAML ¶ added in v1.0.1
func NewMockYAML(ctrl *gomock.Controller) *MockYAML
NewMockYAML creates a new mock instance.
func (*MockYAML) EXPECT ¶ added in v1.0.1
func (m *MockYAML) EXPECT() *MockYAMLMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockYAML) MarshalWrite ¶ added in v1.0.1
MarshalWrite mocks base method.
func (*MockYAML) UnmarshalRead ¶ added in v1.0.1
UnmarshalRead mocks base method.
type MockYAMLMockRecorder ¶ added in v1.0.1
type MockYAMLMockRecorder struct {
// contains filtered or unexported fields
}
MockYAMLMockRecorder is the mock recorder for MockYAML.
func (*MockYAMLMockRecorder) Marshal ¶ added in v1.0.1
func (mr *MockYAMLMockRecorder) Marshal(v interface{}) *gomock.Call
Marshal indicates an expected call of Marshal.
func (*MockYAMLMockRecorder) MarshalWrite ¶ added in v1.0.1
func (mr *MockYAMLMockRecorder) MarshalWrite(destPath, v interface{}) *gomock.Call
MarshalWrite indicates an expected call of MarshalWrite.
func (*MockYAMLMockRecorder) Unmarshal ¶ added in v1.0.1
func (mr *MockYAMLMockRecorder) Unmarshal(data, v interface{}) *gomock.Call
Unmarshal indicates an expected call of Unmarshal.
func (*MockYAMLMockRecorder) UnmarshalRead ¶ added in v1.0.1
func (mr *MockYAMLMockRecorder) UnmarshalRead(srcPath, v interface{}) *gomock.Call
UnmarshalRead indicates an expected call of UnmarshalRead.
Click to show internal directories.
Click to hide internal directories.