Files
cloudpods/pkg/scheduler/cache/sync/sync.go
T

15 lines
267 B
Go

package sync
import (
"yunion.io/x/onecloud/pkg/scheduler/cache"
)
func NewSyncManager(stopCh <-chan struct{}) *cache.GroupManager {
items := defaultSyncItems()
return cache.NewGroupManager(CacheKind, items, stopCh)
}
type syncItem struct {
cache.CachedItem
}