Documentation ¶
Index ¶
- func BuildSnippetFilter(filter string) (cel.Program, error)
- func GitCommit(g *drghs_v1.GitCommit, filter string) (bool, error)
- func Repository(r *drghs_v1.Repository, filter string) (bool, error)
- func Snippet(s *drghs_v1.Snippet, p cel.Program) (bool, error)
- func SnippetVersion(s *drghs_v1.SnippetVersion, filter string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSnippetFilter ¶
BuildSnippetFilter creates a cel Program based off of the given filter string
func Repository ¶
func Repository(r *drghs_v1.Repository, filter string) (bool, error)
Repository checks if the Repository passes the given CEL expression.
func SnippetVersion ¶
func SnippetVersion(s *drghs_v1.SnippetVersion, filter string) (bool, error)
SnippetVersion checks if the SnippetVersion passes the given CEL expression.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.