Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupBackendProvider ¶
BackupBackendProvider is an autogenerated mock type for the BackupBackendProvider type
func NewBackupBackendProvider ¶
func NewBackupBackendProvider(t interface { mock.TestingT Cleanup(func()) }) *BackupBackendProvider
NewBackupBackendProvider creates a new instance of BackupBackendProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BackupBackendProvider) BackupBackend ¶
func (_m *BackupBackendProvider) BackupBackend(backend string) (modulecapabilities.BackupBackend, error)
BackupBackend provides a mock function with given fields: backend
func (*BackupBackendProvider) EnabledBackupBackends ¶
func (_m *BackupBackendProvider) EnabledBackupBackends() []modulecapabilities.BackupBackend
EnabledBackupBackends provides a mock function with given fields:
type NodeResolver ¶
NodeResolver is an autogenerated mock type for the NodeResolver type
func NewNodeResolver ¶
func NewNodeResolver(t interface { mock.TestingT Cleanup(func()) }) *NodeResolver
NewNodeResolver creates a new instance of NodeResolver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*NodeResolver) AllNames ¶
func (_m *NodeResolver) AllNames() []string
AllNames provides a mock function with given fields:
func (*NodeResolver) LeaderID ¶
func (_m *NodeResolver) LeaderID() string
LeaderID provides a mock function with given fields:
func (*NodeResolver) NodeCount ¶
func (_m *NodeResolver) NodeCount() int
NodeCount provides a mock function with given fields:
func (*NodeResolver) NodeHostname ¶
func (_m *NodeResolver) NodeHostname(nodeName string) (string, bool)
NodeHostname provides a mock function with given fields: nodeName
type Selector ¶
Selector is an autogenerated mock type for the Selector type
func NewSelector ¶
NewSelector creates a new instance of Selector. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Selector) Backupable ¶
Backupable provides a mock function with given fields: _a0, classes
func (*Selector) ListClasses ¶
ListClasses provides a mock function with given fields: ctx