controllers

package
v0.0.0-...-a189a8c Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGithubClient

func NewGithubClient(ctx context.Context, k8sClient client.Client, repoWatch *reviewv1alpha1.RepoWatch) (*github.Client, map[string]string, error)

Types

type RepoWatchReconciler

type RepoWatchReconciler struct {
	client.Client
	Scheme          *runtime.Scheme
	NewGithubClient githubClientFactory
}

RepoWatchReconciler reconciles a RepoWatch object

func (*RepoWatchReconciler) Reconcile

func (r *RepoWatchReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*RepoWatchReconciler) SetupWithManager

func (r *RepoWatchReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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