Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockHostManager
- func (m *MockHostManager) Add(arg0 string, arg1 *url.URL) error
- func (m *MockHostManager) EXPECT() *MockHostManagerMockRecorder
- func (m *MockHostManager) Exists(arg0 string) bool
- func (m *MockHostManager) List() []vhoster.Host
- func (m *MockHostManager) Remove(arg0 string) error
- func (m *MockHostManager) Replace(arg0 string, arg1 *url.URL) error
- type MockHostManagerMockRecorder
- func (mr *MockHostManagerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHostManagerMockRecorder) Exists(arg0 interface{}) *gomock.Call
- func (mr *MockHostManagerMockRecorder) List() *gomock.Call
- func (mr *MockHostManagerMockRecorder) Remove(arg0 interface{}) *gomock.Call
- func (mr *MockHostManagerMockRecorder) Replace(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHostManager ¶
type MockHostManager struct {
// contains filtered or unexported fields
}
MockHostManager is a mock of HostManager interface.
func NewMockHostManager ¶
func NewMockHostManager(ctrl *gomock.Controller) *MockHostManager
NewMockHostManager creates a new mock instance.
func (*MockHostManager) Add ¶
func (m *MockHostManager) Add(arg0 string, arg1 *url.URL) error
Add mocks base method.
func (*MockHostManager) EXPECT ¶
func (m *MockHostManager) EXPECT() *MockHostManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHostManager) Exists ¶ added in v0.0.6
func (m *MockHostManager) Exists(arg0 string) bool
Exists mocks base method.
func (*MockHostManager) List ¶
func (m *MockHostManager) List() []vhoster.Host
List mocks base method.
func (*MockHostManager) Remove ¶
func (m *MockHostManager) Remove(arg0 string) error
Remove mocks base method.
type MockHostManagerMockRecorder ¶
type MockHostManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockHostManagerMockRecorder is the mock recorder for MockHostManager.
func (*MockHostManagerMockRecorder) Add ¶
func (mr *MockHostManagerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockHostManagerMockRecorder) Exists ¶ added in v0.0.6
func (mr *MockHostManagerMockRecorder) Exists(arg0 interface{}) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockHostManagerMockRecorder) List ¶
func (mr *MockHostManagerMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockHostManagerMockRecorder) Remove ¶
func (mr *MockHostManagerMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockHostManagerMockRecorder) Replace ¶ added in v0.0.4
func (mr *MockHostManagerMockRecorder) Replace(arg0, arg1 interface{}) *gomock.Call
Replace indicates an expected call of Replace.
Click to show internal directories.
Click to hide internal directories.