Documentation
¶
Overview ¶
Package mock_database is a generated GoMock package.
Index ¶
- type MockOpenShiftClusters
- func (m *MockOpenShiftClusters) Create(arg0 *api.OpenShiftClusterDocument) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) Delete(arg0 *api.OpenShiftClusterDocument) error
- func (m *MockOpenShiftClusters) Dequeue() (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) EXPECT() *MockOpenShiftClustersMockRecorder
- func (m *MockOpenShiftClusters) EndLease(arg0 api.Key, arg1, arg2 api.ProvisioningState) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) Get(arg0 api.Key) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) Lease(arg0 api.Key) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) ListByPrefix(arg0 string, arg1 api.Key) (cosmosdb.OpenShiftClusterDocumentIterator, error)
- func (m *MockOpenShiftClusters) Patch(arg0 api.Key, arg1 func(*api.OpenShiftClusterDocument) error) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) Update(arg0 *api.OpenShiftClusterDocument) (*api.OpenShiftClusterDocument, error)
- type MockOpenShiftClustersMockRecorder
- func (mr *MockOpenShiftClustersMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Dequeue() *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) EndLease(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Lease(arg0 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) ListByPrefix(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Patch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Update(arg0 interface{}) *gomock.Call
- type MockSubscriptions
- func (m *MockSubscriptions) Create(arg0 *api.SubscriptionDocument) (*api.SubscriptionDocument, error)
- func (m *MockSubscriptions) Delete(arg0 *api.SubscriptionDocument) error
- func (m *MockSubscriptions) Dequeue() (*api.SubscriptionDocument, error)
- func (m *MockSubscriptions) EXPECT() *MockSubscriptionsMockRecorder
- func (m *MockSubscriptions) EndLease(arg0 api.Key, arg1, arg2 bool) (*api.SubscriptionDocument, error)
- func (m *MockSubscriptions) Get(arg0 api.Key) (*api.SubscriptionDocument, error)
- func (m *MockSubscriptions) Lease(arg0 api.Key) (*api.SubscriptionDocument, error)
- func (m *MockSubscriptions) Patch(arg0 api.Key, arg1 func(*api.SubscriptionDocument) error) (*api.SubscriptionDocument, error)
- func (m *MockSubscriptions) Update(arg0 *api.SubscriptionDocument) (*api.SubscriptionDocument, error)
- type MockSubscriptionsMockRecorder
- func (mr *MockSubscriptionsMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) Dequeue() *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) EndLease(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) Lease(arg0 interface{}) *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) Patch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) Update(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOpenShiftClusters ¶
type MockOpenShiftClusters struct {
// contains filtered or unexported fields
}
MockOpenShiftClusters is a mock of OpenShiftClusters interface
func NewMockOpenShiftClusters ¶
func NewMockOpenShiftClusters(ctrl *gomock.Controller) *MockOpenShiftClusters
NewMockOpenShiftClusters creates a new mock instance
func (*MockOpenShiftClusters) Create ¶
func (m *MockOpenShiftClusters) Create(arg0 *api.OpenShiftClusterDocument) (*api.OpenShiftClusterDocument, error)
Create mocks base method
func (*MockOpenShiftClusters) Delete ¶
func (m *MockOpenShiftClusters) Delete(arg0 *api.OpenShiftClusterDocument) error
Delete mocks base method
func (*MockOpenShiftClusters) Dequeue ¶
func (m *MockOpenShiftClusters) Dequeue() (*api.OpenShiftClusterDocument, error)
Dequeue mocks base method
func (*MockOpenShiftClusters) EXPECT ¶
func (m *MockOpenShiftClusters) EXPECT() *MockOpenShiftClustersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOpenShiftClusters) EndLease ¶
func (m *MockOpenShiftClusters) EndLease(arg0 api.Key, arg1, arg2 api.ProvisioningState) (*api.OpenShiftClusterDocument, error)
EndLease mocks base method
func (*MockOpenShiftClusters) Get ¶
func (m *MockOpenShiftClusters) Get(arg0 api.Key) (*api.OpenShiftClusterDocument, error)
Get mocks base method
func (*MockOpenShiftClusters) Lease ¶
func (m *MockOpenShiftClusters) Lease(arg0 api.Key) (*api.OpenShiftClusterDocument, error)
Lease mocks base method
func (*MockOpenShiftClusters) ListByPrefix ¶
func (m *MockOpenShiftClusters) ListByPrefix(arg0 string, arg1 api.Key) (cosmosdb.OpenShiftClusterDocumentIterator, error)
ListByPrefix mocks base method
func (*MockOpenShiftClusters) Patch ¶
func (m *MockOpenShiftClusters) Patch(arg0 api.Key, arg1 func(*api.OpenShiftClusterDocument) error) (*api.OpenShiftClusterDocument, error)
Patch mocks base method
func (*MockOpenShiftClusters) Update ¶
func (m *MockOpenShiftClusters) Update(arg0 *api.OpenShiftClusterDocument) (*api.OpenShiftClusterDocument, error)
Update mocks base method
type MockOpenShiftClustersMockRecorder ¶
type MockOpenShiftClustersMockRecorder struct {
// contains filtered or unexported fields
}
MockOpenShiftClustersMockRecorder is the mock recorder for MockOpenShiftClusters
func (*MockOpenShiftClustersMockRecorder) Create ¶
func (mr *MockOpenShiftClustersMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockOpenShiftClustersMockRecorder) Delete ¶
func (mr *MockOpenShiftClustersMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockOpenShiftClustersMockRecorder) Dequeue ¶
func (mr *MockOpenShiftClustersMockRecorder) Dequeue() *gomock.Call
Dequeue indicates an expected call of Dequeue
func (*MockOpenShiftClustersMockRecorder) EndLease ¶
func (mr *MockOpenShiftClustersMockRecorder) EndLease(arg0, arg1, arg2 interface{}) *gomock.Call
EndLease indicates an expected call of EndLease
func (*MockOpenShiftClustersMockRecorder) Get ¶
func (mr *MockOpenShiftClustersMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockOpenShiftClustersMockRecorder) Lease ¶
func (mr *MockOpenShiftClustersMockRecorder) Lease(arg0 interface{}) *gomock.Call
Lease indicates an expected call of Lease
func (*MockOpenShiftClustersMockRecorder) ListByPrefix ¶
func (mr *MockOpenShiftClustersMockRecorder) ListByPrefix(arg0, arg1 interface{}) *gomock.Call
ListByPrefix indicates an expected call of ListByPrefix
func (*MockOpenShiftClustersMockRecorder) Patch ¶
func (mr *MockOpenShiftClustersMockRecorder) Patch(arg0, arg1 interface{}) *gomock.Call
Patch indicates an expected call of Patch
func (*MockOpenShiftClustersMockRecorder) Update ¶
func (mr *MockOpenShiftClustersMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockSubscriptions ¶
type MockSubscriptions struct {
// contains filtered or unexported fields
}
MockSubscriptions is a mock of Subscriptions interface
func NewMockSubscriptions ¶
func NewMockSubscriptions(ctrl *gomock.Controller) *MockSubscriptions
NewMockSubscriptions creates a new mock instance
func (*MockSubscriptions) Create ¶
func (m *MockSubscriptions) Create(arg0 *api.SubscriptionDocument) (*api.SubscriptionDocument, error)
Create mocks base method
func (*MockSubscriptions) Delete ¶
func (m *MockSubscriptions) Delete(arg0 *api.SubscriptionDocument) error
Delete mocks base method
func (*MockSubscriptions) Dequeue ¶
func (m *MockSubscriptions) Dequeue() (*api.SubscriptionDocument, error)
Dequeue mocks base method
func (*MockSubscriptions) EXPECT ¶
func (m *MockSubscriptions) EXPECT() *MockSubscriptionsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSubscriptions) EndLease ¶
func (m *MockSubscriptions) EndLease(arg0 api.Key, arg1, arg2 bool) (*api.SubscriptionDocument, error)
EndLease mocks base method
func (*MockSubscriptions) Get ¶
func (m *MockSubscriptions) Get(arg0 api.Key) (*api.SubscriptionDocument, error)
Get mocks base method
func (*MockSubscriptions) Lease ¶
func (m *MockSubscriptions) Lease(arg0 api.Key) (*api.SubscriptionDocument, error)
Lease mocks base method
func (*MockSubscriptions) Patch ¶
func (m *MockSubscriptions) Patch(arg0 api.Key, arg1 func(*api.SubscriptionDocument) error) (*api.SubscriptionDocument, error)
Patch mocks base method
func (*MockSubscriptions) Update ¶
func (m *MockSubscriptions) Update(arg0 *api.SubscriptionDocument) (*api.SubscriptionDocument, error)
Update mocks base method
type MockSubscriptionsMockRecorder ¶
type MockSubscriptionsMockRecorder struct {
// contains filtered or unexported fields
}
MockSubscriptionsMockRecorder is the mock recorder for MockSubscriptions
func (*MockSubscriptionsMockRecorder) Create ¶
func (mr *MockSubscriptionsMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockSubscriptionsMockRecorder) Delete ¶
func (mr *MockSubscriptionsMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockSubscriptionsMockRecorder) Dequeue ¶
func (mr *MockSubscriptionsMockRecorder) Dequeue() *gomock.Call
Dequeue indicates an expected call of Dequeue
func (*MockSubscriptionsMockRecorder) EndLease ¶
func (mr *MockSubscriptionsMockRecorder) EndLease(arg0, arg1, arg2 interface{}) *gomock.Call
EndLease indicates an expected call of EndLease
func (*MockSubscriptionsMockRecorder) Get ¶
func (mr *MockSubscriptionsMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockSubscriptionsMockRecorder) Lease ¶
func (mr *MockSubscriptionsMockRecorder) Lease(arg0 interface{}) *gomock.Call
Lease indicates an expected call of Lease
func (*MockSubscriptionsMockRecorder) Patch ¶
func (mr *MockSubscriptionsMockRecorder) Patch(arg0, arg1 interface{}) *gomock.Call
Patch indicates an expected call of Patch
func (*MockSubscriptionsMockRecorder) Update ¶
func (mr *MockSubscriptionsMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update