Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubActionRunnerReconciler ¶
type GithubActionRunnerReconciler struct {
util.ReconcilerBase
Log logr.Logger
GithubAPI githubapi.IRunnerAPI
}
GithubActionRunnerReconciler reconciles a GithubActionRunner object
func (*GithubActionRunnerReconciler) IsValid ¶ added in v0.7.0
func (r *GithubActionRunnerReconciler) IsValid(obj metav1.Object) (bool, error)
IsValid validates the CR and returns false if it is not valid.
func (*GithubActionRunnerReconciler) Reconcile ¶
func (r *GithubActionRunnerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
+kubebuilder:rbac:groups=garo.tietoevry.com,resources=githubactionrunners,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=garo.tietoevry.com,resources=githubactionrunners/*,verbs=get;update;patch +kubebuilder:rbac:groups=core,resources=pods,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=secrets,verbs=get;list;watch +kubebuilder:rbac:groups="",resources=events,verbs=create;patch Reconcile is the main loop implementing the controller action
func (*GithubActionRunnerReconciler) SetupWithManager ¶
func (r *GithubActionRunnerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager configures the controller by using the passed mgr