Documentation
¶
Overview ¶
Package pecltest is a generated GoMock package.
Index ¶
- type MockBackend
- func (m *MockBackend) Build(arg0 context.Context, arg1 pecl.BuildOpts) error
- func (m *MockBackend) Download(arg0 context.Context, arg1 pecl.DownloadOpts) (string, error)
- func (m *MockBackend) EXPECT() *MockBackendMockRecorder
- func (m *MockBackend) Install(arg0 context.Context, arg1 pecl.InstallOpts) error
- func (m *MockBackend) ResolveConstraint(arg0 context.Context, arg1, arg2 string, arg3 peclapi.Stability) (string, error)
- type MockBackendMockRecorder
- func (mr *MockBackendMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) ResolveConstraint(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackend ¶
type MockBackend struct {
// contains filtered or unexported fields
}
MockBackend is a mock of Backend interface
func NewMockBackend ¶
func NewMockBackend(ctrl *gomock.Controller) *MockBackend
NewMockBackend creates a new mock instance
func (*MockBackend) Download ¶
func (m *MockBackend) Download(arg0 context.Context, arg1 pecl.DownloadOpts) (string, error)
Download mocks base method
func (*MockBackend) EXPECT ¶
func (m *MockBackend) EXPECT() *MockBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBackend) Install ¶
func (m *MockBackend) Install(arg0 context.Context, arg1 pecl.InstallOpts) error
Install mocks base method
func (*MockBackend) ResolveConstraint ¶
func (m *MockBackend) ResolveConstraint(arg0 context.Context, arg1, arg2 string, arg3 peclapi.Stability) (string, error)
ResolveConstraint mocks base method
type MockBackendMockRecorder ¶
type MockBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendMockRecorder is the mock recorder for MockBackend
func (*MockBackendMockRecorder) Build ¶
func (mr *MockBackendMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call
Build indicates an expected call of Build
func (*MockBackendMockRecorder) Download ¶
func (mr *MockBackendMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call
Download indicates an expected call of Download
func (*MockBackendMockRecorder) Install ¶
func (mr *MockBackendMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call
Install indicates an expected call of Install
func (*MockBackendMockRecorder) ResolveConstraint ¶
func (mr *MockBackendMockRecorder) ResolveConstraint(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ResolveConstraint indicates an expected call of ResolveConstraint
Click to show internal directories.
Click to hide internal directories.