filter

package
v0.0.0-...-89f4574 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildOwnerFilter

func BuildOwnerFilter(filter string) (cel.Program, error)

BuildOwnerFilter builds a CEL program to filter an Owner with the given CEL expression

func BuildRepositoryFilter

func BuildRepositoryFilter(filter string) (cel.Program, error)

BuildRepositoryFilter builds a CEL program to filter a Repo with the given CEL expression

func BuildSloFilter

func BuildSloFilter(filter string) (cel.Program, error)

BuildSloFilter builds a CEL program to filter an Slo with the given CEL expression

func Owner

func Owner(o *drghs_v1.Owner, p cel.Program) (bool, error)

Owner checks if the given Owner passes the given CEL program

func Repository

func Repository(r *drghs_v1.Repository, p cel.Program) (bool, error)

Repository checks if the Repository passes the given CEL expression

func Slo

func Slo(s *drghs_v1.SLO, p cel.Program) (bool, error)

Slo checks if the Slo passes the given CEL expression.

Types

This section is empty.

Jump to

Keyboard shortcuts

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