def validate()

in launcher/config_validator/value_validator.py [0:0]


    def validate(self) -> None:
        # For all below validations, we will check if the argument is present => it should pass the validation

        # Mandatory arguments for all workflows
        _validate_all_mandatory_argument(self.config)

        # Cluster type argument check for all workflows
        _validate_cluster_type_argument(self.config)

        # PV argument check for all workflows
        _validate_pv_arguments(self.config)

        # Volume argument check for all workflows
        _validate_volume_arguments(self.config)

        # Pull policy argument check for all workflows
        _validate_pull_policy_argument(self.config)

        # Restart policy argument check for all workflows
        _validate_restart_policy_argument(self.config)

        # Check if the cleanPod policy is valid for k8 workflows.
        _validate_clean_pod_policy_argument(self.config)

        # Namespace argument regex check for k8 workflows
        _validate_namespace_argument(self.config)

        # Check for mandatory arguments for k8 custom script workflow
        _validate_k8_custom_script_workflow_mandatory_argument(self.config)

        # Check the git url setting
        _validate_git_url(self.config)