labels

package
v1.35.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 2

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 added in v0.18.0

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