condition

package
v0.0.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL