url

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDownloadArtifactWebURL

func BuildDownloadArtifactWebURL(baseWebURL, workspaceSlug, repoSlug, artifactName string) (string, error)

func BuildPipelineStepArtifactURL

func BuildPipelineStepArtifactURL(baseWebURL, workspaceSlug, repoSlug string, buildNumber int, stepUUID string) string

BuildPipelineStepArtifactURL constructs a web URL for a pipeline step artifact

func BuildPipelineStepURL

func BuildPipelineStepURL(baseWebURL, workspaceSlug, repoSlug, pipelineUUID, stepUUID string) string

func GetWebBaseURL

func GetWebBaseURL(apiBaseURL string) string

GetWebBaseURL derives the web base URL from the API base URL For example: "https://api.bitbucket.org/2.0" -> "https://bitbucket.org"

Types

This section is empty.

Jump to

Keyboard shortcuts

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