Documentation ¶
Overview ¶
Package controllers contains controller-loop logic.
Index ¶
Constants ¶
View Source
const RunnerController = "runner.octorun.github.io/controller"
View Source
const RunnerSetController = "runnerset.octorun.github.io/controller"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunnerReconciler ¶
type RunnerReconciler struct { client.Client Github github.Client Scheme *runtime.Scheme Executor remoteexec.RemoteExecutor Recorder record.EventRecorder }
RunnerReconciler reconciles a Runner object
func (*RunnerReconciler) Reconcile ¶
func (r *RunnerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*RunnerReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type RunnerSetReconciler ¶
type RunnerSetReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
RunnerSetReconciler reconciles a RunnerSet object
func (*RunnerSetReconciler) Reconcile ¶
func (r *RunnerSetReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*RunnerSetReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.