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 ¶
Config is the struct for loading DevStream configuration YAML files.
func LoadToolConf ¶ added in v0.5.0
LoadToolConf reads tool file rendering by var file as a Config struct.
type ConfigFile ¶ added in v0.5.0
type ConfigFile struct { VarFile string `yaml:"varFile"` ToolFile string `yaml:"toolFile"` State *State `yaml:"state"` }
ConfigFile is the struct for loading State and configuration YAML files.
type State ¶ added in v0.5.0
type State struct { Backend string `yaml:"backend"` Options StateConfigOptions `yaml:"options"` }
type StateConfigOptions ¶ added in v0.6.0
type Tool ¶
type Tool struct { Name string `yaml:"name"` // 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 InstanceID string `yaml:"instanceID"` 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.