controllers

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FinalizeKogitoRuntime

type FinalizeKogitoRuntime struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	Client *kogitocli.Client
	Scheme *runtime.Scheme
	Log    logger.Logger
}

FinalizeKogitoRuntime reconciles a KogitoRuntime object

func (*FinalizeKogitoRuntime) Reconcile

func (f *FinalizeKogitoRuntime) Reconcile(request reconcile.Request) (result reconcile.Result, err error)

Reconcile reads that state of the cluster for a KogitoRuntime object and makes changes based on the state read and what is in the KogitoRuntime.Spec

func (*FinalizeKogitoRuntime) SetupWithManager

func (f *FinalizeKogitoRuntime) SetupWithManager(mgr manager.Manager) error

SetupWithManager adds a new Controller to mgr with r as the reconcile.Reconciler

type FinalizeKogitoSupportingService

type FinalizeKogitoSupportingService struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	Client *kogitocli.Client
	Scheme *runtime.Scheme
	Log    logger.Logger
}

FinalizeKogitoSupportingService reconciles a KogitoSupportingService object

func (*FinalizeKogitoSupportingService) Reconcile

func (f *FinalizeKogitoSupportingService) Reconcile(request reconcile.Request) (result reconcile.Result, err error)

Reconcile reads that state of the cluster for a KogitoSupportingService object and makes changes based on the state read and what is in the KogitoSupportingService.Spec

func (*FinalizeKogitoSupportingService) SetupWithManager

func (f *FinalizeKogitoSupportingService) SetupWithManager(mgr manager.Manager) error

SetupWithManager adds a new Controller to mgr with r as the reconcile.Reconciler

type KogitoBuildReconciler

type KogitoBuildReconciler struct {
	*client.Client
	Log    logger.Logger
	Scheme *runtime.Scheme
}

KogitoBuildReconciler reconciles a KogitoBuild object

func (*KogitoBuildReconciler) Reconcile

func (r *KogitoBuildReconciler) Reconcile(req ctrl.Request) (result ctrl.Result, resultErr error)

Reconcile reads that state of the cluster for a KogitoBuild object and makes changes based on the state read and what is in the KogitoBuild.Spec

func (*KogitoBuildReconciler) SetupWithManager

func (r *KogitoBuildReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager registers the controller with manager

type KogitoInfraReconciler

type KogitoInfraReconciler struct {
	*client.Client
	Log    logger.Logger
	Scheme *runtime.Scheme
}

KogitoInfraReconciler reconciles a KogitoInfra object

func (*KogitoInfraReconciler) Reconcile

func (r *KogitoInfraReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile reads that state of the cluster for a KogitoInfra object and makes changes based on the state read and what is in the KogitoInfra.Spec

func (*KogitoInfraReconciler) SetupWithManager

func (r *KogitoInfraReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager registers the controller with manager

type KogitoRuntimeReconciler

type KogitoRuntimeReconciler struct {
	*client.Client
	Log    logger.Logger
	Scheme *runtime.Scheme
}

KogitoRuntimeReconciler reconciles a KogitoRuntime object

func (*KogitoRuntimeReconciler) Reconcile

func (r *KogitoRuntimeReconciler) Reconcile(req ctrl.Request) (result ctrl.Result, err error)

Reconcile reads that state of the cluster for a KogitoRuntime object and makes changes based on the state read and what is in the KogitoRuntime.Spec

func (*KogitoRuntimeReconciler) SetupWithManager

func (r *KogitoRuntimeReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager registers the controller with manager

type KogitoSupportingServiceReconciler

type KogitoSupportingServiceReconciler struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	*client.Client
	Log    logger.Logger
	Scheme *runtime.Scheme
}

KogitoSupportingServiceReconciler reconciles a KogitoSupportingService object

func (*KogitoSupportingServiceReconciler) Reconcile

func (r *KogitoSupportingServiceReconciler) Reconcile(req ctrl.Request) (result ctrl.Result, resultErr error)

Reconcile reads that state of the cluster for a KogitoSupportingService object and makes changes based on the state read and what is in the KogitoSupportingService.Spec

func (*KogitoSupportingServiceReconciler) SetupWithManager

func (r *KogitoSupportingServiceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager registers the controller with manager

type RuntimeDeployerHandler added in v1.4.0

type RuntimeDeployerHandler interface {
	OnGetComparators(comparator compare.ResourceComparator)
	OnObjectsCreate(kogitoService api.KogitoService) (resources map[reflect.Type][]resource.KubernetesResource, lists []runtime.Object, err error)
	OnDeploymentCreate(deployment *v1.Deployment) error
}

RuntimeDeployerHandler ...

func NewRuntimeDeployerHandler added in v1.4.0

func NewRuntimeDeployerHandler(context *operator.Context, instance api.KogitoRuntimeInterface, supportingServiceHandler manager.KogitoSupportingServiceHandler, runtimeHandler manager.KogitoRuntimeHandler) RuntimeDeployerHandler

NewRuntimeDeployerHandler ...

Jump to

Keyboard shortcuts

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