Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetDtmMD5FileName ¶
func GetDtmMD5FileName() string
GetDtmMD5FileName format likes dtm-linux-amd64
func GetPluginFileName ¶
GetPluginFileName creates the file name based on the tool's name and version If the plugin {githubactions 0.0.1}, the generated name will be "githubactions_0.0.1.so"
func GetPluginMD5FileName ¶
GetPluginMD5FileName If the plugin {githubactions 0.0.1}, the generated name will be "githubactions_0.0.1.md5"
Types ¶
type Config ¶
type Config struct {
Tools []Tool `yaml:"tools"`
}
Config is the struct for loading DevStream configuration YAML files.
type Tool ¶
type Tool struct { // RFC 1123 - DNS Subdomain Names style // contain no more than 253 characters // contain only lowercase alphanumeric characters, '-' or '.' // start with an alphanumeric character // end with an alphanumeric character Name string `yaml:"name"` Plugin string `yaml:"plugin"` DependsOn []string `yaml:"dependsOn"` Options map[string]interface{} `yaml:"options"` }
Tool is the struct for one section of the DevStream configuration file.
Click to show internal directories.
Click to hide internal directories.