vineyard

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeReconciler

type RuntimeReconciler struct {
	Scheme *runtime.Scheme

	*controllers.RuntimeReconciler
	// contains filtered or unexported fields
}

RuntimeReconciler reconciles a VineyardRuntime object

func NewRuntimeReconciler

func NewRuntimeReconciler(client client.Client,
	log logr.Logger,
	scheme *runtime.Scheme,
	recorder record.EventRecorder) *RuntimeReconciler

NewRuntimeReconciler create controller for watching runtime custom resources created

func (*RuntimeReconciler) ControllerName

func (r *RuntimeReconciler) ControllerName() string

func (*RuntimeReconciler) GetOrCreateEngine

func (r *RuntimeReconciler) GetOrCreateEngine(
	ctx cruntime.ReconcileRequestContext) (engine base.Engine, err error)

GetOrCreateEngine gets or creates engine

func (*RuntimeReconciler) Reconcile

func (r *RuntimeReconciler) Reconcile(context context.Context, req ctrl.Request) (ctrl.Result, error)

func (*RuntimeReconciler) RemoveEngine

func (r *RuntimeReconciler) RemoveEngine(ctx cruntime.ReconcileRequestContext)

RemoveEngine removes the engine

func (*RuntimeReconciler) SetupWithManager

func (r *RuntimeReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error

SetupWithManager setups the manager with RuntimeReconciler

Jump to

Keyboard shortcuts

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