Documentation ¶
Overview ¶
go generate build
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArgsProcess ¶
ArgsProcess 插件收到的标准参数: 原参数:/User/harder/bups --plugin daemon --args '<--s start>' 插件看到的:/User/harder/bups --s start 有处理参数则返回true,没有处理与调度器无关的程序则返回false
func LoaderPlugin ¶
LoaderPlugin 根据目录加载目录下的所有插件 并为Context初始化原始资源
func MainAppArgsToPlugin ¶
MainAppArgsToPlugin 该函数将主程序参数转换为插件参数
func NewCFGBuffer ¶
func NewCFGBuffer(fd *os.File) io.ReadWriteCloser
func PluginRegister ¶
func PluginRegister()
Types ¶
type Info ¶
type Info struct { Version string `json:"version"` GitBranch string `json:"gitBranch"` GitCommit string `json:"gitCommit"` GitTreeState string `json:"gitTreeState"` BuildDate string `json:"buildDate"` GoVersion string `json:"goVersion"` Compiler string `json:"compiler"` Platform string `json:"platform"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.