checkers

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package checkers contain pre built checkers to validate CODEOWNER files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access added in v0.3.0

type Access struct{}

Access represents checker to validate if an owner has access to repo

func (Access) NewValidator added in v0.3.0

func (c Access) NewValidator(options codeowners.ValidatorOptions) codeowners.Validator

NewValidator returns validating capabilities for this checker

type InvalidOwner added in v0.2.3

type InvalidOwner struct {
}

InvalidOwner represents checker to decide validate owners in each of CODEOWNERS lines

func (InvalidOwner) NewValidator added in v0.3.0

NewValidator returns validating capabilities for this checker

type NoOwner

type NoOwner struct{}

NoOwner represents checker to decide validate presence of owners in each of CODEOWNERS lines

func (NoOwner) NewValidator added in v0.3.0

func (c NoOwner) NewValidator(options codeowners.ValidatorOptions) codeowners.Validator

NewValidator returns validating capabilities for this checker

Jump to

Keyboard shortcuts

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