Documentation
¶
Index ¶
Constants ¶
View Source
const (
ControllerServiceAccountName = "mpas-project-controller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectReconciler ¶
type ProjectReconciler struct {
client.Client
Scheme *runtime.Scheme
ClusterRoleName string
Prefix string
DefaultCommitTemplate mpasv1alpha1.CommitTemplate
DefaultNamespace string
}
ProjectReconciler reconciles a Project object
func (*ProjectReconciler) Reconcile ¶
func (r *ProjectReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result 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 (*ProjectReconciler) SetupWithManager ¶
func (r *ProjectReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.