common

package
v1.44.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KogitoBuildReconciler

type KogitoBuildReconciler struct {
	*kogitocli.Client
	Scheme            *runtime.Scheme
	Version           string
	BuildHandler      func(context operator.Context) manager.KogitoBuildHandler
	ReconcilingObject client.Object
	Labels            map[string]string
}

KogitoBuildReconciler reconciles a KogitoBuild object

func (*KogitoBuildReconciler) Reconcile

func (r *KogitoBuildReconciler) Reconcile(ctx context.Context, 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 {
	*kogitocli.Client
	Scheme            *runtime.Scheme
	Version           string
	InfraHandler      func(context operator.Context) manager.KogitoInfraHandler
	ReconcilingObject client.Object
}

KogitoInfraReconciler reconciles a KogitoInfra object

func (*KogitoInfraReconciler) Reconcile

func (r *KogitoInfraReconciler) Reconcile(ctx context.Context, 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 {
	*kogitocli.Client
	Scheme                *runtime.Scheme
	Version               string
	RuntimeHandler        func(context operator.Context) manager.KogitoRuntimeHandler
	SupportServiceHandler func(context operator.Context) manager.KogitoSupportingServiceHandler
	InfraHandler          func(context operator.Context) manager.KogitoInfraHandler
	ReconcilingObject     client.Object
	Labels                map[string]string
	DeploymentIdentifier  string
}

KogitoRuntimeReconciler reconciles a KogitoRuntime object

func (*KogitoRuntimeReconciler) Reconcile

func (r *KogitoRuntimeReconciler) Reconcile(ctx context.Context, 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
	*kogitocli.Client
	Scheme                   *runtime.Scheme
	Version                  string
	RuntimeHandler           func(context operator.Context) manager.KogitoRuntimeHandler
	SupportingServiceHandler func(context operator.Context) manager.KogitoSupportingServiceHandler
	InfraHandler             func(context operator.Context) manager.KogitoInfraHandler
	ReconcilingObject        client.Object
	Labels                   map[string]string
	DeploymentIdentifier     string
}

KogitoSupportingServiceReconciler reconciles a KogitoSupportingService object

func (*KogitoSupportingServiceReconciler) Reconcile

func (r *KogitoSupportingServiceReconciler) Reconcile(ctx context.Context, 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

type RuntimeDeployerHandler interface {
	OnDeploymentCreate(deployment *v1.Deployment) error
}

RuntimeDeployerHandler ...

func NewRuntimeDeployerHandler

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

NewRuntimeDeployerHandler ...

type RuntimeDeploymentReconciler added in v1.20.0

type RuntimeDeploymentReconciler struct {
	*kogitocli.Client
	Scheme                *runtime.Scheme
	Version               string
	RuntimeHandler        func(context operator.Context) manager.KogitoRuntimeHandler
	SupportServiceHandler func(context operator.Context) manager.KogitoSupportingServiceHandler
	Labels                map[string]string
}

RuntimeDeploymentReconciler ...

func (*RuntimeDeploymentReconciler) Reconcile added in v1.20.0

func (r *RuntimeDeploymentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)

Reconcile ...

func (*RuntimeDeploymentReconciler) SetupWithManager added in v1.20.0

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

SetupWithManager registers the controller with manager

Jump to

Keyboard shortcuts

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