Skip to content

Framework: Global accessor for cluster functions

Hossein Pursultani requested to merge framework-cluster-utils into main

What does this MR do?

Global variables and helper functions to work with the cluster, including its Client interface and EventRecorder.

Other function and variables to inquire about and work with cluster features are added here.

Review notes

This MR does not have a test case for cluster functions. envtest of controller-runtime is required to properly test the features in this MR. Which is not done here.

Author's Checklist

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Ensure a release milestone is set.
  • MR title and description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • MR has a green pipeline on GitLab.com.
  • When ready for review, MR is labeled workflowready for review per the MR workflow.

Expected

  • Test plan indicating conditions for success has been posted and passes.
  • Documentation is created or updated.
  • Tests are added.

Related issues

Related to #66 (closed)

Edited by Hossein Pursultani

Merge request reports

Loading