Handles the 3 potential steps of the registration process:
All of these steps are optional and will be determined based on the input parameters.
This includes the following steps:
Makes sure the input conforms to the following requirements when relevant:
A cleaned up version of the input parameters. Only (trimmed) parameters that are relevant to the registration procedure will be retained.
Input parameters for the registration procedure.
If creating a pod in the root container should be allowed.
Supports IDP registration and pod creation based on input parameters.
The above behaviour is combined in the two class functions.
validateInputwill make sure all incoming data is correct and makes sense.
registerwill call all the correct handlers based on the requirements of the validated parameters.