utils

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatchPullRequestId

func CatchPullRequestId(input string) (id string, err error)

func CreateFilter

func CreateFilter(e *v1alpha1.SearchEventsRequest) (map[string]interface{}, error)

func CreateStatsFilter added in v0.15.0

func CreateStatsFilter(f *StatsFilter) (bson.D, error)

CreateStatsFilter builds a bson.D filter for event statistics queries

func DecodeEscapedChars added in v0.4.12

func DecodeEscapedChars(encodedStr string) (string, error)

DecodeEscapedChars prend une chaîne contenant des caractères encodés en URL et retourne la chaîne décodée.

func IsUUID added in v0.3.0

func IsUUID(s string) bool

Types

type StatsFilter added in v0.15.0

type StatsFilter struct {
	StartDate    string
	EndDate      string
	Environments []int32
	Impact       *bool
	Priorities   []int32
	Types        []int32
	Statuses     []int32
	Source       string
	Service      string
}

StatsFilter represents the filter parameters for event statistics

Jump to

Keyboard shortcuts

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