jenkins-cli: github.com/jenkins-zh/jenkins-cli/app/cmd/condition Index | Files

package condition

import "github.com/jenkins-zh/jenkins-cli/app/cmd/condition"

Index

Package Files

plugin_dep.go

type PluginDepCheck Uses

type PluginDepCheck struct {
    // contains filtered or unexported fields
}

PluginDepCheck is the checker of plugin deps

func NewChecker Uses

func NewChecker(jenkins *appCfg.JenkinsServer, roundTripper http.RoundTripper, pluginName, targetVersion string) (
    checker *PluginDepCheck)

NewChecker returns a plugin dep checker

func (*PluginDepCheck) Check Uses

func (p *PluginDepCheck) Check() (err error)

Check check if the target plugin with a specific version does exists

func (*PluginDepCheck) FindPlugin Uses

func (p *PluginDepCheck) FindPlugin(name string) (plugin *client.InstalledPlugin, err error)

FindPlugin find a plugin by name

Package condition imports 5 packages (graph) and is imported by 1 packages. Updated 2020-11-18. Refresh now. Tools for package owners.