Documentation ¶
Index ¶
- type ManagementApiFacade
- func (_m *ManagementApiFacade) AlterKeyspace(keyspaceName string, replicationSettings map[string]int) error
- func (_m *ManagementApiFacade) CreateKeyspaceIfNotExists(keyspaceName string, replication map[string]int) error
- func (_m *ManagementApiFacade) CreateTable(definition *httphelper.TableDefinition) error
- func (_m *ManagementApiFacade) EnsureKeyspaceReplication(keyspaceName string, replication map[string]int) error
- func (_m *ManagementApiFacade) GetKeyspaceReplication(keyspaceName string) (map[string]string, error)
- func (_m *ManagementApiFacade) ListKeyspaces(keyspaceName string) ([]string, error)
- func (_m *ManagementApiFacade) ListTables(keyspaceName string) ([]string, error)
- type ReaperManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagementApiFacade ¶
ManagementApiFacade is an autogenerated mock type for the ManagementApiFacade type
func (*ManagementApiFacade) AlterKeyspace ¶
func (_m *ManagementApiFacade) AlterKeyspace(keyspaceName string, replicationSettings map[string]int) error
AlterKeyspace provides a mock function with given fields: keyspaceName, replicationSettings
func (*ManagementApiFacade) CreateKeyspaceIfNotExists ¶
func (_m *ManagementApiFacade) CreateKeyspaceIfNotExists(keyspaceName string, replication map[string]int) error
CreateKeyspaceIfNotExists provides a mock function with given fields: keyspaceName, replication
func (*ManagementApiFacade) CreateTable ¶
func (_m *ManagementApiFacade) CreateTable(definition *httphelper.TableDefinition) error
CreateTable provides a mock function with given fields: definition
func (*ManagementApiFacade) EnsureKeyspaceReplication ¶
func (_m *ManagementApiFacade) EnsureKeyspaceReplication(keyspaceName string, replication map[string]int) error
EnsureKeyspaceReplication provides a mock function with given fields: keyspaceName, replication
func (*ManagementApiFacade) GetKeyspaceReplication ¶
func (_m *ManagementApiFacade) GetKeyspaceReplication(keyspaceName string) (map[string]string, error)
GetKeyspaceReplication provides a mock function with given fields: keyspaceName
func (*ManagementApiFacade) ListKeyspaces ¶
func (_m *ManagementApiFacade) ListKeyspaces(keyspaceName string) ([]string, error)
ListKeyspaces provides a mock function with given fields: keyspaceName
func (*ManagementApiFacade) ListTables ¶
func (_m *ManagementApiFacade) ListTables(keyspaceName string) ([]string, error)
ListTables provides a mock function with given fields: keyspaceName
type ReaperManager ¶
ReaperManager is an autogenerated mock type for the Manager type
func (*ReaperManager) AddClusterToReaper ¶
func (_m *ReaperManager) AddClusterToReaper(ctx context.Context, cassdc *v1beta1.CassandraDatacenter) error
AddClusterToReaper provides a mock function with given fields: ctx, cassdc
func (*ReaperManager) Connect ¶
func (_m *ReaperManager) Connect(_a0 *v1alpha1.Reaper) error
Connect provides a mock function with given fields: _a0
func (*ReaperManager) VerifyClusterIsConfigured ¶
func (_m *ReaperManager) VerifyClusterIsConfigured(ctx context.Context, cassdc *v1beta1.CassandraDatacenter) (bool, error)
VerifyClusterIsConfigured provides a mock function with given fields: ctx, cassdc