Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // shared registry. Shared = &Registry{} )
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry is a store of Approvers. Consumers can store approvers, and load all registered approvers. Approvers must be uniquely named.
func (*Registry) Approvers ¶
Approvers returns the list of Approvers that have been registered to the shared registry.
func (*Registry) Evaluators ¶
Evaluators returns the list of Evaluators that have been registered as Approvers to the registry.
func (*Registry) Reconcilers ¶
func (r *Registry) Reconcilers() []approver.Reconciler
Reconcilers returns the list of Reconcilers that have been registered as Approvers to the registry.
Click to show internal directories.
Click to hide internal directories.