plugin

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "jx" // This should stay lowercase for routing purposes

	// PathPrefix the initial prefix of all paths
	PathPrefix = "/#"

	AppsPath               = "apps"
	EnvironmentsPath       = "environments"
	HelmPath               = "helm"
	JenkinsPath            = "jenkins"
	LogsPath               = "logs"
	OverviewPath           = "overview"
	PipelinesPath          = "pipelines"
	PipelineContainersPath = "pipeline/containers"
	PipelineContainerPath  = "pipeline/container"
	PipelineTerminalPath   = "pipeline/terminal"
	PipelinesRecentPath    = "pipelines-recent"
	PreviewsPath           = "previews"
	RepositoriesPath       = "repositories"

	// RootBreadcrumb the root breadcrumb for the developer plugin
	RootBreadcrumb = `<a href="/#/jx/overview">Jenkins X</a>`
)

Variables

View Source
var (
	// Navigations the default navigations
	Navigations = []navigation.Navigation{
		{
			Title: "Apps",
			Path:  Name + "/" + AppsPath,
		},
		{
			Title: "Environments",
			Path:  Name + "/" + EnvironmentsPath,
		},
		{
			Title: "Helm",
			Path:  Name + "/" + HelmPath,
		},
		{
			Title: "Jenkins",
			Path:  Name + "/" + JenkinsPath,
		},
		{
			Title: "Pipelines",
			Path:  Name + "/" + PipelinesPath,
		},
		{
			Title: "Pipelines: Recent",
			Path:  Name + "/" + PipelinesRecentPath,
		},
		{
			Title: "Previews",
			Path:  Name + "/" + PreviewsPath,
		},
		{
			Title: "Repositories",
			Path:  Name + "/" + RepositoriesPath,
		},
	}
)

Functions

func GetEnviromentsLink() string
func GetHelmLink() string
func GetHelmReleaseLink(releaseName string) string
func GetPipelineContainerLink(ns, pipelineName, podName, step string) string
func GetPipelineContainerLogLink(paName, containerName string) string
func GetPipelineContainersLink(ns, pipelineName, podName string) string
func GetPipelineLink(paName string) string
func GetPipelineLogLink(paName string) string
func GetPipelineTerminalLink(ns, pipelineName, podName string) string
func GetPipelinesLink() string
func GetPluginLink() string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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