labels

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DocsLabelExists

func DocsLabelExists(labels []*github.Label) bool

DocsLabelExists returns true if the label exists

func GenerateLabelsFromPR

func GenerateLabelsFromPR(prNumber int) map[string]string

GenerateLabelsFromPR returns labels that should be applied to all deployment for this PR

func RetrieveLabel

func RetrieveLabel(prNumber int) (string, string)

RetrieveLabel returns the key and value for a label associated with this PR number

func Selector

func Selector(prNumber int) string

Selector returns the label associated with the pull request

Types

This section is empty.

Jump to

Keyboard shortcuts

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