Documentation ¶
Overview ¶
Package mock_ensurefile is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLoaderIface ¶
type MockLoaderIface struct {
// contains filtered or unexported fields
}
MockLoaderIface is a mock of the LoaderIface interface in github.com/JosiahWitt/ensure/cmd/ensure/internal/ensurefile.
func NewMockLoaderIface ¶
func NewMockLoaderIface(ctrl *gomock.Controller) *MockLoaderIface
NewMockLoaderIface creates a new mock instance.
func (*MockLoaderIface) EXPECT ¶
func (m *MockLoaderIface) EXPECT() *MockLoaderIfaceMockRecorder
EXPECT returns a struct that allows setting up expectations.
func (*MockLoaderIface) LoadConfig ¶
func (m *MockLoaderIface) LoadConfig(_pwd string) (*ensurefile.Config, error)
LoadConfig mocks LoadConfig on LoaderIface.
func (*MockLoaderIface) NEW ¶
func (*MockLoaderIface) NEW(ctrl *gomock.Controller) *MockLoaderIface
NEW creates a MockLoaderIface. This method is used internally by ensure.
type MockLoaderIfaceMockRecorder ¶
type MockLoaderIfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoaderIfaceMockRecorder is the mock recorder for MockLoaderIface.
func (*MockLoaderIfaceMockRecorder) LoadConfig ¶
func (mr *MockLoaderIfaceMockRecorder) LoadConfig(_pwd interface{}) *gomock.Call
LoadConfig sets up expectations for calls to LoadConfig. Calling this method multiple times allows expecting multiple calls to LoadConfig with a variety of parameters.
Inputs:
pwd string
Outputs:
*ensurefile.Config error