Supports IDP registration and pod creation based on input parameters.
The above behaviour is combined in the two class functions.
validateInput will make sure all incoming data is correct and makes sense.
register will call all the correct handlers based on the requirements of the validated parameters.
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:
Trims the input if it is a string, returns
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.