acl

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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