Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetaManager ¶
func NewMetaManager( pvcLister corelisters.PersistentVolumeClaimLister, pvcControl controller.PVCControlInterface, pvLister corelisters.PersistentVolumeLister, pvControl controller.PVControlInterface, podLister corelisters.PodLister, podControl controller.PodControlInterface, ) manager.Manager
NewMetaManager returns a *metaManager
func NewReclaimPolicyManager ¶
func NewReclaimPolicyManager(pvcLister corelisters.PersistentVolumeClaimLister, pvLister corelisters.PersistentVolumeLister, pvControl controller.PVControlInterface) manager.Manager
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 (fmm *FakeMetaManager) SetSyncError(err error)
func (*FakeMetaManager) Sync ¶ added in v0.4.0
func (fmm *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 (frpm *FakeReclaimPolicyManager) SetSyncError(err error)
func (*FakeReclaimPolicyManager) Sync ¶ added in v0.4.0
func (frpm *FakeReclaimPolicyManager) Sync(_ *v1alpha1.TidbCluster) error
Click to show internal directories.
Click to hide internal directories.