Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginDepCheck ¶
type PluginDepCheck struct {
// contains filtered or unexported fields
}
PluginDepCheck is the checker of plugin deps
func NewChecker ¶
func NewChecker(jenkins *appCfg.JenkinsServer, roundTripper http.RoundTripper, pluginName, targetVersion string) ( checker *PluginDepCheck)
NewChecker returns a plugin dep checker
func (*PluginDepCheck) Check ¶
func (p *PluginDepCheck) Check() (err error)
Check check if the target plugin with a specific version does exists
func (*PluginDepCheck) FindPlugin ¶
func (p *PluginDepCheck) FindPlugin(name string) (plugin *client.InstalledPlugin, err error)
FindPlugin find a plugin by name
Click to show internal directories.
Click to hide internal directories.