dataprocess

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataProcessReconciler

type DataProcessReconciler struct {
	Scheme *runtime.Scheme
	*controllers.OperationReconciler
}

DataProcessReconciler reconciles a DataProcess object

func NewDataProcessReconciler

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

func (*DataProcessReconciler) Build

func (*DataProcessReconciler) ControllerName

func (r *DataProcessReconciler) ControllerName() string

func (*DataProcessReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the DataProcess object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile

func (*DataProcessReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type OnceStatusHandler

type OnceStatusHandler struct {
	client.Client
	// contains filtered or unexported fields
}

func (*OnceStatusHandler) GetOperationStatus

func (handler *OnceStatusHandler) GetOperationStatus(ctx runtime.ReconcileRequestContext, opStatus *datav1alpha1.OperationStatus) (result *datav1alpha1.OperationStatus, err error)

GetOperationStatus get operation status according to helm chart status

Jump to

Keyboard shortcuts

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