plugins

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// OctantPluginName the default name of the octant plugin
	OctantPluginName = "octant"

	// OctantJXPluginName the name of the octant-jx plugin
	OctantJXPluginName = "octant-jx"

	// OctantJXOPluginName the name of the octant-jxo plugin
	OctantJXOPluginName = "octant-jxo"
)
View Source
const (
	// AdminVersion the version of the jx admin plugin
	AdminVersion = "0.2.1"

	// ApplicationVersion the version of the jx application plugin
	ApplicationVersion = "0.3.1"

	// GitOpsVersion the version of the jx gitops plugin
	GitOpsVersion = "0.11.0"

	// HealthVersion the version of the jx health plugin
	HealthVersion = "0.0.76"

	// OctantVersion the default version of octant to use
	OctantVersion = "0.23.0"

	// OctantJXVersion the default version of octant-jx plugin to use
	OctantJXVersion = "0.0.44"

	// PipelineVersion the version of the jx pipeline plugin
	PipelineVersion = "0.5.9"

	// PreviewVersion the version of the jx preview plugin
	PreviewVersion = "0.0.225"

	// ProjectVersion the version of the jx project plugin
	ProjectVersion = "0.2.54"

	// PromoteVersion the version of the jx promote plugin
	PromoteVersion = "0.4.6"

	// SecretVersion the version of the jx secret plugin
	SecretVersion = "0.3.2"

	// TestVersion the version of the jx test plugin
	TestVersion = "0.0.51"

	// VerifyVersion the version of the jx verify plugin
	VerifyVersion = "0.3.2"
)

Variables

View Source
var (
	// Plugins default plugins
	Plugins = []jenkinsv1.Plugin{
		extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "admin", AdminVersion),
		extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "application", ApplicationVersion),
		extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "gitops", GitOpsVersion),
		extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "health", HealthVersion),
		extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "pipeline", PipelineVersion),
		extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "preview", PreviewVersion),
		extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "project", ProjectVersion),
		extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "promote", PromoteVersion),
		extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "secret", SecretVersion),
		extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "test", TestVersion),
		extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "verify", VerifyVersion),
	}

	// PluginMap a map of plugin names like `jx-gitops` to the Plugin object
	PluginMap = map[string]*jenkinsv1.Plugin{}
)

Functions

func CreateOctantJXOPlugin

func CreateOctantJXOPlugin(version string) jenkinsv1.Plugin

CreateOctantJXOPlugin creates the octant-ojx plugin

func CreateOctantJXPlugin

func CreateOctantJXPlugin(version string) jenkinsv1.Plugin

CreateOctantJXPlugin creates the helm 3 plugin

func CreateOctantPlugin

func CreateOctantPlugin(version string) jenkinsv1.Plugin

CreateOctantPlugin creates the helm 3 plugin

func GetJXPlugin

func GetJXPlugin(name, version string) (string, error)

GetJXPlugin returns the path to the locally installed jx plugin

func GetOctantBinary

func GetOctantBinary(version string) (string, error)

GetOctantBinary returns the path to the locally installed octant plugin

func GetOctantJXBinary

func GetOctantJXBinary(version string) (string, error)

GetOctantJXBinary returns the path to the locally installed octant-jx extension

func GetOctantJXOBinary

func GetOctantJXOBinary(version string) (string, error)

GetOctantJXOBinary returns the path to the locally installed helmAnnotate extension

func InstallStandardPlugin

func InstallStandardPlugin(dir, name string) (string, error)

InstallStandardPlugin makes sure that latest version of plugin is installed and returns the path to the binary

Types

This section is empty.

Jump to

Keyboard shortcuts

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