Documentation ¶
Index ¶
- Constants
- Variables
- func CreateConftestPlugin(version string) jenkinsv1.Plugin
- func CreateKubeScorePlugin(version string) jenkinsv1.Plugin
- func CreateKubevalPlugin(version string) jenkinsv1.Plugin
- func CreatePolarisPlugin(version string) jenkinsv1.Plugin
- func GetConftestBinary(version string) (string, error)
- func GetKubeScoreBinary(version string) (string, error)
- func GetKubevalBinary(version string) (string, error)
- func GetPolarisBinary(version string) (string, error)
- func PluginBinDir() (string, error)
- func PluginBinDirFunc(fn func(string) string) (string, error)
Constants ¶
View Source
const ( // ConftestPluginName the default name of the conftest plugin ConftestPluginName = "conftest" // ConftestVersion the default version of conftest to use ConftestVersion = "0.24.0" // KubeScorePluginName the default name of the kube-score plugin KubeScorePluginName = "kube-score" // KubeScoreVersion the default version of kube-score to use KubeScoreVersion = "1.11.0" // KubevalPluginName the default name of the kubeval plugin KubevalPluginName = "kubeval" // KubevalVersion the default version of kubeval to use KubevalVersion = "0.16.7" // PolarisPluginName the default name of the polaris plugin PolarisPluginName = "polaris" // PolarisVersion the default version of polaris to use PolarisVersion = "3.2.1" )
Variables ¶
View Source
var ( // Plugins default plugins Plugins = []jenkinsv1.Plugin{ CreateConftestPlugin(ConftestVersion), CreatePolarisPlugin(KubeScoreVersion), CreateKubeScorePlugin(KubeScoreVersion), CreateKubevalPlugin(KubevalVersion), } )
Functions ¶
func CreateConftestPlugin ¶
CreateConftestPlugin creates the kube-score plugin
func CreateKubeScorePlugin ¶
CreateKubeScorePlugin creates the kube-score plugin
func CreateKubevalPlugin ¶
CreateKubevalPlugin creates the kube-score plugin
func CreatePolarisPlugin ¶
CreatePolarisPlugin creates the kube-score plugin
func GetConftestBinary ¶
GetConftestBinary returns the path to the locally installed kube-score extension
func GetKubeScoreBinary ¶
GetKubeScoreBinary returns the path to the locally installed kube-score extension
func GetKubevalBinary ¶
GetKubevalBinary returns the path to the locally installed kube-score extension
func GetPolarisBinary ¶
GetPolarisBinary returns the path to the locally installed kube-score extension
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.