Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetaManager ¶
func NewMetaManager(deps *controller.Dependencies) manager.Manager
NewMetaManager returns a *metaManager
func NewReclaimPolicyManager ¶
func NewReclaimPolicyManager(deps *controller.Dependencies) *reclaimPolicyManager
NewReclaimPolicyManager returns a *reclaimPolicyManager
Types ¶
type FakeMetaManager ¶ added in v0.4.0
type FakeMetaManager struct {
// contains filtered or unexported fields
}
func NewFakeMetaManager ¶ added in v0.4.0
func NewFakeMetaManager() *FakeMetaManager
func (*FakeMetaManager) SetSyncError ¶ added in v0.4.0
func (m *FakeMetaManager) SetSyncError(err error)
func (*FakeMetaManager) Sync ¶ added in v0.4.0
func (m *FakeMetaManager) Sync(_ *v1alpha1.TidbCluster) error
type FakeReclaimPolicyManager ¶ added in v0.4.0
type FakeReclaimPolicyManager struct {
// contains filtered or unexported fields
}
func NewFakeReclaimPolicyManager ¶ added in v0.4.0
func NewFakeReclaimPolicyManager() *FakeReclaimPolicyManager
func (*FakeReclaimPolicyManager) SetSyncError ¶ added in v0.4.0
func (m *FakeReclaimPolicyManager) SetSyncError(err error)
func (*FakeReclaimPolicyManager) Sync ¶ added in v0.4.0
func (m *FakeReclaimPolicyManager) Sync(_ *v1alpha1.TidbCluster) error
Click to show internal directories.
Click to hide internal directories.