def get_action_generator(self, action_name, policy, kwargs):
        """
        Returns the action generator to be used for the given action.

        :param action_name: Action identifier name.
        :type action_name: unicode | str
        :param policy: An instance of the current policy class.
        :type policy: dockermap.map.policy.base.BasePolicy
        :param kwargs: Keyword arguments. Can be modified by the initialization of the action generator.
        :type kwargs: dict
        :return: Action generator object.
        :rtype: dockermap.map.action.base.AbstractActionGenerator
        """
        action_generator_cls = self.generators[action_name][1]
        action_generator = action_generator_cls(policy, kwargs)
        return action_generator
Returns the action generator to be used for the given action.

        :param action_name: Action identifier name.
        :type action_name: unicode | str
        :param policy: An instance of the current policy class.
        :type policy: dockermap.map.policy.base.BasePolicy
        :param kwargs: Keyword arguments. Can be modified by the initialization of the action generator.
        :type kwargs: dict
        :return: Action generator object.
        :rtype: dockermap.map.action.base.AbstractActionGenerator