Documentation ¶
Index ¶
Constants ¶
View Source
const ( NamePluginDebug = "config.debug" EnvPluginTimeOut = "PLUGIN_TIMEOUT_SECOND" NamePluginTimeOut = "config.timeout_second" EnvWebHook = "PLUGIN_WEBHOOK" NameWebHook = "config.webhook" EnvMsgType = "PLUGIN_MSG_TYPE" NameMsgType = "config.msg_type" )
Variables ¶
This section is empty.
Functions ¶
func IsBuildDebugOpen ¶
func IsBuildDebugOpen(c *cli.Context) bool
IsBuildDebugOpen when config or drone build open debug will open debug
Types ¶
type Plugin ¶
type Plugin struct { Name string Version string Drone drone_info.Drone Config Config }
Plugin plugin all config
func BindCliFlag ¶
func BindCliFlag(c *cli.Context, cliVersion, cliName string, drone drone_info.Drone) (*Plugin, error)
BindCliFlag check args here
func (*Plugin) CleanResultEnv ¶
Click to show internal directories.
Click to hide internal directories.