Documentation ¶
Overview ¶
Package mock_database is a generated GoMock package.
Index ¶
- type MockAsyncOperations
- func (m *MockAsyncOperations) Create(arg0 context.Context, arg1 *api.AsyncOperationDocument) (*api.AsyncOperationDocument, error)
- func (m *MockAsyncOperations) EXPECT() *MockAsyncOperationsMockRecorder
- func (m *MockAsyncOperations) Get(arg0 context.Context, arg1 string) (*api.AsyncOperationDocument, error)
- func (m *MockAsyncOperations) Patch(arg0 context.Context, arg1 string, ...) (*api.AsyncOperationDocument, error)
- type MockAsyncOperationsMockRecorder
- type MockBilling
- func (m *MockBilling) Create(arg0 context.Context, arg1 *api.BillingDocument) (*api.BillingDocument, error)
- func (m *MockBilling) Delete(arg0 context.Context, arg1 *api.BillingDocument) error
- func (m *MockBilling) EXPECT() *MockBillingMockRecorder
- func (m *MockBilling) Get(arg0 context.Context, arg1 string) (*api.BillingDocument, error)
- func (m *MockBilling) ListAll(arg0 context.Context) (*api.BillingDocuments, error)
- func (m *MockBilling) MarkForDeletion(arg0 context.Context, arg1 string) (*api.BillingDocument, error)
- func (m *MockBilling) UpdateLastBillingTimestamp(arg0 context.Context, arg1 string) (*api.BillingDocument, error)
- type MockBillingMockRecorder
- func (mr *MockBillingMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBillingMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBillingMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBillingMockRecorder) ListAll(arg0 interface{}) *gomock.Call
- func (mr *MockBillingMockRecorder) MarkForDeletion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBillingMockRecorder) UpdateLastBillingTimestamp(arg0, arg1 interface{}) *gomock.Call
- type MockOpenShiftClusters
- func (m *MockOpenShiftClusters) ChangeFeed() cosmosdb.OpenShiftClusterDocumentIterator
- func (m *MockOpenShiftClusters) Create(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) Delete(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) error
- func (m *MockOpenShiftClusters) Dequeue(arg0 context.Context) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) EXPECT() *MockOpenShiftClustersMockRecorder
- func (m *MockOpenShiftClusters) EndLease(arg0 context.Context, arg1 string, arg2, arg3 api.ProvisioningState) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) Get(arg0 context.Context, arg1 string) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) GetByClientID(arg0 context.Context, arg1, arg2 string) (*api.OpenShiftClusterDocuments, error)
- func (m *MockOpenShiftClusters) GetByClusterResourceGroupID(arg0 context.Context, arg1, arg2 string) (*api.OpenShiftClusterDocuments, error)
- func (m *MockOpenShiftClusters) Lease(arg0 context.Context, arg1 string) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) ListAll(arg0 context.Context) (*api.OpenShiftClusterDocuments, error)
- func (m *MockOpenShiftClusters) ListByPrefix(arg0, arg1 string) (cosmosdb.OpenShiftClusterDocumentIterator, error)
- func (m *MockOpenShiftClusters) Patch(arg0 context.Context, arg1 string, ...) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) PatchWithLease(arg0 context.Context, arg1 string, ...) (*api.OpenShiftClusterDocument, error)
- func (m *MockOpenShiftClusters) QueueLength(arg0 context.Context, arg1 string) (int, error)
- func (m *MockOpenShiftClusters) Update(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) (*api.OpenShiftClusterDocument, error)
- type MockOpenShiftClustersMockRecorder
- func (mr *MockOpenShiftClustersMockRecorder) ChangeFeed() *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Dequeue(arg0 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) EndLease(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) GetByClientID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) GetByClusterResourceGroupID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Lease(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) ListAll(arg0 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) ListByPrefix(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Patch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) PatchWithLease(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) QueueLength(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenShiftClustersMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockSubscriptions
- func (m *MockSubscriptions) Create(arg0 context.Context, arg1 *api.SubscriptionDocument) (*api.SubscriptionDocument, error)
- func (m *MockSubscriptions) Dequeue(arg0 context.Context) (*api.SubscriptionDocument, error)
- func (m *MockSubscriptions) EXPECT() *MockSubscriptionsMockRecorder
- func (m *MockSubscriptions) EndLease(arg0 context.Context, arg1 string, arg2, arg3 bool) (*api.SubscriptionDocument, error)
- func (m *MockSubscriptions) Get(arg0 context.Context, arg1 string) (*api.SubscriptionDocument, error)
- func (m *MockSubscriptions) Lease(arg0 context.Context, arg1 string) (*api.SubscriptionDocument, error)
- func (m *MockSubscriptions) Update(arg0 context.Context, arg1 *api.SubscriptionDocument) (*api.SubscriptionDocument, error)
- type MockSubscriptionsMockRecorder
- func (mr *MockSubscriptionsMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) Dequeue(arg0 interface{}) *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) EndLease(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) Lease(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubscriptionsMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAsyncOperations ¶
type MockAsyncOperations struct {
// contains filtered or unexported fields
}
MockAsyncOperations is a mock of AsyncOperations interface
func NewMockAsyncOperations ¶
func NewMockAsyncOperations(ctrl *gomock.Controller) *MockAsyncOperations
NewMockAsyncOperations creates a new mock instance
func (*MockAsyncOperations) Create ¶
func (m *MockAsyncOperations) Create(arg0 context.Context, arg1 *api.AsyncOperationDocument) (*api.AsyncOperationDocument, error)
Create mocks base method
func (*MockAsyncOperations) EXPECT ¶
func (m *MockAsyncOperations) EXPECT() *MockAsyncOperationsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAsyncOperations) Get ¶
func (m *MockAsyncOperations) Get(arg0 context.Context, arg1 string) (*api.AsyncOperationDocument, error)
Get mocks base method
func (*MockAsyncOperations) Patch ¶
func (m *MockAsyncOperations) Patch(arg0 context.Context, arg1 string, arg2 func(*api.AsyncOperationDocument) error) (*api.AsyncOperationDocument, error)
Patch mocks base method
type MockAsyncOperationsMockRecorder ¶
type MockAsyncOperationsMockRecorder struct {
// contains filtered or unexported fields
}
MockAsyncOperationsMockRecorder is the mock recorder for MockAsyncOperations
func (*MockAsyncOperationsMockRecorder) Create ¶
func (mr *MockAsyncOperationsMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockAsyncOperationsMockRecorder) Get ¶
func (mr *MockAsyncOperationsMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockAsyncOperationsMockRecorder) Patch ¶
func (mr *MockAsyncOperationsMockRecorder) Patch(arg0, arg1, arg2 interface{}) *gomock.Call
Patch indicates an expected call of Patch
type MockBilling ¶
type MockBilling struct {
// contains filtered or unexported fields
}
MockBilling is a mock of Billing interface
func NewMockBilling ¶
func NewMockBilling(ctrl *gomock.Controller) *MockBilling
NewMockBilling creates a new mock instance
func (*MockBilling) Create ¶
func (m *MockBilling) Create(arg0 context.Context, arg1 *api.BillingDocument) (*api.BillingDocument, error)
Create mocks base method
func (*MockBilling) Delete ¶
func (m *MockBilling) Delete(arg0 context.Context, arg1 *api.BillingDocument) error
Delete mocks base method
func (*MockBilling) EXPECT ¶
func (m *MockBilling) EXPECT() *MockBillingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBilling) Get ¶
func (m *MockBilling) Get(arg0 context.Context, arg1 string) (*api.BillingDocument, error)
Get mocks base method
func (*MockBilling) ListAll ¶
func (m *MockBilling) ListAll(arg0 context.Context) (*api.BillingDocuments, error)
ListAll mocks base method
func (*MockBilling) MarkForDeletion ¶
func (m *MockBilling) MarkForDeletion(arg0 context.Context, arg1 string) (*api.BillingDocument, error)
MarkForDeletion mocks base method
func (*MockBilling) UpdateLastBillingTimestamp ¶
func (m *MockBilling) UpdateLastBillingTimestamp(arg0 context.Context, arg1 string) (*api.BillingDocument, error)
UpdateLastBillingTimestamp mocks base method
type MockBillingMockRecorder ¶
type MockBillingMockRecorder struct {
// contains filtered or unexported fields
}
MockBillingMockRecorder is the mock recorder for MockBilling
func (*MockBillingMockRecorder) Create ¶
func (mr *MockBillingMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockBillingMockRecorder) Delete ¶
func (mr *MockBillingMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockBillingMockRecorder) Get ¶
func (mr *MockBillingMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockBillingMockRecorder) ListAll ¶
func (mr *MockBillingMockRecorder) ListAll(arg0 interface{}) *gomock.Call
ListAll indicates an expected call of ListAll
func (*MockBillingMockRecorder) MarkForDeletion ¶
func (mr *MockBillingMockRecorder) MarkForDeletion(arg0, arg1 interface{}) *gomock.Call
MarkForDeletion indicates an expected call of MarkForDeletion
func (*MockBillingMockRecorder) UpdateLastBillingTimestamp ¶
func (mr *MockBillingMockRecorder) UpdateLastBillingTimestamp(arg0, arg1 interface{}) *gomock.Call
UpdateLastBillingTimestamp indicates an expected call of UpdateLastBillingTimestamp
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) ChangeFeed ¶
func (m *MockOpenShiftClusters) ChangeFeed() cosmosdb.OpenShiftClusterDocumentIterator
ChangeFeed mocks base method
func (*MockOpenShiftClusters) Create ¶
func (m *MockOpenShiftClusters) Create(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) (*api.OpenShiftClusterDocument, error)
Create mocks base method
func (*MockOpenShiftClusters) Delete ¶
func (m *MockOpenShiftClusters) Delete(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) error
Delete mocks base method
func (*MockOpenShiftClusters) Dequeue ¶
func (m *MockOpenShiftClusters) Dequeue(arg0 context.Context) (*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 context.Context, arg1 string, arg2, arg3 api.ProvisioningState) (*api.OpenShiftClusterDocument, error)
EndLease mocks base method
func (*MockOpenShiftClusters) Get ¶
func (m *MockOpenShiftClusters) Get(arg0 context.Context, arg1 string) (*api.OpenShiftClusterDocument, error)
Get mocks base method
func (*MockOpenShiftClusters) GetByClientID ¶
func (m *MockOpenShiftClusters) GetByClientID(arg0 context.Context, arg1, arg2 string) (*api.OpenShiftClusterDocuments, error)
GetByClientID mocks base method
func (*MockOpenShiftClusters) GetByClusterResourceGroupID ¶
func (m *MockOpenShiftClusters) GetByClusterResourceGroupID(arg0 context.Context, arg1, arg2 string) (*api.OpenShiftClusterDocuments, error)
GetByClusterResourceGroupID mocks base method
func (*MockOpenShiftClusters) Lease ¶
func (m *MockOpenShiftClusters) Lease(arg0 context.Context, arg1 string) (*api.OpenShiftClusterDocument, error)
Lease mocks base method
func (*MockOpenShiftClusters) ListAll ¶
func (m *MockOpenShiftClusters) ListAll(arg0 context.Context) (*api.OpenShiftClusterDocuments, error)
ListAll mocks base method
func (*MockOpenShiftClusters) ListByPrefix ¶
func (m *MockOpenShiftClusters) ListByPrefix(arg0, arg1 string) (cosmosdb.OpenShiftClusterDocumentIterator, error)
ListByPrefix mocks base method
func (*MockOpenShiftClusters) Patch ¶
func (m *MockOpenShiftClusters) Patch(arg0 context.Context, arg1 string, arg2 func(*api.OpenShiftClusterDocument) error) (*api.OpenShiftClusterDocument, error)
Patch mocks base method
func (*MockOpenShiftClusters) PatchWithLease ¶
func (m *MockOpenShiftClusters) PatchWithLease(arg0 context.Context, arg1 string, arg2 func(*api.OpenShiftClusterDocument) error) (*api.OpenShiftClusterDocument, error)
PatchWithLease mocks base method
func (*MockOpenShiftClusters) QueueLength ¶
QueueLength mocks base method
func (*MockOpenShiftClusters) Update ¶
func (m *MockOpenShiftClusters) Update(arg0 context.Context, arg1 *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) ChangeFeed ¶
func (mr *MockOpenShiftClustersMockRecorder) ChangeFeed() *gomock.Call
ChangeFeed indicates an expected call of ChangeFeed
func (*MockOpenShiftClustersMockRecorder) Create ¶
func (mr *MockOpenShiftClustersMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockOpenShiftClustersMockRecorder) Delete ¶
func (mr *MockOpenShiftClustersMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockOpenShiftClustersMockRecorder) Dequeue ¶
func (mr *MockOpenShiftClustersMockRecorder) Dequeue(arg0 interface{}) *gomock.Call
Dequeue indicates an expected call of Dequeue
func (*MockOpenShiftClustersMockRecorder) EndLease ¶
func (mr *MockOpenShiftClustersMockRecorder) EndLease(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
EndLease indicates an expected call of EndLease
func (*MockOpenShiftClustersMockRecorder) Get ¶
func (mr *MockOpenShiftClustersMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockOpenShiftClustersMockRecorder) GetByClientID ¶
func (mr *MockOpenShiftClustersMockRecorder) GetByClientID(arg0, arg1, arg2 interface{}) *gomock.Call
GetByClientID indicates an expected call of GetByClientID
func (*MockOpenShiftClustersMockRecorder) GetByClusterResourceGroupID ¶
func (mr *MockOpenShiftClustersMockRecorder) GetByClusterResourceGroupID(arg0, arg1, arg2 interface{}) *gomock.Call
GetByClusterResourceGroupID indicates an expected call of GetByClusterResourceGroupID
func (*MockOpenShiftClustersMockRecorder) Lease ¶
func (mr *MockOpenShiftClustersMockRecorder) Lease(arg0, arg1 interface{}) *gomock.Call
Lease indicates an expected call of Lease
func (*MockOpenShiftClustersMockRecorder) ListAll ¶
func (mr *MockOpenShiftClustersMockRecorder) ListAll(arg0 interface{}) *gomock.Call
ListAll indicates an expected call of ListAll
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, arg2 interface{}) *gomock.Call
Patch indicates an expected call of Patch
func (*MockOpenShiftClustersMockRecorder) PatchWithLease ¶
func (mr *MockOpenShiftClustersMockRecorder) PatchWithLease(arg0, arg1, arg2 interface{}) *gomock.Call
PatchWithLease indicates an expected call of PatchWithLease
func (*MockOpenShiftClustersMockRecorder) QueueLength ¶
func (mr *MockOpenShiftClustersMockRecorder) QueueLength(arg0, arg1 interface{}) *gomock.Call
QueueLength indicates an expected call of QueueLength
func (*MockOpenShiftClustersMockRecorder) Update ¶
func (mr *MockOpenShiftClustersMockRecorder) Update(arg0, arg1 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 context.Context, arg1 *api.SubscriptionDocument) (*api.SubscriptionDocument, error)
Create mocks base method
func (*MockSubscriptions) Dequeue ¶
func (m *MockSubscriptions) Dequeue(arg0 context.Context) (*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 context.Context, arg1 string, arg2, arg3 bool) (*api.SubscriptionDocument, error)
EndLease mocks base method
func (*MockSubscriptions) Get ¶
func (m *MockSubscriptions) Get(arg0 context.Context, arg1 string) (*api.SubscriptionDocument, error)
Get mocks base method
func (*MockSubscriptions) Lease ¶
func (m *MockSubscriptions) Lease(arg0 context.Context, arg1 string) (*api.SubscriptionDocument, error)
Lease mocks base method
func (*MockSubscriptions) Update ¶
func (m *MockSubscriptions) Update(arg0 context.Context, arg1 *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, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockSubscriptionsMockRecorder) Dequeue ¶
func (mr *MockSubscriptionsMockRecorder) Dequeue(arg0 interface{}) *gomock.Call
Dequeue indicates an expected call of Dequeue
func (*MockSubscriptionsMockRecorder) EndLease ¶
func (mr *MockSubscriptionsMockRecorder) EndLease(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
EndLease indicates an expected call of EndLease
func (*MockSubscriptionsMockRecorder) Get ¶
func (mr *MockSubscriptionsMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockSubscriptionsMockRecorder) Lease ¶
func (mr *MockSubscriptionsMockRecorder) Lease(arg0, arg1 interface{}) *gomock.Call
Lease indicates an expected call of Lease
func (*MockSubscriptionsMockRecorder) Update ¶
func (mr *MockSubscriptionsMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update