Documentation ¶
Index ¶
- Constants
- Variables
- func CreateOctantJXOPlugin(version string) jenkinsv1.Plugin
- func CreateOctantJXPlugin(version string) jenkinsv1.Plugin
- func CreateOctantPlugin(version string) jenkinsv1.Plugin
- func GetJXPlugin(name, version string) (string, error)
- func GetOctantBinary(version string) (string, error)
- func GetOctantJXBinary(version string) (string, error)
- func GetOctantJXOBinary(version string) (string, error)
- func InstallStandardPlugin(dir, name string) (string, error)
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 ¶
CreateOctantJXOPlugin creates the octant-ojx plugin
func CreateOctantJXPlugin ¶
CreateOctantJXPlugin creates the helm 3 plugin
func CreateOctantPlugin ¶
CreateOctantPlugin creates the helm 3 plugin
func GetJXPlugin ¶
GetJXPlugin returns the path to the locally installed jx plugin
func GetOctantBinary ¶
GetOctantBinary returns the path to the locally installed octant plugin
func GetOctantJXBinary ¶
GetOctantJXBinary returns the path to the locally installed octant-jx extension
func GetOctantJXOBinary ¶
GetOctantJXOBinary returns the path to the locally installed helmAnnotate extension
func InstallStandardPlugin ¶
InstallStandardPlugin makes sure that latest version of plugin is installed and returns the path to the binary
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.