Documentation
¶
Index ¶
- func DebVersion(debName string) string
- func DebVersionByService(name string) string
- func GetRemoteConf(ctx context.Context, cfg config.FilesConf)
- func MD5ConfigFiles() (md5 string, confFiles []string)
- func MD5Files(files ...string) (md5 string)
- func Main()
- func Register(stage Stage, sf ...StageFunc)
- func RegisterWithContext(stage Stage, sf ...ContextFunc)
- func Run()
- type ContextFunc
- type Stage
- type StageFunc
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebVersionByService ¶
DebVersionByService xunyou-nodeagent.service
func GetRemoteConf ¶
GetRemoteConf 定时获取远程配置, 配合 RemotePipelines 使用, 当主配置变化时, 该函数会退出
func MD5ConfigFiles ¶
MD5ConfigFiles 配置文件 MD5, 有变化时重载
func RegisterWithContext ¶
func RegisterWithContext(stage Stage, sf ...ContextFunc)
Types ¶
type ContextFunc ¶
Click to show internal directories.
Click to hide internal directories.