Skip to content

Commit 8afb428

Browse files
authored
notation (#5049)
Signed-off-by: two2sides <18735282167@163.com>
1 parent 39b8c2c commit 8afb428

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

pkg/ddc/alluxio/hcfs_test.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@ import (
3535
"sigs.k8s.io/controller-runtime/pkg/client"
3636
)
3737

38+
// newAlluxioEngineHCFS creates a new instance of AlluxioEngine with the provided client,
39+
// name, and namespace. It initializes the runtime, runtime information, and logger
40+
// for the engine, and returns the initialized AlluxioEngine instance.
41+
//
42+
// Parameters:
43+
// - client: The Kubernetes client used to interact with the cluster.
44+
// - name: The name of the Alluxio engine.
45+
// - namespace: The namespace where the Alluxio engine will be deployed.
46+
//
47+
// Returns:
48+
// - *AlluxioEngine: A pointer to the newly created AlluxioEngine instance.
3849
func newAlluxioEngineHCFS(client client.Client, name string, namespace string) *AlluxioEngine {
3950
runTime := &v1alpha1.AlluxioRuntime{}
4051
runTimeInfo, _ := base.BuildRuntimeInfo(name, namespace, "alluxio")

0 commit comments

Comments
 (0)