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 CreateKustomizePlugin(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)
- type HelmPlugin
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" // KustomizePluginName the default name of the kustomize plugin KustomizePluginName = "kustomize" // HelmVersion the default version of helm to use HelmVersion = "3.7.2" // HelmfileVersion the default version of helmfile to use HelmfileVersion = "0.143.0" // KptVersion the default version of kpt to use KptVersion = "0.37.0" // KubectlVersion the default version of kpt to use KubectlVersion = "1.21.0" // KappVersion the default version of kapp to use KappVersion = "0.35.1-cmfork" // KustomizeVersion the default version of kustomize to use KustomizeVersion = "4.4.1" )
Variables ¶
View Source
var ( // Plugins default plugins Plugins = []jenkinsv1.Plugin{ CreateHelmPlugin(HelmVersion), CreateHelmfilePlugin(HelmfileVersion), CreateKubectlPlugin(KubectlVersion), CreateKappPlugin(KappVersion), CreateKustomizePlugin(KustomizeVersion), } // HelmPlugins to install and upgrade HelmPlugins = []HelmPlugin{ {"https://github.com/mumoshu/helm-x", "x"}, {"https://github.com/hypnoglow/helm-s3", "s3"}, } )
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 CreateKustomizePlugin ¶ added in v0.6.5
CreateKustomizePlugin creates the kustomize 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 ¶
type HelmPlugin ¶ added in v0.3.24
Click to show internal directories.
Click to hide internal directories.