Versions in this module Expand all Collapse all v0 v0.6.3 Aug 12, 2025 v0.6.2 Aug 6, 2025 Changes in this version + type Backend struct + Options Options + func New() *Backend + func (b *Backend) CheckWorkflowFork(r *models.Repository) error + func (b *Backend) ConfigureControls(r *models.Repository, branches []*models.Branch, ...) error + func (b *Backend) ControlConfigurationDescr(branch *models.Branch, config models.ControlConfiguration) string + func (b *Backend) ControlPrecheck(r *models.Repository, branches []*models.Branch, ...) (ok bool, remediationMessage string, remediateFn models.ControlPreRemediationFn, ...) + func (b *Backend) CreateRepoRuleset(r *models.Repository, branches []*models.Branch) error + func (b *Backend) CreateTagRuleset(r *models.Repository) error + func (b *Backend) CreateWorkflowPR(r *models.Repository, branches []*models.Branch) (*models.PullRequest, error) + func (b *Backend) FindWorkflowPR(ctx context.Context, r *models.Repository) (*models.PullRequest, error) + func (b *Backend) GetBranchControls(ctx context.Context, r *models.Repository, branch *models.Branch) (*slsa.ControlSetStatus, error) + func (b *Backend) GetBranchControlsAtCommit(ctx context.Context, r *models.Repository, branch *models.Branch, ...) (*slsa.ControlSetStatus, error) + func (b *Backend) GetLatestCommit(ctx context.Context, r *models.Repository, branch *models.Branch) (*models.Commit, error) + func (b *Backend) GetTagControls(context.Context, *models.Tag) (*slsa.Controls, error) + type Options struct + UseFork bool