Versions in this module Expand all Collapse all v0 v0.0.1 Apr 3, 2024 Changes in this version + type BranchProtectionReconciler struct + DeleteOnResourceDeletion bool + GitHubClient BranchProtectionRequester + RequeueInterval time.Duration + Scheme *runtime.Scheme + func (r *BranchProtectionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *BranchProtectionReconciler) SetupWithManager(mgr ctrl.Manager) error + type BranchProtectionRequester interface + CreateBranchProtection func(ctx context.Context, input *githubv4.CreateBranchProtectionRuleInput) (*gh.BranchProtection, error) + DeleteBranchProtection func(ctx context.Context, input *githubv4.DeleteBranchProtectionRuleInput) error + GetBranchProtection func(ctx context.Context, nodeId string) (*gh.BranchProtection, error) + GetBranchProtectionByOwnerRepoPattern func(ctx context.Context, repositoryOwner, repositoryName, pattern string) (*gh.BranchProtection, error) + UpdateBranchProtection func(ctx context.Context, input *githubv4.UpdateBranchProtectionRuleInput) (*gh.BranchProtection, error) + type GitHubRequester interface + type OrganizationReconciler struct + DeleteOnResourceDeletion bool + GitHubClient OrganizationRequester + RequeueInterval time.Duration + Scheme *runtime.Scheme + func (r *OrganizationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *OrganizationReconciler) SetupWithManager(mgr ctrl.Manager) error + type OrganizationRequester interface + GetOrganization func(ctx context.Context, org string) (*github.Organization, error) + GetOrganizationByNodeId func(ctx context.Context, nodeId string) (*github.Organization, error) + UpdateOrganization func(ctx context.Context, org string, updateOrg *github.Organization) (*github.Organization, error) + type RepositoryGetter interface + GetRepositoryByName func(ctx context.Context, owner string, name string) (*github.Repository, error) + GetRepositoryByNodeId func(ctx context.Context, nodeId string) (*github.Repository, error) + type RepositoryReconciler struct + DeleteOnResourceDeletion bool + GitHubClient RepositoryRequester + RequeueInterval time.Duration + Scheme *runtime.Scheme + func (r *RepositoryReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *RepositoryReconciler) SetupWithManager(mgr ctrl.Manager) error + type RepositoryRequester interface + CreateRepository func(ctx context.Context, org string, create *github.Repository) (*github.Repository, error) + CreateRepositoryFromTemplate func(ctx context.Context, templateOwner string, templateRepository string, ...) (*github.Repository, error) + DeleteRepositoryByName func(ctx context.Context, owner, name string) error + UpdateRepositoryByName func(ctx context.Context, owner, name string, update *github.Repository) (*github.Repository, error) + UpdateRepositoryTopics func(ctx context.Context, owner string, repo string, topics []string) ([]string, error) + type TeamReconciler struct + DeleteOnResourceDeletion bool + GitHubClient TeamRequester + RequeueInterval time.Duration + Scheme *runtime.Scheme + func (r *TeamReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *TeamReconciler) SetupWithManager(mgr ctrl.Manager) error + type TeamRequester interface + CreateTeam func(ctx context.Context, org string, newTeam github.NewTeam) (*github.Team, error) + DeleteTeamById func(ctx context.Context, org, teamId int64) error + DeleteTeamBySlug func(ctx context.Context, org, slug string) error + GetTeamById func(ctx context.Context, org, teamId int64) (*github.Team, error) + GetTeamByNodeId func(ctx context.Context, nodeId string) (*github.Team, error) + GetTeamBySlug func(ctx context.Context, org, slug string) (*github.Team, error) + GetTeamRepositoryPermission func(ctx context.Context, org, slug, repoName string) (*gh.TeamRepositoryPermission, error) + GetTeamRepositoryPermissions func(ctx context.Context, org, slug string) ([]*gh.TeamRepositoryPermission, error) + RemoveTeamRepositoryPermissions func(ctx context.Context, org, slug string, repoName string) error + UpdateTeamById func(ctx context.Context, org, teamId int64, newTeam github.NewTeam) (*github.Team, error) + UpdateTeamBySlug func(ctx context.Context, org, slug string, newTeam github.NewTeam) (*github.Team, error) + UpdateTeamRepositoryPermissions func(ctx context.Context, org, slug string, repoName, permission string) error