Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // NamePattern is the plugin name regex pattern NamePattern = regexp.MustCompile(`^[0-9a-zA-Z-_]+$`) // VersionPattern is the plugin version regex pattern VersionPattern = regexp.MustCompile(`^[0-9a-zA-Z+\\.-]+$`) // DownloadURLPattern is the plugin download url regex pattern DownloadURLPattern = regexp.MustCompile(`https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)`) )
Functions ¶
func VerifyDependencies ¶
VerifyDependencies checks if all plugins have compatible versions.
Types ¶
type Plugin ¶
type Plugin struct { Name string `json:"name"` Version string `json:"version"` DownloadURL string `json:"downloadURL"` // contains filtered or unexported fields }
Plugin represents jenkins plugin.
func BasePlugins ¶
func BasePlugins() []Plugin
BasePlugins returns list of plugins to install by operator.
Click to show internal directories.
Click to hide internal directories.