common

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractHostFromCloneURL

func ExtractHostFromCloneURL(cloneURL string) (string, error)

func GetPipelineStatusContext

func GetPipelineStatusContext(repo *model.Repo, pipeline *model.Pipeline, workflow *model.Workflow) string

func GetPipelineStatusDescription

func GetPipelineStatusDescription(status model.StatusValue) string

GetPipelineStatusDescription is a helper function that generates a description message for the current pipeline status.

func GetPipelineStatusURL

func GetPipelineStatusURL(repo *model.Repo, pipeline *model.Pipeline, workflow *model.Workflow) string

func UserToken

func UserToken(ctx context.Context, r *model.Repo, u *model.User) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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