Documentation ¶
Index ¶
- type CustomResourceService
- func (_m *CustomResourceService) CreateDatabaseBinding(binding *v1alpha1.SimpleDatabaseBinding) error
- func (_m *CustomResourceService) CreateDatabaseInstance(instance *v1alpha1.SimpleDatabaseInstance) error
- func (_m *CustomResourceService) DeleteDatabaseBinding(bindingId db.NamespaceUniqueId) error
- func (_m *CustomResourceService) DeleteDatabaseInstance(instanceId db.NamespaceUniqueId) error
- func (_m *CustomResourceService) FindAllDatabaseBindings() []db.DatabaseBinding
- func (_m *CustomResourceService) FindAllDatabaseInstances() []db.DatabaseInstance
- func (_m *CustomResourceService) FindBindingsByState(state db.ProvisioningState) []db.DatabaseBinding
- func (_m *CustomResourceService) FindDatabaseInstanceById(instanceId db.NamespaceUniqueId) (db.DatabaseInstance, error)
- func (_m *CustomResourceService) FindInstancesByState(state db.ProvisioningState) []db.DatabaseInstance
- func (_m *CustomResourceService) MarkDatabaseBindingForDeletion(bindingId db.NamespaceUniqueId) error
- func (_m *CustomResourceService) MarkDatabaseInstanceForDeletion(instanceId db.NamespaceUniqueId) error
- func (_m *CustomResourceService) MarkProcessed(eventId string)
- func (_m *CustomResourceService) UpdateDatabaseBindingState(bindingId db.NamespaceUniqueId, newState db.State) error
- func (_m *CustomResourceService) UpdateDatabaseInstanceCredentials(instanceId db.NamespaceUniqueId, newCredentials map[string][]byte) error
- func (_m *CustomResourceService) UpdateDatabaseInstanceState(instanceId db.NamespaceUniqueId, newState db.State) error
- func (_m *CustomResourceService) WasProcessed(eventId string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomResourceService ¶
CustomResourceService is an autogenerated mock type for the CustomResourceService type
func (*CustomResourceService) CreateDatabaseBinding ¶
func (_m *CustomResourceService) CreateDatabaseBinding(binding *v1alpha1.SimpleDatabaseBinding) error
CreateDatabaseBinding provides a mock function with given fields: binding
func (*CustomResourceService) CreateDatabaseInstance ¶
func (_m *CustomResourceService) CreateDatabaseInstance(instance *v1alpha1.SimpleDatabaseInstance) error
CreateDatabaseInstance provides a mock function with given fields: instance
func (*CustomResourceService) DeleteDatabaseBinding ¶
func (_m *CustomResourceService) DeleteDatabaseBinding(bindingId db.NamespaceUniqueId) error
DeleteDatabaseBinding provides a mock function with given fields: bindingId
func (*CustomResourceService) DeleteDatabaseInstance ¶
func (_m *CustomResourceService) DeleteDatabaseInstance(instanceId db.NamespaceUniqueId) error
DeleteDatabaseInstance provides a mock function with given fields: instanceId
func (*CustomResourceService) FindAllDatabaseBindings ¶
func (_m *CustomResourceService) FindAllDatabaseBindings() []db.DatabaseBinding
FindAllDatabaseBindings provides a mock function with given fields:
func (*CustomResourceService) FindAllDatabaseInstances ¶
func (_m *CustomResourceService) FindAllDatabaseInstances() []db.DatabaseInstance
FindAllDatabaseInstances provides a mock function with given fields:
func (*CustomResourceService) FindBindingsByState ¶
func (_m *CustomResourceService) FindBindingsByState(state db.ProvisioningState) []db.DatabaseBinding
FindBindingsByState provides a mock function with given fields: state
func (*CustomResourceService) FindDatabaseInstanceById ¶
func (_m *CustomResourceService) FindDatabaseInstanceById(instanceId db.NamespaceUniqueId) (db.DatabaseInstance, error)
FindDatabaseInstanceById provides a mock function with given fields: instanceId
func (*CustomResourceService) FindInstancesByState ¶
func (_m *CustomResourceService) FindInstancesByState(state db.ProvisioningState) []db.DatabaseInstance
FindInstancesByState provides a mock function with given fields: state
func (*CustomResourceService) MarkDatabaseBindingForDeletion ¶
func (_m *CustomResourceService) MarkDatabaseBindingForDeletion(bindingId db.NamespaceUniqueId) error
MarkDatabaseBindingForDeletion provides a mock function with given fields: bindingId
func (*CustomResourceService) MarkDatabaseInstanceForDeletion ¶
func (_m *CustomResourceService) MarkDatabaseInstanceForDeletion(instanceId db.NamespaceUniqueId) error
MarkDatabaseInstanceForDeletion provides a mock function with given fields: instanceId
func (*CustomResourceService) MarkProcessed ¶
func (_m *CustomResourceService) MarkProcessed(eventId string)
MarkProcessed provides a mock function with given fields: eventId
func (*CustomResourceService) UpdateDatabaseBindingState ¶
func (_m *CustomResourceService) UpdateDatabaseBindingState(bindingId db.NamespaceUniqueId, newState db.State) error
UpdateDatabaseBindingState provides a mock function with given fields: bindingId, newState
func (*CustomResourceService) UpdateDatabaseInstanceCredentials ¶
func (_m *CustomResourceService) UpdateDatabaseInstanceCredentials(instanceId db.NamespaceUniqueId, newCredentials map[string][]byte) error
UpdateDatabaseInstanceCredentials provides a mock function with given fields: instanceId, newCredentials
func (*CustomResourceService) UpdateDatabaseInstanceState ¶
func (_m *CustomResourceService) UpdateDatabaseInstanceState(instanceId db.NamespaceUniqueId, newState db.State) error
UpdateDatabaseInstanceState provides a mock function with given fields: instanceId, newState
func (*CustomResourceService) WasProcessed ¶
func (_m *CustomResourceService) WasProcessed(eventId string) bool
WasProcessed provides a mock function with given fields: eventId