Help us shape the future of Go! Take the 2026 Go Developer Survey

plugins

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BasePluginsMap = map[string][]Plugin{
	Must(New(kubernetesPlugin)).String(): {
		Must(New(apacheComponentsClientPlugin)),
		Must(New(cloudBeesFolderPlugin)),
		Must(New(credentialsPlugin)),
		Must(New(durableTaskPlugin)),
		Must(New(jackson2ADIPlugin)),
		Must(New(kubernetesCredentialsPlugin)),
		Must(New(plainCredentialsPlugin)),
		Must(New(structsPlugin)),
		Must(New(variantPlugin)),
		Must(New(workflowStepAPIPlugin)),
	},
	Must(New(workflowJobPlugin)).String(): {
		Must(New(scmAPIPlugin)),
		Must(New(scriptSecurityPlugin)),
		Must(New(structsPlugin)),
		Must(New(workflowAPIPlugin)),
		Must(New(workflowStepAPIPlugin)),
		Must(New(workflowSupportPlugin)),
	},
	Must(New(workflowAggregatorPlugin)).String(): {
		Must(New(aceEditorPlugin)),
		Must(New(apacheComponentsClientPlugin)),
		Must(New(authenticationTokensPlugin)),
		Must(New(branchApiPlugin)),
		Must(New(cloudBeesFolderPlugin)),
		Must(New(credentialsBindingPlugin)),
		Must(New(credentialsPlugin)),
		Must(New(displayURLAPIPlugin)),
		Must(New(dockerCommonsPlugin)),
		Must(New(dockerWorkflowPlugin)),
		Must(New(durableTaskPlugin)),
		Must(New(gitClientPlugin)),
		Must(New(gitServerPlugin)),
		Must(New(handlebarsPlugin)),
		Must(New(jackson2ADIPlugin)),
		Must(New(jqueryDetachedPlugin)),
		Must(New(jschPlugin)),
		Must(New(junitPlugin)),
		Must(New(lockableResourcesPlugin)),
		Must(New(mailerPlugin)),
		Must(New(matrixProjectPlugin)),
		Must(New(momentjsPlugin)),
		Must(New(pipelineBuildStepPlugin)),
		Must(New(pipelineGraphAnalysisPlugin)),
		Must(New(pipelineInputStepPlugin)),
		Must(New(pipelineMilestoneStepPlugin)),
		Must(New(pipelineModelApiPlugin)),
		Must(New(pipelineModelDeclarativeAgentPlugin)),
		Must(New(pipelineModelDefinitionPlugin)),
		Must(New(pipelineModelExtensionsPlugin)),
		Must(New(pipelineRestApiPlugin)),
		Must(New(pipelineStageStepPlugin)),
		Must(New(pipelineStageTagsMetadataPlugin)),
		Must(New(pipelineStageViewPlugin)),
		Must(New(plainCredentialsPlugin)),
		Must(New(scmAPIPlugin)),
		Must(New(scriptSecurityPlugin)),
		Must(New(sshCredentialsPlugin)),
		Must(New(structsPlugin)),
		Must(New(workflowAPIPlugin)),
		Must(New(workflowBasicStepsPlugin)),
		Must(New(workflowCpsGlobalLibPlugin)),
		Must(New(workflowCpsPlugin)),
		Must(New(workflowDurableTaskStepPlugin)),
		Must(New(workflowJobPlugin)),
		Must(New(workflowMultibranchPlugin)),
		Must(New(workflowSCMStepPlugin)),
		Must(New(workflowStepAPIPlugin)),
		Must(New(workflowSupportPlugin)),
	},
	Must(New(gitPlugin)).String(): {
		Must(New(apacheComponentsClientPlugin)),
		Must(New(credentialsPlugin)),
		Must(New(displayURLAPIPlugin)),
		Must(New(gitClientPlugin)),
		Must(New(jschPlugin)),
		Must(New(junitPlugin)),
		Must(New(mailerPlugin)),
		Must(New(matrixProjectPlugin)),
		Must(New(scmAPIPlugin)),
		Must(New(scriptSecurityPlugin)),
		Must(New(sshCredentialsPlugin)),
		Must(New(structsPlugin)),
		Must(New(workflowAPIPlugin)),
		Must(New(workflowSCMStepPlugin)),
		Must(New(workflowStepAPIPlugin)),
	},
	Must(New(jobDslPlugin)).String(): {
		Must(New(scriptSecurityPlugin)),
		Must(New(structsPlugin)),
	},
	Must(New(configurationAsCodePlugin)).String(): {
		Must(New(configurationAsCodeSupportPlugin)),
	},
	Must(New(kubernetesCredentialsProviderPlugin)).String(): {
		Must(New(credentialsPlugin)),
		Must(New(structsPlugin)),
		Must(New(variantPlugin)),
	},
}

BasePluginsMap contains plugins to install by operator

Functions

func BasePlugins

func BasePlugins() (plugins map[string][]string)

BasePlugins returns map of plugins to install by operator

func VerifyDependencies

func VerifyDependencies(values ...map[Plugin][]Plugin) bool

VerifyDependencies checks if all plugins have compatible versions

Types

type Plugin

type Plugin struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	// contains filtered or unexported fields
}

Plugin represents jenkins plugin

func Must

func Must(plugin *Plugin, err error) Plugin

Must returns plugin from pointer and throws panic when error is set

func New

func New(nameWithVersion string) (*Plugin, error)

New creates plugin from string, for example "name-of-plugin:0.0.1"

func (Plugin) String

func (p Plugin) String() string

Jump to

Keyboard shortcuts

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