Documentation ¶
Index ¶
Constants ¶
View Source
const ( WfIdLabel = "wf_id" WfNameLabel = "wf_name" WfAllRunsOn = "wf_runs_on" CrNameLabel = "cr_name" CrNamespaceLabel = "cr_namespace" CrRepoLabel = "cr_repo" CrOwnerLabel = "cr_owner" )
Variables ¶
View Source
var JobLabelsForPrometheus []string = []string{WfIdLabel, WfNameLabel, WfAllRunsOn}
Functions ¶
func FilterBySelector ¶
func FilterBySelector(runs []*github.WorkflowRun, wf *config.GithubWorkflowConfig, wfInfo map[int64]utils.WorkflowInfo, selector labels.Selector) ([]*github.WorkflowRun, map[string][]string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.