plugins

package
v0.2.70 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

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.5.3"

	// HelmfileVersion the default version of helmfile to use
	HelmfileVersion = "0.138.7"

	// 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

Functions

func CreateHelmPlugin

func CreateHelmPlugin(version string) jenkinsv1.Plugin

CreateHelmPlugin creates the helm 3 plugin

func CreateHelmfilePlugin

func CreateHelmfilePlugin(version string) jenkinsv1.Plugin

CreateHelmfilePlugin creates the helmfile plugin

func CreateKappPlugin

func CreateKappPlugin(version string) jenkinsv1.Plugin

CreateKappPlugin creates the kpt 3 plugin

func CreateKptPlugin

func CreateKptPlugin(version string) jenkinsv1.Plugin

CreateKptPlugin creates the kpt 3 plugin

func CreateKubectlPlugin

func CreateKubectlPlugin(version string) jenkinsv1.Plugin

CreateKubectlPlugin creates the kpt 3 plugin

func GetHelmBinary

func GetHelmBinary(version string) (string, error)

GetHelmBinary returns the path to the locally installed helm 3 extension

func GetHelmfileBinary

func GetHelmfileBinary(version string) (string, error)

GetHelmfileBinary returns the path to the locally installed helmfile extension

func GetKappBinary

func GetKappBinary(version string) (string, error)

GetKappBinary returns the path to the locally installed kpt 3 extension

func GetKptBinary

func GetKptBinary(version string) (string, error)

GetKptBinary returns the path to the locally installed kpt 3 extension

func GetKubectlBinary

func GetKubectlBinary(version string) (string, error)

GetKubectlBinary returns the path to the locally installed kpt 3 extension

func PluginBinDir added in v0.2.58

func PluginBinDir() (string, error)

PluginBinDir returns the plugin dir

func PluginBinDirFunc added in v0.2.58

func PluginBinDirFunc(fn func(string) string) (string, error)

PluginBinDirFunc uses a function for looking up env vars for easier testing

Types

This section is empty.

Jump to

Keyboard shortcuts

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