Documentation ¶
Index ¶
- func Add(mgr manager.Manager, reconciler reconcile.Reconciler) error
- type Reconciler
- func (reconciler *Reconciler) CreateConfigMaps(myDep *appsv1.Deployment)
- func (reconciler *Reconciler) GetRouteHost(route routev1.Route, routes []client.Object) string
- func (reconciler *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
- func (reconciler *Reconciler) UpdateObj(obj api.OpenShiftObject) (reconcile.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reconciler ¶
type Reconciler struct { Service kubernetes.PlatformService OcpVersion string }
Reconciler reconciles a KieApp object
func (*Reconciler) CreateConfigMaps ¶
func (reconciler *Reconciler) CreateConfigMaps(myDep *appsv1.Deployment)
CreateConfigMaps generates & creates necessary ConfigMaps from embedded files
func (*Reconciler) GetRouteHost ¶
GetRouteHost returns the Hostname of the route provided
func (*Reconciler) Reconcile ¶
func (reconciler *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a KieApp object and makes changes based on the state read and what is in the KieApp.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*Reconciler) UpdateObj ¶
func (reconciler *Reconciler) UpdateObj(obj api.OpenShiftObject) (reconcile.Result, error)
UpdateObj reconciles the given object
Click to show internal directories.
Click to hide internal directories.