kieapp

package
v0.0.0-...-d1d8335 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, reconciler reconcile.Reconciler) error

Add Creates a new controller and starts watching resources

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

func (reconciler *Reconciler) GetRouteHost(route routev1.Route, routes []client.Object) string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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