Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobConfig ¶
type JobConfig struct { Name string `yaml:"name"` Enable bool `yaml:"enable"` Option map[string]interface{} `yaml:"option"` }
JobcConfig maintain job configuration
type MaintainJobs ¶
type MaintainJobs struct {
// contains filtered or unexported fields
}
MaintainJobs
func NewMaintainJobs ¶
func NewMaintainJobs(namingServer service.DiscoverServer, cacheMgn *cache.CacheManager, storage store.Store) *MaintainJobs
NewMaintainJobs
func (*MaintainJobs) StartMaintianJobs ¶
func (mj *MaintainJobs) StartMaintianJobs(configs []JobConfig) error
StartMaintainJobs
Click to show internal directories.
Click to hide internal directories.