Documentation ¶
Overview ¶
永久删除MySQL中超过7天的软删除云平台资源数据
提供获取recorder内部数据的debug接口
Index ¶
- Constants
- Variables
- type Cleaner
- type Cleaners
- type Recorder
- func (r *Recorder) GetCache(domainLcuuid, subDomainLcuuid string) cache.Cache
- func (r *Recorder) GetCacheDiffBase(domainLcuuid, subDomainLcuuid, resourceType, resourceLcuuid string) interface{}
- func (r *Recorder) GetCacheDiffBaseDataSet(domainLcuuid, subDomainLcuuid, resourceType string) map[string]interface{}
- func (r *Recorder) GetToolMap(domainLcuuid, subDomainLcuuid, field string) map[interface{}]interface{}
- func (r *Recorder) Refresh(target string, cloudData cloudmodel.Resource) error
- type Resource
Constants ¶
View Source
const ( RefreshTargetDomain = "domain" // RefreshTargetDomainExcludeSubDomain RefreshTargetSubDomain = "sub_domain" )
Variables ¶
View Source
var DataMissingError = errors.New("some data is missing")
View Source
var DataNotVerifiedError = errors.New("data is not verified")
View Source
var RefreshConflictError = errors.New("another operation is in progress")
Functions ¶
This section is empty.
Types ¶
type Cleaners ¶
type Cleaners struct {
// contains filtered or unexported fields
}
func GetCleaners ¶
func GetCleaners() *Cleaners
func (*Cleaners) NewCleanerIfNotExists ¶
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
func NewRecorder ¶
func NewRecorder(ctx context.Context, cfg config.RecorderConfig, eventQueue *queue.OverwriteQueue, orgID int, domainLcuuid string) *Recorder
func (*Recorder) GetCacheDiffBase ¶
func (*Recorder) GetCacheDiffBaseDataSet ¶
func (*Recorder) GetToolMap ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.