Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions pkg/ddc/alluxio/deprecated_label_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Loading