auditor

package
v0.1.3-pre-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubAuditor

type GithubAuditor struct {
	// contains filtered or unexported fields
}

func NewGithubAuditor

func NewGithubAuditor(token string) (*GithubAuditor, error)

func (GithubAuditor) AuditOrg

func (gs GithubAuditor) AuditOrg(
	name string,
	enableStats bool,
) ([]issue.Issue, map[issue.IssueID]error, error)

AuditOrg runs a series of checks on a given organization and returns the issues found, execution state for each check run (whether it was successful or yielded in an error), and a generic overall error if audit fails overall

Jump to

Keyboard shortcuts

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