plugins

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

Functions

func CreateConftestPlugin

func CreateConftestPlugin(version string) jenkinsv1.Plugin

CreateConftestPlugin creates the kube-score plugin

func CreateKubeScorePlugin

func CreateKubeScorePlugin(version string) jenkinsv1.Plugin

CreateKubeScorePlugin creates the kube-score plugin

func CreateKubevalPlugin

func CreateKubevalPlugin(version string) jenkinsv1.Plugin

CreateKubevalPlugin creates the kube-score plugin

func CreatePolarisPlugin

func CreatePolarisPlugin(version string) jenkinsv1.Plugin

CreatePolarisPlugin creates the kube-score plugin

func GetConftestBinary

func GetConftestBinary(version string) (string, error)

GetConftestBinary returns the path to the locally installed kube-score extension

func GetKubeScoreBinary

func GetKubeScoreBinary(version string) (string, error)

GetKubeScoreBinary returns the path to the locally installed kube-score extension

func GetKubevalBinary

func GetKubevalBinary(version string) (string, error)

GetKubevalBinary returns the path to the locally installed kube-score extension

func GetPolarisBinary

func GetPolarisBinary(version string) (string, error)

GetPolarisBinary returns the path to the locally installed kube-score extension

func PluginBinDir

func PluginBinDir() (string, error)

PluginBinDir returns the plugin dir

func PluginBinDirFunc

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