acl

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const OKToTestCommentRegexp = `(^|\n)\/ok-to-test(\r\n|\r|\n|$)`

Variables

This section is empty.

Functions

func MatchRegexp

func MatchRegexp(reg, comment string) bool

MatchRegexp Match a regexp to a string.

func UserInOwnerFile

func UserInOwnerFile(ownerContent, sender string) (bool, error)

UserInOwnerFile Parse a Prow type Owner, Approver files and return true if the sender is in there. Does not support OWNERS_ALIASES.

Types

This section is empty.

Jump to

Keyboard shortcuts

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