From fdb2996e12f51fce059de68125dd6fb3793d2f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=20=E8=BE=BE=E6=98=8E?= <221220063@smail.nju.edu.cn> Date: Tue, 3 Jun 2025 19:58:11 +0800 Subject: [PATCH] Add notation to getTestAlluxioEngine in pkg\ddc\alluxio\deprecated_label_test.go. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘 达明 <221220063@smail.nju.edu.cn> --- pkg/ddc/alluxio/deprecated_label_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkg/ddc/alluxio/deprecated_label_test.go b/pkg/ddc/alluxio/deprecated_label_test.go index 9ea840056d0..79251915ad8 100644 --- a/pkg/ddc/alluxio/deprecated_label_test.go +++ b/pkg/ddc/alluxio/deprecated_label_test.go @@ -30,6 +30,15 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" ) +// getTestAlluxioEngine creates and returns a new AlluxioEngine instance. +// +// Parameters: +// - client: The client for interacting with the Kubernetes cluster. +// - name: The name of the AlluxioEngine instance. +// - namespace: The namespace in which the AlluxioEngine instance resides. +// +// Return values: +// - Returns a pointer to an AlluxioEngine instance. func getTestAlluxioEngine(client client.Client, name string, namespace string) *AlluxioEngine { runTime := &datav1alpha1.AlluxioRuntime{} runTimeInfo, _ := base.BuildRuntimeInfo(name, namespace, "alluxio")