Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockServiceManager
- func (m *MockServiceManager) Add(arg0 *v1alpha1.Service, arg1 ...v1alpha1.ServiceOnChangeHandler) error
- func (m *MockServiceManager) EXPECT() *MockServiceManagerMockRecorder
- func (m *MockServiceManager) Exists(arg0 *v1alpha1.Service) bool
- func (m *MockServiceManager) Get(arg0 string) (*v1alpha1.Service, error)
- func (m *MockServiceManager) List() []*v1alpha1.Service
- func (m *MockServiceManager) ListServicesWithAddress() []*v1alpha1.Service
- func (m *MockServiceManager) Remove(arg0 *v1alpha1.Service, arg1 ...v1alpha1.ServiceOnChangeHandler) error
- func (m *MockServiceManager) RemoveByID(arg0 string, arg1 ...v1alpha1.ServiceOnChangeHandler) error
- func (m *MockServiceManager) RemoveExistingServicesNoLongerCurrent(arg0, arg1 []*v1alpha1.Service, arg2 ...v1alpha1.ServiceOnChangeHandler) error
- func (m *MockServiceManager) RemoveServicesRecursively(arg0 []*v1alpha1.Service, arg1 []v1alpha1.ServiceOnChangeHandler, ...) error
- func (m *MockServiceManager) ResolveByKubeMetaNamespaceKey(arg0 string) ([]*v1alpha1.Service, error)
- func (m *MockServiceManager) Update(arg0 *v1alpha1.Service, arg1 ...v1alpha1.ServiceOnChangeHandler) (bool, *v1alpha1.Service, error)
- func (m *MockServiceManager) UpdateServicesRecursively(arg0 []*v1alpha1.Service, arg1 []*v1alpha1.Endpoint, ...) error
- type MockServiceManagerMockRecorder
- func (mr *MockServiceManagerMockRecorder) Add(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockServiceManagerMockRecorder) Exists(arg0 interface{}) *gomock.Call
- func (mr *MockServiceManagerMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockServiceManagerMockRecorder) List() *gomock.Call
- func (mr *MockServiceManagerMockRecorder) ListServicesWithAddress() *gomock.Call
- func (mr *MockServiceManagerMockRecorder) Remove(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockServiceManagerMockRecorder) RemoveByID(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockServiceManagerMockRecorder) RemoveExistingServicesNoLongerCurrent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockServiceManagerMockRecorder) RemoveServicesRecursively(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceManagerMockRecorder) ResolveByKubeMetaNamespaceKey(arg0 interface{}) *gomock.Call
- func (mr *MockServiceManagerMockRecorder) Update(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockServiceManagerMockRecorder) UpdateServicesRecursively(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockServiceManager ¶
type MockServiceManager struct {
// contains filtered or unexported fields
}
MockServiceManager is a mock of ServiceManager interface
func NewMockServiceManager ¶
func NewMockServiceManager(ctrl *gomock.Controller) *MockServiceManager
NewMockServiceManager creates a new mock instance
func (*MockServiceManager) Add ¶
func (m *MockServiceManager) Add(arg0 *v1alpha1.Service, arg1 ...v1alpha1.ServiceOnChangeHandler) error
Add mocks base method
func (*MockServiceManager) EXPECT ¶
func (m *MockServiceManager) EXPECT() *MockServiceManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockServiceManager) Exists ¶
func (m *MockServiceManager) Exists(arg0 *v1alpha1.Service) bool
Exists mocks base method
func (*MockServiceManager) Get ¶
func (m *MockServiceManager) Get(arg0 string) (*v1alpha1.Service, error)
Get mocks base method
func (*MockServiceManager) List ¶
func (m *MockServiceManager) List() []*v1alpha1.Service
List mocks base method
func (*MockServiceManager) ListServicesWithAddress ¶
func (m *MockServiceManager) ListServicesWithAddress() []*v1alpha1.Service
ListServicesWithAddress mocks base method
func (*MockServiceManager) Remove ¶
func (m *MockServiceManager) Remove(arg0 *v1alpha1.Service, arg1 ...v1alpha1.ServiceOnChangeHandler) error
Remove mocks base method
func (*MockServiceManager) RemoveByID ¶
func (m *MockServiceManager) RemoveByID(arg0 string, arg1 ...v1alpha1.ServiceOnChangeHandler) error
RemoveByID mocks base method
func (*MockServiceManager) RemoveExistingServicesNoLongerCurrent ¶
func (m *MockServiceManager) RemoveExistingServicesNoLongerCurrent(arg0, arg1 []*v1alpha1.Service, arg2 ...v1alpha1.ServiceOnChangeHandler) error
RemoveExistingServicesNoLongerCurrent mocks base method
func (*MockServiceManager) RemoveServicesRecursively ¶
func (m *MockServiceManager) RemoveServicesRecursively(arg0 []*v1alpha1.Service, arg1 []v1alpha1.ServiceOnChangeHandler, arg2 []v1alpha1.EndpointOnChangeHandler) error
RemoveServicesRecursively mocks base method
func (*MockServiceManager) ResolveByKubeMetaNamespaceKey ¶
func (m *MockServiceManager) ResolveByKubeMetaNamespaceKey(arg0 string) ([]*v1alpha1.Service, error)
ResolveByKubeMetaNamespaceKey mocks base method
func (*MockServiceManager) Update ¶
func (m *MockServiceManager) Update(arg0 *v1alpha1.Service, arg1 ...v1alpha1.ServiceOnChangeHandler) (bool, *v1alpha1.Service, error)
Update mocks base method
func (*MockServiceManager) UpdateServicesRecursively ¶
func (m *MockServiceManager) UpdateServicesRecursively(arg0 []*v1alpha1.Service, arg1 []*v1alpha1.Endpoint, arg2 []v1alpha1.ServiceOnChangeHandler, arg3 []v1alpha1.EndpointOnChangeHandler) error
UpdateServicesRecursively mocks base method
type MockServiceManagerMockRecorder ¶
type MockServiceManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceManagerMockRecorder is the mock recorder for MockServiceManager
func (*MockServiceManagerMockRecorder) Add ¶
func (mr *MockServiceManagerMockRecorder) Add(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockServiceManagerMockRecorder) Exists ¶
func (mr *MockServiceManagerMockRecorder) Exists(arg0 interface{}) *gomock.Call
Exists indicates an expected call of Exists
func (*MockServiceManagerMockRecorder) Get ¶
func (mr *MockServiceManagerMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockServiceManagerMockRecorder) List ¶
func (mr *MockServiceManagerMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockServiceManagerMockRecorder) ListServicesWithAddress ¶
func (mr *MockServiceManagerMockRecorder) ListServicesWithAddress() *gomock.Call
ListServicesWithAddress indicates an expected call of ListServicesWithAddress
func (*MockServiceManagerMockRecorder) Remove ¶
func (mr *MockServiceManagerMockRecorder) Remove(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockServiceManagerMockRecorder) RemoveByID ¶
func (mr *MockServiceManagerMockRecorder) RemoveByID(arg0 interface{}, arg1 ...interface{}) *gomock.Call
RemoveByID indicates an expected call of RemoveByID
func (*MockServiceManagerMockRecorder) RemoveExistingServicesNoLongerCurrent ¶
func (mr *MockServiceManagerMockRecorder) RemoveExistingServicesNoLongerCurrent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
RemoveExistingServicesNoLongerCurrent indicates an expected call of RemoveExistingServicesNoLongerCurrent
func (*MockServiceManagerMockRecorder) RemoveServicesRecursively ¶
func (mr *MockServiceManagerMockRecorder) RemoveServicesRecursively(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveServicesRecursively indicates an expected call of RemoveServicesRecursively
func (*MockServiceManagerMockRecorder) ResolveByKubeMetaNamespaceKey ¶
func (mr *MockServiceManagerMockRecorder) ResolveByKubeMetaNamespaceKey(arg0 interface{}) *gomock.Call
ResolveByKubeMetaNamespaceKey indicates an expected call of ResolveByKubeMetaNamespaceKey
func (*MockServiceManagerMockRecorder) Update ¶
func (mr *MockServiceManagerMockRecorder) Update(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockServiceManagerMockRecorder) UpdateServicesRecursively ¶
func (mr *MockServiceManagerMockRecorder) UpdateServicesRecursively(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateServicesRecursively indicates an expected call of UpdateServicesRecursively