Documentation ¶
Index ¶
- Constants
- Variables
- func CreateHelmPlugin(version string) jenkinsv1.Plugin
- func CreateHelmfilePlugin(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 GetKptBinary(version string) (string, error)
- func GetKubectlBinary(version 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" // HelmVersion the default version of helm to use HelmVersion = "3.4.0" // HelmfileVersion the default version of helmfile to use HelmfileVersion = "0.135.0" // KptVersion the default version of kpt to use KptVersion = "0.37.0" // KubectlVersion the default version of kpt to use KubectlVersion = "1.16.15" )
Variables ¶
View Source
var ( // Plugins default plugins Plugins = []jenkinsv1.Plugin{ CreateHelmPlugin(HelmVersion), CreateHelmfilePlugin(HelmfileVersion), CreateKubectlPlugin(KubectlVersion), } )
Functions ¶
func CreateHelmPlugin ¶
CreateHelmPlugin creates the helm 3 plugin
func CreateHelmfilePlugin ¶ added in v0.0.418
CreateHelmfilePlugin creates the helmfile plugin
func CreateKptPlugin ¶ added in v0.0.193
CreateKptPlugin creates the kpt 3 plugin
func CreateKubectlPlugin ¶ added in v0.0.419
CreateKubectlPlugin creates the kpt 3 plugin
func GetHelmBinary ¶
GetHelmBinary returns the path to the locally installed helm 3 extension
func GetHelmfileBinary ¶ added in v0.0.418
GetHelmfileBinary returns the path to the locally installed helmfile extension
func GetKptBinary ¶ added in v0.0.193
GetKptBinary returns the path to the locally installed kpt 3 extension
func GetKubectlBinary ¶ added in v0.0.419
GetKubectlBinary returns the path to the locally installed kpt 3 extension
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.