Documentation ¶
Index ¶
- Constants
- Variables
- func CreateHelmPlugin(version string) jenkinsv1.Plugin
- func CreateHelmfilePlugin(version string) jenkinsv1.Plugin
- func CreateKappPlugin(version string) jenkinsv1.Plugin
- func CreateKptPlugin(version string) jenkinsv1.Plugin
- func CreateKubectlPlugin(version string) jenkinsv1.Plugin
- func GetHelmBinary(version string) (string, error)
- func GetHelmfileBinary(version string) (string, error)
- func GetKappBinary(version string) (string, error)
- func GetKptBinary(version string) (string, error)
- func GetKubectlBinary(version string) (string, error)
- func PluginBinDir() (string, error)
- func PluginBinDirFunc(fn func(string) string) (string, error)
Constants ¶
View Source
const ( // HelmPluginName the default name of the helm plugin HelmPluginName = "helm" // HelmfilePluginName the default name of the helmfile plugin HelmfilePluginName = "helmfile" // KptPluginName the default name of the kpt plugin KptPluginName = "kpt" // KubectlPluginName the default name of the kubectl plugin KubectlPluginName = "kubectl" // KappPluginName the default name of the kapp plugin KappPluginName = "kapp" // HelmVersion the default version of helm to use HelmVersion = "3.6.2" // HelmfileVersion the default version of helmfile to use HelmfileVersion = "0.139.9" // KptVersion the default version of kpt to use KptVersion = "0.37.0" // KubectlVersion the default version of kpt to use KubectlVersion = "1.16.15" // KappVersion the default version of kapp to use KappVersion = "0.35.1-cmfork" )
Variables ¶
View Source
var ( // Plugins default plugins Plugins = []jenkinsv1.Plugin{ CreateHelmPlugin(HelmVersion), CreateHelmfilePlugin(HelmfileVersion), CreateKubectlPlugin(KubectlVersion), CreateKappPlugin(KappVersion), } )
Functions ¶
func CreateHelmPlugin ¶
CreateHelmPlugin creates the helm 3 plugin
func CreateHelmfilePlugin ¶
CreateHelmfilePlugin creates the helmfile plugin
func CreateKappPlugin ¶
CreateKappPlugin creates the kpt 3 plugin
func CreateKptPlugin ¶
CreateKptPlugin creates the kpt 3 plugin
func CreateKubectlPlugin ¶
CreateKubectlPlugin creates the kpt 3 plugin
func GetHelmBinary ¶
GetHelmBinary returns the path to the locally installed helm 3 extension
func GetHelmfileBinary ¶
GetHelmfileBinary returns the path to the locally installed helmfile extension
func GetKappBinary ¶
GetKappBinary returns the path to the locally installed kpt 3 extension
func GetKptBinary ¶
GetKptBinary returns the path to the locally installed kpt 3 extension
func GetKubectlBinary ¶
GetKubectlBinary returns the path to the locally installed kpt 3 extension
func PluginBinDir ¶ added in v0.2.58
PluginBinDir returns the plugin dir
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.