Documentation ¶
Overview ¶
Package enforce is a central engine to Allstar that contains various enforcement logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnforceAllResults ¶
func EnforceAll ¶
func EnforceAll(ctx context.Context, ghc ghclients.GhClientsInterface, specificPolicyArg string, specificRepoArg string) (EnforceAllResults, error)
EnforceAll iterates through all available installations and repos Allstar has access to and runs policies on those repos. It is meant to be a reconciliation job to check repos which a webhook event may have been lost.
TBD: determine if this should remain exported, or if it will only be called from EnforceJob.
type EnforceRepoResults ¶
Click to show internal directories.
Click to hide internal directories.